S390: Move utf8-utf32-z9.c to multiarch folder and use s390_libc_ifunc_expr macro.
[glibc.git] / ChangeLog
blob38a281dd59dfd14ab7c1eec03fc433466aed6a36
1 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
4         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
5         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
7         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
8         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
10 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
12         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
13         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
14         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
15         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
16         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
17         New Define.
19 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
21         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
22         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
23         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
24         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
25         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
26         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
28 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
30         * sysdeps/s390/multiarch/ifunc-resolve.h
31         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
32         * sysdeps/s390/multiarch/8bit-generic.c
33         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
34         define ifunc resolvers.
36 2017-04-21  Florian Weimer  <fweimer@redhat.com>
38         [BZ #20424]
39         * manual/memory.texi (Replacing malloc): New section.
40         (Allocating Storage For Program Data): Reference it.
41         (The GNU Allocator): Likewise.
43 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
45         * stdlib/Versions (__strtod_internal): List explicitly, not as
46         wildcard.
47         (__strtof_internal): Likewise.
48         (__strtold_internal): Likewise.
49         (__strtol_internal): Likewise.
50         (__strtoll_internal): Likewise.
51         (__strtoul_internal): Likewise.
52         (__strtoull_internal): Likewise.
53         (__strtoq_internal): Likewise.
54         (__strtouq_internal): Likewise.
55         * wcsmbs/Versions (__wcstod_internal): Likewise.
56         (__wcstof_internal): Likewise.
57         (__wcstold_internal): Likewise.
58         (__wcstol_internal): Likewise.
59         (__wcstoll_internal): Likewise.
60         (__wcstoul_internal): Likewise.
61         (__wcstoull_internal): Likewise.
63 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
65         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
66         struct timespec definition.
68 2017-04-19  Florian Weimer  <fweimer@redhat.com>
70         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
72 2017-04-19  Florian Weimer  <fweimer@redhat.com>
74         * inet/rcmd.c (rresvport_af): Fix typo in comment.
75         * inet/rexec.c (rexec_af): Likewise.
77 2017-04-19  Zack Weinberg  <zackw@panix.com>
79         * posix/tst-mmap-offset.c: Include stdint.h.
80         * resolv/tst-ns_name_compress.c: Include string.h.
81         * resolv/tst-resolv-edns.c: Include resolv.h.
83 2017-04-19  Florian Weimer  <fweimer@redhat.com>
85         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
86         with __glibc_likely.
87         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
88         Replace __builtin_expect with __glibc_unlikely.
89         * resolv/res_init.c (__res_vinit): Likewise.
90         * resolv/res_query.c (__libc_res_nquery): Likewise.
91         * resolv/res_send.c (__libc_res_nsend): Likewise.
93 2017-04-19  Florian Weimer  <fweimer@redhat.com>
95         [BZ #15722]
96         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
97         with SOCK_CLOEXEC.
98         * resolv/res_send.c (send_vc, reopen): Likewise.
99         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
100         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
101         Likewise.
102         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
103         * inet/rexec.c (rexec_af): Add comment.
104         * inet/rcmd.c (rresvport_af): Likewise.
106 2017-04-19  Florian Weimer  <fweimer@redhat.com>
108         * nscd/connections.c (have_accept4): Removed definition.
109         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
110         accept4 works.
111         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
112         ia64 because that was the first version with accept4 support.
113         * support/Makefile (libsupport-routines): Add xaccept4.
114         * support/xsocket.h (xaccept4): Declare.
115         * support/xaccept4.c: New file.
116         * socket/tst-accept4.c: New file.
117         * socket/Makefile (tests): Add tst-accept4.
118         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
119         definition.
120         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
121         comment.
122         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
123         implementation is available.
124         (accept4): Use the system call if available, otherwise use the
125         socket call.
126         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
127         Set to 3.2.18.
128         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
129         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
130         accept4 is unconditionally available in later 3.2 stable kernels.
131         (__ASSUME_ACCEPT4_SYSCALL): Define.
132         * sysdeps/unix/sysv/linux/kernel-features.h
133         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
134         definitions.
135         * sysdeps/unix/sysv/linux/i386/kernel-features.h
136         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
138 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
140         * conform/Makefile (tests-special): Do not make addition of
141         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
142         (generated): Do not make addition of $(conformtest-header-base)
143         conditional on [$(cross-compiling) = no].
145         [BZ #21267]
146         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
147         if defined by <asm/socket.h> and not previously defined.
148         (IOCSIZE_SHIFT): Likewise.
149         (IOC_IN): Likewise.
150         (IOC_INOUT): Likewise.
151         (IOC_OUT): Likewise.
153 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
155         [BZ #21396]
156         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
157         Prefer_No_AVX512 if AVX512ER isn't available.
158         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
159         (index_arch_Prefer_No_AVX512): Likewise.
160         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
161         AVX512 version if Prefer_No_AVX512 is set.
162         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
163         Likewise.
164         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
165         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
166         Likewise.
167         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
168         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
169         Likewise.
170         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
171         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
172         Likewise.
174 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
176         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
177         Prefer_No_VZEROUPPER if AVX512ER is available.
178         * sysdeps/x86/cpu-features.h
179         (bit_cpu_AVX512PF): New.
180         (bit_cpu_AVX512ER): Likewise.
181         (bit_cpu_AVX512CD): Likewise.
182         (bit_cpu_AVX512BW): Likewise.
183         (bit_cpu_AVX512VL): Likewise.
184         (index_cpu_AVX512PF): Likewise.
185         (index_cpu_AVX512ER): Likewise.
186         (index_cpu_AVX512CD): Likewise.
187         (index_cpu_AVX512BW): Likewise.
188         (index_cpu_AVX512VL): Likewise.
189         (reg_AVX512PF): Likewise.
190         (reg_AVX512ER): Likewise.
191         (reg_AVX512CD): Likewise.
192         (reg_AVX512BW): Likewise.
193         (reg_AVX512VL): Likewise.
195 2017-04-18  Florian Weimer  <fweimer@redhat.com>
197         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
198         O_CLOEXEC is defined.
199         * include/fcntl.h (__have_o_cloexec): Remove declaration.
200         * io/Makefile (aux): Remove.
201         * io/have_o_cloexec.c: Remove file.
202         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
203         defined and works.
204         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
205         defined.
206         * login/utmp_file.c (O_flags): Remove definition.
207         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
208         O_CLOEXEC works.
209         (pututline_file): Likewise.
210         * malloc/mtrace.c: Assume that O_CLOEXEC works.
211         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
212         definition.
213         (internal_setgrent): Assume that O_CLOEXEC works.
214         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
215         Remove definition.
216         (internal_setgrent): Assume that O_CLOEXEC works.
217         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
218         definition.
219         (internal_setpwent): Assume that O_CLOEXEC works.
220         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
221         definition.
222         (internal_setspent): Assume that O_CLOEXEC works.
223         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
224         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
225         O_CLOEXEC is defined and works.
226         * nss/Makefile (libnss_files-routines): Remove
227         files-have_o_cloexec.
228         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
229         defined.
230         * nss/nss_files/files-XXX.c (internal_setent): Assume that
231         O_CLOEXEC is defined and works.
232         * nss/nss_files/files-alias.c (internal_setent): Likewise.
233         * nss/nss_files/files-have_o_cloexec.c: Remove.
234         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
235         defined.
236         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
237         and works.
238         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
239         definition.
240         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
241         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
242         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
243         (__opendirat, __opendir): Adjust opendir_oflags call.
244         (check_have_o_cloexec): Remove.
245         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
246         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
247         defined.
248         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
249         Remove definition.
251 2017-04-18  Florian Weimer  <fweimer@redhat.com>
253         * include/unistd.h (__have_dup3): Remove declaration.
254         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
255         dup3 is available.
256         * libio/freopen64.c (freopen64): Likewise.
257         * socket/Makefile (aux): Remove have_sock_cloexec.
258         * socket/have_sock_cloexec.c: Remove file.
259         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
260         definition.
261         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
262         Likewise.
263         * sysdeps/nacl/kernel-features.h: Update comment.
265 2017-04-18  Florian Weimer  <fweimer@redhat.com>
267         * include/unistd.h (__have_pipe2): Remove declaration.
268         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
269         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
270         available.
271         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
272         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
273         Remove definition.
275 2017-04-18  Florian Weimer  <fweimer@redhat.com>
277         * malloc/malloc.c (cfree): Turn into compat symbol.
278         (__cfree): Remove alias.
279         * stdlib/stdlib.h (cfree): Remove declaration.
280         * malloc/malloc.h (cfree): Likewise.
281         * manual/memory.texi (Freeing after Malloc): Remove cfree.
282         * malloc/Versions (GLIBC_2.26): Add.
284 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
286         * sysdeps/powerpc/powerpc64/multiarch/Makefile
287         (sysdep_routines): Add strrchr-power8.
288         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
289         (strrchr): Add __strrchr_power8 to list of strrchr functions.
290         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
291         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
292         (strrchr): Add __strrchr_power8 to ifunc list.
293         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
295 2017-04-17  Rabin Vincent  <rabinv@axis.com>
297         [BZ #21357]
298         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
299         Call free() outside of mutex.
301 2017-04-13  Florian Weimer  <fweimer@redhat.com>
303         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
304         is defined.
305         * elf/rtld.c (process_envvars): Likewise.
306         * sysdeps/posix/shm_open.c (shm_open): Likewise.
307         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
308         O_NOFOLLOW directly.
309         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
311 2017-04-13  Florian Weimer  <fweimer@redhat.com>
313         [BZ #21369]
314         Remove EDNS fallback.
315         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
316         handling.
317         * resolv/res_send.c (send_dg): Likewise.
318         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
319         "tcp." prefixes.
320         (do_test): Send a "formerr."-prefixed query in an attempt to
321         trigger EDNS fallback.
323 2017-04-13  Florian Weimer  <fweimer@redhat.com>
325         [BZ #21361]
326         Limit EDNS buffer size to 1200 bytes.
327         * include/resolv.h (__res_nopt): Remove declaration.
328         * resolv/Makefile (tests): tst-resolv-edns.
329         (tst-resolv-edns): Link with -lresolv, -lpthread.
330         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
331         interval [512, 1200].
332         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
333         we can resize the buffer.
334         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
335         (__res_nopt): Declare.
336         * resolv/tst-resolv-edns.c: New file.
337         * resolv/resolv_test.h (struct resolv_edns_info): Define.
338         (struct resolv_response_context): Add edns member.
339         * resolv/resolv_test.c (struct query_info): Add edns member.
340         (parse_query): Extract EDNS information from the query.
341         (server_thread_udp_process_one): Propagate EDNS data.
342         (server_thread_tcp_client): Likewise.
344 2017-04-13  Florian Weimer  <fweimer@redhat.com>
346         [BZ #21359]
347         * resolv/ns_name.c (ns_name_pack): Do not require an additional
348         byte in the destination buffer.  Avoid out-of-bounds pointer
349         arithmetic.
350         * resolv/Makefile (tests): Add tst-ns_name_compress.
351         (tst-ns_name_compress): Link with -lresolv.
352         * resolv/tst-ns_name_compress.c: New file.
353         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
354         (response): Recognize LONG_NAME.
355         (do_test): Add LONG_NAME tests.
356         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
357         for ns_name_unpack.  Add tests for ns_name_pton and
358         ns_name_compress.
360 2017-04-13  Florian Weimer  <fweimer@redhat.com>
362         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
363         (res_nisourserver): Remove definition.
364         (p_section, res_npquery, res_nisourserver): Remove declaration.
365         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
366         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
367         ... here.
368         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
369         <resolv.h>.
370         * resolv/res_query.c: Likewise.
371         * resolv/res_debug.c (p_section): Define as static.
373 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
375         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
376         strncat-power8.
377         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
378         __strncat_power8 to ifunc list.
379         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
380         (strncat): Add __strncat_power8 to list of strncat functions.
381         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
383 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
385         [BZ #21270]
386         * posix/tst-mmap-offset.c (do_prepare): New function.
387         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
388         (do_test_bz21270): New function.
389         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
390         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
391         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
392         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
393         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
394         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
395         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
396         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
397         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
398         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
399         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
400         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
401         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
402         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
403         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
404         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
405         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
406         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
407         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
408         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
409         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
410         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
411         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
412         from auto-generation list.
413         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
414         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
415         * sysdeps/unix/sysv/linux/mmap.c: New file.
416         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
417         offsets and support for mmap2 syscall.
419         * posix/globtest.sh: Add cleanup routine on trap 0.
421 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
423         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
424         implementation-specific function name and remove unneeded
425         macros definition.
426         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
427         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
428         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
429         name if not defined and pass as parameter to macros accordingly.
430         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
431         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
433         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
434         implementation-specific function name and remove unneeded
435         macros definition.
436         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
437         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
438         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
439         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
440         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
441         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
442         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
443         name if not defined and pass as parameter to macros accordingly.
444         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
445         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
446         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
447         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
448         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
449         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
451         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
452         implementation-specific function name and remove unneeded macros
453         definition.
454         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
455         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
456         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
457         function name if not defined and pass as parameter to macros
458         accordingly.
459         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
460         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
462         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
463         implementation-specific function name and remove unneeded macros
464         definition.
465         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
466         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
467         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
468         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
469         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
470         not defined and pass as parameter to macros accordingly.
471         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
472         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
473         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
474         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
476         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
477         strcasestr implementation name and remove unneeded macros definition.
478         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
479         strstr implementation name and remove unneeded macros definition.
480         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
481         name if not defined and pass as parameter to macros accordingly.
482         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
484         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
485         implementation-specific function name and remove unneeded macros
486         definition.
487         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
488         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
489         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
490         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
491         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
492         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
493         function name if not defined and pass as parameter to macros
494         accordingly.
495         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
496         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
497         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
498         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
500         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
501         the strlen implementation name and remove unneeded macros definition.
502         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
503         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
504         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
505         the strnlen implementation name and remove unneeded macros definition.
506         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
507         name if not defined and pass as parameter to macros accordingly.
508         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
509         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
510         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
512         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
513         the implementation-specific function name and remove unneeded
514         macros definition.
515         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
516         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
517         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
518         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
519         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
520         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
521         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
522         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
523         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
524         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
525         name if not defined and pass as parameter to macros accordingly.
526         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
527         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
528         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
529         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
530         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
531         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
532         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
533         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
535         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
536         implementation-specific function name and remove unneeded macros
537         definition.
538         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
539         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
540         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
541         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
542         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
543         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
544         function name if not defined.
545         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
546         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
548 2017-04-11  Paul Clarke  <pc@us.ibm.com>
550         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
551         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
552         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
553         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
555 2017-04-11  Florian Weimer  <fweimer@redhat.com>
556             Zack Weinberg  <zackw@panix.com>
558         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
559         readdir64 as thread-safe.  Update warning about readdir_r.
561 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
563         * sysdeps/unix/sysv/linux/x86/Implies: New file.
564         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
565         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
566         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
567         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
568         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
569         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
571 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
573         * sysdeps/i386/dl-procinfo.c: Include
574         <sysdeps/x86/dl-procinfo.c>.
575         * sysdeps/x86_64/dl-procinfo.c: Likewise.
576         * sysdeps/x86/dl-procinfo.c: New file.
578 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
580         * sysdeps/generic/math_private.h: Remove declarations of
581         many functions that are already declared in math.h.
582         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
583         declaration for __frexpl.
584         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
585         the declarations for __scalbnl and fabsl.
587 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
589         [BZ #20831]
590         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
591         of __mprotect to change protection on the excess portion
592         to disallow all access.
594 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
596         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
597         HAS_CPU_FEATURE to check for SSE.
598         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
599         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
600         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
601         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
602         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
603         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
604         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
605         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
606         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
607         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
608         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
609         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
610         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
611         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
612         (index_cpu_SSE): Likewise.
613         (reg_SSE): Likewise.
615 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
617         * posix/getopt1.c: Include <config.h>, not "config.h".
619 2017-04-07  Zack Weinberg  <zackw@panix.com>
621         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
622         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
623         Mention in top-of-file boilerplate that these files are shared
624         with gnulib.
625         * posix/getopt.h, posix/bits/getopt_posix.h:
626         Mention in top-of-file boilerplate that these files are NOT shared
627         with gnulib, unlike the rest of the getopt implementation.
629         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
630         New files, intended to be shared with gnulib.
631         * posix/bits/getopt_posix.h:
632         New file, not intended to be shared with gnulib.
633         * posix/getopt.h: Now just includes features.h,
634         bits/getopt_core.h, and bits/getopt_ext.h.  Will
635         no longer be shared with gnulib.
636         * include/bits/getopt_core.h, include/bits/getopt_ext.h
637         * include/bits/getopt_posix.h: New wrappers.
638         * posix/Makefile: Install new headers.
639         * posix/unistd.h, libio/stdio.h:
640         Include bits/getopt_posix.h instead of getopt.h.
642         * include/libc-symbols.h: For gnulib compatibility, define
643         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
644         _GL_ATTRIBUTE_CONST.
645         * posix/getopt.c (_getopt_initialize): Mark argc and argv
646         parameters with _GL_UNUSED.
648         * posix/getopt.c: When used standalone, define __libc_use_alloca
649         as always false and alloca to abort if called.
650         (process_long_option): Rewrite handling of ambiguous long options
651         to use a single boolean vector, not a linked list; use
652         __libc_use_alloca to decide whether to allocate this using alloca.
653         * posix/tst-getopt_long1.c: Adjust text of expected error message.
655         * posix/getopt.c (process_long_option): New function split out
656         from _getopt_internal_r.
657         (_getopt_internal_r): Replace both copies of the long-option
658         processing code with calls to process_long_option.
659         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
660         (do_test): Differentiate argv[0] in the two subtests.
662         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
663         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
664         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
666         * posix/getopt.h: Add backup definition of __nonnull for
667         consistency with gnulib.  Define __getopt_argv_const to const
668         if not already defined.
669         (getopt): Update doc comment from gnulib.  Prototype
670         unconditionally.  Add __nonnull annotation.
671         (__posix_getopt): Add __nonnull annotation.
672         (getopt_long, getopt_long_only): Use __getopt_argv_const in
673         prototypes for consistency with gnulib.  Add __nonnull
674         annotations.
675         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
676         (getopt_internal): Change 'argv' argument to type 'char **'.
677         Remove now-unnecessary casts.
678         (getopt, __posix_getopt): Eliminate repetition with a macro.
679         Cast 'argv' to 'char **' when calling _getopt_internal.
680         * posix/getopt1.c (getopt_long, getopt_long_only):
681         Use __getopt_argv_const for consistency with gnulib.
682         Cast 'argv' to 'char **' when calling _getopt_internal.
683         (_getopt_long_r, _getopt_long_only_r):
684         Change 'argv' argument to type 'char **'.
685         (main): Constify 'long_options'.
686         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
687         (_getopt_long_r, _getopt_long_only_r):
688         Change 'argv' argument to type 'char **'.
690         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
691         (locked_vfxprintf): New helper function. Handle arbitrary
692         multibyte strings, not just ASCII.
693         * include/stdio.h: Declare __fxprintf_nocancel.
694         * posix/getopt.c: When _LIBC is defined, define fprintf to
695         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
696         to _IO_funlockfile.  When neither _LIBC nor
697         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
698         funlockfile as no-ops.
699         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
700         the standalone error-printing code can now be used for libc as
701         well.  Add an flockfile/funlockfile pair around one case where
702         the error message is printed in several chunks.  Don't use fputc.
703         * posix/tst-getopt-cancel.c: New test.
704         * posix/Makefile: Run it.
706         * posix/getopt.c (_getopt_internal_r): Don't increment
707         d->optind a second time when reporting ambiguous -W options.
709         * posix/getopt_int.h: Include getopt.h.
710         Use impl-namespace names for all arguments to _getopt_internal and
711         _getopt_internal_r.
712         Declare __ordering enum outside the struct.
713         Harmonize comments with gnulib.
714         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
715         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
716         #ifdef TEST block and make unconditional.  Do not define NULL.
717         * posix/getopt.c: Partial merge from gnulib, covering the
718         initial includes and global declarations, commentary, and
719         a couple of semantically-neutral code changes.
721         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
722         Use '...' instead of `...' for quotation marks inside
723         comments and strings.
725         * config.h.in (USE_NONOPTION_FLAGS): Remove.
726         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
727         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
728         * posix/getopt_int.h: Likewise.
729         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
730         __libc_argc and __libc_argv externs, which were only used by
731         #ifdef USE_NONOPTION_FLAGS blocks.
732         * posix/getopt_init.c: Remove file.
733         * posix/Makefile (routines): Remove getopt_init.
734         * include/getopt.h: Don't declare __getopt_initialize_environment.
735         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
736         a comment.
738 2017-04-07  Florian Weimer  <fweimer@redhat.com>
740         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
742 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
744         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
745         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
746         to __wrap_.udiv.
747         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
748         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
750         * sysdeps/i386/symbol-hacks.h: New file.
751         * sysdeps/m68k/symbol-hacks.h: New file.
752         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
753         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
754         * sysdeps/unix/sysv/linux/i386/Makefile
755         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
756         [$(subdir) = csu] (sysdep-only-routines): Likewise.
757         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
758         * sysdeps/unix/sysv/linux/m68k/Makefile
759         [$(subdir) = csu] (sysdep_routines): Likewise.
760         [$(subdir) = csu] (sysdep-only-routines): Likewise.
761         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
763         [$(subdir) = csu] (sysdep_routines): Likewise.
764         [$(subdir) = csu] (sysdep-only-routines): Likewise.
765         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
766         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
767         [$(subdir) = csu] (sysdep_routines): Likewise.
768         [$(subdir) = csu] (sysdep-only-routines): Likewise.
769         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
770         * sysdeps/wordsize-32/Makefile: Remove file.
771         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
772         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
774 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
776         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
777         (TEST_FUNCTION_ARGV): New.
779 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
781         * elf/next.c: Import support/test-driver.c instead of
782         test-skeleton.c and delete TEST_FUNCTION macro definition.
783         * elf/nodelete.c: Likewise.
784         * elf/order2.c: Likewise.
785         * elf/tst-_dl_addr_inside_object.c: Likewise.
786         * elf/tst-addr1.c: Likewise.
787         * elf/tst-align.c: Likewise.
788         * elf/tst-align2.c: Likewise.
789         * elf/tst-audit11.c: Likewise.
790         * elf/tst-audit12.c: Likewise.
791         * elf/tst-audit2.c: Likewise.
792         * elf/tst-audit9.c: Likewise.
793         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
794         * elf/tst-deep1.c: Likewise.
795         * elf/tst-dl-iter-static.c: Likewise.
796         * elf/tst-dlmodcount.c: Likewise.
797         * elf/tst-dlmopen1.c: Likewise.
798         * elf/tst-dlmopen2.c: Likewise.
799         * elf/tst-dlmopen3.c: Likewise.
800         * elf/tst-dlopen-aout.c: Likewise.
801         * elf/tst-dlopenrpath.c: Likewise.
802         * elf/tst-dlsym-error.c: Likewise.
803         * elf/tst-execstack-needed.c: Likewise.
804         * elf/tst-execstack-prog.c: Likewise.
805         * elf/tst-execstack.c: Likewise.
806         * elf/tst-global1.c: Likewise.
807         * elf/tst-gnu2-tls1.c: Likewise.
808         * elf/tst-latepthread.c: Likewise.
809         * elf/tst-leaks1.c: Likewise.
810         * elf/tst-linkall-static.c: Likewise.
811         (do_test): New function.
812         * elf/tst-nodelete-opened.c: Likewise.
813         * elf/tst-nodelete.cc: Likewise.
814         * elf/tst-nodelete2.c: Likewise.
815         * elf/tst-noload.c: Likewise.
816         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
817         * elf/tst-order-main.c: Likewise.
818         * elf/tst-pathopt.c: Likewise.
819         * elf/tst-pie2.c: Likewise.
820         * elf/tst-piemod1.c: Likewise.
821         * elf/tst-prelink.c: Likewise.
822         * elf/tst-protected1a.c: Likewise.
823         * elf/tst-protected1b.c: Likewise.
824         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
825         and define _GNU_SOURCE macro.
826         (cmdline_process_function): New function.
827         * elf/tst-relsort1.c: Likewise.
828         * elf/tst-stackguard1.c: Likewise, import getopt.h,
829         and define _GNU_SOURCE macro.
830         (cmdline_process_function): New function.
831         * elf/tst-thrlock.c: Likewise.
832         * elf/tst-tls-dlinfo.c: Likewise.
833         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
834         * elf/tst-tls1.c: Likewise.
835         * elf/tst-tls10.c: Likewise.
836         * elf/tst-tls11.c: Likewise.
837         * elf/tst-tls12.c: Likewise.
838         * elf/tst-tls13.c: Likewise.
839         * elf/tst-tls14.c: Likewise.
840         * elf/tst-tls15.c: Likewise.
841         * elf/tst-tls16.c: Likewise.
842         * elf/tst-tls17.c: Likewise.
843         * elf/tst-tls18.c: Likewise.
844         * elf/tst-tls19.c: Likewise.
845         * elf/tst-tls2.c: Likewise.
846         * elf/tst-tls3.c: Likewise.
847         * elf/tst-tls4.c: Likewise.
848         * elf/tst-tls5.c: Likewise.
849         * elf/tst-tls6.c: Likewise.
850         * elf/tst-tls7.c: Likewise.
851         * elf/tst-tls8.c: Likewise.
852         * elf/tst-tls9.c: Likewise.
853         * elf/tst-tlsalign-extern.c: Likewise.
854         * elf/tst-tlsalign.c: Likewise.
855         * elf/tst-unique1.c: Likewise.
856         * elf/tst-unique2.c: Likewise.
857         * elf/vismain.c: Likewise.
859 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
861         * string/test-strnlen.c (do_page_tests): New function
862         to check length of strings ending at the page boundary.
863         (test_main): Added call to the do_page_tests function.
865 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
866             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
868         * sysdeps/powerpc/powerpc64/multiarch/Makefile
869         (sysdep_routines): Add strnlen-power8.
870         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
871         (strnlen): Add __strnlen_power8 to list of strnlen functions.
872         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
873         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
874         (__strnlen): Add __strnlen_power8 to ifunc list.
875         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
877 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
879         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
880         the TEST_FUNCTION macro definition.
881         * wcsmbs/tst-mbrtowc2.c: Likewise.
882         * wcsmbs/tst-mbsrtowcs.c: Likewise.
883         * wcsmbs/tst-wchar-h.c: Likewise.
884         * wcsmbs/tst-wcpncpy.c: Likewise.
885         * wcsmbs/tst-wcrtomb.c: Likewise.
886         * wcsmbs/tst-wcsnlen.c: Likewise.
887         * wcsmbs/tst-wcstof.c: Likewise.
889 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
891         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
892         CALL_THREAD_FCT macro usage.
893         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
894         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
895         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
897         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
898         * sysdeps/unix/sysv/linux/arm/kernel-features.h
899         (__ASSUME_REQUEUE_PI): Likewise.
900         * sysdeps/unix/sysv/linux/kernel-features.h
901         (__ASSUME_REQUEUE_PI): Likewise.
902         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
903         (__ASSUME_REQUEUE_PI): Likewise.
904         * sysdeps/unix/sysv/linux/mips/kernel-features.h
905         (__ASSUME_REQUEUE_PI): Likewise.
906         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
907         (__ASSUME_REQUEUE_PI): Likewise.
909 2017-04-04  Florian Weimer  <fweimer@redhat.com>
911         * resolv/tst-resolv-canonname.c: New file.
912         * resolv/Makefile (tests): Add tst-resolv-canonname.
913         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
915 2017-04-04  Florian Weimer  <fweimer@redhat.com>
917         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
918         Declare.
919         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
920         (NS_MAXCDNAME): Remove definition.
921         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
922         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
923         (NS_MAXCDNAME): Remove definition.
924         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
926 2017-04-04  Florian Weimer  <fweimer@redhat.com>
928         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
929         call whose result is not used.
931 2017-04-04  Florian Weimer  <fweimer@redhat.com>
933         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
934         * resolv/Makefile (tests): Add tst-ns_name.
935         (tst-ns_name): Link with -lresolv.
936         (tst-ns_name.out): Depend on the input data file.
938 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
940         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
941         Clobber also r14.
943 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
945         [BZ #21253]
946         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
947         slack space by 32KiB.
949 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
951         [BZ #21338]
952         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
953         instead of incorrect do_set_arena_test
955 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
957         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
958         * math/bits/math-finite.h: Likewise.
960 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
962         [BZ #21289]
963         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
965 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
967         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
968         non expected inotify_add_watch and quotactl return.
970 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
972         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
973         to int32_t.
974         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
975         as returning int32_t.
977 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
979         * math/math.h: Include bits/math-finite.h once per
980         floating-point type.
981         * math/bits/math-finite.h: Macroize all declarations by
982         floating-point type.
984 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
986         [BZ #21182]
987         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
988         near end of a page.
989         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
990         overflow calculation.
992 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
994         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
995         (IMPL) Call with 1 instead of 0 as argument.
997 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
999         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
1000         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
1001         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
1002         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
1003         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
1004         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
1005         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
1006         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
1007         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
1008         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1009         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1010         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1011         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1012         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1013         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1014         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1015         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1016         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1017         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
1018         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
1019         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
1020         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
1021         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
1022         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
1023         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
1024         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
1025         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
1026         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
1027         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
1028         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
1029         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
1030         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
1031         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
1032         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
1033         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
1034         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
1035         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
1036         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
1037         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
1038         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
1039         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
1040         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
1041         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
1042         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
1043         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
1044         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
1045         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
1046         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
1047         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
1048         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
1049         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
1050         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
1051         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
1052         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
1053         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
1054         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
1055         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1056         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
1057         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
1058         defined.
1059         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
1060         __NR_setgroups32 if defined.
1061         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
1062         if defined.
1063         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
1064         __NR_setresgid32 is defined.
1065         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
1066         __NR_setresuid32 if defined.
1067         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
1068         __NR_setreuid32 if defined.
1069         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
1070         defined.
1071         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
1072         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
1073         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
1074         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
1075         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
1076         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
1077         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
1078         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
1079         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
1080         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1081         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1082         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1083         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1084         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1085         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1086         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1087         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1088         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1089         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
1090         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
1091         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
1092         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
1093         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
1094         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
1095         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
1096         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
1097         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
1098         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
1099         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
1100         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
1101         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
1102         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
1103         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
1104         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
1105         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
1106         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
1107         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
1108         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
1109         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
1110         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
1111         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
1112         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
1113         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
1114         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
1115         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
1116         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
1117         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
1118         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
1119         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
1120         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
1121         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
1122         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
1123         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
1124         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
1125         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
1126         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
1127         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1128         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
1129         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
1130         defined.
1131         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
1132         __NR_setgroups32 if defined.
1133         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
1134         if defined.
1135         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
1136         __NR_setresgid32 is defined.
1137         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
1138         __NR_setresuid32 if defined.
1139         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
1140         __NR_setreuid32 if defined.
1141         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
1142         defined.
1144 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
1146         [BZ #21277]
1147         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
1148         unconditionally.
1149         (IMAXBEL): Likewise.
1150         (IUTF8): Likewise.
1152 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1154         * sysdeps/aarch64/libm-test-ulps: Update.
1156 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
1158         * README.tunables: Updated descriptions.
1159         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
1160         * scripts/gen-tunables.awk: Updated the code related to the
1161         commit.
1163 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
1165         * benchtests/Makefile (string-benchset): Add memcpy-random.
1166         * benchtests/bench-memcpy-random.c: New file.
1168 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1170         * stdio-common/printf.h (register_printf_modifier): Change the
1171         order of __wur and __THROW.
1172         (register_printf_type): Likewise.
1174 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1176         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
1177         test_main ().
1178         (CMDLINE_PROCESS): Use function instead of defined macro.
1179         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
1180         <suppport/support.h> to use set_fortify_handler().
1181         * string/bug-envz1.c: Import support/test-driver.c instead of
1182         test-skeleton.c.
1183         * string/bug-strcoll2.c: Likewise.
1184         * string/bug-strtok1.c: Likewise.
1185         * string/stratcliff.c: Likewise.
1186         * string/test-ffs.c: Likewise.
1187         * string/test-memccpy.c: Likewise.
1188         * string/test-memchr.c: Likewise.
1189         * string/test-memcmp.c: Likewise.
1190         * string/test-memcpy.c: Likewise.
1191         * string/test-memmem.c: Likewise.
1192         * string/test-memmove.c: Likewise.
1193         * string/test-memrchr.c: Likewise.
1194         * string/test-memset.c: Likewise.
1195         * string/test-rawmemchr.c: Likewise.
1196         * string/test-strcasecmp.c: Likewise.
1197         * string/test-strcasestr.c: Likewise.
1198         * string/test-strcat.c: Likewise.
1199         * string/test-strchr.c: Likewise.
1200         * string/test-strcmp.c: Likewise.
1201         * string/test-strcpy.c: Likewise.
1202         * string/test-string.h: Likewise.
1203         * string/test-strlen.c: Likewise.
1204         * string/test-strncasecmp.c: Likewise.
1205         * string/test-strncat.c: Likewise.
1206         * string/test-strncmp.c: Likewise.
1207         * string/test-strncpy.c: Likewise.
1208         * string/test-strnlen.c: Likewise.
1209         * string/test-strpbrk.c: Likewise.
1210         * string/test-strrchr.c: Likewise.
1211         * string/test-strspn.c: Likewise.
1212         * string/test-strstr.c: Likewise.
1213         * string/tst-bswap.c: Likewise.
1214         * string/tst-cmp.c: Likewise.
1215         * string/tst-endian.c: Likewise.
1216         * string/tst-inlcall.c: Likewise.
1217         * string/tst-strcoll-overflow.c: Likewise.
1218         * string/tst-strfry.c: Likewise.
1219         * string/tst-strlen.c: Likewise.
1220         * string/tst-strtok.c: Likewise.
1221         * string/tst-strtok_r.c: Likewise.
1222         * string/tst-strxfrm.c: Likewise.
1223         * string/tst-strxfrm2.c: Likewise.
1224         * string/tst-svc.c: Likewise.
1225         * string/tst-svc2.c: Likewise.
1227 2017-03-22  Zack Weinberg  <zackw@panix.com>
1229         * stdio-common/bug25.c: Include stdlib.h.
1230         * support/tst-support_format_dns_packet.c: Include stdio.h,
1231         stdlib.h, and string.h.
1232         * support/tst-support_record_failure.c: Include string.h.
1233         * support/tst-support_record_failure-2.sh: Adjust line number
1234         expectations and correct a typo in an error message.
1236 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1238         [BZ #21258]
1239         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
1240         Define only if _dl_runtime_resolve is defined to
1241         _dl_runtime_resolve_sse_vex.
1242         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
1243         Fallthrough to _dl_runtime_resolve_sse_vex.
1245 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
1247         * INSTALL: Regenerated.
1249 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
1251         * config.h.in: Add LINK_OBSOLETE_NSL.
1252         * config.make.in: Add build-obsolete-nsl.
1253         * configure.ac: Add obsolete-nsl option.
1254         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
1255         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
1256         * include/rpcsvc/nislib.h: Likewise.
1257         * include/rpcsvc/ypclnt.h: Likewise.
1258         * manual/install.texi: Document --enable-obsolete-nsl.
1259         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
1260         * nis/nis_add.c: Replace libnsl_hidden_def with
1261         libnsl_hidden_nolink_def.
1262         * nis/nis_addmember.c: Likewise.
1263         * nis/nis_call.c: Likewise.
1264         * nis/nis_clone_obj.c: Likewise.
1265         * nis/nis_defaults.c: Likeise.
1266         * nis/nis_domain_of_r.c: Likewise.
1267         * nis/nis_error.c: Likewise.
1268         * nis/nis_file.c: Likewise.
1269         * nis/nis_free.c: Likewise.
1270         * nis_local_names.c: Likewise.
1271         * nis/nis_lookup.c: Likewise.
1272         * nis/nis_modify.c: Likewise.
1273         * nis/nis_print.c: Likewise.
1274         * nis/nis_remove.c: Likewise.
1275         * nis/nis_table.c: Likewise.
1276         * nis/nis_util.c: Likewise.
1277         * nis/nis_xdr.c: Likewise.
1278         * nis/yp_xdr.c: Likewise.
1279         * nis/ypclnt.c: Likewise.
1280         * nis/ypupdate_xdr.c: Likewise.
1281         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
1282         * nis/nis_clone_dir.c: Likewise.
1283         * nis/nis_clone_res.c: Likewise.
1284         * nis/nis_creategroup.c: Likewise.
1285         * nis/nis_destroygroup.c: Likewise.
1286         * nis/nis_domain_of.c: Likewise.
1287         * nis/nis_getservlist.c: Likewise.
1288         * nis/nis_ismember.c: Likewise.
1289         * nis/nis_mkdir.c: Likewise.
1290         * nis/nis_ping.c: Likewise.
1291         * nis/nis_print_group_entry.c: Likewise.
1292         * nis/nis_removemember.c: Likewise.
1293         * nis/nis_rmdir.c: Likewise.
1294         * nis/nis_server.c: Likewise.
1295         * nis/nis_subr.c: Likewise.
1296         * nis/nis_verifygroup.c: Likewise.
1298 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1300         * malloc/tst-interpose-aux.c (check_for_allocations):
1301         Move compiler barrier before free.
1303 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
1305         [BZ #21279]
1306         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
1307         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
1308         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
1309         x86_64-x32-linux.
1310         (mq_attr.mq_maxmsg): Likewise.
1311         (mq_attr.mq_msgsize): Likewise.
1312         (mq_attr.mq_curmsgs): Likewise.
1314         [BZ #21278]
1315         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
1316         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
1317         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
1318         mips-o32-linux.
1320         [BZ #21268]
1321         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
1322         if [__USE_MISC]
1323         (NL3): Likewise.
1325 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
1327         [BZ #21275]
1328         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
1329         __stack to __stackbase.
1330         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
1331         checks so we can include defined(__ia64__) first.
1333 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
1335         * sysdeps/unix/sysv/linux/ttyname.h: New file.
1336         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
1337         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
1338         Call is_pty when the link does not exist or does not match, fail
1339         with ENODEV when it returns true.
1340         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
1341         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
1342         Call is_pty when the link does not exist or does not match, fail
1343         with ENODEV when it returns true.
1345 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
1347         [BZ #16437]
1348         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
1349         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1350         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
1351         x86_64-x32-linux.
1352         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
1353         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
1354         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
1356         [BZ #21261]
1357         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
1358         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
1359         names for all fields.
1360         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
1361         for jmp_buf field renaming.
1362         (_JMPBUF_UNWINDS_ADJ): Likewise.
1364         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
1365         with allow-header.
1367 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
1369         * malloc/malloc.c (unlink): Add consistency check between size and
1370         next->prev->size, to further harden against 1-byte overflows.
1372 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
1374         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
1375         CPU_FEATURES_CPU_P.
1377 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
1379         [BZ #21259]
1380         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
1381         unconditionally, not just for [__USE_MISC].
1383         [BZ #17786]
1384         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
1385         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
1386         mips-o32-linux.
1388         [BZ #21260]
1389         * sysdeps/unix/sysv/linux/alpha/Makefile
1390         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1391         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
1393         * conform/conformtest.pl ($cross): New variable.
1394         (--cross): New command-line option.
1395         (runtest): Skip test execution when cross-compiling.
1396         * conform/Makefile (conformtest-cross): New variable.
1397         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
1398         conformtest.pl.
1400         * conform/conformtest.pl ($xfail_str): New variable.
1401         (--xfail=): New command-line option.
1402         (top level): Handle expectations starting xfail[cond]-.
1403         * conform/Makefile (conformtest-xfail): New variable.
1404         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
1405         conformtest.pl.
1407 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
1409         * conform/conformtest.pl: Use compilation instead of execution
1410         tests for testing values of constants and usability in #if.
1412 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1414         * math/auto-libm-test-in: Mark some catan and catanh as
1415         xfail-rounding:ibm128-libgcc.
1416         * math/auto-libm-test-out-catan: Regenerate.
1417         * math/auto-libm-test-out-catanh: Likewise.
1419 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
1421         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
1422         (__END_NAMESPACE_STD): Likewise.
1423         (__USING_NAMESPACE_STD): Likewise.
1424         (__BEGIN_NAMESPACE_C99): Likewise.
1425         (__END_NAMESPACE_C99): Likewise.
1426         (__USING_NAMESPACE_C99): Likewise.
1427         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
1428         undefine macro.
1429         (_Mdouble_END_NAMESPACE): Likewise.
1430         * ctype/ctype.h: Do not handle C++ namespaces.
1431         * libio/bits/stdio-ldbl.h: Likewise.
1432         * libio/stdio.h: Likewise.
1433         * locale/locale.h: Likewise.
1434         * math/bits/mathcalls.h: Likewise.
1435         * setjmp/setjmp.h: Likewise.
1436         * signal/signal.h: Likewise.
1437         * stdlib/bits/stdlib-float.h: Likewise.
1438         * stdlib/bits/stdlib-ldbl.h: Likewise.
1439         * stdlib/stdlib.h: Likewise.
1440         * string/string.h: Likewise.
1441         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
1442         * time/bits/types/clock_t.h: Likewise.
1443         * time/bits/types/struct_tm.h: Likewise.
1444         * time/bits/types/time_t.h: Likewise.
1445         * time/time.h: Likewise.
1446         * wcsmbs/bits/wchar-ldbl.h: Likewise.
1447         * wcsmbs/uchar.h: Likewise.
1448         * wcsmbs/wchar.h: Likewise.
1449         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
1450         * wctype/wctype.h: Do not handle C++ namespaces.
1451         * scripts/begin-end-check.pl: Remove.
1452         * Makefile (installed-headers): Likewise.
1453         (tests-special): Do not add $(objpfx)begin-end-check.out.
1454         ($(objpfx)begin-end-check.out): Remove.
1456 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
1457             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1459         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
1460         (DL_PLATFORM_INIT): New define.
1461         (dl_platform_init): New function.
1462         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
1463         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
1464         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
1465         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
1466         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
1468 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
1470         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
1471         instead of PIC.
1473 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
1475         [BZ #21094]
1476         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
1477         24+24+24-bit pi for wider range of values around pi/2.
1478         * math/auto-libm-test-in: Add more tests of cos and tan.
1479         * math/auto-libm-test-out-cos: Regenerated.
1480         * math/auto-libm-test-out-tan: Likewise.
1482 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
1484         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
1485         (RTLD_START): Don't record stack end address in _dl_start_user.
1487 2017-03-15  Alexey Neyman  <stilor@att.net>
1489         [BZ #21088]
1490         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
1491         around definitions match those around use.
1493 2017-03-15  Alexey Neyman  <stilor@att.net>
1495         * configure.ac: Avoid empty subexpression in grep.
1496         * configure: Regenerate.
1498 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1500         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
1501         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
1502         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
1503         (test_wrp_rv): Fix format.
1504         (test_wrp_rv2): New macro.
1505         (do_test): Handle mlock return on 64 bits kernels with 32 bits
1506         binaries.
1508 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
1510         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
1511         Use a union when storing pointers.
1512         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
1513         cast result when passing to INIT_VEC_PTRS_LOOP.
1514         (VECTOR_WRAPPER_fFF_3): Likewise.
1515         (VECTOR_WRAPPER_fFF_4): Likewise.
1517 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1519         * include/bits/mathcalls-helper-functions.h: New file.
1520         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
1521         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
1522         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
1523         math/bits/mathcalls-helper-functions.h.
1524         * math/bits/mathcalls-helper-functions.h: New file.
1525         * math/math.h: Include bits/mathcalls-helper-functions.h for
1526         float, double, and long double.
1528 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1530         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
1531         instead of feraiseexcept.
1533 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1535         [BZ #21243]
1536         * support/temp_file.c (support_delete_temp_files): Add comment
1537         about ignored errors.
1539 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1541         [BZ #21244]
1542         * support/xclose.c: New file.
1543         * support/Makefile (libsupport-routines): Add xclose.
1544         * support/xunistd.h (xclose): Declare.
1545         * support/resolv_test.c (server_thread_tcp_client)
1546         (server_thread_tcp, make_server_sockets, resolv_test_start)
1547         (resolv_test_end): Call xclose instead of close.
1548         * support/support_enter_network_namespace.c
1549         (support_enter_network_namespace): Likewise.
1550         * support/support_run_diff.c (write_to_temp_file): Likewise.
1552 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1554         * support/support_format_dns_packet.c (support_format_dns_packet):
1555         Handle CNAME records in the response.  Extract RDATA names from
1556         rdata, not the whole packet.  Check AAAA record length.
1557         * support/tst-support_format_dns_packet.c: New file.
1558         * support/Makefile (tests): Add tst-support_format_dns_packet.
1559         (tst-support_format_dns_packet): Link against libresolv.
1561 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1563         [BZ #21232]
1564         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
1565         posix_fadvise64 weak_alias for static build.
1567 2017-03-14  Andreas Schwab  <schwab@suse.de>
1569         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
1570         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
1571         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
1572         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
1573         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
1574         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
1575         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
1576         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
1578 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1580         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
1581         posix error code.
1582         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1584 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1586         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
1587         no_isolate usage for SH.
1589 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
1591         [BZ #15105]
1592         [BZ #19463]
1593         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
1594         * inet/rcmd.c (rcmd_af): Likewise.
1595         * inet/rexec.c   (rexec_af): Likewise.
1596         * intl/dcigettext.c (_LIBC): Likewise.
1597         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
1598         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
1599         * locale/setlocale.c (setlocale): Likewise.
1600         * posix/spawn_faction_addopen.c
1601         (posix_spawn_file_actions_addopen): Likewise.
1602         * stdlib/putenv.c (putenv): Use __strndup.
1603         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
1604         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
1605         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
1606         (__Need_M_And_C) Remove define/undef.
1607         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
1608         (__malloc_and_calloc_defined): Remove define.
1609         * string/bits/string2.h (__strdup): Remove define.
1610         (strdup): Likewise.
1611         (__strndup): Likewise.
1612         (strndup): Likewise.
1614 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
1616         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
1617         macro.
1618         (IPV6_ADDR_PREFERENCES): Likewise.
1619         (IPV6_MINHOPCOUNT): Likewise.
1620         (IPV6_ORIGDSTADDR): Likewise.
1621         (IPV6_RECVORIGDSTADDR): Likewise.
1622         (IPV6_TRANSPARENT): Likewise.
1623         (IPV6_UNICAST_IF): Likewise.
1624         (IPV6_RECVFRAGSIZE): Likewise.
1626 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
1628         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
1630 2017-03-12  Alexey Neyman <stilor@att.net>
1632         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
1633         in R_SH_DIR32 case is always false when inlined from
1634         dl-conflict.c. Ifdef out to prevent GCC from insertin an
1636 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
1638         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1639         (__ASSUME_RECV_SYSCALL): Replace duplicate by
1640         __ASSUME_SEND_SYSCALL.
1642 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
1644         * sunrpc/Makefile: don't build and install rpcsvc header
1645         files, rpcgen and librpcsvc.a by default.
1647 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
1649         * math/auto-libm-test-out-catan: Regenerated.
1650         * math/auto-libm-test-out-catanh: Likewise.
1651         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1653 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
1655         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
1656         for long double with corrected test expectations.
1658 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1660         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
1661         Define.
1662         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1663         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
1664         * sysdeps/unix/sysv/linux/nios2/sysdep.h
1665         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
1666         * sysdeps/unix/sysv/linux/tile/sysdep.h
1667         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
1668         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1669         (__ASSUME_RECV_SYSCALL): Define.
1670         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1671         (__ASSUME_RECV_SYSCALL): Likewise.
1672         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1673         (__ASSUME_RECV_SYSCALL): Likewise.
1674         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1675         (__ASSUME_RECV_SYSCALL): Likewise.
1676         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1677         (__ASSUME_RECV_SYSCALL): Likewise.
1678         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1679         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
1680         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1681         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1682         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1683         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1684         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
1685         auto-generation list.
1686         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1687         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1688         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
1689         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1690         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1691         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
1692         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
1693         __ASSUME_SENDTO_SYSCALL.
1694         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
1695         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
1696         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
1698         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
1699         auto-generation list.
1700         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1701         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1702         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1703         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1704         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1705         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1706         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1707         * sysdeps/unix/sysv/linux/kernel-features.h
1708         (__ASSUME_SENDTO_SYSCALL): Define by default.
1709         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1710         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
1711         __NR_sendto.
1712         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1713         (__ASSUME_SENDTO_SYSCALL): Likewise.
1714         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1715         (__ASSUME_SENDTO_SYSCALL): Likewise.
1716         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1717         (__ASSUME_SENDTO_SYSCALL): Remove definition.
1718         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1719         (__ASSUME_SENDTO_SYSCALL): Likewise.
1720         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
1721         (__ASSUME_SENDTO_SYSCALL): Likewise.
1722         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
1724         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
1725         auto-generation list.
1726         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1727         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1728         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1729         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1730         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1731         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1732         (__ASSUME_RECV_SYSCALL): New define.
1733         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1734         (__ASSUME_RECV_SYSCALL): Likewise.
1735         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1736         (__ASSUME_RECV_SYSCALL): Likewise.
1737         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1738         (__ASSUME_RECV_SYSCALL): Likewise.
1739         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1740         (__ASSUME_RECV_SYSCALL): Likewise.
1741         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1742         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1743         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1744         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1745         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1746         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1747         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
1748         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
1749         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
1750         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
1751         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
1752         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
1754         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom 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/sparc/sparc64/syscalls.list: Likewise.
1761         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1762         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1763         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1764         (__ASSUME_RECVFROM_SYSCALL): Define by default.
1765         * sysdeps/unix/sysv/linux/kernel-features.h
1766         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
1767         __NR_recvfrom.
1768         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1769         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1770         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1771         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1772         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1773         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
1774         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1775         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1776         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1777         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1778         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1779         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1780         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
1782         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
1783         auto-generation list.
1784         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1785         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1786         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1787         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1788         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1789         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1790         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1791         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
1792         * sysdeps/unix/sysv/linux/kernel-features.h
1793         (__ASSUME_CONNECT_SYSCALL): Define.
1794         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1795         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
1796         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1797         (__ASSUME_CONNECT_SYSCALL): Likewise.
1798         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1799         (__ASSUME_CONNECT_SYSCALL): Likewise.
1800         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1801         (__ASSUME_CONNECT_SYSCALL): Likewise.
1803         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
1804         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
1805         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
1806         auto-generation list.
1807         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1808         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1809         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1810         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1811         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1812         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1813         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1814         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1815         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1816         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1817         * sysdeps/unix/sysv/linux/kernel-features.h
1818         (__ASSUME_ACCEPT_SYSCALL): New define.
1819         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1820         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1821         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
1822         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1823         (__ASSUME_ACCEPT_SYSCALL): Define.
1824         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1825         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1826         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1827         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1828         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1829         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1830         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1831         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1832         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
1834 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
1835             Zack Weinberg  <zackw@panix.com>
1837         * posix/test-errno.c: New file.
1838         * posix/Makefile (tests): Add test-errno.
1839         * sysdeps/unix/sysv/linux/test-errno.c: New file.
1840         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
1842 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
1844         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1846 2017-03-07  Florian Weimer  <fweimer@redhat.com>
1848         * time/tzset.c (compute_offset): Open-code min macro.
1849         (min, max, sign): Remove.
1851 2017-03-07  Florian Weimer  <fweimer@redhat.com>
1853         [BZ #15576]
1854         Remove TZNAME_MAX limit from sysconf.
1855         * include/time.h (__tzname_cur_max, __tzname_max): Remove
1856         declaration.
1857         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
1858         compute_tzname_max.
1859         (compute_tzname_max): Remove.
1860         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
1861         (update_vars): Do not update __tzname_cur_max.
1862         (tzset_internal): Remove argument.
1863         (__tzset): Adjust call to tzset_internal.
1864         (__tz_convert): Likewise.
1866         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
1867         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
1868         * manual/conf.texi (Sysconf Definition): Update comment.
1870 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1872         [BZ #21209]
1873         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
1874         AT_SECURE processes.
1875         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
1876         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
1877         (test_child): Likewise.
1878         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
1880 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1882         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
1884 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1886         * sysdeps/s390/atomic-machine.h
1887         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
1888         (__arch_compare_and_exchange_val_8_acq,
1889         __arch_compare_and_exchange_val_16_acq,
1890         __arch_compare_and_exchange_val_32_acq,
1891         __arch_compare_and_exchange_val_64_acq):
1892         Delete macro.
1893         (atomic_compare_and_exchange_val_acq,
1894         atomic_compare_and_exchange_val_rel,
1895         atomic_compare_and_exchange_bool_acq,
1896         catomic_compare_and_exchange_bool_acq,
1897         atomic_exchange_acq, atomic_exchange_rel,
1898         atomic_exchange_and_add_acq,
1899         atomic_exchange_and_add_rel,
1900         catomic_exchange_and_add, atomic_or_val,
1901         atomic_or, catomic_or, atomic_bit_test_set,
1902         atomic_and_val, atomic_and, catomic_and):
1903         Define macros with help of C11 atomic builtins.
1905 2017-03-03  Justus Winter <justus@gnupg.org>
1907         * sysdeps/mach/hurd/ftruncate64.c: New file.
1908         * sysdeps/mach/hurd/truncate64.c: Likewise.
1910 2017-03-03  Florian Weimer  <fweimer@redhat.com>
1912         * time/tzfile.c (NOID): Do not define.
1913         * time/tzset.c (NOID): Likewise.
1915 2017-03-03  Florian Weimer  <fweimer@redhat.com>
1917         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
1919 2017-03-02  Florian Weimer  <fweimer@redhat.com>
1921         * elf/get-dynamic-info.h: Remove header file inclusion guard.
1923 2017-03-02  Florian Weimer  <fweimer@redhat.com>
1925         [BZ #21015]
1926         * manual/install.texi (Configuring and compiling): Document
1927         --enable-bind-now.
1928         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
1929         (build-shlib-helper): Use $(LDFLAGS-lib.so).
1930         (format.lds): Likewise.
1931         [bind-now] (LDFLAGS-c.so): Remove.
1932         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
1933         be R_X86_64_GLOB_DAT.
1934         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
1935         relocation can be R_386_GLOB_DAT.
1936         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
1937         relocaiton can be R_ALPHA_GLOB_DAT.
1938         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
1940 2017-03-01  Zack Weinberg  <zackw@panix.com>
1942         * include/libc-pointer-arith.h: New file.  Define
1943         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
1944         PTR_ALIGN_DOWN here.
1945         * include/libc-internal.h: Definitions of above macros
1946         moved from here.  Don't include libc-diag.h anymore either.
1947         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
1948         Don't include libc-internal.h.
1950         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
1951         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
1952         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
1953         * string/strcoll_l.c, sysdeps/nacl/brk.c
1954         * sysdeps/unix/clock_settime.c
1955         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
1956         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
1957         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
1958         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
1959         Don't include libc-internal.h.
1961         * elf/get-dynamic-info.h, iconv/loop.c
1962         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
1963         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
1964         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
1965         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
1966         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
1967         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
1968         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
1969         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
1970         * sysdeps/ieee754/ldbl-128/k_tanl.c
1971         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
1972         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
1973         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
1974         Include libc-diag.h instead of libc-internal.h.
1976         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
1977         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
1978         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
1979         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
1980         * sysdeps/unix/sysv/linux/spawni.c
1981         * sysdeps/x86_64/nptl/tls.h:
1982         Include libc-pointer-arith.h instead of libc-internal.h.
1984         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
1985         * sysdeps/x86_64/atomic-machine.h:
1986         Add multiple include guard.
1988         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
1989         * string/strcasestr.c: No need to include config.h.
1990         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
1991         sys/auxv.h. Don't include sysdep.h.
1992         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
1994         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
1995         DL_LOOKUP_ADDRESS.
1996         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
1997         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
1998         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
1999         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
2000         of ARTIFICIAL_LIMIT.
2001         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
2002         declaration of __clone2.
2004 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2006         * scripts/backport-support.sh (latest_commit): New file.
2008 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2010         [BZ #20257]
2011         * inet/Makefile (routines): Add deadline.
2012         (tests-static): Add tst-deadline.
2013         * inet/net-internal.h (struct deadline_current_time)
2014         (__deadline_current_time, struct deadline, __deadline_is_infinite)
2015         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
2016         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
2017         * inet/deadline.c: New file.
2018         * inet/tst-deadline.c: Likewise.
2019         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
2020         tst-udp-timeout, tst-udp-garbage.
2021         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
2022         explicitly.
2023         (tst-udp-garbage): Likewise.  Also link against thread library.
2024         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
2025         struct layout is part of the ABI.
2026         (clntudp_call): Rework timeout handling.
2027         * sunrpc/tst-udp-garbage.c: New file.
2028         * sunrpc/tst-udp-nonblocking.c: Likewise.
2029         * sunrpc/tst-udp-timeout.c: Likewise.
2031 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2033         [BZ #5010]
2034         * sunrpc/svc.c (svc_is_mapped): Remove.
2035         (svc_unregister): Obtain mapped status while the service is still
2036         registered.
2037         * sunrpc/Makefile [have-thread-library] (tests): Add
2038         tst-svc_register.
2039         (tst-svc_register): Link against libc.so explicitly and the thread
2040         library.
2041         * sunrpc/tst-svc_register.c: New file.
2043 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
2045         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
2046         * sysdeps/pthread/bits/sigthread.h: Likewise.
2048 2017-02-27  Florian Weimer  <fweimer@redhat.com>
2050         [BZ #21115]
2051         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
2052         * sunrpc/Makefile (tests): Add tst-udp-error.
2053         (tst-udp-error): Link against libc.so explicitly.
2054         * sunrpc/tst-udp-error: New file.
2056 2017-02-25  Zack Weinberg  <zackw@panix.com>
2058         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
2059         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
2061         * sysdeps/generic/math_ldbl.h
2062         * sysdeps/ia64/fpu/math_ldbl.h
2063         * sysdeps/ieee754/ldbl-128/math_ldbl.h
2064         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2065         * sysdeps/ieee754/ldbl-96/math_ldbl.h
2066         * sysdeps/powerpc/fpu/math_ldbl.h
2067         * sysdeps/x86_64/fpu/math_ldbl.h:
2068         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
2069         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
2070         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
2071         Add copyright notices.
2073         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
2074         Don't use EXTRACT_WORDS64.
2076         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
2077         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
2078         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
2079         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
2080         Include math_ldbl.h, not math_private.h.
2082 2017-02-25  Zack Weinberg  <zackw@panix.com>
2084         * include/libc-diag.h: New file.  Define ignore_value,
2085         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
2086         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
2088         * include/libc-internal.h: Definitions of above macros moved from
2089         here.  Include libc-diag.h.  Add copyright notice.
2091         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
2092         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
2093         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
2094         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
2095         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
2096         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
2097         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
2098         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
2099         Include libc-diag.h instead of libc-internal.h.
2101         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
2102         call to unsetenv (NULL).
2103         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
2104         call to pthread_mutexattr_destroy (NULL).
2106 2017-02-25  Zack Weinberg  <zackw@panix.com>
2108         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
2109         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
2110         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
2111         gets was removed from C++ in C++14.
2112         * include/stdio.h: Remove redundant declaration of gets.
2113         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
2114         be declared, since we are testing it.
2115         * stdio-common/Makefile (tst-gets.c): Compile with
2116         -Wno-deprecated-declarations.
2117         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
2118         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
2119         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
2120         Compile with -Wno-deprecated-declarations.
2122 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2124         * math/libm-test-support.c (check_ulp): Use LIT() around literal
2125         numbers.
2127 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2129         * resolv/tst-resolv-qtypes.c (domain):
2130         Change type to const pointer to const char.
2132 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
2134         * math/Makefile (libm-tests-generated): Remove variable.
2135         (libm-tests-base-normal): New variable.
2136         (libm-tests-base-finite): Likewise.
2137         (libm-tests-base-inline): Likewise.
2138         (libm-tests-base): Likewise.
2139         (libm-tests-normal): Likewise.
2140         (libm-tests-finite): Likewise.
2141         (libm-tests-inline): Likewise.
2142         (libm-tests-vector): Likewise.
2143         (libm-tests): Define in terms of these new variables.
2144         (libm-tests-for-type): New variable.
2145         (libm-tests.o): Move definition.
2146         (tests): Move addition of $(libm-tests).
2147         (generated): Update for new and removed libm test files.
2148         ($(objpfx)libm-test.c): Remove target.
2149         ($(objpfx)libm-have-vector-test.h): Likewise.
2150         (CFLAGS-test-double-vlen2.c): Remove variable.
2151         (CFLAGS-test-double-vlen4.c): Likewise.
2152         (CFLAGS-test-double-vlen8.c): Likewise.
2153         (CFLAGS-test-float-vlen4.c): Likewise.
2154         (CFLAGS-test-float-vlen8.c): Likewise.
2155         (CFLAGS-test-float-vlen16.c): Likewise.
2156         (CFLAGS-test-float.c): Likewise.
2157         (CFLAGS-test-float-finite.c): Likewise.
2158         (CFLAGS-libm-test-support-float.c): Likewise.
2159         (CFLAGS-test-double.c): Likewise.
2160         (CFLAGS-test-double-finite.c): Likewise.
2161         (CFLAGS-libm-test-support-double.c): Likewise.
2162         (CFLAGS-test-ldouble.c): Likewise.
2163         (CFLAGS-test-ldouble-finite.c): Likewise.
2164         (CFLAGS-libm-test-support-ldouble.c): Likewise.
2165         (libm-test-inline-cflags): New variable.
2166         (CFLAGS-test-ifloat.c): Remove variable.
2167         (CFLAGS-test-idouble.c): Likewise.
2168         (CFLAGS-test-ildouble.c): Likewise.
2169         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
2170         dependencies.
2171         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
2172         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
2173         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
2174         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
2175         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
2176         Likewise.
2177         (dependencies on libm-test-support-*.o): Remove.
2178         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
2179         rules using iterators.
2180         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
2181         Likewise.
2182         ($(objpfx)libm-test-support-$(o).o): Likewise.
2183         ($(addprefix $(objpfx),$(filter-out $(tests-static)
2184         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
2185         instead.
2186         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
2187         define rule instead.
2188         * math/README.libm-test: Update.
2189         * math/libm-test-acos.inc: Include libm-test-driver.c.
2190         (do_test): New function.
2191         * math/libm-test-acosh.inc: Include libm-test-driver.c.
2192         (do_test): New function.
2193         * math/libm-test-asin.inc: Include libm-test-driver.c.
2194         (do_test): New function.
2195         * math/libm-test-asinh.inc: Include libm-test-driver.c.
2196         (do_test): New function.
2197         * math/libm-test-atan.inc: Include libm-test-driver.c.
2198         (do_test): New function.
2199         * math/libm-test-atan2.inc: Include libm-test-driver.c.
2200         (do_test): New function.
2201         * math/libm-test-atanh.inc: Include libm-test-driver.c.
2202         (do_test): New function.
2203         * math/libm-test-cabs.inc: Include libm-test-driver.c.
2204         (do_test): New function.
2205         * math/libm-test-cacos.inc: Include libm-test-driver.c.
2206         (do_test): New function.
2207         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
2208         (do_test): New function.
2209         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
2210         (do_test): New function.
2211         * math/libm-test-carg.inc: Include libm-test-driver.c.
2212         (do_test): New function.
2213         * math/libm-test-casin.inc: Include libm-test-driver.c.
2214         (do_test): New function.
2215         * math/libm-test-casinh.inc: Include libm-test-driver.c.
2216         (do_test): New function.
2217         * math/libm-test-catan.inc: Include libm-test-driver.c.
2218         (do_test): New function.
2219         * math/libm-test-catanh.inc: Include libm-test-driver.c.
2220         (do_test): New function.
2221         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
2222         (do_test): New function.
2223         * math/libm-test-ccos.inc: Include libm-test-driver.c.
2224         (do_test): New function.
2225         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
2226         (do_test): New function.
2227         * math/libm-test-ceil.inc: Include libm-test-driver.c.
2228         (do_test): New function.
2229         * math/libm-test-cexp.inc: Include libm-test-driver.c.
2230         (do_test): New function.
2231         * math/libm-test-cimag.inc: Include libm-test-driver.c.
2232         (do_test): New function.
2233         * math/libm-test-clog.inc: Include libm-test-driver.c.
2234         (do_test): New function.
2235         * math/libm-test-clog10.inc: Include libm-test-driver.c.
2236         (do_test): New function.
2237         * math/libm-test-conj.inc: Include libm-test-driver.c.
2238         (do_test): New function.
2239         * math/libm-test-copysign.inc: Include libm-test-driver.c.
2240         (do_test): New function.
2241         * math/libm-test-cos.inc: Include libm-test-driver.c.
2242         (do_test): New function.
2243         * math/libm-test-cosh.inc: Include libm-test-driver.c.
2244         (do_test): New function.
2245         * math/libm-test-cpow.inc: Include libm-test-driver.c.
2246         (do_test): New function.
2247         * math/libm-test-cproj.inc: Include libm-test-driver.c.
2248         (do_test): New function.
2249         * math/libm-test-creal.inc: Include libm-test-driver.c.
2250         (do_test): New function.
2251         * math/libm-test-csin.inc: Include libm-test-driver.c.
2252         (do_test): New function.
2253         * math/libm-test-csinh.inc: Include libm-test-driver.c.
2254         (do_test): New function.
2255         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
2256         (do_test): New function.
2257         * math/libm-test-ctan.inc: Include libm-test-driver.c.
2258         (do_test): New function.
2259         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
2260         (do_test): New function.
2261         * math/libm-test-erf.inc: Include libm-test-driver.c.
2262         (do_test): New function.
2263         * math/libm-test-erfc.inc: Include libm-test-driver.c.
2264         (do_test): New function.
2265         * math/libm-test-exp.inc: Include libm-test-driver.c.
2266         (do_test): New function.
2267         * math/libm-test-exp10.inc: Include libm-test-driver.c.
2268         (do_test): New function.
2269         * math/libm-test-exp2.inc: Include libm-test-driver.c.
2270         (do_test): New function.
2271         * math/libm-test-expm1.inc: Include libm-test-driver.c.
2272         (do_test): New function.
2273         * math/libm-test-fabs.inc: Include libm-test-driver.c.
2274         (do_test): New function.
2275         * math/libm-test-fdim.inc: Include libm-test-driver.c.
2276         (do_test): New function.
2277         * math/libm-test-floor.inc: Include libm-test-driver.c.
2278         (do_test): New function.
2279         * math/libm-test-fma.inc: Include libm-test-driver.c.
2280         (do_test): New function.
2281         * math/libm-test-fmax.inc: Include libm-test-driver.c.
2282         (do_test): New function.
2283         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
2284         (do_test): New function.
2285         * math/libm-test-fmin.inc: Include libm-test-driver.c.
2286         (do_test): New function.
2287         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
2288         (do_test): New function.
2289         * math/libm-test-fmod.inc: Include libm-test-driver.c.
2290         (do_test): New function.
2291         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
2292         (do_test): New function.
2293         * math/libm-test-frexp.inc: Include libm-test-driver.c.
2294         (do_test): New function.
2295         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
2296         (do_test): New function.
2297         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
2298         (do_test): New function.
2299         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
2300         (do_test): New function.
2301         * math/libm-test-hypot.inc: Include libm-test-driver.c.
2302         (do_test): New function.
2303         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
2304         (do_test): New function.
2305         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
2306         (do_test): New function.
2307         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
2308         (do_test): New function.
2309         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
2310         (do_test): New function.
2311         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
2312         (do_test): New function.
2313         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
2314         (do_test): New function.
2315         * math/libm-test-isinf.inc: Include libm-test-driver.c.
2316         (do_test): New function.
2317         * math/libm-test-isless.inc: Include libm-test-driver.c.
2318         (do_test): New function.
2319         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
2320         (do_test): New function.
2321         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
2322         (do_test): New function.
2323         * math/libm-test-isnan.inc: Include libm-test-driver.c.
2324         (do_test): New function.
2325         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
2326         (do_test): New function.
2327         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
2328         (do_test): New function.
2329         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
2330         (do_test): New function.
2331         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
2332         (do_test): New function.
2333         * math/libm-test-iszero.inc: Include libm-test-driver.c.
2334         (do_test): New function.
2335         * math/libm-test-j0.inc: Include libm-test-driver.c.
2336         (do_test): New function.
2337         * math/libm-test-j1.inc: Include libm-test-driver.c.
2338         (do_test): New function.
2339         * math/libm-test-jn.inc: Include libm-test-driver.c.
2340         (do_test): New function.
2341         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
2342         (do_test): New function.
2343         * math/libm-test-llogb.inc: Include libm-test-driver.c.
2344         (do_test): New function.
2345         * math/libm-test-llrint.inc: Include libm-test-driver.c.
2346         (do_test): New function.
2347         * math/libm-test-llround.inc: Include libm-test-driver.c.
2348         (do_test): New function.
2349         * math/libm-test-log.inc: Include libm-test-driver.c.
2350         (do_test): New function.
2351         * math/libm-test-log10.inc: Include libm-test-driver.c.
2352         (do_test): New function.
2353         * math/libm-test-log1p.inc: Include libm-test-driver.c.
2354         (do_test): New function.
2355         * math/libm-test-log2.inc: Include libm-test-driver.c.
2356         (do_test): New function.
2357         * math/libm-test-logb.inc: Include libm-test-driver.c.
2358         (do_test): New function.
2359         * math/libm-test-lrint.inc: Include libm-test-driver.c.
2360         (do_test): New function.
2361         * math/libm-test-lround.inc: Include libm-test-driver.c.
2362         (do_test): New function.
2363         * math/libm-test-modf.inc: Include libm-test-driver.c.
2364         (do_test): New function.
2365         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
2366         (do_test): New function.
2367         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
2368         (do_test): New function.
2369         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
2370         (do_test): New function.
2371         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
2372         (do_test): New function.
2373         * math/libm-test-nextup.inc: Include libm-test-driver.c.
2374         (do_test): New function.
2375         * math/libm-test-pow.inc: Include libm-test-driver.c.
2376         (do_test): New function.
2377         * math/libm-test-remainder.inc: Include libm-test-driver.c.
2378         (do_test): New function.
2379         * math/libm-test-remquo.inc: Include libm-test-driver.c.
2380         (do_test): New function.
2381         * math/libm-test-rint.inc: Include libm-test-driver.c.
2382         (do_test): New function.
2383         * math/libm-test-round.inc: Include libm-test-driver.c.
2384         (do_test): New function.
2385         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
2386         (do_test): New function.
2387         * math/libm-test-scalb.inc: Include libm-test-driver.c.
2388         (do_test): New function.
2389         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
2390         (do_test): New function.
2391         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
2392         (do_test): New function.
2393         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
2394         (do_test): New function.
2395         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
2396         (do_test): New function.
2397         * math/libm-test-signbit.inc: Include libm-test-driver.c.
2398         (do_test): New function.
2399         * math/libm-test-significand.inc: Include libm-test-driver.c.
2400         (do_test): New function.
2401         * math/libm-test-sin.inc: Include libm-test-driver.c.
2402         (do_test): New function.
2403         * math/libm-test-sincos.inc: Include libm-test-driver.c.
2404         (do_test): New function.
2405         * math/libm-test-sinh.inc: Include libm-test-driver.c.
2406         (do_test): New function.
2407         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
2408         (do_test): New function.
2409         * math/libm-test-tan.inc: Include libm-test-driver.c.
2410         (do_test): New function.
2411         * math/libm-test-tanh.inc: Include libm-test-driver.c.
2412         (do_test): New function.
2413         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
2414         (do_test): New function.
2415         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
2416         (do_test): New function.
2417         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
2418         (do_test): New function.
2419         * math/libm-test-trunc.inc: Include libm-test-driver.c.
2420         (do_test): New function.
2421         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
2422         (do_test): New function.
2423         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
2424         (do_test): New function.
2425         * math/libm-test-y0.inc: Include libm-test-driver.c.
2426         (do_test): New function.
2427         * math/libm-test-y1.inc: Include libm-test-driver.c.
2428         (do_test): New function.
2429         * math/libm-test-yn.inc: Include libm-test-driver.c.
2430         (do_test): New function.
2431         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
2432         (HAVE_VECTOR): Remove macro.
2433         (START): Do not call HAVE_VECTOR.
2434         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
2435         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
2436         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
2437         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
2438         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
2439         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
2440         * math/test-math-vector.h (FUNC_TEST): New macro.
2441         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
2442         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
2443         (double-vlen4-funcs): Likewise.
2444         (double-vlen4-avx2-funcs): Likewise.
2445         (double-vlen8-funcs): Likewise.
2446         (float-vlen4-funcs): Likewise.
2447         (float-vlen8-funcs): Likewise.
2448         (float-vlen8-avx2-funcs): Likewise.
2449         (float-vlen16-funcs): Likewise.
2450         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
2451         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
2452         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
2453         macro.
2454         (TEST_VECTOR_sin): Likewise.
2455         (TEST_VECTOR_sincos): Likewise.
2456         (TEST_VECTOR_log): Likewise.
2457         (TEST_VECTOR_exp): Likewise.
2458         (TEST_VECTOR_pow): Likewise.
2459         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
2460         Likewise.
2461         (TEST_VECTOR_sin): Likewise.
2462         (TEST_VECTOR_sincos): Likewise.
2463         (TEST_VECTOR_log): Likewise.
2464         (TEST_VECTOR_exp): Likewise.
2465         (TEST_VECTOR_pow): Likewise.
2466         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
2467         Likewise.
2468         (TEST_VECTOR_sinf): Likewise.
2469         (TEST_VECTOR_sincosf): Likewise.
2470         (TEST_VECTOR_logf): Likewise.
2471         (TEST_VECTOR_expf): Likewise.
2472         (TEST_VECTOR_powf): Likewise.
2473         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
2474         Likewise.
2475         (TEST_VECTOR_sinf): Likewise.
2476         (TEST_VECTOR_sincosf): Likewise.
2477         (TEST_VECTOR_logf): Likewise.
2478         (TEST_VECTOR_expf): Likewise.
2479         (TEST_VECTOR_powf): Likewise.
2480         * math/gen-libm-have-vector-test.sh: Remove file.
2481         * math/libm-test.inc: Likewise.
2482         * math/libm-test-support-double.c: Likewise.
2483         * math/libm-test-support-float.c: Likewise.
2484         * math/libm-test-support-ldouble.c: Likewise.
2485         * math/test-double-finite.c: Likewise.: Likewise.
2486         * math/test-double.c: Likewise.
2487         * math/test-float-finite.c: Likewise.
2488         * math/test-float.c: Likewise.
2489         * math/test-idouble.c: Likewise.
2490         * math/test-ifloat.c: Likewise.
2491         * math/test-ildouble.c: Likewise.
2492         * math/test-ldouble-finite.c: Likewise.
2493         * math/test-ldouble.c: Likewise.
2494         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2495         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
2496         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2497         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2498         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2499         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2500         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2501         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
2502         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2503         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2505 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2506            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2508         * math/Makefile: Add wrappers to gen-libm-calls.
2509         * math/w_acos_template.c: New file.
2510         * math/w_acosh_template.c: Likewise.
2511         * math/w_asin_template.c: Likewise.
2512         * math/w_atan2_template.c: Likewise.
2513         * math/w_atanh_template.c: Likewise.
2514         * math/w_cosh_template.c: Likewise.
2515         * math/w_exp10_template.c: Likewise.
2516         * math/w_exp2_template.c: Likewise.
2517         * math/w_exp_template.c: Likewise.
2518         * math/w_fmod_template.c: Likewise.
2519         * math/w_hypot_template.c: Likewise.
2520         * math/w_j0_template.c: Likewise.
2521         * math/w_j1_template.c: Likewise.
2522         * math/w_jn_template.c: Likewise.
2523         * math/w_lgamma_r_template.c: Likewise.
2524         * math/w_lgamma_template.c: Likewise.
2525         * math/w_log10_template.c: Likewise.
2526         * math/w_log2_template.c: Likewise.
2527         * math/w_log_template.c: Likewise.
2528         * math/w_pow_template.c: Likewise.
2529         * math/w_remainder_template.c: Likewise.
2530         * math/w_sinh_template.c: Likewise.
2531         * math/w_sqrt_template.c: Likewise.
2532         * math/w_tgamma_template.c: Likewise.: Likewise.
2533         * sysdeps/generic/math-type-macros-double.h
2534         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
2535         the new wrappers.
2536         * sysdeps/generic/math-type-macros-float.h: Likewise.
2537         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2539 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
2541         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
2542         New enum constant and macro.
2544         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2545         kernel version to 4.10.
2547 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
2549         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
2551 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2553         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2555 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2557         * sysdeps/powerpc/tst-set_ppr.c: New file.
2558         Implement test cases for __ppc_set_ppr_* functions.
2559         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
2560         in the list of tests.
2562 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2564         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
2565         instead of test-skeleton.c.
2566         (do_test): Replaced pthread_create and pthread_join with
2567         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
2568         Removed unneeded status variable.
2569         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
2570         instead of test-skeleton.c.
2571         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
2573 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
2575         [BZ #20313]
2576         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2577         201605L, for Unicode 9.
2579 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
2581         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
2582         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2583         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2584         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2585         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2586         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2588 2017-02-19  Zack Weinberg  <zackw@panix.com>
2590         * rt/tst-mqueue4.c: Include stdint.h.
2592 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
2594         * sysdeps/arm/libm-test-ulps: Update.
2595         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2596         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2597         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2599 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2601         [BZ #21029]
2602         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
2603         * sysdeps/unix/sysv/linux/i386/Makefile
2604         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
2605         (uses-6-syscall-arguments): Remove.
2606         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
2607         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
2608         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
2609         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
2610         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
2611         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
2612         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
2613         [$(subdir) = misc] (cflags-pselect.o): Likewise.
2614         [$(subdir) = misc] (cflags-pselect.os): Likewise.
2615         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
2616         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
2617         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
2618         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
2619         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
2620         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
2621         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
2622         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
2623         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
2624         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
2625         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
2626         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
2627         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
2628         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
2629         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
2630         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
2631         Likewise.
2632         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
2633         Likewise.
2634         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
2635         Likewise.
2636         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
2637         Likewise.
2638         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
2639         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
2640         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
2641         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
2642         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
2643         ebp on inline assembly.
2644         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
2645         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2646         Set if CAN_USE_REGISTER_ASM_EBP is set.
2648 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
2650         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
2651         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
2653 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
2655         * math/auto-libm-test-in: Add tests of catan and catanh.
2656         * math/auto-libm-test-out-catan: New generated file.
2657         * math/auto-libm-test-out-catanh: Likewise.
2658         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
2659         Move tests with finite inputs, except divide-by-zero cases, to
2660         auto-libm-test-in.
2661         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
2662         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
2663         (libm-test-funcs-noauto): Remove catan and catanh.
2664         * sysdeps/i386/fpu/libm-test-ulps: Update.
2665         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2668         * math/auto-libm-test-in: Add tests of casin and casinh.
2669         * math/auto-libm-test-out-casin: New generated file.
2670         * math/auto-libm-test-out-casinh: Likewise.
2671         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
2672         Move tests with finite inputs to auto-libm-test-in.
2673         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
2674         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
2675         (libm-test-funcs-noauto): Remove casin and casinh.
2676         * sysdeps/i386/fpu/libm-test-ulps: Update.
2677         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2680         * math/auto-libm-test-in: Add tests of cacos and cacosh.
2681         * math/auto-libm-test-out-cacos: New generated file.
2682         * math/auto-libm-test-out-cacosh: Likewise.
2683         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
2684         Move tests with finite inputs to auto-libm-test-in.
2685         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
2686         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
2687         (libm-test-funcs-noauto): Remove cacos and cacosh.
2688         * sysdeps/i386/fpu/libm-test-ulps: Update.
2689         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2692         Revert:
2693         2017-02-16  Zack Weinberg  <zackw@panix.com>
2695         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2696         Don't include init-arch.h.
2697         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2698         Don't include init-arch.h.
2700 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2702         [BZ #21171]
2703         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
2704         +Inf and raise divide-by-zero when x is negative.
2705         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
2706         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
2707         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
2708         -Inf and raise divide-by-zero when x = +-0.
2709         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2710         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
2711         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
2712         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
2713         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2714         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2715         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2717 2017-02-16  Zack Weinberg  <zackw@panix.com>
2719         * scripts/build-many-glibcs.py (bot_build_mail): If the
2720         bot_config does not contain all of the necessary email-
2721         related settings, just print a warning and continue.
2723 2017-02-16  Zack Weinberg  <zackw@panix.com>
2725         * crypt/md5.h: Test _LIBC with #if defined, not #if.
2726         * dirent/opendir-tst1.c: Include sys/stat.h.
2727         * dirent/tst-fdopendir.c: Include sys/stat.h.
2728         * dirent/tst-fdopendir2.c: Include stdlib.h.
2729         * dirent/tst-scandir.c: Include stdbool.h.
2730         * elf/tst-auditmod1.c: Include link.h and stddef.h.
2731         * elf/tst-tls15.c: Include stdlib.h.
2732         * elf/tst-tls16.c: Include stdlib.h.
2733         * elf/tst-tls17.c: Include stdlib.h.
2734         * elf/tst-tls18.c: Include stdlib.h.
2735         * iconv/tst-iconv6.c: Include endian.h.
2736         * iconvdata/bug-iconv11.c: Include limits.h.
2737         * io/test-utime.c: Include stdint.h.
2738         * io/tst-faccessat.c: Include sys/stat.h.
2739         * io/tst-fchmodat.c: Include sys/stat.h.
2740         * io/tst-fchownat.c: Include sys/stat.h.
2741         * io/tst-fstatat.c: Include sys/stat.h.
2742         * io/tst-futimesat.c: Include sys/stat.h.
2743         * io/tst-linkat.c: Include sys/stat.h.
2744         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
2745         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
2746         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
2747         * io/tst-openat.c: Include stdbool.h.
2748         * io/tst-readlinkat.c: Include sys/stat.h.
2749         * io/tst-renameat.c: Include sys/stat.h.
2750         * io/tst-symlinkat.c: Include sys/stat.h.
2751         * io/tst-unlinkat.c: Include stdbool.h.
2752         * libio/bug-memstream1.c: Include stdlib.h.
2753         * libio/bug-wmemstream1.c: Include stdlib.h.
2754         * libio/tst-fwrite-error.c: Include stdlib.h.
2755         * libio/tst-memstream1.c: Include stdlib.h.
2756         * libio/tst-memstream2.c: Include stdlib.h.
2757         * libio/tst-memstream3.c: Include stdlib.h.
2758         * malloc/tst-interpose-aux.c: Include stdint.h.
2759         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
2760         * nptl/tst-basic7.c: Include limits.h.
2761         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
2762         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
2763         * nptl/tst-cancel4_1.c: Include stddef.h.
2764         * nptl/tst-cancel4_2.c: Include stddef.h.
2765         * nptl/tst-cond16.c: Include limits.h.
2766         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
2767         * nptl/tst-cond18.c: Include limits.h.
2768         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
2769         * nptl/tst-cond4.c: Include stdint.h.
2770         * nptl/tst-cond6.c: Include stdint.h.
2771         * nptl/tst-stack2.c: Include limits.h.
2772         * nptl/tst-stackguard1.c: Include stddef.h.
2773         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
2774         * nptl/tst-tls4moda.c: Include stddef.h.
2775         Don't include stdio.h, unistd.h, or tls.h.
2776         * nptl/tst-tls4modb.c: Include stddef.h.
2777         Don't include stdio.h, unistd.h, or tls.h.
2778         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
2779         * posix/tst-getaddrinfo2.c: Include stdio.h.
2780         * posix/tst-getaddrinfo5.c: Include stdio.h.
2781         * posix/tst-pathconf.c: Include sys/stat.h.
2782         * posix/tst-posix_fadvise-common.c: Include stdint.h.
2783         * posix/tst-preadwrite-common.c: Include sys/stat.h.
2784         * posix/tst-regex.c: Include stdint.h.
2785         Don't include spawn.h or spawn_int.h.
2786         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
2787         * posix/tst-vfork3.c: Include sys/stat.h.
2788         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
2789         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
2790         * resolv/tst-resolv-search.c: Include stdlib.h.
2791         * stdio-common/tst-fmemopen2.c: Include stdint.h.
2792         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
2793         * stdlib/test-canon.c: Include sys/stat.h.
2794         * stdlib/tst-tls-atexit.c: Include stdbool.h.
2795         * string/test-memchr.c: Include stdint.h.
2796         * string/tst-cmp.c: Include stdint.h.
2797         * sysdeps/pthread/tst-timer.c: Include stdint.h.
2798         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
2799         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
2800         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2801         Don't include init-arch.h.
2802         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2803         Don't include init-arch.h.
2804         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
2805         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
2806         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
2807         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
2808         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
2809         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
2810         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
2811         * time/clocktest.c: Include stdint.h.
2812         * time/tst-posixtz.c: Include stdint.h.
2813         * timezone/tst-timezone.c: Include stdint.h.
2815 2017-02-16  Zack Weinberg  <zackw@panix.com>
2817         * string/string.h [__USE_MISC]: Include strings.h.
2818         (__bzero, bcmp, bcopy, bzero, index, rindex)
2819         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
2820         (ffs, ffsl, ffsll): Don't declare.
2821         * string/strings.h: Do not suppress the file if string.h has
2822         already been included.
2823         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
2824         annotations.
2825         (index, rindex): Define inline forwarders even if
2826         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
2827         (ffs): Use __attribute_const__.
2828         (ffsl, ffsll): Declare here.
2829         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
2830         have now been standardized.
2831         * include/string.h (__bzero): Declare here.
2833         * bits/types.h: Move to posix/bits.
2834         * include/bits/types.h: New wrapper.
2836 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
2838         * string/bits/string2.h (strcmp): Remove define.
2839         (__strcmp_cg): Likewise.
2840         (strncmp): Likewise.
2842 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
2844         * include/string.h: Add __cplusplus check.
2846 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2848         [BZ #21134]
2849         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
2850         "divide by zero" exception when the input is zero.
2851         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
2852         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
2853         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
2854         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
2855         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2857 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
2859         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
2860         and include ...
2861         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
2862         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
2863         to, and include ...
2864         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
2865         file.
2866         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
2867         and include ...
2868         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
2869         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
2870         and include ...
2871         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
2872         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
2873         and include ...
2874         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
2875         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
2876         and include ...
2877         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
2878         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
2879         to, and include ...
2880         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
2881         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
2882         and include ...
2883         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
2885 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
2887         * math/libm-test-support.h: Do not include <math-tests-arch.h>
2888         here.
2889         * math/libm-test-support.c (libm_test_init): Do not call
2890         INIT_ARCH_EXT here.
2891         * math/libm-test-driver.c: Include <math-tests-arch.h>.
2892         (main): Call INIT_ARCH_EXT.
2894 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2896         [BZ #21130]
2897         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
2898         with the "invalid" exception raised when x is -Inf.
2899         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2901 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
2903         * string/bits/string2.h (strchr): Remove define.
2905 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
2907         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
2908         tst-avx512.
2909         (test-extras): Add tst-avx-aux and tst-avx512-aux.
2910         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
2911         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
2912         ($(objpfx)tst-sse): New rule.
2913         ($(objpfx)tst-avx): Likewise.
2914         ($(objpfx)tst-avx512): Likewise.
2915         (CFLAGS-tst-avx-aux.c): New.
2916         (CFLAGS-tst-avxmod.c): Likewise.
2917         (CFLAGS-tst-avx512-aux.c): Likewise.
2918         (CFLAGS-tst-avx512mod.c): Likewise.
2919         * sysdeps/x86_64/tst-avx-aux.c: New file.
2920         * sysdeps/x86_64/tst-avx.c: Likewise.
2921         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
2922         * sysdeps/x86_64/tst-avx512.c: Likewise.
2923         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
2924         * sysdeps/x86_64/tst-avxmod.c: Likewise.
2925         * sysdeps/x86_64/tst-sse.c: Likewise.
2926         * sysdeps/x86_64/tst-ssemod.c: Likewise.
2928 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
2930         * math/auto-libm-test-in: Add more tests of csin and csinh.
2931         * math/auto-libm-test-out-csin: Regenerated.
2932         * math/auto-libm-test-out-csinh: Likewise.
2933         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
2934         auto-libm-test-in.
2935         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
2937 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2939         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
2940         libm-compat-calls-auto.
2941         (libm-compat-calls): Likewise.
2942         (libm-compat-calls-auto): Rename to libm-compat-calls and add
2943         w_lgamma_compatF and k_standardF (merged from the items above).
2944         (libm-routines): Use libm-compat-calls, instead of
2945         libm-compat-calls-auto, with type-foreach.
2947 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
2949         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
2950         macro.
2951         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
2952         (CFLAGS-test-ifloat.c): ... this.  Remove
2953         -U__LIBC_INTERNAL_MATH_INLINES.
2954         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
2955         (CFLAGS-test-idouble.c): ... this.  Remove
2956         -U__LIBC_INTERNAL_MATH_INLINES.
2957         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
2958         (CFLAGS-test-ildouble.c): ... this.  Remove
2959         -U__LIBC_INTERNAL_MATH_INLINES.
2961 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
2963         * math/libm-test-support.c: New file.  Content from
2964         math/libm-test-driver.c.
2965         * math/libm-test-support.h: Likewise.
2966         * math/libm-test-support-double.c: New file.
2967         * math/libm-test-support-float.c: Likewise.
2968         * math/libm-test-support-ldouble.c: Likewise.
2969         * math/libm-test-driver.c: Remove main comment and header
2970         includes.  Include libm-test-support.h.
2971         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
2972         (flag_test_errno): Remove static.
2973         (flag_test_exceptions): Likewise.
2974         (flag_test_finite): Likewise.
2975         (flag_test_inline): Likewise.
2976         (flag_test_mathvec): Likewise.
2977         (test_msg): Likewise.
2978         (NO_EXCEPTION): Remove.
2979         (INVALID_EXCEPTION): Likewise.
2980         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
2981         (OVERFLOW_EXCEPTION): Likewise.
2982         (UNDERFLOW_EXCEPTION): Likewise.
2983         (INEXACT_EXCEPTION): Likewise.
2984         (INVALID_EXCEPTION_OK): Likewise.
2985         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2986         (OVERFLOW_EXCEPTION_OK): Likewise.
2987         (UNDERFLOW_EXCEPTION_OK): Likewise.
2988         (NO_INEXACT_EXCEPTION): Likewise.
2989         (EXCEPTIONS_OK): Likewise.
2990         (IGNORE_ZERO_INF_SIGN): Likewise.
2991         (TEST_NAN_SIGN): Likewise.
2992         (TEST_NAN_PAYLOAD): Likewise.
2993         (NO_TEST_INLINE): Likewise.
2994         (XFAIL_TEST): Likewise.
2995         (ERRNO_UNCHANGED): Likewise.
2996         (ERRNO_EDOM): Likewise.
2997         (ERRNO_ERANGE): Likewise.
2998         (IGNORE_RESULT): Likewise.
2999         (NON_FINITE): Likewise.
3000         (TEST_SNAN): Likewise.
3001         (NO_TEST_MATHVEC): Likewise.
3002         (__CONCATX): Likewise.
3003         (TYPE_MIN): Likewise.
3004         (TYPE_TRUE_MIN): Likewise.
3005         (TYPE_MAX): Likewise.
3006         (MIN_EXP): Likewise.
3007         (MAX_EXP): Likewise.
3008         (MANT_DIG): Likewise.
3009         (FSTR_MAX): Likewise.
3010         (ulp_idx): Likewise.
3011         (qtype_str): Remove static.
3012         (TEST_COND_binary32): Remove.
3013         (TEST_COND_binary64): Likewise.
3014         (TEST_COND_binary128): Likewise.
3015         (TEST_COND_ibm128): Likewise.
3016         (TEST_COND_intel96): Likewise.
3017         (TEST_COND_m68k96): Likewise.
3018         (TEST_COND_ibm128_libgcc): Likewise.
3019         (XFAIL_IBM128_LIBGCC): Likewise.
3020         (PAYLOAD_DIG): Likewise.
3021         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3022         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3023         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3024         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3025         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3026         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
3027         (TEST_COND_long32): Likewise.
3028         (TEST_COND_long64): Likewise.
3029         (TEST_COND_before_rounding): Likewise.
3030         (TEST_COND_after_rounding): Likewise.
3031         (ulps_file_name): Likewise.
3032         (ulps_file): Likewise.
3033         (output_ulps): Likewise.
3034         (output_dir): Likewise.
3035         (noErrors): Likewise.
3036         (noTests): Likewise.
3037         (noExcTests): Likewise.
3038         (noErrnoTests): Likewise.
3039         (verbose): Likewise.
3040         (output_max_error): Likewise.
3041         (output_points): Likewise.
3042         (ignore_max_ulp): Likewise.
3043         (max_error): Likewise.
3044         (real_max_error): Likewise.
3045         (imag_max_error): Likewise.
3046         (prev_max_error): Likewise.
3047         (prev_real_max_error): Likewise.
3048         (prev_imag_max_error): Likewise.
3049         (max_valid_error): Likewise.
3050         (TYPE_DECIMAL_DIG): Likewise.
3051         (TYPE_HEX_DIG): Likewise.
3052         (fmt_ftostr): Likewise.
3053         (compare_ulp_data): Likewise.
3054         (find_ulps): Likewise.
3055         (init_max_error): Likewise.
3056         (set_max_error): Likewise.
3057         (print_float): Likewise.
3058         (print_screen): Likewise.
3059         (print_screen_max_error): Likewise.
3060         (update_stats): Likewise.
3061         (print_function_ulps): Likewise.
3062         (print_complex_function_ulps): Likewise.
3063         (fpstack_test): Likewise.
3064         (print_max_error): Likewise.
3065         (print_complex_max_error): Likewise.
3066         (test_single_exception): Likewise.
3067         (test_exceptions): Likewise.
3068         (test_single_errno): Likewise.
3069         (test_errno): Likewise.
3070         (ULPDIFF): Likewise.
3071         (ulp): Likewise.
3072         (check_float_internal): Likewise.
3073         (check_float): Likewise.
3074         (check_complex): Likewise.
3075         (check_int): Likewise.
3076         (check_long): Likewise.
3077         (check_bool): Likewise.
3078         (check_longlong): Likewise.
3079         (check_intmax_t): Likewise.
3080         (check_uintmax_t): Likewise.
3081         (enable_test): Likewise.
3082         (matherr): Likewise.
3083         (initialize): Likewise.
3084         (options): Likewise.
3085         (doc): Remove static.
3086         (argp): Likewise.
3087         (parse_opt): Remove.
3088         (check_ulp): Likewise.
3089         (libm_test_init): Likewise.
3090         (libm_test_finish): Likewise.
3091         * math/Makefile (libm-test-support): New variable.
3092         (test-extras): Add libm-test-support files.
3093         (extra-test-objs): Likewise.
3094         (CFLAGS-libm-test-support-float.c): New variable.
3095         (CFLAGS-libm-test-support-double.c): Likewise.
3096         (CFLAGS-libm-test-support-ldouble.c): Likewise.
3097         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
3098         libm-test-support objects.
3100 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3102         * math/Makefile (libm-calls): Move w_exp...
3103         (libm-compat-calls-auto): Here.
3105         * math/w_expl.c: Add suffix "_compat" to filename.
3106         * sysdeps/ia64/fpu/w_expl.c: Likewise.
3107         * sysdeps/ia64/fpu/w_expf.c: Likewise.
3108         * sysdeps/ia64/fpu/w_exp.c: Likewise.
3109         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3110         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3111         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3112         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3113         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3115         * math/w_expl_compat.c: New file, copied from above.
3116         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
3117         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
3118         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
3119         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
3120         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
3121         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
3122         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
3123         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
3125         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
3126         to filename.
3127         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
3129         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
3130         copied from above and adjusted for the new filenames.
3131         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
3133 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3135         * math/Makefile (libm-calls): Move w_lgammaF...
3136         (libm-compat-calls-auto): Here.
3138         * math/w_lgamma.c: Add suffix "_compat2" to filename.
3139         * math/w_lgammaf.c: Likewise.
3140         * math/w_lgammal.c: Likewise.
3142         * math/w_lgamma_compat2.c: New file, copied from above.
3143         * math/w_lgammaf_compat2.c: Likewise.
3144         * math/w_lgammal_compat2.c: Likewise.
3146 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3148         * math/Makefile (libm-calls): Move w_lgammaF_r...
3149         (libm-compat-calls-auto): Here.
3151         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
3152         * math/w_lgammaf_r.c: Likewise.
3153         * math/w_lgammal_r.c: Likewise.
3154         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
3155         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
3156         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
3158         * math/w_lgamma_r_compat.c: New file, copied from above.
3159         * math/w_lgammaf_r_compat.c: Likewise.
3160         * math/w_lgammal_r_compat.c: Likewise.
3161         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
3162         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
3163         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
3165         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
3166         to filename.
3167         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
3169         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
3170         copied from above and adjusted for the new filenames.
3171         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
3173 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
3175         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
3176         calculation in SYSCALL_ERROR_HANDLER().
3178 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
3180         * manual/contrib.texi: Fix typo.
3182 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3184         [BZ #21109]
3185         * elf/dl-tunable-types.h (tunable_callback_t): Accept
3186         tunable_val_t as argument.
3187         * elf/dl-tunables.c (__tunable_set_val): Add comment.
3188         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
3189         argument.
3190         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
3192 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
3194         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
3195         Add PTRACE_EVENT_STOP.
3196         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3197         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3198         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3199         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3200         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
3201         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
3203 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
3205         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
3206         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
3207         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
3208         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
3209         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
3210         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
3211         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
3212         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
3213         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
3214         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
3216         [BZ #21112]
3217         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
3218         12 bits zero.
3219         (cp_l): Update for new value of cp_h.
3220         * math/auto-libm-test-in: Add another test of pow.
3221         * math/auto-libm-test-out-pow: Regenerated.
3223 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3225         * manual/contrib.texi: Fix typo.
3227 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3229         [BZ #15998]
3230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3231         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
3232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3234 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3236         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
3237         STRCHR as __strchr_power8.
3238         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
3239         strlen as __strlen_power8.
3241 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3243         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
3244         unaligned load for shorter strings.
3245         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
3247 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3249         * math/libm-test-driver.c (flag_test_errno): New variable.
3250         (flag_test_exceptions): Likewise.
3251         (flag_test_finite): Likewise.
3252         (flag_test_inline): Likewise.
3253         (flag_test_mathvec): Likewise.
3254         (test_msg): Likewise.
3255         (ulp_idx): Likewise.
3256         (qtype_str): Likewise.
3257         (ULP_IDX): Remove macro.
3258         (QTYPE_STR): Likewise.
3259         (find_ulps): Use ulp_idx not ULP_IDX.
3260         (print_function_ulps): Use qtype_str, printed with %s, not
3261         QTYPE_STR, printed with concatentation to format string.
3262         (print_complex_function_ulps): Likewise.
3263         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
3264         (test_errno): Use flag_test_errno not TEST_ERRNO.
3265         (enable_test): Use flag_test_inline, flag_test_finite and
3266         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
3267         TEST_MATHVEC.
3268         (libm_test_init): New function.  Factored out of main.
3269         (libm_test_finish): Likewise.
3270         (main): Call libm_test_init and libm_test_finish and move most
3271         code to those functions.
3273         * math/libm-test-driver.c (STRX): New macro.
3274         (STR): Likewise.
3275         (STR_FLOAT): Likewise.
3276         (STR_VEC_LEN): Likewise.
3277         (TEST_MSG): Likewise.  Define here instead of expecting to be
3278         defined by including file.
3279         * math/test-double-finite.c (TEST_MSG): Remove macro.
3280         * math/test-double-vlen2.h (TEST_MSG): Likewise.
3281         * math/test-double-vlen4.h (TEST_MSG): Likewise.
3282         * math/test-double-vlen8.h (TEST_MSG): Likewise.
3283         * math/test-double.c (TEST_MSG): Likewise.
3284         * math/test-float-finite.c (TEST_MSG): Likewise.
3285         * math/test-float-vlen16.h (TEST_MSG): Likewise.
3286         * math/test-float-vlen4.h (TEST_MSG): Likewise.
3287         * math/test-float-vlen8.h (TEST_MSG): Likewise.
3288         * math/test-float.c (TEST_MSG): Likewise.
3289         * math/test-idouble.c (TEST_MSG): Likewise.
3290         * math/test-ifloat.c (TEST_MSG): Likewise.
3291         * math/test-ildouble.c (TEST_MSG): Likewise.
3292         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
3293         * math/test-ldouble.c (TEST_MSG): Likewise.
3295         * math/libm-test.inc: Move all tests of individual functions to
3296         libm-test-*.inc and #include libm-test-*.c files.
3297         (acos_test_data): Remove.
3298         (acos_test): Likewise.
3299         (acosh_test_data): Likewise.
3300         (acosh_test): Likewise.
3301         (asin_test_data): Likewise.
3302         (asin_test): Likewise.
3303         (asinh_test_data): Likewise.
3304         (asinh_test): Likewise.
3305         (atan_test_data): Likewise.
3306         (atan_test): Likewise.
3307         (atanh_test_data): Likewise.
3308         (atanh_test): Likewise.
3309         (atan2_test_data): Likewise.
3310         (atan2_test): Likewise.
3311         (cabs_test_data): Likewise.
3312         (cabs_test): Likewise.
3313         (cacos_test_data): Likewise.
3314         (cacos_test): Likewise.
3315         (cacosh_test_data): Likewise.
3316         (cacosh_test): Likewise.
3317         (canonicalize_test_data): Likewise.
3318         (canonicalize_test): Likewise.
3319         (carg_test_data): Likewise.
3320         (carg_test): Likewise.
3321         (casin_test_data): Likewise.
3322         (casin_test): Likewise.
3323         (casinh_test_data): Likewise.
3324         (casinh_test): Likewise.
3325         (catan_test_data): Likewise.
3326         (catan_test): Likewise.
3327         (catanh_test_data): Likewise.
3328         (catanh_test): Likewise.
3329         (cbrt_test_data): Likewise.
3330         (cbrt_test): Likewise.
3331         (ccos_test_data): Likewise.
3332         (ccos_test): Likewise.
3333         (ccosh_test_data): Likewise.
3334         (ccosh_test): Likewise.
3335         (ceil_test_data): Likewise.
3336         (ceil_test): Likewise.
3337         (cexp_test_data): Likewise.
3338         (cexp_test): Likewise.
3339         (cimag_test_data): Likewise.
3340         (cimag_test): Likewise.
3341         (clog_test_data): Likewise.
3342         (clog_test): Likewise.
3343         (clog10_test_data): Likewise.
3344         (clog10_test): Likewise.
3345         (conj_test_data): Likewise.
3346         (conj_test): Likewise.
3347         (copysign_test_data): Likewise.
3348         (copysign_test): Likewise.
3349         (cos_test_data): Likewise.
3350         (cos_test): Likewise.
3351         (cosh_test_data): Likewise.
3352         (cosh_test): Likewise.
3353         (cpow_test_data): Likewise.
3354         (cpow_test): Likewise.
3355         (cproj_test_data): Likewise.
3356         (cproj_test): Likewise.
3357         (creal_test_data): Likewise.
3358         (creal_test): Likewise.
3359         (csin_test_data): Likewise.
3360         (csin_test): Likewise.
3361         (csinh_test_data): Likewise.
3362         (csinh_test): Likewise.
3363         (csqrt_test_data): Likewise.
3364         (csqrt_test): Likewise.
3365         (ctan_test_data): Likewise.
3366         (ctan_test): Likewise.
3367         (ctanh_test_data): Likewise.
3368         (ctanh_test): Likewise.
3369         (erf_test_data): Likewise.
3370         (erf_test): Likewise.
3371         (erfc_test_data): Likewise.
3372         (erfc_test): Likewise.
3373         (exp_test_data): Likewise.
3374         (exp_test): Likewise.
3375         (exp10_test_data): Likewise.
3376         (exp10_test): Likewise.
3377         (pow10_test): Likewise.
3378         (exp2_test_data): Likewise.
3379         (exp2_test): Likewise.
3380         (expm1_test_data): Likewise.
3381         (expm1_test): Likewise.
3382         (fabs_test_data): Likewise.
3383         (fabs_test): Likewise.
3384         (fdim_test_data): Likewise.
3385         (fdim_test): Likewise.
3386         (floor_test_data): Likewise.
3387         (floor_test): Likewise.
3388         (fma_test_data): Likewise.
3389         (fma_test): Likewise.
3390         (fmax_test_data): Likewise.
3391         (fmax_test): Likewise.
3392         (fmaxmag_test_data): Likewise.
3393         (fmaxmag_test): Likewise.
3394         (fmin_test_data): Likewise.
3395         (fmin_test): Likewise.
3396         (fminmag_test_data): Likewise.
3397         (fminmag_test): Likewise.
3398         (fmod_test_data): Likewise.
3399         (fmod_test): Likewise.
3400         (fpclassify_test_data): Likewise.
3401         (fpclassify_test): Likewise.
3402         (frexp_test_data): Likewise.
3403         (frexp_test): Likewise.
3404         (fromfp_test_data): Likewise.
3405         (fromfp_test): Likewise.
3406         (fromfpx_test_data): Likewise.
3407         (fromfpx_test): Likewise.
3408         (getpayload_test_data): Likewise.
3409         (getpayload_test): Likewise.
3410         (hypot_test_data): Likewise.
3411         (hypot_test): Likewise.
3412         (ilogb_test_data): Likewise.
3413         (ilogb_test): Likewise.
3414         (iscanonical_test_data): Likewise.
3415         (iscanonical_test): Likewise.
3416         (iseqsig_test_data): Likewise.
3417         (iseqsig_test): Likewise.
3418         (isfinite_test_data): Likewise.
3419         (isfinite_test): Likewise.
3420         (finite_test): Likewise.
3421         (isgreater_test_data): Likewise.
3422         (isgreater_test): Likewise.
3423         (isgreaterequal_test_data): Likewise.
3424         (isgreaterequal_test): Likewise.
3425         (isinf_test_data): Likewise.
3426         (isinf_test): Likewise.
3427         (isless_test_data): Likewise.
3428         (isless_test): Likewise.
3429         (islessequal_test_data): Likewise.
3430         (islessequal_test): Likewise.
3431         (islessgreater_test_data): Likewise.
3432         (islessgreater_test): Likewise.
3433         (isnan_test_data): Likewise.
3434         (isnan_test): Likewise.
3435         (isnormal_test_data): Likewise.
3436         (isnormal_test): Likewise.
3437         (issignaling_test_data): Likewise.
3438         (issignaling_test): Likewise.
3439         (issubnormal_test_data): Likewise.
3440         (issubnormal_test): Likewise.
3441         (isunordered_test_data): Likewise.
3442         (isunordered_test): Likewise.
3443         (iszero_test_data): Likewise.
3444         (iszero_test): Likewise.
3445         (j0_test_data): Likewise.
3446         (j0_test): Likewise.
3447         (j1_test_data): Likewise.
3448         (j1_test): Likewise.
3449         (jn_test_data): Likewise.
3450         (jn_test): Likewise.
3451         (lgamma_test_data): Likewise.
3452         (lgamma_test): Likewise.
3453         (gamma_test): Likewise.
3454         (llogb_test_data): Likewise.
3455         (llogb_test): Likewise.
3456         (lrint_test_data): Likewise.
3457         (lrint_test): Likewise.
3458         (llrint_test_data): Likewise.
3459         (llrint_test): Likewise.
3460         (log_test_data): Likewise.
3461         (log_test): Likewise.
3462         (log10_test_data): Likewise.
3463         (log10_test): Likewise.
3464         (log1p_test_data): Likewise.
3465         (log1p_test): Likewise.
3466         (log2_test_data): Likewise.
3467         (log2_test): Likewise.
3468         (logb_test_data): Likewise.
3469         (logb_test): Likewise.
3470         (lround_test_data): Likewise.
3471         (lround_test): Likewise.
3472         (llround_test_data): Likewise.
3473         (llround_test): Likewise.
3474         (modf_test_data): Likewise.
3475         (modf_test): Likewise.
3476         (nearbyint_test_data): Likewise.
3477         (nearbyint_test): Likewise.
3478         (nextafter_test_data): Likewise.
3479         (nextafter_test): Likewise.
3480         (nextup_test_data): Likewise.
3481         (nextup_test): Likewise.
3482         (nextdown_test_data): Likewise.
3483         (nextdown_test): Likewise.
3484         (nexttoward_test_data): Likewise.
3485         (nexttoward_test): Likewise.
3486         (pow_test_data): Likewise.
3487         (pow_test): Likewise.
3488         (remainder_test_data): Likewise.
3489         (remainder_test): Likewise.
3490         (drem_test): Likewise.
3491         (remquo_test_data): Likewise.
3492         (remquo_test): Likewise.
3493         (rint_test_data): Likewise.
3494         (rint_test): Likewise.
3495         (round_test_data): Likewise.
3496         (round_test): Likewise.
3497         (roundeven_test_data): Likewise.
3498         (roundeven_test): Likewise.
3499         (scalb_test_data): Likewise.
3500         (scalb_test): Likewise.
3501         (scalbn_test_data): Likewise.
3502         (scalbn_test): Likewise.
3503         (ldexp_test): Likewise.
3504         (scalbln_test_data): Likewise.
3505         (scalbln_test): Likewise.
3506         (setpayload_test_data): Likewise.
3507         (setpayload_test): Likewise.
3508         (setpayloadsig_test_data): Likewise.
3509         (setpayloadsig_test): Likewise.
3510         (signbit_test_data): Likewise.
3511         (signbit_test): Likewise.
3512         (sin_test_data): Likewise.
3513         (sin_test): Likewise.
3514         (sincos_test_data): Likewise.
3515         (sincos_test): Likewise.
3516         (sinh_test_data): Likewise.
3517         (sinh_test): Likewise.
3518         (sqrt_test_data): Likewise.
3519         (sqrt_test): Likewise.
3520         (tan_test_data): Likewise.
3521         (tan_test): Likewise.
3522         (tanh_test_data): Likewise.
3523         (tanh_test): Likewise.
3524         (tgamma_test_data): Likewise.
3525         (tgamma_test): Likewise.
3526         (totalorder_test_data): Likewise.
3527         (totalorder_test): Likewise.
3528         (totalordermag_test_data): Likewise.
3529         (totalordermag_test): Likewise.
3530         (trunc_test_data): Likewise.
3531         (trunc_test): Likewise.
3532         (ufromfp_test_data): Likewise.
3533         (ufromfp_test): Likewise.
3534         (ufromfpx_test_data): Likewise.
3535         (ufromfpx_test): Likewise.
3536         (y0_test_data): Likewise.
3537         (y0_test): Likewise.
3538         (y1_test_data): Likewise.
3539         (y1_test): Likewise.
3540         (yn_test_data): Likewise.
3541         (yn_test): Likewise.
3542         (significand_test_data): Likewise.
3543         (significand_test): Likewise.
3544         * math/Makefile (auto-libm-test-out-files): Remove variable.
3545         (libm-test-funcs-noauto): New variable.
3546         (libm-test-funcs-all): Likewise.
3547         (libm-test-c-auto): Likewise.
3548         (libm-test-c-noauto): Likewise.
3549         (libm-tests-generated): Add $(libm-test-c-auto) and
3550         $(libm-test-c-noauto).
3551         (generated): Do not add auto-libm-test-out.
3552         (libm-test-c-auto-obj): New variable.
3553         (libm-test-c-noauto-obj): Likewise.
3554         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
3555         ($(libm-test-c-noauto-obj)): New static pattern rule.
3556         ($(libm-test-c-auto-obj)): Likewise.
3557         (libm-test-incs): New variable.
3558         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
3559         and pass it to gen-libm-have-vector-test.sh.
3560         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
3561         be passed on command line.
3562         * math/libm-test-acos.inc: New file.  Content from
3563         math/libm-test.inc.
3564         * math/libm-test-acosh.inc: Likewise.
3565         * math/libm-test-asin.inc: Likewise.
3566         * math/libm-test-asinh.inc: Likewise.
3567         * math/libm-test-atan.inc: Likewise.
3568         * math/libm-test-atan2.inc: Likewise.
3569         * math/libm-test-atanh.inc: Likewise.
3570         * math/libm-test-cabs.inc: Likewise.
3571         * math/libm-test-cacos.inc: Likewise.
3572         * math/libm-test-cacosh.inc: Likewise.
3573         * math/libm-test-canonicalize.inc: Likewise.
3574         * math/libm-test-carg.inc: Likewise.
3575         * math/libm-test-casin.inc: Likewise.
3576         * math/libm-test-casinh.inc: Likewise.
3577         * math/libm-test-catan.inc: Likewise.
3578         * math/libm-test-catanh.inc: Likewise.
3579         * math/libm-test-cbrt.inc: Likewise.
3580         * math/libm-test-ccos.inc: Likewise.
3581         * math/libm-test-ccosh.inc: Likewise.
3582         * math/libm-test-ceil.inc: Likewise.
3583         * math/libm-test-cexp.inc: Likewise.
3584         * math/libm-test-cimag.inc: Likewise.
3585         * math/libm-test-clog.inc: Likewise.
3586         * math/libm-test-clog10.inc: Likewise.
3587         * math/libm-test-conj.inc: Likewise.
3588         * math/libm-test-copysign.inc: Likewise.
3589         * math/libm-test-cos.inc: Likewise.
3590         * math/libm-test-cosh.inc: Likewise.
3591         * math/libm-test-cpow.inc: Likewise.
3592         * math/libm-test-cproj.inc: Likewise.
3593         * math/libm-test-creal.inc: Likewise.
3594         * math/libm-test-csin.inc: Likewise.
3595         * math/libm-test-csinh.inc: Likewise.
3596         * math/libm-test-csqrt.inc: Likewise.
3597         * math/libm-test-ctan.inc: Likewise.
3598         * math/libm-test-ctanh.inc: Likewise.
3599         * math/libm-test-erf.inc: Likewise.
3600         * math/libm-test-erfc.inc: Likewise.
3601         * math/libm-test-exp.inc: Likewise.
3602         * math/libm-test-exp10.inc: Likewise.
3603         * math/libm-test-exp2.inc: Likewise.
3604         * math/libm-test-expm1.inc: Likewise.
3605         * math/libm-test-fabs.inc: Likewise.
3606         * math/libm-test-fdim.inc: Likewise.
3607         * math/libm-test-floor.inc: Likewise.
3608         * math/libm-test-fma.inc: Likewise.
3609         * math/libm-test-fmax.inc: Likewise.
3610         * math/libm-test-fmaxmag.inc: Likewise.
3611         * math/libm-test-fmin.inc: Likewise.
3612         * math/libm-test-fminmag.inc: Likewise.
3613         * math/libm-test-fmod.inc: Likewise.
3614         * math/libm-test-fpclassify.inc: Likewise.
3615         * math/libm-test-frexp.inc: Likewise.
3616         * math/libm-test-fromfp.inc: Likewise.
3617         * math/libm-test-fromfpx.inc: Likewise.
3618         * math/libm-test-getpayload.inc: Likewise.
3619         * math/libm-test-hypot.inc: Likewise.
3620         * math/libm-test-ilogb.inc: Likewise.
3621         * math/libm-test-iscanonical.inc: Likewise.
3622         * math/libm-test-iseqsig.inc: Likewise.
3623         * math/libm-test-isfinite.inc: Likewise.
3624         * math/libm-test-isgreater.inc: Likewise.
3625         * math/libm-test-isgreaterequal.inc: Likewise.
3626         * math/libm-test-isinf.inc: Likewise.
3627         * math/libm-test-isless.inc: Likewise.
3628         * math/libm-test-islessequal.inc: Likewise.
3629         * math/libm-test-islessgreater.inc: Likewise.
3630         * math/libm-test-isnan.inc: Likewise.
3631         * math/libm-test-isnormal.inc: Likewise.
3632         * math/libm-test-issignaling.inc: Likewise.
3633         * math/libm-test-issubnormal.inc: Likewise.
3634         * math/libm-test-isunordered.inc: Likewise.
3635         * math/libm-test-iszero.inc: Likewise.
3636         * math/libm-test-j0.inc: Likewise.
3637         * math/libm-test-j1.inc: Likewise.
3638         * math/libm-test-jn.inc: Likewise.
3639         * math/libm-test-lgamma.inc: Likewise.
3640         * math/libm-test-llogb.inc: Likewise.
3641         * math/libm-test-llrint.inc: Likewise.
3642         * math/libm-test-llround.inc: Likewise.
3643         * math/libm-test-log.inc: Likewise.
3644         * math/libm-test-log10.inc: Likewise.
3645         * math/libm-test-log1p.inc: Likewise.
3646         * math/libm-test-log2.inc: Likewise.
3647         * math/libm-test-logb.inc: Likewise.
3648         * math/libm-test-lrint.inc: Likewise.
3649         * math/libm-test-lround.inc: Likewise.
3650         * math/libm-test-modf.inc: Likewise.
3651         * math/libm-test-nearbyint.inc: Likewise.
3652         * math/libm-test-nextafter.inc: Likewise.
3653         * math/libm-test-nextdown.inc: Likewise.
3654         * math/libm-test-nexttoward.inc: Likewise.
3655         * math/libm-test-nextup.inc: Likewise.
3656         * math/libm-test-pow.inc: Likewise.
3657         * math/libm-test-remainder.inc: Likewise.
3658         * math/libm-test-remquo.inc: Likewise.
3659         * math/libm-test-rint.inc: Likewise.
3660         * math/libm-test-round.inc: Likewise.
3661         * math/libm-test-roundeven.inc: Likewise.
3662         * math/libm-test-scalb.inc: Likewise.
3663         * math/libm-test-scalbln.inc: Likewise.
3664         * math/libm-test-scalbn.inc: Likewise.
3665         * math/libm-test-setpayload.inc: Likewise.
3666         * math/libm-test-setpayloadsig.inc: Likewise.
3667         * math/libm-test-signbit.inc: Likewise.
3668         * math/libm-test-significand.inc: Likewise.
3669         * math/libm-test-sin.inc: Likewise.
3670         * math/libm-test-sincos.inc: Likewise.
3671         * math/libm-test-sinh.inc: Likewise.
3672         * math/libm-test-sqrt.inc: Likewise.
3673         * math/libm-test-tan.inc: Likewise.
3674         * math/libm-test-tanh.inc: Likewise.
3675         * math/libm-test-tgamma.inc: Likewise.
3676         * math/libm-test-totalorder.inc: Likewise.
3677         * math/libm-test-totalordermag.inc: Likewise.
3678         * math/libm-test-trunc.inc: Likewise.
3679         * math/libm-test-ufromfp.inc: Likewise.
3680         * math/libm-test-ufromfpx.inc: Likewise.
3681         * math/libm-test-y0.inc: Likewise.
3682         * math/libm-test-y1.inc: Likewise.
3683         * math/libm-test-yn.inc: Likewise.
3684         * math/README.libm-test: Update.
3686         * math/gen-auto-libm-tests.c: Update comment about use of program.
3687         (generate_output): Add argument FUNCTION.
3688         (main): Require extra argument.  Pass function name to
3689         generate_output.
3690         * math/Makefile (generated): Add auto-libm-test-out.
3691         (libm-test-funcs-auto): New variable.
3692         (auto-libm-test-out-files): New variable.
3693         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
3694         Concatenate those files to form $(objpfx)auto-libm-test-out and
3695         use it as input to gen-libm-test.pl.
3696         * math/README.libm-test: Update.
3697         * math/auto-libm-test-out: Remove.
3698         * math/auto-libm-test-out-acos: New generated file.
3699         * math/auto-libm-test-out-acosh: Likewise.
3700         * math/auto-libm-test-out-asin: Likewise.
3701         * math/auto-libm-test-out-asinh: Likewise.
3702         * math/auto-libm-test-out-atan: Likewise.
3703         * math/auto-libm-test-out-atan2: Likewise.
3704         * math/auto-libm-test-out-atanh: Likewise.
3705         * math/auto-libm-test-out-cabs: Likewise.
3706         * math/auto-libm-test-out-carg: Likewise.
3707         * math/auto-libm-test-out-cbrt: Likewise.
3708         * math/auto-libm-test-out-ccos: Likewise.
3709         * math/auto-libm-test-out-ccosh: Likewise.
3710         * math/auto-libm-test-out-cexp: Likewise.
3711         * math/auto-libm-test-out-clog: Likewise.
3712         * math/auto-libm-test-out-clog10: Likewise.
3713         * math/auto-libm-test-out-cos: Likewise.
3714         * math/auto-libm-test-out-cosh: Likewise.
3715         * math/auto-libm-test-out-cpow: Likewise.
3716         * math/auto-libm-test-out-csin: Likewise.
3717         * math/auto-libm-test-out-csinh: Likewise.
3718         * math/auto-libm-test-out-csqrt: Likewise.
3719         * math/auto-libm-test-out-ctan: Likewise.
3720         * math/auto-libm-test-out-ctanh: Likewise.
3721         * math/auto-libm-test-out-erf: Likewise.
3722         * math/auto-libm-test-out-erfc: Likewise.
3723         * math/auto-libm-test-out-exp: Likewise.
3724         * math/auto-libm-test-out-exp10: Likewise.
3725         * math/auto-libm-test-out-exp2: Likewise.
3726         * math/auto-libm-test-out-expm1: Likewise.
3727         * math/auto-libm-test-out-fma: Likewise.
3728         * math/auto-libm-test-out-hypot: Likewise.
3729         * math/auto-libm-test-out-j0: Likewise.
3730         * math/auto-libm-test-out-j1: Likewise.
3731         * math/auto-libm-test-out-jn: Likewise.
3732         * math/auto-libm-test-out-lgamma: Likewise.
3733         * math/auto-libm-test-out-log: Likewise.
3734         * math/auto-libm-test-out-log10: Likewise.
3735         * math/auto-libm-test-out-log1p: Likewise.
3736         * math/auto-libm-test-out-log2: Likewise.
3737         * math/auto-libm-test-out-pow: Likewise.
3738         * math/auto-libm-test-out-sin: Likewise.
3739         * math/auto-libm-test-out-sincos: Likewise.
3740         * math/auto-libm-test-out-sinh: Likewise.
3741         * math/auto-libm-test-out-sqrt: Likewise.
3742         * math/auto-libm-test-out-tan: Likewise.
3743         * math/auto-libm-test-out-tanh: Likewise.
3744         * math/auto-libm-test-out-tgamma: Likewise.
3745         * math/auto-libm-test-out-y0: Likewise.
3746         * math/auto-libm-test-out-y1: Likewise.
3747         * math/auto-libm-test-out-yn: Likewise.
3749         * math/Makefile (generated): Do not include libm-test.stmp.
3750         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
3751         on $(objpfx)libm-test.stmp.
3752         ($(objpfx)libm-test.stmp): Remove rule.
3753         ($(objpfx)libm-test-ulps.h): New rule.
3754         ($(objpfx)libm-test.c): Likewise.
3755         ($(objpfx)libm-have-vector-test.h): Likewise.
3756         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
3757         individual generated files, not libm-test.stmp.
3759         * math/gen-libm-test.pl ($output_dir): Remove variable.
3760         ($srcdir): Likewise.
3761         ($opt_a): New variable.
3762         ($opt_c): Likewise.
3763         ($opt_C): Likewise.
3764         ($opt_H): Likewise.
3765         (-n): Make option take argument and use it as NewUlps output.
3766         (-a): New option.  Use its argument for auto-libm-test-out input.
3767         (-c): New option.  Use its argument for libm-test.inc input.
3768         (-C): New option.  Use its argument for libm-test.c output.
3769         (-H): New option.  Use its argument for libm-test-ulps.h output.
3770         (top level): Only process inputs needed to generate outputs
3771         specified by command-line options.  Only generate outputs
3772         specified by command-line options.
3773         * math/README.libm-test: Update example gen-libm-test.pl command.
3774         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
3775         commands.
3776         (regen-ulps): Likewise.
3778 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
3780         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
3781         * include/string.h (index): Remove define.
3782         (rindex): Likewise.
3783         * misc/getttyent.c (__getttyent): Rename index to strchr.
3784         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
3785         * sunrpc/rpc_main.c (mkfile_output): Likewise.
3787 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3789         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
3790         * math/libm-test.inc: Move all contents, other than tests of
3791         individual functions, to libm-test-driver.c.
3792         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
3793         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
3794         [!FE_UPWARD] (FE_UPWARD): Likewise.
3795         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
3796         (NO_EXCEPTION): Likewise.
3797         (INVALID_EXCEPTION): Likewise.
3798         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
3799         (OVERFLOW_EXCEPTION): Likewise.
3800         (UNDERFLOW_EXCEPTION): Likewise.
3801         (INEXACT_EXCEPTION): Likewise.
3802         (INVALID_EXCEPTION_OK): Likewise.
3803         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3804         (OVERFLOW_EXCEPTION_OK): Likewise.
3805         (UNDERFLOW_EXCEPTION_OK): Likewise.
3806         (NO_INEXACT_EXCEPTION): Likewise.
3807         (EXCEPTIONS_OK): Likewise.
3808         (IGNORE_ZERO_INF_SIGN): Likewise.
3809         (TEST_NAN_SIGN): Likewise.
3810         (TEST_NAN_PAYLOAD): Likewise.
3811         (NO_TEST_INLINE): Likewise.
3812         (XFAIL_TEST): Likewise.
3813         (ERRNO_UNCHANGED): Likewise.
3814         (ERRNO_EDOM): Likewise.
3815         (ERRNO_ERANGE): Likewise.
3816         (IGNORE_RESULT): Likewise.
3817         (NON_FINITE): Likewise.
3818         (TEST_SNAN): Likewise.
3819         (NO_TEST_MATHVEC): Likewise.
3820         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
3821         (__CONCATX): Likewise.
3822         (TYPE_MIN): Likewise.
3823         (TYPE_TRUE_MIN): Likewise.
3824         (TYPE_MAX): Likewise.
3825         (MIN_EXP): Likewise.
3826         (MAX_EXP): Likewise.
3827         (MANT_DIG): Likewise.
3828         (FSTR_MAX): Likewise.
3829         (ULP_IDX): Likewise.
3830         (QTYPE_STR): Likewise.
3831         (TEST_COND_binary32): Likewise.
3832         (TEST_COND_binary64): Likewise.
3833         (TEST_COND_binary128): Likewise.
3834         (TEST_COND_ibm128): Likewise.
3835         (TEST_COND_intel96): Likewise.
3836         (TEST_COND_m68k96): Likewise.
3837         (TEST_COND_ibm128_libgcc): Likewise.
3838         (XFAIL_IBM128_LIBGCC): Likewise.
3839         (PAYLOAD_DIG): Likewise.
3840         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3841         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3842         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3843         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3844         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3845         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
3846         (TEST_COND_long32): Likewise.
3847         (TEST_COND_long64): Likewise.
3848         (TEST_COND_before_rounding): Likewise.
3849         (TEST_COND_after_rounding): Likewise.
3850         (lit_pi_3_m_4_d): Likewise.
3851         (lit_pi_3_m_4_ln10_m_d): Likewise.
3852         (lit_pi_2_ln10_m_d): Likewise.
3853         (lit_pi_4_ln10_m_d): Likewise.
3854         (lit_pi_ln10_d): Likewise.
3855         (lit_pi_2_d): Likewise.
3856         (lit_pi_4_d): Likewise.
3857         (lit_pi): Likewise.
3858         (lit_e): Likewise.
3859         (ulps_file_name): Likewise.
3860         (ulps_file): Likewise.
3861         (output_ulps): Likewise.
3862         (output_dir): Likewise.
3863         (noErrors): Likewise.
3864         (noTests): Likewise.
3865         (noExcTests): Likewise.
3866         (noErrnoTests): Likewise.
3867         (verbose): Likewise.
3868         (output_max_error): Likewise.
3869         (output_points): Likewise.
3870         (ignore_max_ulp): Likewise.
3871         (plus_zero): Likewise.
3872         (minus_zero): Likewise.
3873         (plus_infty): Likewise.
3874         (minus_infty): Likewise.
3875         (qnan_value_pl): Likewise.
3876         (qnan_value): Likewise.
3877         (snan_value_pl): Likewise.
3878         (snan_value): Likewise.
3879         (max_value): Likewise.
3880         (min_value): Likewise.
3881         (min_subnorm_value): Likewise.
3882         (snan_value_ld): Likewise.
3883         (max_error): Likewise.
3884         (real_max_error): Likewise.
3885         (imag_max_error): Likewise.
3886         (prev_max_error): Likewise.
3887         (prev_real_max_error): Likewise.
3888         (prev_imag_max_error): Likewise.
3889         (max_valid_error): Likewise.
3890         (TYPE_DECIMAL_DIG): Likewise.
3891         (TYPE_HEX_DIG): Likewise.
3892         (fmt_ftostr): Likewise.
3893         (compare_ulp_data): Likewise.
3894         (find_ulps): Likewise.
3895         (init_max_error): Likewise.
3896         (set_max_error): Likewise.
3897         (print_float): Likewise.
3898         (print_screen): Likewise.
3899         (print_screen_max_error): Likewise.
3900         (update_stats): Likewise.
3901         (print_function_ulps): Likewise.
3902         (print_complex_function_ulps): Likewise.
3903         (fpstack_test): Likewise.
3904         (print_max_error): Likewise.
3905         (print_complex_max_error): Likewise.
3906         (test_single_exception): Likewise.
3907         (test_exceptions): Likewise.
3908         (test_single_errno): Likewise.
3909         (test_errno): Likewise.
3910         (ULPDIFF): Likewise.
3911         (ulp): Likewise.
3912         (check_float_internal): Likewise.
3913         (check_float): Likewise.
3914         (check_complex): Likewise.
3915         (check_int): Likewise.
3916         (check_long): Likewise.
3917         (check_bool): Likewise.
3918         (check_longlong): Likewise.
3919         (check_intmax_t): Likewise.
3920         (check_uintmax_t): Likewise.
3921         (enable_test): Likewise.
3922         (struct test_f_f_data): Likewise.
3923         (struct test_ff_f_data): Likewise.
3924         (struct test_fj_f_data): Likewise.
3925         (struct test_fi_f_data): Likewise.
3926         (struct test_fl_f_data): Likewise.
3927         (struct test_if_f_data): Likewise.
3928         (struct test_fff_f_data): Likewise.
3929         (struct test_fiu_M_data): Likewise.
3930         (struct test_fiu_U_data): Likewise.
3931         (struct test_c_f_data): Likewise.
3932         (struct test_f_f1_data): Likewise.
3933         (struct test_fF_f1_data): Likewise.
3934         (struct test_ffI_f1_data): Likewise.
3935         (struct test_c_c_data): Likewise.
3936         (struct test_cc_c_data): Likewise.
3937         (struct test_f_i_data): Likewise.
3938         (struct test_ff_i_data): Likewise.
3939         (struct test_f_l_data): Likewise.
3940         (struct test_f_L_data): Likewise.
3941         (struct test_fFF_11_data): Likewise.
3942         (struct test_Ff_b1_data): Likewise.
3943         (IF_ROUND_INIT_): Likewise.
3944         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3945         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3946         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3947         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3948         (ROUND_RESTORE_): Likewise.
3949         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3950         (ROUND_RESTORE_FE_TONEAREST): Likewise.
3951         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3952         (ROUND_RESTORE_FE_UPWARD): Likewise.
3953         (RM_): Likewise.
3954         (RM_FE_DOWNWARD): Likewise.
3955         (RM_FE_TONEAREST): Likewise.
3956         (RM_FE_TOWARDZERO): Likewise.
3957         (RM_FE_UPWARD): Likewise.
3958         (COMMON_TEST_SETUP): Likewise.
3959         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3960         (COMMON_TEST_CLEANUP): Likewise.
3961         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3962         (RUN_TEST_f_f): Likewise.
3963         (RUN_TEST_LOOP_f_f): Likewise.
3964         (RUN_TEST_fp_f): Likewise.
3965         (RUN_TEST_LOOP_fp_f): Likewise.
3966         (RUN_TEST_2_f): Likewise.
3967         (RUN_TEST_LOOP_2_f): Likewise.
3968         (RUN_TEST_ff_f): Likewise.
3969         (RUN_TEST_LOOP_ff_f): Likewise.
3970         (RUN_TEST_LOOP_fj_f): Likewise.
3971         (RUN_TEST_fi_f): Likewise.
3972         (RUN_TEST_LOOP_fi_f): Likewise.
3973         (RUN_TEST_fl_f): Likewise.
3974         (RUN_TEST_LOOP_fl_f): Likewise.
3975         (RUN_TEST_if_f): Likewise.
3976         (RUN_TEST_LOOP_if_f): Likewise.
3977         (RUN_TEST_fff_f): Likewise.
3978         (RUN_TEST_LOOP_fff_f): Likewise.
3979         (RUN_TEST_fiu_M): Likewise.
3980         (RUN_TEST_LOOP_fiu_M): Likewise.
3981         (RUN_TEST_fiu_U): Likewise.
3982         (RUN_TEST_LOOP_fiu_U): Likewise.
3983         (RUN_TEST_c_f): Likewise.
3984         (RUN_TEST_LOOP_c_f): Likewise.
3985         (RUN_TEST_f_f1): Likewise.
3986         (RUN_TEST_LOOP_f_f1): Likewise.
3987         (RUN_TEST_fF_f1): Likewise.
3988         (RUN_TEST_LOOP_fF_f1): Likewise.
3989         (RUN_TEST_fI_f1): Likewise.
3990         (RUN_TEST_LOOP_fI_f1): Likewise.
3991         (RUN_TEST_ffI_f1_mod8): Likewise.
3992         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
3993         (RUN_TEST_Ff_b1): Likewise.
3994         (RUN_TEST_LOOP_Ff_b1): Likewise.
3995         (RUN_TEST_Ffp_b1): Likewise.
3996         (RUN_TEST_LOOP_Ffp_b1): Likewise.
3997         (RUN_TEST_c_c): Likewise.
3998         (RUN_TEST_LOOP_c_c): Likewise.
3999         (RUN_TEST_cc_c): Likewise.
4000         (RUN_TEST_LOOP_cc_c): Likewise.
4001         (RUN_TEST_f_i): Likewise.
4002         (RUN_TEST_LOOP_f_i): Likewise.
4003         (RUN_TEST_f_i_tg): Likewise.
4004         (RUN_TEST_LOOP_f_i_tg): Likewise.
4005         (RUN_TEST_ff_b): Likewise.
4006         (RUN_TEST_LOOP_ff_b): Likewise.
4007         (RUN_TEST_ff_i_tg): Likewise.
4008         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4009         (RUN_TEST_f_b): Likewise.
4010         (RUN_TEST_LOOP_f_b): Likewise.
4011         (RUN_TEST_f_b_tg): Likewise.
4012         (RUN_TEST_LOOP_f_b_tg): Likewise.
4013         (RUN_TEST_f_l): Likewise.
4014         (RUN_TEST_LOOP_f_l): Likewise.
4015         (RUN_TEST_f_L): Likewise.
4016         (RUN_TEST_LOOP_f_L): Likewise.
4017         (RUN_TEST_fFF_11): Likewise.
4018         (RUN_TEST_LOOP_fFF_11): Likewise.
4019         (VEC_SUFF): Likewise.
4020         (STR_CONCAT): Likewise.
4021         (STR_CON3): Likewise.
4022         (HAVE_VECTOR): Likewise.
4023         (START): Likewise.
4024         (END): Likewise.
4025         (END_COMPLEX): Likewise.
4026         (ALL_RM_TEST): Likewise.
4027         (matherr): Likewise.
4028         (initialize): Likewise.
4029         (options): Likewise.
4030         (doc): Likewise.
4031         (parse_opt): Likewise.
4032         (argp): Likewise.
4033         (check_ulp): Likewise.
4034         (main): Likewise.
4035         (do_test): New function.  Call tests of individual functions
4036         previously called from main.
4038         * math/libm-test.inc: Remove comment listing functions tested and
4039         not tested.
4041 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4043         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
4044         (allocate_stack): Remove COLORING_INCREMENT usage.
4045         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
4046         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
4048 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
4050         * manual/libm-err-tab.pl (@all_functions): Change to
4051         %all_functions.  Initialize as empty.
4052         (parse_ulps): Add to %all_functions based on functions found in
4053         ulps files.  Ignore results for non-default rounding modes and
4054         vector functions.
4055         (print_platforms): Use %all_platforms.
4056         * manual/math.texi (Errors in Math Functions): Document omissions
4057         from the table.
4059         * math/Makefile (before-compile): Remove.
4061 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
4063         [BZ #21075]
4064         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
4065         unused assignment.
4066         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4068 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4070         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
4071         Add __glibc_unlikely hint.
4073 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4075         [BZ #16640]
4076         * sysdeps/i386/i686/strtok.S: Remove file.
4077         * sysdeps/i386/i686/strtok_r.S: Likewise.
4078         * sysdeps/i386/strtok.S: Likewise.
4079         * sysdeps/i386/strtok_r.S: Likewise.
4080         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
4081         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
4082         * sysdeps/x86_64/strtok.S: Likewise.
4083         * sysdeps/x86_64/strtok_r.S: Likewise.
4085         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
4086         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
4087         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4088         (__ASSUME_FADVISE64_AS_64_64): Define.
4089         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
4090         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
4091         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
4092         __ALIGNMENT_ARG usage.
4093         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
4094         __NR_fadvise64_64 if it is not defined.
4096 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4098         * version.h (RELEASE): Set to "development"
4099         (VERSION): Set to 2.25.90.
4100         * NEWS: Add 2.26 section.
4102         * version.h (RELEASE): Set to "stable"
4103         (VERSION): Set to 2.25.
4104         * include/features.h (__GLIBC_MINOR__): Set to 25.
4106         * manual/contrib.texi: Add more contributors from this release
4107         and past releases.
4109         * NEWS (2.25): Add list of bugs fixed.
4111         * NEWS: Add missing news items.
4113 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4115         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
4116         parent if child exited in that manner.  Print WEXITSTATUS
4117         instead of the raw status.
4118         (do_test_prep): Rename to do_test.
4119         (do_test): Return the result of run_executable_sgid.
4120         (TEST_FUNCTION_ARGV): Adjust.
4122 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
4123             Florian Weimer  <fweimer@redhat.com>
4124             Carlos O'Donell  <carlos@redhat.com>
4126         [BZ #20915]
4127         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
4128         Do not initialize DTV.
4129         * nptl/allocatestack.c (init_one_static_tls): Likewise.
4131 2017-02-03  David S. Miller  <davem@davemloft.net>
4133         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
4134         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4135         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
4136         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4137         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
4138         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4139         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
4140         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4141         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4142         (libm-sysdep_routines): Update.
4143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
4144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
4145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
4147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4148         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
4149         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
4150         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
4151         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
4152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
4153         Likewise.
4154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
4156         Likewise.
4157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
4159         Likewise.
4160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
4162         Likewise.
4163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4165         (libm-sysdep_routines): Update.
4167 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
4169         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
4170         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
4171         against unrelocated shared library.
4172         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4174 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4176         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
4177         * elf/tst-env-setuid-tunables.c
4178         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
4179         GLIBC_TUNABLES is removed in a setgid process.
4181         [BZ #21073]
4182         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
4183         * elf/dl-tunables.c (tunables_strdup): Remove.
4184         (get_next_env): Also return the previous envp.
4185         (parse_tunables): Erase tunables of category
4186         TUNABLES_SECLEVEL_SXID_ERASE.
4187         (maybe_enable_malloc_check): Make MALLOC_CHECK_
4188         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
4189         (__tunables_init)[TUNABLES_FRONTEND ==
4190         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
4191         after parsing.
4192         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
4193         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
4194         * elf/dl-tunables.h (struct _tunable): Change member is_secure
4195         to security_level.
4196         * elf/dl-tunables.list: Add security_level annotations for all
4197         tunables.
4198         * scripts/gen-tunables.awk: Recognize and generate enum values
4199         for security_level.
4200         * elf/tst-env-setuid.c: New test case.
4201         * elf/tst-env-setuid-tunables: new test case.
4202         * elf/Makefile (tests-static): Add them.
4204 2017-02-01  Richard Henderson  <rth@twiddle.net>
4206         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
4207         adjusting the byte count.
4209 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
4211         * conform/Makefile (linknamespace-libs): Define.
4213         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
4214         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
4215         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
4216         operands.
4218 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
4220         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
4222 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
4224         [BZ #21081]
4225         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4226         (L(stosb)): Add VZEROUPPER before ret.
4228 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
4229             Alexey Makhalov <amakhalov@vmware.com>
4230             Florian Weimer <fweimer@redhat.com>
4232         [BZ #20116]
4233         * nptl/pthread_create.c: Document concurrency notes.
4234         Enhance thread creation notes.
4235         (create_thread): Use bool *stopped_start.
4236         (START_THREAD_DEFN): Comment ownership of PD.
4237         (__pthread_create_2_1): Add local bool stopped_start and use
4238         that instead of pd->stopped_start where appropriate.
4239         * nptl/createthread.c (create_thread): Use bool *stopped_start.
4240         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
4241         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
4242         * nptl/tst-create-detached.c: New file.
4243         * nptl/Makefile (tests): Add tst-create-detached.
4244         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4245         Reference the enhanced thread creation notes.
4246         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
4247         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
4248         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
4249         (__pthread_current_priority): Likewise.
4250         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
4251         xpthread_attr_init, xpthread_attr_setdetachstate, and
4252         xpthread_attr_setstacksize.
4253         * support/xpthread_attr_destroy.c: New file.
4254         * support/xpthread_attr_init.c: New file.
4255         * support/xpthread_attr_setdetachstate.c: New file.
4256         * support/xpthread_attr_setstacksize.c: New file.
4257         * support/xthread.h: Define prototypes for xpthread_attr_destroy
4258         xpthread_attr_init, xpthread_attr_setdetachstate, and
4259         xpthread_attr_setstacksize.
4261 2017-01-27  Florian Weimer  <fweimer@redhat.com>
4263         * nptl/Makefile (tests): Add tst-robust-fork.
4264         * nptl/tst-robust-fork.c: New file.
4265         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
4266         xpthread_mutex_consistent, xpthread_mutex_destroy,
4267         xpthread_mutex_init, xpthread_mutexattr_destroy,
4268         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
4269         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
4270         xpthread_mutexattr_settype.
4271         * support/xmmap.c: New file.
4272         * support/xmunmap.c: Likewise.
4273         * support/xpthread_mutex_consistent.c: Likewise.
4274         * support/xpthread_mutex_destroy.c: Likewise.
4275         * support/xpthread_mutex_init.c: Likewise.
4276         * support/xpthread_mutexattr_destroy.c: Likewise.
4277         * support/xpthread_mutexattr_init.c: Likewise.
4278         * support/xpthread_mutexattr_setprotocol.c: Likewise.
4279         * support/xpthread_mutexattr_setpshared.c: Likewise.
4280         * support/xpthread_mutexattr_setrobust.c: Likewise.
4281         * support/xpthread_mutexattr_settype.c: Likewise.
4282         * support/xthread.h (xpthread_mutexattr_destroy)
4283         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
4284         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
4285         (xpthread_mutexattr_settype, xpthread_mutex_init)
4286         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
4287         * support/xunistd.h (xmmap, xmunmap): Likewise.
4289 2017-01-25  Florian Weimer  <fweimer@redhat.com>
4291         * string/Makefile (xtests): Add comment.
4292         (LOCALES): Add en_GB.UTF-8.
4293         (tst-strcoll-overflow.out): Depend on generated locales.
4294         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
4295         (SIZE, TIMEOUT): Update comments.
4296         (do_test): Define as static.  Fail test if setlocale fails.
4297         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
4298         messages.
4299         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
4300         TIMEOUT at 300 seconds should be enough to run this test
4301         successfully.
4303 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
4305         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4306         /* FALLTHRU */ comments.
4308 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
4310         [BZ #21053]
4311         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
4312         constants instead of the old R* ones.
4313         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
4314         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
4315         (NGREG): ... to this, to fit in with other architectures.
4316         (gpregset_t): Use new NGREG macro.
4317         [__USE_GNU]: Remove condition; all architectures other than tile
4318         are unconditional.
4319         (R*): Rename to REG_R*.
4321 2017-01-20  DJ Delorie  <dj@redhat.com>
4323         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
4324         (tunable_set_val_if_valid_range_signed) ... this, and ...
4325         (tunable_set_val_if_valid_range_unsigned) ... this.
4326         (tunable_initialize): Call the correct one of the above based on type.
4328 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
4330         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
4331         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4332         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4333         * sysdeps/microblaze/libm-test-ulps: Likewise.
4334         * sysdeps/sh/libm-test-ulps: Likewise.
4336         * math/README.libm-test: Update list of characters for input and
4337         output types.
4339 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4341         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4342         (__lll_unlock_elision): Fix adapt_count decrement.
4344 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
4346         * README.pretty-printers (Known issues): Warn about printers not
4347         always covering everything.
4348         * nptl/nptl-printers.py (MutexPrinter): Change output.
4349         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
4351 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4353         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
4354         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4355         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
4356         (__lll_lock_elision): Do not test futex before starting a
4357         transaction.  Use __glibc_likely instead of __builtin_expect.
4358         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
4359         (__lll_trylock_elision): Do not test futex before starting a
4360         transaction.  Use __glibc_likely instead of __builtin_expect.
4362 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4364         * po/Makefile (update-translations): New target.
4366 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
4368         [BZ #21061]
4369         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
4371 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4373         * elf/dl-tunables (get_next_env): Always advance envp.
4374         * stdlib/tst-empty-env.c: New test case.
4375         * stdlib/Makefile (tests): Use it.
4377 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
4379         [BZ #21047]
4380         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
4381         name for instruction.
4382         [!__SOFTFP__] (_FPU_SETCW): Likewise.
4384 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
4386         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
4387         for make install.
4389 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4391         * po/bg.po: Merge from Translation Project.
4392         * po/fr.po: Likewise.
4393         * po/ko.po: Likewise.
4394         * po/nl.po: Likewise.
4395         * po/sv.po: Likewise.
4397 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
4399         * manual/install.texi (Tools for Compilation): Update GCC version
4400         known to work to build glibc.
4401         * INSTALL: Regenerated.
4403 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4405         [BZ #21006]
4406         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
4408 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
4410         [BZ #21045]
4411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4412         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
4413         to __sigprocmask.
4415 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
4417         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
4418         wrap-around.
4419         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
4421         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
4423 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4425         * NEWS: Fix typo.
4427 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4429         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
4430         barriers and comments.
4431         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
4432         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4433         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4435 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4437         [BZ #19402]
4438         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
4439         mutexes.
4441 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4443         [BZ #20985]
4444         * nptl/Makefile: Adapt.
4445         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
4446         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
4447         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
4448         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
4449         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
4450         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
4451         lll_robust* functions and adapt.
4452         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4453         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
4454         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
4455         __lll_robust_timedlock, __lll_robust_unlock): Remove.
4456         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
4457         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
4458         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
4459         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
4460         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
4461         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
4462         __lll_robust_timedlock, __lll_robust_unlock): Remove.
4463         * nptl/lowlevelrobustlock.c: Remove file.
4464         * nptl/lowlevelrobustlock.sym: Likewise.
4465         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
4466         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
4468 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4470         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4472 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4474         * po/cs.po: Merge translations from the Translation Project.
4475         * po/de.po: Likewise.
4476         * po/pl.po: Likewise.
4477         * po/ru.po: Likewise.
4478         * po/tr.po: Likewise.
4479         * po/uk.po: Likewise.
4480         * po/vi.po: Likewise.
4481         * po/zh_CN.po: Likewise.
4483 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
4485         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
4487         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
4488         object.
4490 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
4492         [BZ #16458]
4493         * bits/uintn-identity.h: New file.
4494         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
4495         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
4496         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
4497         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
4498         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
4499         * string/endian.h: Include <bits/uintn-identity.h>.
4500         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
4501         __uint16_identity.
4502         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
4503         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
4504         __uint32_identity.
4505         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
4506         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
4507         __uint64_identity.
4508         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
4509         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
4510         __uint16_identity.
4511         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
4512         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
4513         __uint32_identity.
4514         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
4515         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
4516         __uint64_identity.
4517         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
4518         * string/Makefile (headers): Add bits/uintn-identity.h.
4519         (tests): Add test-endian-types.
4520         * string/test-endian-types.c: New file.
4521         * inet/Makefile (tests): Add test-hnto-types.
4522         * inet/test-hnto-types.c: New file.
4524 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4526         * po/be.po: Update from Translation Project.
4527         * po/bg.po: Likewise.
4528         * po/ca.po: Likewise.
4529         * po/cs.po: Likewise.
4530         * po/da.po: Likewise.
4531         * po/de.po: Likewise.
4532         * po/el.po: Likewise.
4533         * po/eo.po: Likewise.
4534         * po/es.po: Likewise.
4535         * po/fi.po: Likewise.
4536         * po/fr.po: Likewise.
4537         * po/gl.po: Likewise.
4538         * po/hr.po: Likewise.
4539         * po/hu.po: Likewise.
4540         * po/ia.po: Likewise.
4541         * po/id.po: Likewise.
4542         * po/it.po: Likewise.
4543         * po/ja.po: Likewise.
4544         * po/ko.po: Likewise.
4545         * po/lt.po: Likewise.
4546         * po/nb.po: Likewise.
4547         * po/nl.po: Likewise.
4548         * po/pl.po: Likewise.
4549         * po/pt_BR.po: Likewise.
4550         * po/ru.po: Likewise.
4551         * po/rw.po: Likewise.
4552         * po/sk.po: Likewise.
4553         * po/sl.po: Likewise.
4554         * po/sv.po: Likewise.
4555         * po/tr.po: Likewise.
4556         * po/uk.po: Likewise.
4557         * po/vi.po: Likewise.
4558         * po/zh_CN.po: Likewise.
4559         * po/zh_TW.po: Likewise.
4561 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
4563         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
4564         -Wformat-truncation instead of -Wformat-length.
4565         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
4566         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
4567         GCC 7.
4568         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
4569         (do_test): Ignore -Wformat-truncation for GCC 7.
4571         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
4572         buffer used to print long int value.
4574         * elf/sotruss-lib.c (init): Increase space allocated for pid by
4575         one byte.  Print it with %ld, cast to long int.
4577 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4579         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
4580         (re.fullmatch, subprocess.run): Likewise.
4582 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4584         * po/libc.pot: Regenerate.
4586 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4588         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
4589         (min_strlen): Likewise.
4590         (disable_tunable): Likewise.
4591         (maybe_disable_malloc_check): Rename to
4592         maybe_enable_malloc_check.
4593         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
4594         if /etc/suid-debug file exists.
4595         (__tunables_init): Update caller.
4596         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
4597         secure.
4599 2016-01-10  Torvald Riegel  <triegel@redhat.com>
4601         * nptl/DESIGN-rwlock.txt: Remove.
4602         * nptl/lowlevelrwlock.sym: Remove.
4603         * nptl/Makefile: Add new tests.
4604         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
4605         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
4606         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
4607         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
4608         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
4609         PTHREAD_RWLOCK_FUTEX_USED): New.
4610         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
4611         implementation.
4612         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
4613         (__pthread_rwlock_rdlock): Adapt.
4614         * nptl/pthread_rwlock_timedrdlock.c
4615         (pthread_rwlock_timedrdlock): Adapt.
4616         * nptl/pthread_rwlock_timedwrlock.c
4617         (pthread_rwlock_timedwrlock): Adapt.
4618         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
4619         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
4620         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
4621         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
4622         (__pthread_rwlock_wrlock): Adapt.
4623         * nptl/tst-rwlock10.c: Adapt.
4624         * nptl/tst-rwlock11.c: Adapt.
4625         * nptl/tst-rwlock17.c: New file.
4626         * nptl/tst-rwlock18.c: New file.
4627         * nptl/tst-rwlock19.c: New file.
4628         * nptl/tst-rwlock2b.c: New file.
4629         * nptl/tst-rwlock8.c: Adapt.
4630         * nptl/tst-rwlock9.c: Adapt.
4631         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4632         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4633         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4634         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4635         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4636         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4637         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4638         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4639         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4640         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4641         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4642         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4643         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
4644         (pthread_rwlock_t): Adapt.
4645         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4646         (pthread_rwlock_t): Adapt.
4647         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4648         * nptl/nptl-printers.py (): Adapt.
4649         * nptl/nptl_lock_constants.pysym: Adapt.
4650         * nptl/test-rwlock-printers.py: Adapt.
4651         * nptl/test-rwlockattr-printers.c: Adapt.
4652         * nptl/test-rwlockattr-printers.py: Adapt.
4654 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
4656         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
4657         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
4658         (fma_test_data): Likewise.
4659         (hypot_test_data): Likewise.
4660         (log1p_test_data): Likewise.
4661         (modf_test_data): Likewise.
4662         (pow_test_data): Likewise.
4663         (remainder_test_data): Likewise.
4664         (remquo_test_data): Likewise.
4665         (scalb_test_data): Likewise.
4666         (scalbn_test_data): Likewise.
4667         (scalbln_test_data): Likewise.
4668         * math/gen-libm-test.pl (parse_args): Transform
4669         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
4670         on the rounding mode.
4672 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
4674         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
4675         xfail-rounding:ibm128-libgcc automatically to tests overflowing
4676         and those that can underflow to zero.
4677         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
4678         add others.
4679         * math/auto-libm-test-out: Regenerated.
4681         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
4682         supported.
4683         (feholdexcept_tests): Skip tests requiring exceptions or rounding
4684         modes support if not supported.
4686         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
4687         Add libc.so PLT entry.
4688         (__tls_get_addr): Make ld.so PLT entry optional.
4690 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4692         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
4693         * string/bits/string3.h: ... here.
4695 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
4697         [BZ #21028]
4698         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
4699         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
4700         if EXCEPTION_TESTS returns false.
4702 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4704         [BZ #20558]
4705         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
4706         strings_fortified.h.
4707         [__USE_MISC] (bzero): Likewise.
4708         [__USE_MISC] (explicit_bzero): Likewise.
4709         * string/strings.h: Include strings_fortified.h.
4710         * string/Makefile (headers): Add strings_fortified.h.
4711         * string/bits/strings_fortified.h: New file.
4712         * include/bits/strings_fortified.h: Likewise.
4714 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
4716         * elf/tst-tls13.c (TIMEOUT): Remove.
4717         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
4718         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
4719         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
4720         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
4721         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
4723         [BZ #21026]
4724         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
4725         (readahead): New syscall entry.
4727 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4729         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
4730         around tests of strncat with large sizes.
4732         * malloc/tst-malloc.c: Include <libc-internal.h>.
4733         (do_test): Disable -Walloc-size-larger-than= around tests of
4734         malloc with negative sizes.
4735         * malloc/tst-mcheck.c: Include <libc-internal.h>.
4736         (do_test): Disable -Walloc-size-larger-than= around tests of
4737         malloc and realloc with negative sizes.
4738         * malloc/tst-realloc.c: Include <libc-internal.h>.
4739         (do_test): Disable -Walloc-size-larger-than= around tests of
4740         realloc with negative sizes.
4742         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
4743         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
4744         allowed to 16 ulps.
4745         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
4746         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
4747         * math/auto-libm-test-out: Regenerated.
4749 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4751         * math/Makefile (libm-calls): Move wrappers...
4752         (libm-compat-call-auto): Here.
4753         (libm-routines): Add items in libm-compat-calls-auto.
4754         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
4755         the filenames of the wrappers that have been renamed.
4756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
4757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4759         * math/w_acos.c: Add _compat suffix to filename.
4760         * math/w_acosf.c: Likewise.
4761         * math/w_acosh.c: Likewise.
4762         * math/w_acoshf.c: Likewise.
4763         * math/w_acoshl.c: Likewise.
4764         * math/w_acosl.c: Likewise.
4765         * math/w_asin.c: Likewise.
4766         * math/w_asinf.c: Likewise.
4767         * math/w_asinl.c: Likewise.
4768         * math/w_atan2.c: Likewise.
4769         * math/w_atan2f.c: Likewise.
4770         * math/w_atan2l.c: Likewise.
4771         * math/w_atanh.c: Likewise.
4772         * math/w_atanhf.c: Likewise.
4773         * math/w_atanhl.c: Likewise.
4774         * math/w_cosh.c: Likewise.
4775         * math/w_coshf.c: Likewise.
4776         * math/w_coshl.c: Likewise.
4777         * math/w_exp10.c: Likewise.
4778         * math/w_exp10f.c: Likewise.
4779         * math/w_exp10l.c: Likewise.
4780         * math/w_exp2.c: Likewise.
4781         * math/w_exp2f.c: Likewise.
4782         * math/w_exp2l.c: Likewise.
4783         * math/w_fmod.c: Likewise.
4784         * math/w_fmodf.c: Likewise.
4785         * math/w_fmodl.c: Likewise.
4786         * math/w_hypot.c: Likewise.
4787         * math/w_hypotf.c: Likewise.
4788         * math/w_hypotl.c: Likewise.
4789         * math/w_j0.c: Likewise.
4790         * math/w_j0f.c: Likewise.
4791         * math/w_j0l.c: Likewise.
4792         * math/w_j1.c: Likewise.
4793         * math/w_j1f.c: Likewise.
4794         * math/w_j1l.c: Likewise.
4795         * math/w_jn.c: Likewise.
4796         * math/w_jnf.c: Likewise.
4797         * math/w_jnl.c: Likewise.
4798         * math/w_log10.c: Likewise.
4799         * math/w_log10f.c: Likewise.
4800         * math/w_log10l.c: Likewise.
4801         * math/w_log2.c: Likewise.
4802         * math/w_log2f.c: Likewise.
4803         * math/w_log2l.c: Likewise.
4804         * math/w_log.c: Likewise.
4805         * math/w_logf.c: Likewise.
4806         * math/w_logl.c: Likewise.
4807         * math/w_pow.c: Likewise.
4808         * math/w_powf.c: Likewise.
4809         * math/w_powl.c: Likewise.
4810         * math/w_remainder.c: Likewise.
4811         * math/w_remainderf.c: Likewise.
4812         * math/w_remainderl.c: Likewise.
4813         * math/w_scalb.c: Likewise.
4814         * math/w_scalbf.c: Likewise.
4815         * math/w_scalbl.c: Likewise.
4816         * math/w_sinh.c: Likewise.
4817         * math/w_sinhf.c: Likewise.
4818         * math/w_sinhl.c: Likewise.
4819         * math/w_sqrt.c: Likewise.
4820         * math/w_sqrtf.c: Likewise.
4821         * math/w_sqrtl.c: Likewise.
4822         * math/w_tgamma.c: Likewise.
4823         * math/w_tgammaf.c: Likewise.
4824         * math/w_tgammal.c: Likewise.
4826         * math/w_acos_compat.c: New file copied from above and
4827         adjusted for new #includes path
4828         * math/w_acosf_compat.c: Likewise.
4829         * math/w_acosh_compat.c: Likewise.
4830         * math/w_acoshf_compat.c: Likewise.
4831         * math/w_acoshl_compat.c: Likewise.
4832         * math/w_acosl_compat.c: Likewise.
4833         * math/w_asin_compat.c: Likewise.
4834         * math/w_asinf_compat.c: Likewise.
4835         * math/w_asinl_compat.c: Likewise.
4836         * math/w_atan2_compat.c: Likewise.
4837         * math/w_atan2f_compat.c: Likewise.
4838         * math/w_atan2l_compat.c: Likewise.
4839         * math/w_atanh_compat.c: Likewise.
4840         * math/w_atanhf_compat.c: Likewise.
4841         * math/w_atanhl_compat.c: Likewise.
4842         * math/w_cosh_compat.c: Likewise.
4843         * math/w_coshf_compat.c: Likewise.
4844         * math/w_coshl_compat.c: Likewise.
4845         * math/w_exp10_compat.c: Likewise.
4846         * math/w_exp10f_compat.c: Likewise.
4847         * math/w_exp10l_compat.c: Likewise.
4848         * math/w_exp2_compat.c: Likewise.
4849         * math/w_exp2f_compat.c: Likewise.
4850         * math/w_exp2l_compat.c: Likewise.
4851         * math/w_fmod_compat.c: Likewise.
4852         * math/w_fmodf_compat.c: Likewise.
4853         * math/w_fmodl_compat.c: Likewise.
4854         * math/w_hypot_compat.c: Likewise.
4855         * math/w_hypotf_compat.c: Likewise.
4856         * math/w_hypotl_compat.c: Likewise.
4857         * math/w_j0_compat.c: Likewise.
4858         * math/w_j0f_compat.c: Likewise.
4859         * math/w_j0l_compat.c: Likewise.
4860         * math/w_j1_compat.c: Likewise.
4861         * math/w_j1f_compat.c: Likewise.
4862         * math/w_j1l_compat.c: Likewise.
4863         * math/w_jn_compat.c: Likewise.
4864         * math/w_jnf_compat.c: Likewise.
4865         * math/w_jnl_compat.c: Likewise.
4866         * math/w_log10_compat.c: Likewise.
4867         * math/w_log10f_compat.c: Likewise.
4868         * math/w_log10l_compat.c: Likewise.
4869         * math/w_log2_compat.c: Likewise.
4870         * math/w_log2f_compat.c: Likewise.
4871         * math/w_log2l_compat.c: Likewise.
4872         * math/w_log_compat.c: Likewise.
4873         * math/w_logf_compat.c: Likewise.
4874         * math/w_logl_compat.c: Likewise.
4875         * math/w_pow_compat.c: Likewise.
4876         * math/w_powf_compat.c: Likewise.
4877         * math/w_powl_compat.c: Likewise.
4878         * math/w_remainder_compat.c: Likewise.
4879         * math/w_remainderf_compat.c: Likewise.
4880         * math/w_remainderl_compat.c: Likewise.
4881         * math/w_scalb_compat.c: Likewise.
4882         * math/w_scalbf_compat.c: Likewise.
4883         * math/w_scalbl_compat.c: Likewise.
4884         * math/w_sinh_compat.c: Likewise.
4885         * math/w_sinhf_compat.c: Likewise.
4886         * math/w_sinhl_compat.c: Likewise.
4887         * math/w_sqrt_compat.c: Likewise.
4888         * math/w_sqrtf_compat.c: Likewise.
4889         * math/w_sqrtl_compat.c: Likewise.
4890         * math/w_tgamma_compat.c: Likewise.
4891         * math/w_tgammaf_compat.c: Likewise.
4892         * math/w_tgammal_compat.c: Likewise.
4894         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
4895         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
4896         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
4897         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
4898         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
4899         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
4900         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
4901         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
4902         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
4903         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
4904         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
4905         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
4906         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
4907         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
4908         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
4909         * sysdeps/ia64/fpu/w_powl.c: Likewise.
4910         * sysdeps/ia64/fpu/w_powf.c: Likewise.
4911         * sysdeps/ia64/fpu/w_pow.c: Likewise.
4912         * sysdeps/ia64/fpu/w_logl.c: Likewise.
4913         * sysdeps/ia64/fpu/w_logf.c: Likewise.
4914         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
4915         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
4916         * sysdeps/ia64/fpu/w_log2.c: Likewise.
4917         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
4918         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
4919         * sysdeps/ia64/fpu/w_log10.c: Likewise.
4920         * sysdeps/ia64/fpu/w_log.c: Likewise.
4921         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
4922         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
4923         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
4924         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
4925         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
4926         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
4927         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
4928         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
4929         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
4930         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
4931         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
4932         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
4933         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
4934         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
4935         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
4936         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
4937         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
4938         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
4939         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
4940         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
4941         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
4942         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
4943         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
4944         * sysdeps/ia64/fpu/w_asin.c: Likewise.
4945         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
4946         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
4947         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
4948         * sysdeps/ia64/fpu/w_acos.c: Likewise.
4949         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
4950         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
4951         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
4952         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
4953         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
4954         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
4955         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
4956         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
4957         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
4958         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
4959         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
4960         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
4961         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
4962         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
4963         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
4964         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
4965         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
4966         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
4967         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
4968         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
4969         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
4970         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
4971         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
4972         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
4973         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
4974         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
4975         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
4976         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
4977         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
4978         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
4979         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
4980         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
4981         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
4982         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
4983         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
4984         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
4985         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
4986         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
4987         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
4988         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
4989         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
4990         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
4991         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
4992         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
4993         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
4994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
4995         Likewise.
4996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
4997         Likewise.
4998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
4999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
5000         Likewise.
5001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
5002         Likewise.
5003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
5004         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5005         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5006         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5007         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5008         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5009         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
5011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
5013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5014         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5015         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5016         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5017         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5019         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
5020         and adjusted for new #includes path
5021         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
5022         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
5023         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
5024         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
5025         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
5026         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
5027         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
5028         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
5029         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
5030         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
5031         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
5032         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
5033         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
5034         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
5035         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
5036         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
5037         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
5038         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
5039         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
5040         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
5041         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
5042         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
5043         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
5044         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
5045         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
5046         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
5047         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
5048         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
5049         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
5050         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
5051         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
5052         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
5053         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
5054         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
5055         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
5056         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
5057         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
5058         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
5059         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
5060         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
5061         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
5062         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
5063         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
5064         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
5065         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
5066         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
5067         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
5068         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
5069         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
5070         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
5071         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
5072         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
5073         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
5074         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
5075         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
5076         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
5077         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
5078         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
5079         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
5080         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
5081         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
5082         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
5083         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
5084         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
5085         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
5086         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
5087         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
5088         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
5089         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
5090         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
5091         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
5092         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
5093         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
5094         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
5095         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
5096         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
5097         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
5098         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
5099         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
5100         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
5101         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
5102         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
5103         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
5104         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
5105         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
5106         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
5107         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
5108         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
5109         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
5110         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
5111         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
5112         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
5113         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
5114         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
5115         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
5116         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
5117         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
5118         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
5119         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
5120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
5121         Likewise.
5122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
5123         Likewise.
5124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
5125         Likewise.
5126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
5127         Likewise.
5128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
5129         Likewise.
5130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
5131         Likewise.
5132         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
5133         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
5134         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
5135         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
5136         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
5137         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
5138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
5139         Likewise.
5140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
5141         Likewise.
5142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
5143         Likewise.
5144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
5145         Likewise.
5146         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
5147         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
5148         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
5149         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
5151 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
5153         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
5154         __jmp_buf_internal_tag.
5156         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
5157         preserve NaN payload if [__mips_nan2008].
5158         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5160         [BZ #21022]
5161         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
5163 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5165         * sysdeps/i386/fpu/libm-test-ulps: Update.
5167 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5169         * sysdeps/ia64/strcat.c: Remove file.
5170         * sysdeps/powerpc/strcat.c: Likewise.
5171         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
5172         C implementation.
5173         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
5174         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
5176 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5177             Steven Munroe  <sjmunroe@us.ibm.com>
5178             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5180         [BZ #20822]
5181         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5182         (__lll_lock_elision): Access adapt_count via C11 atomics.
5183         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5184         (__lll_trylock_elision): Likewise.
5185         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5186         (__lll_unlock_elision):  Update adapt_count variable inside the
5187         critical section using C11 atomics.
5189 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5191         * math/test-fenvinline.c (do_test): Disable tests of raised
5192         exceptions if !EXCEPTION_TESTS (FLOAT).
5194 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5196         [BZ #19390]
5197         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
5198         maximum string size.
5199         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
5200         in pointer addition.
5201         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
5202         Likewise.
5204 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5206         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
5207         passed to tst-ldconfig-X.sh.
5209 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
5211         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
5213 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5215         [BZ #21019]
5216         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
5217         New syscall entry.
5218         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
5219         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
5220         lseek.
5222         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
5223         power4 glibc for powerpc-linux-gnu.
5225 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5227         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
5228         semctl.
5230 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5232         * math/test-nearbyint-except.c: Include <stdbool.h>.
5233         (any_supported): New variable.
5234         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
5235         set any_supported.
5236         (do_test): Return 77 if no floating-point type supported
5237         exceptions.
5239         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
5240         condition on [__mips_hard_float].
5242 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5244         [BZ #21014]
5245         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
5246         in pointer addition.
5247         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
5249 2017-01-02  Torvald Riegel  <triegel@redhat.com>
5251         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
5252         new condvar.
5254 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5256         * scripts/build-many-glibcs.py (Context.checkout): Default
5257         binutils version to 2.28 branch.
5259 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5261         * support/support_format_netent.c (support_format_netent): Work
5262         around alpha struct netent definition difference.
5264 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5266         * support/xwrite.c (xwrite): Use %td for pointer difference.
5268 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5270         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
5271         have-tunables only.
5272         (tests-static): Add tst-malloc-usable-static-tunables for
5273         have-tunables only.
5275 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
5277         * scripts/config.guess: Update to version 2017-01-01.
5278         * scripts/config.sub: Update to version 2017-01-01.
5280         * NEWS: Update copyright dates.
5281         * catgets/gencat.c (print_version): Likewise.
5282         * csu/version.c (banner): Likewise.
5283         * debug/catchsegv.sh: Likewise.
5284         * debug/pcprofiledump.c (print_version): Likewise.
5285         * debug/xtrace.sh (do_version): Likewise.
5286         * elf/ldconfig.c (print_version): Likewise.
5287         * elf/ldd.bash.in: Likewise.
5288         * elf/pldd.c (print_version): Likewise.
5289         * elf/sotruss.sh: Likewise.
5290         * elf/sprof.c (print_version): Likewise.
5291         * iconv/iconv_prog.c (print_version): Likewise.
5292         * iconv/iconvconfig.c (print_version): Likewise.
5293         * locale/programs/locale.c (print_version): Likewise.
5294         * locale/programs/localedef.c (print_version): Likewise.
5295         * login/programs/pt_chown.c (print_version): Likewise.
5296         * malloc/memusage.sh (do_version): Likewise.
5297         * malloc/memusagestat.c (print_version): Likewise.
5298         * malloc/mtrace.pl: Likewise.
5299         * manual/libc.texinfo: Likewise.
5300         * nptl/version.c (banner): Likewise.
5301         * nscd/nscd.c (print_version): Likewise.
5302         * nss/getent.c (print_version): Likewise.
5303         * nss/makedb.c (print_version): Likewise.
5304         * posix/getconf.c (main): Likewise.
5305         * scripts/test-installation.pl: Likewise.
5306         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5308         * All files with FSF copyright notices: Update copyright dates
5309         using scripts/update-copyrights.
5310         * intl/plural.c: Regenerated.
5311         * locale/programs/charmap-kw.h: Likewise.
5312         * locale/programs/locfile-kw.h: Likewise.
5314 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5316         [BZ #20593]
5317         Update DNS RR type definitions.
5318         * scripts/gen-rrtypes.py: New file.
5319         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
5320         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
5321         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
5322         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
5323         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
5324         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
5325         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
5326         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
5327         ns_t_ta, ns_t_dlv.
5328         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
5329         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
5330         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
5331         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
5332         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
5333         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
5334         Define.
5335         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
5336         entry for ns_t_zxfr.
5338 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5340         [BZ #18784]
5341         CVE-2015-5180
5342         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
5343         T_UNSPEC.  Adjust value.
5344         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
5345         * resolv/res_query.c (__libc_res_nquery): Likewise.
5346         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
5347         QTYPEs.
5348         * resolv/tst-resolv-qtypes.c: New file.
5349         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
5350         (tst-resolv-qtypes): Link against libresolv and libpthread.
5352 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5354         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
5356 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5358         * manual/tunables.texi: New chapter.
5359         * manual/Makefile (chapters): Add it.
5360         * manual/probes.texi (@node): Point to the Tunables chapter.
5362         * Makeconfig (have-tunables): Check for non-negative instead
5363         of positive.
5364         * configure.ac: Add 'valstring' as a valid value for
5365         --enable-tunables.
5366         * configure: Regenerate.
5367         * elf/Makefile (have-tunables): Check for non-negative instead
5368         of positive.
5369         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
5370         dl-tunables.c.
5371         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
5372         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
5373         (tunables_strdup): Likewise.
5374         (disable_tunables): Likewise.
5375         (parse_tunables): Likewise.
5376         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
5377         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
5378         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
5379         (TUNABLES_FRONTEND_yes): New macro, define as
5380         TUNABLES_FRONTEND_valstring by default.
5381         * manual/install.texi: Document new acceptable values for
5382         --enable-tunables.
5383         * INSTALL: Regenerate.
5385         * config.make.in (have-loop-to-function): Define.
5386         * elf/Makefile (CFLAGS-dl-tunables.c): Add
5387         -fno-tree-loop-distribute-patterns.
5388         * elf/dl-tunables.c: Include libc-internals.h.
5389         (GLIBC_TUNABLES): New macro.
5390         (tunables_strdup): New function.
5391         (parse_tunables): New function.
5392         (min_strlen): New function.
5393         (__tunables_init): Use the new functions and macro.
5394         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
5395         * malloc/tst-malloc-usable-tunables.c: New test case.
5396         * malloc/tst-malloc-usable-static-tunables.c: New test case.
5397         * malloc/Makefile (tests, tests-static): Add tests.
5399         * manual/install.texi: Add --enable-tunables option.
5400         * INSTALL: Regenerate.
5401         * README.tunables: New file.
5402         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
5403         (before-compile): Generate dl-tunable-list.h early.
5404         * config.h.in: Add HAVE_TUNABLES.
5405         * config.make.in: Add have-tunables.
5406         * configure.ac: Add --enable-tunables option.
5407         * configure: Regenerate.
5408         * csu/init-first.c (__libc_init_first): Move
5409         __libc_init_secure earlier...
5410         * csu/init-first.c (LIBC_START_MAIN):... to here.
5411         Include dl-tunables.h, libc-internal.h.
5412         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
5413         binaries.
5414         * elf/Makefile (dl-routines): Add dl-tunables.
5415         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
5416         namespace.
5417         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
5418         only when !HAVE_TUNABLES.
5419         * elf/rtld.c (process_envvars): Likewise.
5420         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
5421         (_dl_sysdep_start): Call __tunables_init.
5422         * elf/dl-tunable-types.h: New file.
5423         * elf/dl-tunables.c: New file.
5424         * elf/dl-tunables.h: New file.
5425         * elf/dl-tunables.list: New file.
5426         * malloc/tst-malloc-usable-static.c: New test case.
5427         * malloc/Makefile (tests-static): Add it.
5428         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
5429         Define TUNABLE_NAMESPACE.
5430         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
5431         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
5432         callback functions.
5433         (ptmalloc_init): Set tunable values.
5434         * scripts/gen-tunables.awk: New file.
5435         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
5436         (_dl_sysdep_start): Call __tunables_init.
5438 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5440         * resolv/resolv.h (RES_BLAST): Deprecate.
5441         * resolv/res_debug.c (p_option): Remove RES_BLAST.
5442         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
5443         to RES_BLAST.
5445 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5447         [BZ #19582]
5448         Deprecate RES_USE_INET6.
5449         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
5450         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
5451         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
5452         RES_USE_INET6.
5453         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
5454         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
5455         (_nss_nisplus_gethostbyaddr_r): Likewise.
5456         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
5457         of res_use_inet6.
5458         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
5459         instead of RES_USE_INET6.
5460         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
5461         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
5462         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
5463         Likewise.
5464         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
5465         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
5466         Likewise.
5467         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
5468         (_nss_dns_gethostbyname_r): Likewise.
5469         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
5470         alternate RES_USE_INET6 handling.
5471         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
5472         instead of RES_USE_INET6.
5473         * resolv/res_init.c (res_setoptions): Likewise.
5474         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
5475         * resolv/resolv-internal.h: New file.
5476         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
5477         make the deprecation warning non-fatal.
5478         * resolv/README (Using the resolver in multi-threaded code): Drop
5479         reference to RES_USE_INET6.
5480         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
5481         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
5483 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5485         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
5486         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
5487         tst-resolv-search.
5488         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
5489         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
5490         with libresolv and libpthread.
5491         * resolv/tst-bug18665.c: New file.
5492         * resolv/tst-bug18665-tcp: Likewise.
5493         * resolv/tst-res_use_inet6: Likewise.
5494         * resolv/tst-resolv-basic: Likewise.
5495         * resolv/tst-resolv-network: Likewise.
5496         * resolv/tst-resolv-search: Likewise.
5497         * support/Makefile (libsupport-routines): Add check_addrinfo,
5498         check_dns_packet, check_hostent, check_netent, resolv_test,
5499         support_format_address_family, support_format_addrinfo,
5500         support_format_dns_packet, support_format_herrno,
5501         support_format_hostent, support_format_netent, support_run_diff,
5502         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
5503         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
5504         xstrdup, xwrite.
5505         * support/check_addrinfo.c: New file.
5506         * support/check_dns_packet.c: Likewise.
5507         * support/check_hostent.c: Likewise.
5508         * support/check_netent.c: Likewise.
5509         * support/check_nss.h: Likewise.
5510         * support/format_nss.h: Likewise.
5511         * support/resolv_test.c: Likewise.
5512         * support/resolv_test.h: Likewise.
5513         * support/run_diff.h: Likewise.
5514         * support/support_format_address_family.c: Likewise.
5515         * support/support_format_addrinfo.c: Likewise.
5516         * support/support_format_dns_packet.c: Likewise.
5517         * support/support_format_herrno.c: Likewise.
5518         * support/support_format_hostent.c: Likewise.
5519         * support/support_format_netent.c: Likewise.
5520         * support/support_run_diff.c: Likewise.
5521         * support/xaccept.c: Likewise.
5522         * support/xbind.c: Likewise.
5523         * support/xconnect.c: Likewise.
5524         * support/xfclose.c: Likewise.
5525         * support/xfopen.c: Likewise.
5526         * support/xgetsockname.c: Likewise.
5527         * support/xlisten.c: Likewise.
5528         * support/xmemstream.c: Likewise.
5529         * support/xmemstream.h: Likewise.
5530         * support/xpoll.c: Likewise.
5531         * support/xpthread_once.c: Likewise.
5532         * support/xrecvfrom.c: Likewise.
5533         * support/xsendto.c: Likewise.
5534         * support/xsetsockopt.c: Likewise.
5535         * support/xstdio.h: Likewise.
5536         * support/xstrdup.c: Likewise.
5537         * support/support.h (xstrdup): Declare.
5538         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
5539         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
5540         * support/xthread.h (xpthread_once): Likwise.
5541         * support/xunistd.h (xwrite): Declare.
5543 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5545         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
5546         (test_verbose): Declare.
5547         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
5548         * support/support_test_main.c (default_options): Likewise.
5549         (usage, support_test_main): Handle 'v'.
5550         (test_verbose): Define.
5551         * support/tst-support_record_failure.c (do_test): Use
5552         test_verbose.
5553         * support/tst-support_record_failure-2.sh (different_status): Add
5554         --verbose test.
5556 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5558         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
5559         test failures are recorded.
5560         * support/check.c (support_print_failure_impl): Call
5561         support_record_failure.
5562         (support_exit_failure_impl): Call support_record_failure if status
5563         indicates failure.
5564         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
5565         * support/xasprintf.c (xasprintf): Likewise.
5566         * support/xfork.c (xfork): Likewise.
5567         * support/xpthread_check_return.c (xpthread_check_return):
5568         Likewise.
5569         * support/xsocket.c (xsocket): Likeweise.
5570         * support/xwaitpid.c (xwaitpid): Likewise.
5571         * support/support_record_failure.c (struct test_failures): Adjust
5572         to coding style.
5573         * support/support_test_verify_impl.c (support_test_verify_impl):
5574         Adjust error messages.
5575         * support/tst-support_record_failure-2.sh (different_status):
5576         Adjust error messages.
5578 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5580         * support/namespace.h: New file.
5581         * support/support_become_root.c: Likewise.
5582         * support/support_enter_network_namespace.c: Likewise.
5583         * support/tst-support-namespace.c: Likewise.
5584         * support/xsocket.c: Likewise.
5585         * support/xsocket.h: Likewise.
5586         * support/Makefile (libsupport-routines): Add support_become_root,
5587         support_enter_network_namespace, xsocket.
5588         (tests): Add tst-support-namespace.
5590 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5592         [BZ #17252]
5593         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
5594         __USE_GNU.
5596 2016-12-31  Torvald Riegel  <triegel@redhat.com>
5598         [BZ #13165]
5599         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
5600         use new algorithm.
5601         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
5602         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
5603         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
5604         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5605         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
5606         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
5607         __condvar_cleanup_waiting, __condvar_dec_grefs,
5608         __pthread_cond_wait_common): New.
5609         (__condvar_cleanup): Remove.
5610         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
5611         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
5612         Likewise.
5613         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
5614         Likewise.
5615         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
5616         * nptl/tst-cond1.c: Add comment.
5617         * nptl/tst-cond20.c (do_test): Adapt.
5618         * nptl/tst-cond22.c (do_test): Likewise.
5619         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
5620         structure.
5621         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5622         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5623         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5624         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
5625         Likewise.
5626         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5627         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5628         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5629         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5630         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5631         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
5632         Likewise.
5633         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
5634         Likewise.
5635         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5636         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
5637         (COND_CLOCK_BITS): Adapt.
5638         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
5639         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
5640         __PTHREAD_COND_SHARED_MASK): New.
5641         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
5642         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
5643         * nptl/nptl_lock_constants.pysym: Adapt.
5644         * nptl/test-cond-printers.py: Adapt.
5645         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
5646         cond_compat_check_and_clear): Adapt.
5647         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
5648         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
5649         (__pthread_cond_timedwait): ... and move here.
5650         * nptl/DESIGN-condvar.txt: Remove file.
5651         * nptl/lowlevelcond.sym: Likewise.
5652         * nptl/pthread_cond_timedwait.c: Likewise.
5653         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
5654         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
5655         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
5656         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
5657         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
5658         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
5659         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
5660         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
5661         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
5662         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
5663         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
5664         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
5665         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
5666         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
5667         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
5668         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
5670 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
5672         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5673         (fromfp): New declaration.
5674         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
5675         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
5676         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
5677         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
5678         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
5679         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
5680         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
5681         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
5682         * math/math.h: Include <bits/types.h>.
5683         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
5684         constant and macro.
5685         (FP_INT_DOWNWARD): Likewise.
5686         (FP_INT_TOWARDZERO): Likewise.
5687         (FP_INT_TONEARESTFROMZERO): Likewise.
5688         (FP_INT_TONEAREST): Likewise.
5689         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
5690         (fromfpf): Likewise.
5691         (fromfpl): Likewise.
5692         (ufromfp): Likewise.
5693         (ufromfpf): Likewise.
5694         (ufromfpl): Likewise.
5695         (fromfpx): Likewise.
5696         (fromfpxf): Likewise.
5697         (fromfpxl): Likewise.
5698         (ufromfpx): Likewise.
5699         (ufromfpxf): Likewise.
5700         (ufromfpxl): Likewise.
5701         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
5702         s_fromfpxF and s_ufromfpxF.
5703         * math/gen-fromfp-tests.py: New file.
5704         * math/gen-fromfp-tests-inputs: Likewise.
5705         * math/libm-test.inc: Include <stdint.h>
5706         (check_intmax_t): New function.
5707         (check_uintmax_t): Likewise.
5708         (struct test_fiu_M_data): New type.
5709         (struct test_fiu_U_data): Likewise.
5710         (RUN_TEST_fiu_M): New macro.
5711         (RUN_TEST_LOOP_fiu_M): Likewise.
5712         (RUN_TEST_fiu_U): Likewise.
5713         (RUN_TEST_LOOP_fiu_U): Likewise.
5714         (fromfp_test_data): New array.
5715         (fromfp_test): New function.
5716         (fromfpx_test_data): New array.
5717         (fromfpx_test): New function.
5718         (ufromfp_test_data): New array.
5719         (ufromfp_test): New function.
5720         (ufromfpx_test_data): New array.
5721         (ufromfpx_test): New function.
5722         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
5723         ufromfpx_test.
5724         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
5725         characters.
5726         * math/test-tgmath-ret.c: Include <stdint.h>.
5727         (rm): New variable.
5728         (width): Likewise.
5729         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
5730         called function.
5731         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
5732         CHECK_RET_CONST_TYPE.
5733         (CHECK_RET_CONST_DOUBLE): Likewise.
5734         (CHECK_RET_CONST_LDOUBLE): Likewise.
5735         (CHECK_RET_CONST): Take extra arguments and pass them to calls
5736         macros.
5737         (fromfp): New CHECK_RET_CONST call.
5738         (ufromfp): Likewise.
5739         (fromfpx): Likewise.
5740         (ufromfpx): Likewise.
5741         (do_test): Call check_return_fromfp, check_return_ufromfp,
5742         check_return_fromfpx and check_return_ufromfpx.
5743         * math/test-tgmath.c: Include <stdint.h>
5744         (NCALLS): Increase to 138.
5745         (F(compile_test)): Initialize i.  Call fromfp functions.
5746         (F(fromfp)): New function.
5747         (F(fromfpx)): Likewise.
5748         (F(ufromfp)): Likewise.
5749         (F(ufromfpx)): Likewise.
5750         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
5751         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
5752         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
5753         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
5754         ufromfpxl.
5755         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
5756         ufromfp and ufromfpx.
5757         * math/fromfp.h: New file.
5758         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
5759         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
5760         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
5761         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
5762         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
5763         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
5764         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
5765         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
5766         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
5767         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
5768         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
5769         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
5770         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
5771         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
5772         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
5773         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
5774         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
5775         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
5776         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
5777         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
5778         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
5779         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
5780         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
5781         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
5782         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
5783         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
5784         ufromfp, fromfpx and ufromfpx.
5785         (CFLAGS-nldbl-fromfp.c): New variable.
5786         (CFLAGS-nldbl-fromfpx.c): Likewise.
5787         (CFLAGS-nldbl-ufromfp.c): Likewise.
5788         (CFLAGS-nldbl-ufromfpx.c): Likewise.
5789         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
5790         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
5791         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
5792         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
5793         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
5794         * sysdeps/nacl/libm.abilist: Update.
5795         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5796         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5797         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5798         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5799         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5800         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5801         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5802         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5803         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5804         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5805         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5806         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5808         Likewise.
5809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5810         Likewise.
5811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5812         Likewise.
5813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5814         Likewise.
5815         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5816         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5817         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5818         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5819         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5821         Likewise.
5822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5823         Likewise.
5824         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5825         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5826         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5828 2016-12-30  Florian Weimer  <fweimer@redhat.com>
5830         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
5831         compat-gethnamaddr.
5832         (CPPFLAGS): Remove.
5833         * resolv/gethnamaddr.c: Rename ...
5834         * resolv/compat-gethnamaddr.c: ... to this file.
5835         (_endhtent): Make static.
5836         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
5837         symbol.
5838         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
5839         compat symbol.
5840         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
5841         symbol.
5842         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
5843         Turn into compat symbol.
5844         * include/resolv.h (_endhtent): Remove declaration.
5846 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
5848         * bits/types.h (__intmax_t): New typedef.
5849         (__uintmax_t): Likewise.
5850         * sysdeps/generic/stdint.h: Include <bits/types.h>.
5851         (intmax_t): Define using __intmax_t.
5852         (uintmax_t): Define using __uintmax_t.
5854         * support/Makefile (tests-special): Make definition conditional on
5855         [$(run-built-tests) = yes].
5856         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
5857         on [$(run-built-tests) = yes].
5859 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5861         * Rules (tests): Add tests-printers-programs to tests to be
5862         built.
5864 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5866         * sysvipc/Makefile (tests): Add test-sysvshm.
5867         * sysvipc/test-sysvshm.c: New file.
5869         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
5870         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
5871         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
5872         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
5873         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
5874         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
5875         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
5876         Likewise.
5877         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
5878         Likewise.
5879         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
5880         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
5881         is defined.
5883         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
5884         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
5885         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
5886         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
5887         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
5888         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
5889         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
5890         Likewise.
5891         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
5892         Likewise.
5893         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
5894         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
5895         defined.
5897         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5898         oldshmctl.
5899         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
5900         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
5901         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
5902         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
5903         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
5904         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
5905         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
5906         Likewise.
5907         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
5908         Likewise.
5909         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
5910         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
5911         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
5912         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
5913         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
5914         implementation.
5915         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
5916         if it is defined.
5918         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
5919         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
5920         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
5921         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
5922         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
5923         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
5924         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
5925         Likewise.
5926         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
5927         Likewise.
5928         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
5929         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5930         Define to __NR_osf_shmat.
5931         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
5932         defined.
5934         * sysvipc/Makefile (tests): Add test-sysvsem.
5935         * sysvipc/test-sysvsem.c: New file.
5937         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
5938         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
5939         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
5940         Likewise.
5941         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
5942         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
5943         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
5944         Likewise.
5945         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
5946         Likewise.
5947         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
5948         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
5949         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
5950         add a comment about s390 syscall difference from default one.
5951         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
5952         syscall if it is defined.
5954         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
5955         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
5956         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
5957         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
5958         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
5959         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
5960         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
5961         Likewise.
5962         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
5963         Likewise.
5964         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
5965         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
5966         defined.
5968         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
5969         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
5970         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
5971         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
5972         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
5973         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
5974         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
5975         Likewise.
5976         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
5977         Likewise.
5978         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
5979         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
5980         if it is defined.
5982         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5983         oldsemctl.
5984         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
5985         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
5986         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
5987         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
5988         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
5989         implementation.
5990         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
5991         syscall if it is defined.
5992         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
5993         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
5994         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
5995         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
5996         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
5997         Likewise.
5998         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
6000         * sysvipc/Makefile (tests): Add test-sysvmsg.
6001         * sysvipc/test-sysvmsg.c: New file.
6002         * support/check.h (FAIL_UNSUPPORTED): New define.
6004         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
6005         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
6006         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
6007         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
6008         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
6009         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
6010         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
6011         Likewise.
6012         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
6013         Likewise.
6014         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
6015         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
6016         define.
6018         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
6019         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
6020         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
6021         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
6022         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
6023         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
6024         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
6025         Likewise.
6026         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
6027         Likewise.
6028         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
6029         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
6030         if defined.
6032         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
6033         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
6034         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
6035         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
6036         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
6037         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
6038         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
6039         Likewise.
6040         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
6041         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
6042         Likewise.
6043         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
6044         if defined.
6045         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
6047         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6048         oldmsgctl.
6049         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
6050         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
6051         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
6052         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
6053         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
6054         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
6055         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
6056         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
6057         Likewise.
6058         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
6059         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
6060         implementation.
6061         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
6062         if defined.
6064         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
6065         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
6066         definition and define its own.
6067         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
6068         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
6069         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
6070         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
6071         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
6072         definitions to common header.
6073         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
6074         operation from ipc_ops.h.
6076         * sysdeps/unix/sysv/linux/kernel-features.h
6077         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
6078         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6079         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
6080         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6081         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6082         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6083         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6084         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6085         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6086         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6087         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6088         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6089         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6090         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6091         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6093 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6095         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
6096         overflow in pointer addition.
6098 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6100         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6101         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
6102         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6103         (strchr): Add __strchr_power8 to list of strchr functions.
6104         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
6105         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
6106         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
6107         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
6108         (strchr): Add __strchr_power8 to ifunc list.
6109         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
6110         (__strchrnul): Add __strchrnul_power8 to ifunc list.
6111         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
6112         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
6114 2016-12-28  Florian Weimer  <fweimer@redhat.com>
6116         * support/Makefile (libsupport-routines): Add
6117         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
6118         (tests): Add tst-support_record_failure.
6119         (tests-special): tst-support_record_failure-2.
6120         (tst-support_record_failure-2.out): Depend on
6121         tst-support_record_failure-2.sh and tst-support_record_failure.
6122         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
6123         (support_test_verify_impl, support_record_failure)
6124         (support_report_failure, support_report_failure_reset): Declare.
6125         * support/support_test_main.c (adjust_exit_status): New function.
6126         (support_test_main): Call it to incorporate record test failures.
6127         * support/support_test_verify_impl.c: New file.
6128         * support/support_record_failure.c: Likewise.
6129         * support/tst-support_record_failure.c: Likewise.
6130         * support/tst-support_record_failure-2.sh: Likewise.
6131         * support/xunistd.h: Likewise.
6132         * support/xfork.c: Likewise.
6133         * support/xwaitpid.c: Likewise.
6135 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
6137         * scripts/check-c++-types.sh: Add comments.
6139 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
6141         [BZ #19514]
6142         * resolv/res_send.c: Fix typo in comment.
6143         * sysdeps/i386/i386-mcount.S: Likewise.
6144         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6145         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6146         * sysdeps/sparc/sparc-mcount.S: Likewise.
6148 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6150         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
6151         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
6152         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
6153         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
6154         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
6155         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
6156         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
6157         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
6159 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6161         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
6163 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6165         [BZ #17252]
6166         * posix/unistd.h (getentropy): Declare.
6168 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6170         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
6171         Remove.
6172         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
6173         (cmd): Remove spoof, nospoof, spoofalert.
6174         (parse_line): Ignore spoof-related lines.
6175         (do_init): Do not process RESOLV_SPOOF_CHECK.
6177 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6179         [BZ #20964]
6180         sunrpc: Always obtain AF_INET addresses from NSS.
6181         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
6182         * sunrpc/rpc_gethostbyname.c: New file.
6183         * sunrpc/Makefile (routines): Add it.
6184         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
6185         * sunrpc/clnt_simp.c (callrpc): Likewise.
6186         * sunrpc/getrpcport.c (getrpcport): Likewise.
6188 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6190         * sunrpc/rpcinfo.c: Remove.
6191         * sunrpc/Makefile: Remove comments referring to rpcinfo.
6193 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6195         [BZ #19387]
6196         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
6197         addition.
6198         * string/test-memchr.c (do_test): Remove alignment limitation.
6199         (test_main): Add test that trigger BZ #19387.
6201 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6203         [BZ #7065]
6204         Enable stack protectore if requested by ./configure.
6205         * Makeconfig (+stack-protector): New variable.
6206         (+cflags): Use it.
6208 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6210         [BZ #7065]
6211         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
6212         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
6213         (__rt_sigreturn_stub): Use inhibit_stack_protector.
6214         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6215         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
6217 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6219         [BZ #7065]
6220         * login/Makefile (pt_chown-cflags): Remove.
6221         * nscd/Makefile (CFLAGS-nscd): Likewise.
6222         * resolv/Makefile (CFLAGS-libresolv): Likewise.
6224 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6226         [BZ #7065]
6227         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
6228         non-libc-linking testcase.
6230 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6231             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6232             Florian Weimer  <fweimer@redhat.com>
6234         [BZ #7065]
6235         PLT avoidance for __stack_chk_fail*.
6236         * debug/Makefile (CFLAGS-stack_chk_fail.c)
6237         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
6238         * debug/stack_chk_fail.c (__stack_chk_fail): Add
6239         __stack_chk_fail_local alias.
6240         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
6241         (__stack_chk_fail): Turn into hidden reference to
6242         __stack_chk_fail_local.
6244 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6246         [BZ #7065]
6247         * configure.ac: Add check for unsupported stack-protection level.
6248         (libc_cv_predef_stack_protector): Remove.
6249         (no_ssp): New variable.
6250         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
6251         (stack_protector): Set to -fno-stack-protector similarly.
6252         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
6253         (libc_cv_asm_set_directive): Likewise.
6254         (libc_cv_protected_data): Likewise.
6255         (libc_cv_z_combreloc): Likewise.
6256         (libc_cv_hashstyle): Likewise.
6257         (libc_cv_has_glob_dat): Likewise.
6258         (libc_cv_output_format): Likewise.
6259         (libc_cv_output_format): Likewise.
6260         (libc_cv_ehdr_start): Likewise.
6261         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
6262         (LIBC_LINKER_FEATURE): Likewise.
6263         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
6265 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6267         [BZ #7065]
6268         * elf/Makefile (dummy-stack-chk-fail): New.
6269         (librtld.map): Use it.
6271 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6273         [BZ #7065]
6274         Compile the dynamic linker without stack protection.
6275         * elf/Makefile (elide-stack-protector): New.
6276         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
6277         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
6278         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
6279         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
6281 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6283         [BZ #7065]
6284         * config.make.in (have-ssp, no-stack-protector): New.
6285         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
6286         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
6287         (CFLAGS-sbrk.op): Likewise.
6288         (CFLAGS-brk.o): Likewise.
6289         (CFLAGS-brk.op): Likewise.
6290         * string/Makefile (CFLAGS-memcpy.c): Likewise.
6291         (CFLAGS-wordcopy.c): Likewise.
6293 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6295         [BZ #7065]
6296         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
6297         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
6298         * include/libc-symbols.h (inhibit_stack_protector): New macro.
6299         (__ifunc_resolver): Use it.
6300         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
6301         inhibit_stack_protector.
6302         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
6303         * elf/ifuncmain7.c (foo_ifunc): Likewise.
6304         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
6305         (foo_protected_ifunc): Likewise.
6306         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
6307         (foo_protected_ifunc): Likewise.
6308         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
6309         * sysdeps/nacl/nacl_interface_query.c
6310         (nacl_interface_query_ifunc): Likewise.
6311         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
6312         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
6313         Likewise.
6314         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
6315         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
6316         the generated vDSO syscall resolver.
6318 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6319             Florian Weimer  <fweimer@redhat.com>
6321         [BZ #7065]
6322         Initialize the stack guard earlier when linking statically.
6323         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
6324         (__pthread_initialize_minimal): Declare.
6325         * csu/libc-start.c (__pthread_initialize_minimal): Remove
6326         declaration.
6327         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
6328         stack canary and apply_irel initialization up.  Call
6329         __pthread_initialize_minimal only if linked in.
6330         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
6331         constant values.
6332         (__pthread_initialize_minimal): Remove.
6333         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
6334         (__pthread_initialize_minimal_internal): Do not call
6335         __libc_setup_tls.
6337 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6339         [BZ #7065]
6340         * configure.ac (libc_cv_ssp): Move up.
6341         (libc_cv_ssp_strong): Likewise.
6342         (libc_cv_ssp_all): New.
6343         (stack_protector): Augment, adding -fstack-protector-all.
6344         (no_stack_protector): New.
6345         (STACK_PROTECTOR_LEVEL): New.
6346         (AC_ARG_ENABLE(stack-protector)): New configure flag.
6347         * manual/install.texi (--enable-stack-protector): Document it.
6348         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
6350 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
6352         * README.pretty-printers: Must specify CPPFLAGS-* also.
6353         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
6354         (CPPFLAGS-test-mutex-printers.c): Define.
6355         (CPPFLAGS-test-condattr-printers.c): Define.
6356         (CPPFLAGS-test-cond-printers.c): Define.
6357         (CPPFLAGS-test-rwlockattr-printers.c): Define.
6358         (CPPFLAGS-test-rwlock-printers.c): Define.
6360         * nss/Makefile [ifeq (yes,$(have-thread-library))]
6361         (tests): Add tst-cancel-getpwuid_r.
6362         * nss/tst-cancel-getpwuid_r.c: New file.
6364         [BZ #11941]
6365         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
6366         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
6367         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
6368         tst-nodelete-dlclose.
6369         (modules-names): Add tst-nodelete-dlclose-dso and
6370         tst-nodelete-dlclose-plugin.
6371         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
6372         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
6373         ($(objpfx)tst-nodelete-dlclose): Define.
6374         ($(objpfx)tst-nodelete-dlclose.out): Define.
6376 2016-12-23  Florian Weimer  <fweimer@redhat.com>
6378         * scripts/test_printers_common.py: Log GDB output in case of
6379         Python detection failure.
6381 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6383         * configure.ac: Check for python3 or python.
6384         * configure: Regenerated.
6385         * config.make.in (PYTHON): New variable.
6386         * benchtests/Makefile: Don't define PYTHON.
6387         (bench): Define target only if PYTHON was defined.
6388         * Rules: Don't define PYTHON.
6389         Define pretty printer targets only if PYTHON was defined.
6390         (tests-printers): Add to tests-unsupported if PYTHON is not
6391         found.
6392         (python-flags, python-invoke): Remove.
6393         (tests-printers-out): Use PYTHON instead of python-invoke.
6395 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
6397         [BZ #20978]
6398         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6399         Compare name == NULL, not name != NULL.
6401         * manual/texinfo.tex: Update to version 2016-09-18.18 with
6402         trailing whitespace removed.
6403         * scripts/config.guess: Update to version 2016-10-02.
6404         * scripts/config.sub: Update to version 2016-11-19.
6405         * scripts/install-sh: Update to version 2016-01-11.22.
6406         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
6407         * scripts/move-if-change: Update to version 2016-01-11 22:04.
6409 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
6411         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
6412         (do_one_test) Restore original string so iteration works.
6413         * string/string-inlines.c (do_test): Create better input strings.
6414         (test_main) Reduce number of testruns.
6415         * string/string-inlines.c (__old_strsep_1c): New function.
6416         (__old_strsep_2c): Likewise.
6417         (__old_strsep_3c): Likewise.
6418         * string/strsep.c (__strsep): Remove case of small delim string.
6419         Call strcspn directly rather than strpbrk.
6420         * string/bits/string2.h (__strsep): Remove define.
6421         (__strsep_1c): Remove.
6422         (__strsep_2c): Remove.
6423         (__strsep_3c): Remove.
6424         (strsep): Remove.
6425         * sysdeps/unix/sysv/linux/internal_statvfs.c
6426         (__statvfs_getflags): Rename to __strsep.
6428 2016-12-21  Florian Weimer  <fweimer@redhat.com>
6430         * csu/libc-tls.c (_dl_tls_setup): Remove.
6431         * elf/dl-tls.c (_dl_tls_setup): Likewise.
6432         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
6433         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
6435 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
6437         [BZ #7065]
6438         * sysdeps/x86_64/Makefile [$(subdir) = elf]
6439         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
6441 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
6442             Florian Weimer  <fweimer@redhat.com>
6444         [BZ #7065]
6445         * csu/Makefile (tests): Empty assignment and document it.
6446         (tests-static): Remove.
6447         * csu/tst-empty.c: Move to...
6448         * misc/tst-empty.c: ... here.  Switch to new test driver.
6449         * csu/tst-atomic.c: Move to...
6450         * misc/tst-atomic.c: ... here.  Switch to new test driver.
6451         * csu/tst-atomic-long.c: Move to...
6452         * misc/tst-atomic-long.c: ... here.
6453         * misc/Makefile (tests): Add tst-empty, tst-atomic,
6454         tst-atomic-long.
6455         (tests-static): Add tst-empty.
6457 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
6459         * manual/nss.texi: Change incorrect @vtable to @table.
6460         * manual/arith.texi: Convert @tables of variables to @vtables
6461         and remove unnecessary indexing.
6462         * manual/filesys.texi: Likewise.
6463         * manual/llio.texi: Likewise.
6464         * manual/memory.texi: Likewise.
6465         * manual/process.texi: Likewise.
6466         * manual/resource.texi: Likewise.
6467         * manual/search.texi: Likewise.
6468         * manual/signal.texi: Likewise.
6469         * manual/socket.texi: Likewise.
6470         * manual/stdio.texi: Likewise.
6471         * manual/sysinfo.texi: Likewise.
6472         * manual/syslog.texi: Likewise.
6473         * manual/terminal.texi: Likewise.
6474         * manual/time.texi: Likewise.
6475         * manual/users.texi: Likewise.
6477 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
6479         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6480         (roundeven): New declaration.
6481         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
6482         macro.
6483         * math/Versions (roundeven): New libm symbol at version
6484         GLIBC_2.25.
6485         (roundevenf): Likewise.
6486         (roundevenl): Likewise.
6487         * math/Makefile (libm-calls): Add s_roundevenF.
6488         * math/libm-test.inc (roundeven_test_data): New array.
6489         (roundeven_test): New function.
6490         (main): Call roundeven_test.
6491         * math/test-tgmath.c (NCALLS): Increase to 134.
6492         (F(compile_test)): Call roundeven.
6493         (F(roundeven)): New function.
6494         * manual/arith.texi (Rounding Functions): Document roundeven,
6495         roundevenf and roundevenl.
6496         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
6497         * include/math.h (roundeven): Use libm_hidden_proto.
6498         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
6499         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
6500         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
6501         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
6502         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
6503         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
6504         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6505         roundeven.
6506         (CFLAGS-nldbl-roundeven.c): New variable.
6507         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
6508         * sysdeps/nacl/libm.abilist: Update.
6509         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6510         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6511         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6512         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6513         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6514         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6515         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6516         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6517         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6518         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6519         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6520         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6522         Likewise.
6523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6524         Likewise.
6525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6526         Likewise.
6527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6528         Likewise.
6529         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6530         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6531         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6532         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6533         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6535         Likewise.
6536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6537         Likewise.
6538         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6539         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6540         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6542 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
6544         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
6545         preprocessor indentation inside #if.
6547 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6549         * math/libm-test.inc (fmt_ftostr): New function.
6550         (print_float, check_float_internal): Replace some uses of
6551         FTOSTR with uses of fmt_ftostr.
6552         (print_max_error, print_complex_max_error, print_function_ulps)
6553         (print_complex_function_ulps): Remove uses of the macros
6554         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
6555         * math/test-double.h (FTOSTR): Define to strfromd.
6556         (PRINTF_EXPR): Delete.
6557         (PRINTF_XEXPR): Likewise.
6558         (PRINTF_NEXPR): Likewise.
6559         * math/test-float.h (FTOSTR): Define to strfromf.
6560         (PRINTF_EXPR): Delete.
6561         (PRINTF_XEXPR): Likewise.
6562         (PRINTF_NEXPR): Likewise.
6563         * math/test-ldouble.h (FTOSTR): Define to strfroml.
6564         (PRINTF_EXPR): Delete.
6565         (PRINTF_XEXPR): Likewise.
6566         (PRINTF_NEXPR): Likewise.
6568 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6570         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
6571         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
6572         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
6573         (__lll_lock_elision): Decrement adapt_count while unlocking
6574         instead of before locking.
6575         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
6576         (__lll_trylock_elision): Likewise.
6577         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
6578         (__lll_unlock_elision): Likewise.
6580 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6582         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
6583         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
6584         Use __libc_tbegin_retry macro.
6586 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6588         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
6589         Add -msoft-float.
6590         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
6591         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
6592         Use __libc_t* transaction macros instead of __builtin_t*.
6593         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6594         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6596 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6598         * sysdeps/unix/sysv/linux/s390/elision-lock.c
6599         (__lll_lock_elision): Use atomics to load / store adapt_count.
6600         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
6601         (__lll_trylock_elision): Likewise.
6603 2016-12-20  Florian Weimer  <fweimer@redhat.com>
6605         Do not require memset elimination in explicit_bzero test.
6606         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
6607         (enum test_expectation): Add NO_EXPECTATIONS.
6608         (subtests): NO_EXPECTATIONS for ordinary clear.
6609         (check_test_buffer): Handle NO_EXPECTATIONS.
6610         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
6612 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
6614         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6615         (fmaxmag): New declaration.
6616         (fminmag): Likewise.
6617         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
6618         macro.
6619         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
6620         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
6621         (fmaxmagf): Likewise.
6622         (fmaxmagl): Likewise.
6623         (fminmag): Likewise.
6624         (fminmagf): Likewise.
6625         (fminmagl): Likewise.
6626         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
6627         * math/s_fmaxmag_template.c: New file.
6628         * math/s_fminmag_template.c: Likewise.
6629         * math/libm-test.inc (fmaxmag_test_data): New array.
6630         (fmaxmag_test): New function.
6631         (fminmag_test_data): New array.
6632         (fminmag_test): New function.
6633         (main): Call fmaxmag_test and fminmag_test.
6634         * math/test-tgmath.c (NCALLS): Increase to 132.
6635         (F(compile_test)): Call fmaxmag and fminmag.
6636         (F(fminmag)): New function.
6637         (F(fmaxmag)): Likewise.
6638         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
6639         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
6640         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
6641         fminmag.
6642         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
6643         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
6644         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
6645         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
6646         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
6647         and fminmag.
6648         (CFLAGS-nldbl-fmaxmag.c): New variable.
6649         (CFLAGS-nldbl-fminmag.c): Likewise.
6650         * sysdeps/nacl/libm.abilist: Update.
6651         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6652         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6653         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6654         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6655         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6656         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6657         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6658         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6659         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6660         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6661         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6662         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6664         Likewise.
6665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6666         Likewise.
6667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6668         Likewise.
6669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6670         Likewise.
6671         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6672         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6673         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6674         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6675         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6677         Likewise.
6678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6679         Likewise.
6680         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6681         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6682         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6684 2016-12-19  Torvald Riegel  <triegel@redhat.com>
6686         [BZ #20973]
6687         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
6688         wake-up in robust mutexes.
6689         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6691 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6693         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
6694         (CFLAGS-bench-fmaxf.c): New rule.
6695         (CFLAGS-bench-fminf.c): Likewise.
6696         * benchtests/fmaxf-inputs: New file.
6697         * benchtests/fminf-inputs: Likewise.
6699         * benchtests/Makefile (bench-math): Add fmin and fmax.
6700         (CFLAGS-bench-fmax.c): New rule.
6701         (CFLAGS-bench-fmin.c): Likewise.
6702         * benchtests/fmax-inputs: New file.
6703         * benchtests/fmin-inputs: Likewise.
6705         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
6706         parenthesis.
6707         (CMDLINE_PROCESS): Define using function instead of macro.
6708         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
6709         of test-skeleton.
6710         * benchtests/bench-memchr.c: Likewise.
6711         * benchtests/bench-memcmp.c: Likewise.
6712         * benchtests/bench-memcpy-large.c: Likewise.
6713         * benchtests/bench-memcpy.c: Likewise.
6714         * benchtests/bench-memmem.c: Likewise.
6715         * benchtests/bench-memmove-large.c: Likewise.
6716         * benchtests/bench-memmove.c: Likewise.
6717         * benchtests/bench-memset-large.c: Likewise.
6718         * benchtests/bench-memset.c: Likewise.
6719         * benchtests/bench-rawmemchr.c: Likewise.
6720         * benchtests/bench-strcasecmp.c: Likewise.
6721         * benchtests/bench-strcasestr.c: Likewise.
6722         * benchtests/bench-strcat.c: Likewise.
6723         * benchtests/bench-strchr.c: Likewise.
6724         * benchtests/bench-strcmp.c: Likewise.
6725         * benchtests/bench-strcpy.c: Likewise.
6726         * benchtests/bench-strcpy_chk.c: Likewise.
6727         * benchtests/bench-strlen.c: Likewise.
6728         * benchtests/bench-strncasecmp.c: Likewise.
6729         * benchtests/bench-strncmp.c: Likewise.
6730         * benchtests/bench-strncpy.c: Likewise.
6731         * benchtests/bench-strnlen.c: Likewise.
6732         * benchtests/bench-strpbrk.c: Likewise.
6733         * benchtests/bench-strrchr.c: Likewise.
6734         * benchtests/bench-strsep.c: Likewise.
6735         * benchtests/bench-strspn.c: Likewise.
6736         * benchtests/bench-strstr.c: Likewise.
6737         * benchtests/bench-strtok.c: Likewise.
6739 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6741         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
6742         stepping identification.
6743         (init_cpu_features): Add handle of Haswell.
6745 2016-11-25  Jim Meyering  <meyering@fb.com>
6747         [BZ #20386]
6748         Let gcc detect assert(a = 1) errors.
6749         * assert/assert.h (assert): Rewrite, retaining the old definintion
6750         when required, but otherwise putting the expression as-is in an "if"
6751         expression (hence, with no added parentheses) within a statement
6752         expression.
6754 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6756         * benchtests/Makefile (binaries-benchset): Depend on libsupport
6757         DSO.
6759 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
6761         * Rules (python-flags, python-invoke): New.
6762         ($(test-printers-out)): Use $(python-flags).
6764 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6766         * manual/arith.texi (Math Error Reporting): Document that sNaN
6767         arguments are not considered domain errors.
6769 2016-12-16  Zack Weinberg <zackw@panix.com>
6770             Florian Weimer <fweimer@redhat.com>
6771             Nick Mathewson <nickm@torproject.org>
6773         * string/explicit_bzero.c: New routine.
6774         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
6775         * string/Makefile (routines, strop-tests, tests): Add them.
6776         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
6777         * string/string.h [__USE_MISC]: Declare explicit_bzero.
6779         * debug/explicit_bzero_chk.c: New routine.
6780         * debug/Makefile (routines): Add it.
6781         * debug/tst-chk1.c: Test fortification of explicit_bzero.
6782         * string/bits/string3.h: Fortify explicit_bzero.
6784         * manual/string.texi: Document explicit_bzero.
6785         * NEWS: Mention addition of explicit_bzero.
6787         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
6788         data before returning, using explicit_bzero.
6789         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
6790         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6791         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6793         * include/string.h: Redirect internal uses of explicit_bzero
6794         to __explicit_bzero_chk[_internal].
6795         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
6796         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
6797         * sysdeps/arm/nacl/libc.abilist
6798         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
6799         * sysdeps/unix/sysv/linux/alpha/libc.abilist
6800         * sysdeps/unix/sysv/linux/arm/libc.abilist
6801         * sysdeps/unix/sysv/linux/hppa/libc.abilist
6802         * sysdeps/unix/sysv/linux/i386/libc.abilist
6803         * sysdeps/unix/sysv/linux/ia64/libc.abilist
6804         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
6805         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
6806         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
6807         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6808         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6809         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6810         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6811         * sysdeps/unix/sysv/linux/nios2/libc.abilist
6812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6816         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
6817         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
6818         * sysdeps/unix/sysv/linux/sh/libc.abilist
6819         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
6820         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
6821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
6822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
6823         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
6824         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
6825         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
6826         Add entries for explicit_bzero and __explicit_bzero_chk.
6828 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6830         * math/fenv.h
6831         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
6832         (FE_SNANS_ALWAYS_SIGNAL): New macro.
6833         * math/test-fe-snans-always-signal.c: New file.
6834         * math/Makefile (tests): Add test-fe-snans-always-signal.
6835         (CFLAGS-test-fe-snans-always-signal.c): New variable.
6836         * manual/arith.texi (Infinity and NaN): Document
6837         FE_SNANS_ALWAYS_SIGNAL.
6839 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6841         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
6842         bracket.
6844 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6846         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
6847         before calling execv.
6849 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6851         [BZ #20971]
6852         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
6853         overflow in pointer addition.
6854         * string/test-memchr.c (do_test): Add an argument to pass as
6855         the size on memchr.
6856         (test_main): Add check for SIZE_MAX.
6858 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6860         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
6861         (libm-calls): Add w_scalblnF.
6862         * math/w_scalbln.c: Remove.
6863         * math/w_scalblnf.c: Likewise.
6864         * math/w_scalblnl.c: Likewise.
6865         * math/w_scalbln_template.c: New file with type-generic
6866         implementation based on math/w_scalbln.c.
6867         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
6868         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
6870 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
6872         [BZ #20947]
6873         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
6874         either is a signaling NaN.
6875         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
6876         follow fmaxl more closely.
6877         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
6878         when either is a signaling NaN.
6879         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
6880         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
6881         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
6882         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
6883         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
6884         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
6885         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
6886         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
6887         (fmin_test_data): Likewise.
6889 2016-12-15  Andreas Schwab  <schwab@suse.de>
6891         * support/support_test_main.c (support_test_main): Don't shadow
6892         file-local variable test_pid.
6894 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
6896         [BZ #20947]
6897         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
6898         either is a signaling NaN.
6899         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
6901 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
6903         [BZ #20947]
6904         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
6905         when either is a signaling NaN.
6906         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
6908         * bits/long-double.h: New file.
6909         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
6910         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
6911         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
6912         * sysdeps/mips/bits/long-double.h: Likewise.
6913         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
6914         * math/Makefile (headers): Add bits/long-double.h.
6915         * misc/sys/cdefs.h: Include <bits/long-double.h>.
6916         * stdlib/strtold.c: Include <bits/long-double.h> instead of
6917         <bits/wordsize.h>.
6918         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
6919         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
6920         * math/math.h: Do not include <bits/mathdef.h>.
6921         * sysdeps/aarch64/bits/mathdef.h: Remove file.
6922         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
6923         inclusion.
6924         * sysdeps/ia64/bits/mathdef.h: Remove file.
6925         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
6926         * sysdeps/mips/bits/mathdef.h: Likewise.
6927         * sysdeps/powerpc/bits/mathdef.h: Likewise.
6928         * sysdeps/s390/bits/mathdef.h: Likewise.
6929         * sysdeps/sparc/bits/mathdef.h: Likewise.
6930         * sysdeps/x86/bits/mathdef.h: Likewise.
6931         * sysdeps/s390/s390-32/bits/wordsize.h
6932         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
6933         conditional code.
6934         * sysdeps/s390/s390-64/bits/wordsize.h
6935         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6936         Likewise.
6937         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
6938         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6939         Likewise.
6940         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
6941         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6942         Likewise.
6943         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
6944         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6945         Likewise.
6947         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
6948         <linux/falloc.h>.
6949         (FALLOC_FL_KEEP_SIZE): Remove.
6950         (FALLOC_FL_PUNCH_HOLE): Likewise.
6951         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
6952         (FALLOC_FL_ZERO_RANGE): Likewise.
6954 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6956         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
6958 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6960         * sysdeps/unix/sysv/linux/renameat.c: New file.
6961         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
6963         * sysdeps/unix/sysv/linux/rename.c: New file.
6964         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
6966 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
6968         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
6969         * string/strtok.c (strtok): Change to tailcall __strtok_r.
6970         * string/strtok_r.c (__strtok_r): Optimize for performance.
6971         * string/string-inlines.c (__old_strtok_r_1c): New function.
6972         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
6974 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6976         * math/Makefile (gen-libm-calls): Add w_log1pF.
6977         (libm-calls): Remove w_log1pF.
6978         * math/w_log1p.c: Remove.
6979         * math/w_log1pf.c: Likewise.
6980         * math/w_log1pl.c: Likewise.
6981         * math/w_log1p_template.c: New file with type-generic
6982         implementation based on math/w_log1p.c.
6983         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
6984         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
6986 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
6988         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
6990 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
6992         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6993         kernel version to 4.9.
6995 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
6997         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
6998         ($(inst_libdir)/libm.a): Fix rule to create the target only.
7000 2016-12-13  Andreas Schwab  <schwab@suse.de>
7002         * sysdeps/powerpc/dl-procinfo.c: Don't define
7003         _dl_powerpc_platforms.
7004         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
7005         constants instead of referencing _dl_powerpc_platforms.
7006         (_dl_platform_string): Remove.
7008 2016-12-13  Florian Weimer  <fweimer@redhat.com>
7010         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
7012 2016-12-13  Florian Weimer  <fweimer@redhat.com>
7014         * Rules (binaries-shared-tests, binaries-pie-tests)
7015         (binaries-static-tests): Link with $(link-extra-libs-tests).
7016         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
7017         Remove $(link-extra-libs-tests).
7019 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7021         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7022         (sysdep_routines): Add strncmp_power9.
7023         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7024         (strncmp): Add __strncmp_power9 to list of strncmp functions.
7025         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
7026         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7027         (strncmp): Add __strncmp_power9 to ifunc list.
7028         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
7030 2016-12-12  Florian Weimer  <fweimer@redhat.com>
7032         [BZ #17252]
7033         Add getentropy, getrandom.
7034         * stdlib/sys/random.h: New file.
7035         (headers): Add it.
7036         * stdlib/Makefile (routines): Add getentropy, getrandom.
7037         (tests): Add tst-getrandom.
7038         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
7039         * stdlib/getentropy.c: New file.
7040         * stdlib/getrandom.c: Likewise.
7041         * stdlib/tst-getrandom.c: Likewise.
7042         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
7043         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
7044         * manual/crypt.texi (Unpredictable Bytes): New section.
7045         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
7046         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
7047         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
7048         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7049         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7050         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7051         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7052         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7053         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7054         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7055         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7056         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7057         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7058         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7059         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7060         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7062         Likewise.
7063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7064         Likewise.
7065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7067         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7068         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7069         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7070         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7071         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7074         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7075         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7076         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7078 2016-12-10  Florian Weimer  <fweimer@redhat.com>
7080         [BZ #20956]
7081         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
7082         as additional compiler barriers.
7083         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
7084         (fn2, do_test): Declare with external linkage.
7085         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
7086         (do_test): Declare with external linkage.
7087         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
7088         (do_test): Declare with external linkage.
7089         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
7090         (do_test): Declare with external linkage.
7092 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
7094         * support/support_test_main.c (support_test_main): Use correct
7095         timeout.
7097 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
7098             Florian Weimer  <fweimer@redhat.com>
7100         [BZ #16421]
7101         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
7102         and __u6_addr32 members.
7103         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
7104         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
7105         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
7106         Use __u6_addr32.
7107         * inet/tst-checks.c: Use <support/test-driver.c>
7108         * inet/tst-checks-posix.c: New file.
7109         * inet/Makefile (tests): Add it.
7110         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
7112 2016-12-09  Florian Weimer  <fweimer@redhat.com>
7114         New subdirectory support for build and test infrastructure.
7115         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
7116         setting install-lib.
7117         * Makeconfig (link-extra-libs-tests): Define.
7118         (+link-pie-tests, +link-static-tests, +link-tests): Use
7119         link-extra-libs-tests.
7120         (rpath-dirs, all-subdirs): Add support.
7121         (built-modules): Add libsupport.
7122         (libsupport): Define.
7123         * support: New directory.
7124         * support/Makefile: New file.
7125         * support/check.c: Likewise.
7126         * support/check.h: Likewise.
7127         * support/delayed_exit.c: Likewise.
7128         * support/ignore_stderr.c: Likewise.
7129         * support/oom_error.c: Likewise.
7130         * support/set_fortify_handler.c: Likewise.
7131         * support/support.h: Likewise.
7132         * support/temp_file-internal.h: Likewise.
7133         * support/temp_file.c: Likewise.
7134         * support/test-driver.c: Likewise.
7135         * support/test-driver.h: Likewise.
7136         * support/test_main.c: Likewise.
7137         * support/write_message.c: Likewise.
7138         * support/xasprintf.c: Likewise.
7139         * support/xcalloc.c: Likewise.
7140         * support/xmalloc.c: Likewise.
7141         * support/xpthread_barrier_destroy.c: Likewise.
7142         * support/xpthread_barrier_init.c: Likewise.
7143         * support/xpthread_barrier_wait.c: Likewise.
7144         * support/xpthread_cancel.c: Likewise.
7145         * support/xpthread_check_return.c: Likewise.
7146         * support/xpthread_cond_wait.c: Likewise.
7147         * support/xpthread_create.c: Likewise.
7148         * support/xpthread_detach.c: Likewise.
7149         * support/xpthread_join.c: Likewise.
7150         * support/xpthread_mutex_lock.c: Likewise.
7151         * support/xpthread_mutex_unlock.c: Likewise.
7152         * support/xpthread_sigmask.c: Likewise.
7153         * support/xpthread_spin_lock.c: Likewise.
7154         * support/xpthread_spin_unlock.c: Likewise.
7155         * support/xrealloc.c: Likewise.
7156         * support/xsignal.h: Likewise.
7157         * support/xthread.h: Likewise.
7158         * support_tempfile.h: Likewise.
7159         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
7160         (TEST_DATA_LIMIT): Remove unused macro.
7161         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
7162         <support/check.h>.
7163         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
7164         (ignore_stderr, set_fortify_handler): Remove.  Now in
7165         <support/support.h>.
7166         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
7167         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
7168         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
7169         (xpthread_join): Remove.  Now in <support/xthread.h>.
7170         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
7171         Introduce legacy wrappers.
7172         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
7173         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
7174         (write_message): Remove.
7175         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
7176         test-skeleton.c.
7177         * io/test-open-tmpfile: Likewise.
7178         * io/tst-posix_fallocate-common.c: Likewise.
7179         * libio/tst-fseek.c: Likewise.
7180         * malloc/tst-malloc-backtrace.c: Likewise.
7181         * malloc/tst-malloc-fork-deadlock.c: Likewise.
7182         * malloc/tst-malloc-thread-exit.c: Likewise.
7183         * nptl/tst-cancel7.c: Likewise.
7184         * nptl/tst-cleanup0.c: Likewise.
7185         * posix/tst-posix_fadvise-common.c: Likewise.
7186         * rt/tst-shm.c: Likewise.
7187         * time/bug-getdate1.c: Likewise.
7188         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7189         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
7190         * elf/Makefile (tst-piemod1.so): Link against libsupport.
7192 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
7194         * Rules [$(run-built-tests) != no] (tests-expected): Add
7195         $(tests-printers).
7196         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
7198 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
7200         [BZ #20539]
7201         * math/Makefile (install-lib-ldscripts): Add libm.a.
7202         (install_subdir): Remove.
7203         (install-others): Add.
7204         ($(inst_libdir)/libm.a): Add rule for installation as
7205         linker script.
7206         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
7208 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
7210         * INSTALL: Regenerated.
7211         * Makeconfig: Add comments and whitespace to make the control flow
7212         clearer.
7213         (+link-printers-tests, +link-pie-printers-tests,
7214         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
7215         built-rtld-LDFLAGS, link-libc-rpath,
7216         link-libc-tests-after-rpath-link,
7217         link-libc-printers-tests): New.
7218         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
7219         link-libc-tests): Use the new variables as required.
7220         * Makerules ($(py-const)): New rule.
7221         generated: Add $(py-const).
7222         * README.pretty-printers: New file.
7223         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
7224         (others): Depend on $(py-const).
7225         (tests): Depend on $(tests-printers-programs) or
7226         $(tests-printers-out),
7227         as required.  Pass $(tests-printers) to merge-test-results.sh.
7228         * manual/install.texi: Add requirements for testing the pretty
7229         printers.
7230         * nptl/Makefile (gen-py-const-headers, pretty-printers,
7231         tests-printers, CFLAGS-test-mutexattr-printers.c
7232         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
7233         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
7234         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
7235         * nptl/nptl-printers.py: New file.
7236         * nptl/nptl_lock_constants.pysym: Likewise.
7237         * nptl/test-cond-printers.c: Likewise.
7238         * nptl/test-cond-printers.py: Likewise.
7239         * nptl/test-condattr-printers.c: Likewise.
7240         * nptl/test-condattr-printers.py: Likewise.
7241         * nptl/test-mutex-printers.c: Likewise.
7242         * nptl/test-mutex-printers.py: Likewise.
7243         * nptl/test-mutexattr-printers.c: Likewise.
7244         * nptl/test-mutexattr-printers.py: Likewise.
7245         * nptl/test-rwlock-printers.c: Likewise.
7246         * nptl/test-rwlock-printers.py: Likewise.
7247         * nptl/test-rwlockattr-printers.c: Likewise.
7248         * nptl/test-rwlockattr-printers.py: Likewise.
7249         * scripts/gen-py-const.awk: Likewise.
7250         * scripts/test_printers_common.py: Likewise.
7251         * scripts/test_printers_exceptions.py: Likewise.
7253 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
7255         * scripts/build-many-glibcs.py (Context.__init__): Take strip
7256         argument.
7257         (Glibc.build_glibc): Strip installed shared libraries if
7258         requested.
7259         (get_parser): Add --strip option.
7260         (main): Update Context call.
7262 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7263             Dominik Vogt  <vogt@linux.vnet.ibm.com>
7265         [BZ #20847]
7266         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
7267         array bounds for else branch.
7268         (__execvpe): Style fixes.
7269         * posix/tst-vfork3.c (run_script): New function.
7270         (create_script): Likewise.
7271         (do_test): Use run_script internal function.
7272         (do_prepare): Use create_script internal function.
7274 2016-12-07  Andreas Schwab  <schwab@suse.de>
7276         * sysdeps/unix/sysv/linux/x86/elision-conf.h
7277         (__elision_available): Don't declare.
7278         * sysdeps/unix/sysv/linux/x86/elision-conf.c
7279         (__elision_available): Don't define.
7280         (elision_init): Don't set __elision_available.
7282 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
7284         [BZ #20940]
7285         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
7286         return Inf for arguments Inf and sNaN.
7287         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
7288         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7289         Likewise.
7290         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7291         Likewise.
7292         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7293         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
7294         for arguments Inf and sNaN.  When returning a NaN, compute it by
7295         arithmetic on the arguments.
7296         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
7297         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
7298         arguments.
7300 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
7302         [BZ #20916]
7303         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
7304         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
7305         to compute result.
7306         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7307         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
7309 2016-12-05  Torvald Riegel  <triegel@redhat.com>
7311         * include/atomic.h (__atomic_check_size_ls): New.
7312         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
7313         atomic_store_release): Use it.
7314         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
7315         (elision_adapt, ELIDE_LOCK): Use atomics.
7316         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
7317         atomics and improve code comments.
7318         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
7319         (__lll_trylock_elision): Likewise.
7321 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7323         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
7324         programs.
7326 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
7328         [BZ #20916]
7329         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
7330         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
7331         arguments to compute result.
7332         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
7333         1 for arguments (sNaN, 0) or (1, sNaN).
7334         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7335         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7337         [BZ #20919]
7338         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
7339         NaN first argument when raised to power 0.
7340         * math/w_pow.c (__pow): Do not check for NaN or zero results from
7341         raising to power zero.
7342         * math/w_powf.c (__powf): Likewise.
7343         * math/w_powl.c (__powl): Likewise.
7344         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
7345         pow (0, 0) or pow (NaN, 0).
7347 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
7349         [BZ #20918]
7350         * configure.ac: Test for static NSS cryptographic libraries and set
7351         libc_cv_static_nss_crypt.
7352         * configure: Regenerate.
7353         * config.make.in (static-nss-crypt): Define.
7354         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
7355         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
7356         (CFLAGS-tst-linkall-static.c): Define.
7357         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
7358         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
7359         ($(objpfx)tst-linkall-static): Define.
7360         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
7361         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
7363 2016-12-02  Florian Weimer  <fweimer@redhat.com>
7365         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
7366         (one-hundred, tst-tls-many-dynamic-modules): Define.
7367         (modules-names): Add $(tst-tls-many-dynamic-modules).
7368         (tst-tls-manydynamic%mod.os): Build with special preprocessor
7369         macros.
7370         (tst-tls-manydynamic): Link against libdl, libpthread.
7371         (tst-tls-manydynamic.out): The test needs the test modules at run
7372         time.
7373         * elf/tst-tls-manydynamic.c: New file.
7374         * elf/tst-tls-manydynamic.h: Likewise.
7375         * elf/tst-tls-manydynamicmod.c: Likewise.
7377 2016-12-02  Florian Weimer  <fweimer@redhat.com>
7379         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
7380         (TLS_DTV_UNALLOCATED): Add.
7381         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
7382         offsets.
7384 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
7386         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7388 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
7390         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
7391         Add -fno-optimize-sibling-calls.
7393 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
7395         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
7396         New declaration.
7397         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
7398         macro.
7399         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
7400         New macro.
7401         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
7402         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
7403         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
7404         (llogbf): Likewise.
7405         (llogbl): Likewise.
7406         * math/Makefile (gen-libm-calls): Add w_llogbF.
7407         (tests): Add test-fp-llogb-constants.
7408         * math/w_llogb_template.c: New file.  Based on
7409         math/w_ilogb_template.c.
7410         * math/libm-test.inc (llogb_test_data): New array.
7411         (llogb_test): New function.
7412         (main): Call llogb_test.
7413         * math/test-fp-llogb-constants.c: New file.  Based on
7414         math/test-fp-ilogb-constants.c.
7415         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
7416         (do_test): Call check_return_llogb.
7417         * math/test-tgmath.c (NCALLS): Increase to 126.
7418         (F(compile_test)): Call llogb.
7419         (F(llogb)): New function.
7420         * manual/math.texi (Exponents and Logarithms): Document llogb,
7421         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
7422         * manual/libm-err-tab.pl (@all_functions): Add llogb.
7423         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
7424         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
7425         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
7426         (CFLAGS-nldbl-llogb.c): New variable.
7427         * sysdeps/nacl/libm.abilist: Update.
7428         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7429         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7430         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7431         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7432         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7433         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7434         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7435         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7436         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7437         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7438         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7439         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7441         Likewise.
7442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7443         Likewise.
7444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7445         Likewise.
7446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7447         Likewise.
7448         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7449         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7450         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7451         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7452         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7454         Likewise.
7455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7456         Likewise.
7457         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7458         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7459         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7461 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
7463         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
7464         _Float128 instead of long double.
7465         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
7467         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
7468         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
7469         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
7470         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
7471         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
7472         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
7473         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
7474         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
7475         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
7476         Likewise.
7478 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7480         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
7481         Remove redirection to __strrchr_ppc.
7483 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7485         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7486         (sysdep_routines): Add strcmp_power9.
7487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7488         (strcmp): Add __strcmp_power9 to list of strcmp functions.
7489         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
7490         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7491         (strcmp): Add __strcmp_power9 to ifunc list.
7492         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
7494 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
7496         * bits/fp-logb.h: New file.
7497         * sysdeps/ia64/bits/fp-logb.h: Likewise.
7498         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
7499         * sysdeps/x86/bits/fp-logb.h: Likewise.
7500         * math/Makefile (headers): Add bits/fp-logb.h.
7501         * math/math.h: Include <bits/fp-logb.h>.
7502         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
7503         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
7504         * bits/mathdef.h (FP_ILOGB0): Remove.
7505         (FP_ILOGBNAN): Likewise.
7506         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
7507         (FP_ILOGBNAN): Likewise.
7508         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
7509         (FP_ILOGBNAN): Likewise.
7510         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
7511         (FP_ILOGBNAN): Likewise.
7512         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
7513         (FP_ILOGBNAN): Likewise.
7514         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
7515         (FP_ILOGBNAN): Likewise.
7516         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
7517         (FP_ILOGBNAN): Likewise.
7518         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
7519         (FP_ILOGBNAN): Likewise.
7520         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
7521         (FP_ILOGBNAN): Likewise.
7522         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
7523         (FP_ILOGBNAN): Likewise.
7525         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
7526         time module.
7527         (Context.__init__): Initialize self.logsdir_old.
7528         (Context.run_builds): Handle bot action.
7529         (Context.bot_cycle): Copy logs directory before running builds.
7530         (Context.bot_run_self): Take argument for whether to check
7531         subprocess result.  Flush stdout before running subprocess.
7532         (Context.bot): New function.
7533         (get_parser): Allow bot action.
7535 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
7537         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
7538         Import email.mime.text, email.utils and smtplib modules.
7539         (Context.__init__): Initialize self.bot_config_json.
7540         (Context.run_builds): Handle bot-cycle action.
7541         (Context.load_bot_config_json): New function.
7542         (Context.part_build_old): Likewise.
7543         (Context.bot_cycle): Likewise.
7544         (Context.bot_build_mail): Likewise.
7545         (Context.bot_run_self): Likewise.
7546         (get_parser): Allow bot-cycle action.
7548 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7550         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
7551         Remove redirection to __stpcpy_ppc.
7553 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7555         Remove __libc_memalign from ld.so because it is unused.
7556         * elf/dl-minimal.c: Update comment on the malloc implementation.
7557         (malloc): Renamed from __libc_memalign, replacing the original
7558         malloc implementation.  Replace the align parameter with
7559         MALLOC_ALIGNMENT.
7560         * elf/Versions (ld): Update comment and remove __libc_memalign.
7561         * sysdeps/nacl/ld.abilist: Likewise.
7562         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
7563         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
7564         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
7565         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
7566         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
7567         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
7568         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
7569         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
7570         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
7571         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
7572         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
7573         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
7574         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
7575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
7576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7578         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
7579         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
7580         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
7581         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
7582         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
7583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
7584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
7585         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
7586         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
7587         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
7588         * sysdeps/generic/localplt.data (ld.so): Likewise.
7589         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7590         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7591         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7592         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7593         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7594         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7595         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7596         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
7597         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7599         (ld.so): Likewise.
7600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7601         (ld.so): Likewise.
7602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7603         Likewise.
7604         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7605         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7606         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
7607         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
7608         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7610 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7612         [BZ #16628]
7613         Implement _dl_catch_error, _dl_signal_error in libc.so.
7614         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
7615         (catch_hook): Define as thread-local or regular variable,
7616         depending on DL_ERROR_BOOTSTRAP.
7617         (CATCH_HOOK): Remove.
7618         (dl_signal_error, _dl_catch_error): Use
7619         catch_hook.  Add hidden definition for libc.
7620         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
7621         for DL_ERROR_BOOTSTRAP only.
7622         * elf/dl-error.c: New file.
7623         * elf/dl-error-minimal.c: Likewise.
7624         * elf/tst-latepthread.c: Likewise.
7625         * elf/tst-latepthreadmod.c: Likewise.
7626         * elf/Makefile (routines): Add dl-error.
7627         (dl-routines): Remove dl-error.
7628         (rtld-routines): Add dl-error-minimal.
7629         [build-shared] (tests): Add tst-latepthread.
7630         (module-names): Add tst-latepthreadmod.
7631         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
7632         symbol.
7633         (tst-latepthreadmod.so): Link against libpthread.
7634         (tst-latepthread): Link against libdbl.
7635         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
7636         _dl_catch_error.
7637         [ld] (GLIBC_PRIVATE): Likewise.
7638         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
7639         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
7640         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
7641         directly.
7642         * elf/dl-tsd.c: Remove file.
7643         * elf/rtld.c (_rtld_global_ro): Remove initializers for
7644         _dl_catch_error, _dl_signal_error.
7645         (_dl_initial_error_catch_tsd): Remove definition.
7646         (do_preload): Remove initialization of dl_error_catch_tsd.
7647         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
7648         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
7649         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7650         * dlfcn/dlopen.c (dlopen_doit): Likewise.
7651         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
7652         set dl_error_catch_tsd.
7653         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
7654         _dl_error_catch_tsd member.
7655         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
7656         members.
7657         (_dl_initial_error_catch_tsd): Remove declaration.
7658         (_dl_dprintf): Provide definition for use outside of ld.so.
7659         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
7660         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
7661         prototype for libc.
7662         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
7663         _dl_catch_error.
7664         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7665         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7666         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7667         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7668         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7669         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7670         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7671         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
7672         Likewise.
7673         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7675         (ld.so): Likewise.
7676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7677         (ld.so): Likewise.
7678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7679         Likewise.
7680         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7681         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7682         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
7683         Likewise.
7684         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
7685         Likewise.
7686         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7688 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7690         [BZ #4099]
7691         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
7692         _IO_BUFSIZ (8192).
7694 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
7696         * PROJECTS: Remove file.
7698 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7700         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
7702 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
7703             Steve Ellcey  <sellcey@caviumnetworks.com>
7705         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
7706         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
7707         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
7708         fxstatat.
7709         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
7710         lxstat.
7711         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
7712         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
7713         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
7714         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
7715         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
7716         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
7717         __xstat.
7719 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7721         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
7722         Define.
7723         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
7724         definition.
7726 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7728         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
7729         version and turn into strong alias.  Remove compat symbol.
7731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7732         (__longjmp): Remove.
7734 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
7736         * bits/fp-fast.h: New file.
7737         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
7738         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
7739         * math/Makefile (headers): Add bits/fp-fast.h.
7740         * math/math.h: Include <bits/fp-fast.h>.
7741         * bits/mathdef.h (FP_FAST_FMA): Remove.
7742         (FP_FAST_FMAF): Likewise.
7743         (FP_FAST_FMAL): Likewise.
7744         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
7745         (FP_FAST_FMAF): Likewise.
7746         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
7747         (FP_FAST_FMAF): Likewise.
7748         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
7749         (FP_FAST_FMAF): Likewise.
7750         (FP_FAST_FMAL): Likewise.
7751         * sysdeps/arm/bits/mathdef.h: Remove file.
7752         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
7753         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7754         * sysdeps/tile/bits/mathdef.h: Likewise.
7756 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
7758         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
7759         * math/w_ilogb.c: Remove.
7760         * math/w_ilogbf.c: Likewise.
7761         * math/w_ilogbl.c: Likewise.
7762         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
7763         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
7764         * math/Makefile (gen-libm-calls): Add w_ilogbF.
7765         (libm-calls): Remove w_ilogbF.
7766         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
7767         (LDOUBLE_ilogbl_libm_version): New macro.
7769         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
7771         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
7772         [!__STRICT_ANSI__ && !__cplusplus].
7774 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
7776         [BZ #20750]
7777         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
7778         of PIC.
7780 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
7781             Yury Norov  <ynorov@caviumnetworks.com>
7782             Steve Ellcey  <sellcey@caviumnetworks.com>
7784         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
7785         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
7786         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
7787         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
7788         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
7789         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
7790         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
7791         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
7792         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
7793         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
7794         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
7795         to get correct reg name for ILP32.
7796         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
7797         (RELA_SIZE): New Macro.
7798         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
7799         to support ILP32.
7800         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
7801         cast for ILP32 mode.
7802         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
7803         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
7804         * sysdeps/aarch64/memset.S (__memset): Ditto.
7805         * sysdeps/aarch64/strchr.S (strchr): Ditto.
7806         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
7807         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
7808         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
7809         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
7810         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
7811         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
7812         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
7813         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
7814         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
7815         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
7816         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
7817         change PTR_MANGLE call to use register numbers instead of names.
7818         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
7819         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
7820         ILP32 mode, change PTR_MANGLE calls to use register numbers.
7821         * sysdeps/aarch64/start.S (_start): Ditto.
7822         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
7823         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
7824         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
7825         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
7826         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
7827         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
7828         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
7829         Make defined values dependent on __ILP32__.
7830         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
7831         (sem_t): Change __align type.
7832         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
7833         PTR_SIZE): New Macros.
7834         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
7835         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
7836         Set when in ILP32 mode.
7837         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
7838         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
7839         Set elf flags for ILP32.
7840         (add_system_dir): Set ILP32 library directories.
7841         * sysdeps/unix/sysv/linux/aarch64/init-first.c
7842         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
7843         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
7844         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
7845         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
7846         New Macros.
7847         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
7849 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
7851         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
7852         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
7853         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
7855 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
7857         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
7858         <asm/cachectl.h>.
7860 2016-11-27  Zack Weinberg  <zackw@panix.com>
7862         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
7863         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
7865 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7867         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
7868         error_t to fix usage in C++ programs.
7870 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
7872         * scripts/build-many-glibcs.py: Import datetime module.
7873         (Context.__init__): Load JSON build state.  Initialize list of
7874         status logs.
7875         (Context.run_builds): Update saved build state.
7876         (Context.add_makefile_cmdlist): Update list of status logs.
7877         (Context.load_build_state_json): New function.
7878         (Context.store_build_state_json): Likewise.
7879         (Context.clear_last_build_state): Likewise.
7880         (Context.update_build_state): Likewise.
7881         (CommandList.status_logs): Likewise.
7883 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
7885         * scripts/build-many-glibcs.py (Context.__init__): Save text of
7886         script being executed.
7887         (Context.get_script_text): New function.
7888         (Context.exec_self): Likewise.
7889         (Context.checkout): Re-exec script if changed by checkout process.
7891 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
7893         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7894         (setpayloadsig): New declaration.
7895         * math/Versions (setpayloadsig): New libm symbol at version
7896         GLIBC_2.25.
7897         (setpayloadsigf): Likewise.
7898         (setpayloadsigl): Likewise.
7899         * math/Makefile (libm-calls): Add s_setpayloadsigF.
7900         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
7901         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
7902         (setpayloadsig_test_data): New array.
7903         (setpayloadsig_test): New function.
7904         (main): Call setpayloadsig_test.
7905         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
7906         setpayloadsigf and setpayloadsigl.
7907         * manual/libm-err-tab.pl: Update comment on interfaces without
7908         ulps tabulated.
7909         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
7910         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
7911         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
7912         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
7913         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
7914         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
7915         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7916         setpayloadsig.
7917         (CFLAGS-nldbl-setpayloadsig.c): New variable.
7918         * sysdeps/nacl/libm.abilist: Update.
7919         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7920         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7921         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7922         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7923         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7924         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7925         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7926         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7927         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7928         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7929         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7930         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7932         Likewise.
7933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7934         Likewise.
7935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7936         Likewise.
7937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7938         Likewise.
7939         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7940         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7941         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7942         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7943         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7945         Likewise.
7946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7947         Likewise.
7948         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7949         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7950         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7952         * scripts/build-many-glibcs.py: Import json module.
7953         (Context.__init__): Take replace_sources argument.  Load
7954         versions.json.
7955         (Context.load_versions_json): New function.
7956         (Context.store_json): Likewise.
7957         (Context.store_versions_json): Likewise.
7958         (Context.set_component_version): Likewise.
7959         (Context.checkout): Update versions.json.  Check for and handle
7960         changes of version.  Prefer previously explicitly specified
7961         version to default version.
7962         (Context.checkout_vcs): Return a revision identifier.
7963         (Context.git_checkout): Likewise.
7964         (Context.gcc_checkout): Likewise.
7965         (get_parser): Add --replace-sources option.
7966         (main): Pass replace_sources argument to Context call.
7968 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7970         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
7971         * nptl/allocatestack.c (allocate_stack): Likewise.
7972         (__reclaim_stacks): Likewise.
7973         (setxid_signal_thread): Obtain pid through syscall.
7974         * nptl/nptl-init.c (sigcancel_handler): Likewise.
7975         (sighandle_setxid): Likewise.
7976         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
7977         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7978         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
7979         Likewise.
7980         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
7981         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
7982         comment.
7983         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
7984         * nptl/descr.h (struct pthread): Change comment about pid value.
7985         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
7986         pid assert.
7987         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
7988         Do not set pid value.
7989         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
7990         pid cache check.
7991         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
7992         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
7993         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
7994         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
7995         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
7996         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7997         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
7998         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
7999         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
8000         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
8001         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
8002         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8003         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
8004         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8005         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
8006         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
8007         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8008         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
8009         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
8010         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
8011         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
8012         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8013         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
8014         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
8015         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
8016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8018         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8019         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8020         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8021         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
8022         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
8023         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
8024         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8025         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
8026         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8027         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
8028         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8029         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
8030         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
8031         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8032         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
8033         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
8034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8036         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8037         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8038         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8039         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8040         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8041         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
8042         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8043         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
8044         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
8045         struct access.
8046         (clone_test): Remove function.
8047         (do_test): Rewrite to take in consideration pid is not cached anymore.
8049 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
8051         * bits/flt-eval-method.h: New file.
8052         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
8053         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
8054         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
8055         * math/Makefile (headers): Add bits/flt-eval-method.h.
8056         * math/math.h: Include <bits/flt-eval-method.h>.
8057         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
8058         [__USE_ISOC99] (double_t): Likewise.
8059         * bits/mathdef.h (float_t): Remove.
8060         (double_t): Likewise.
8061         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
8062         (double_t): Likewise.
8063         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
8064         (double_t): Likewise.
8065         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
8066         (double_t): Likewise.
8067         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
8068         (double_t): Likewise.
8069         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
8070         (double_t): Likewise.
8071         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
8072         (double_t): Likewise.
8073         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
8074         (double_t): Likewise.
8075         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
8076         (double_t): Likewise.
8077         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
8078         (double_t): Likewise.
8079         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
8080         (double_t): Likewise.
8081         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
8082         (double_t): Likewise.
8083         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
8084         (double_t): Likewise.
8085         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
8086         (double_t): Likewise.
8088 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
8090         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
8091         instead of PIC.
8093 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8095         [BZ #20859]
8096         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
8097         (-0x7fffffff) instead of 0x80000001.
8098         * math/test-fp-ilogb-constants.c: New file.
8099         * math/Makefile (tests): Add test-fp-ilogb-constants.
8101 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
8103         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
8104         (_init): Use it in place of hardcoded R_MIPS_JALR.
8105         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
8106         (_init): Use it in place of hardcoded R_MIPS_JALR.
8107         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
8108         (_init): Use it in place of hardcoded R_MIPS_JALR.
8110 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8112         [BZ #20787]
8113         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
8114         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
8115         (double_t): Do not define to double if [__x86_64__] when
8116         __FLT_EVAL_METHOD__ is nonzero.
8117         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
8118         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
8119         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8120         test-flt-eval-method-387 and test-flt-eval-method-sse.
8121         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
8122         variable.
8123         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
8125 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
8127         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
8128         use of -fno-isolate-erroneous-paths options for tilepro.
8130 2016-11-23  Florian Weimer  <fweimer@redhat.com>
8132         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
8133         structure initialization is no longer needed.
8135 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8137         [BZ #20855]
8138         * bits/mathdef.h (float_t): Define to float.
8139         * math/test-flt-eval-method.c: New file.
8140         * math/Makefile (tests): Add test-flt-eval-method.
8141         (CFLAGS-test-flt-eval-method.c): New variable.
8143 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
8145         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
8146         and __fstatfs.  Make them aliases of __fstatfs64 if
8147         STATFS_IS_STATFS64 is set to non-zero.
8148         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
8149         and __statfs64.
8150         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
8151         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
8152         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
8153         for __statfs and statfs.
8154         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
8155         to 0.
8156         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
8157         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
8158         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
8159         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
8160         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
8161         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
8162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
8163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
8164         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
8165         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
8166         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
8167         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
8169 2016-11-22  Andreas Schwab  <schwab@suse.de>
8171         * misc/mkstemp.c: Include <fcntl.h>.
8172         * misc/mkstemps.c: Likewise.
8173         * misc/mkostemp.c: Likewise.
8174         * misc/mkostemps.c: Likewise.
8176 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
8178         [BZ #20847]
8179         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
8180         array bounds.
8181         (__execvpe): Likewise.
8183 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
8185         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
8186         -fno-isolate-erroneous-paths options for tilepro.
8188 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
8190         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
8191         to 0 when in 32 bit mode.
8192         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
8193         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
8194         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
8195         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
8196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
8197         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
8198         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
8199         XSTAT_IS_XSTAT64 test.
8200         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
8201         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
8202         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
8203         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
8204         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
8205         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
8206         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
8207         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
8208         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
8209         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
8210         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
8212 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
8214         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8215         (setpayload): New declaration.
8216         * math/Versions (setpayload): New libm symbol at version
8217         GLIBC_2.25.
8218         (setpayloadf): Likewise.
8219         (setpayloadl): Likewise.
8220         * math/Makefile (libm-calls): Add s_setpayloadF.
8221         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
8222         test_Ff_b1_data.
8223         (RUN_TEST_Ff_b1): New macro.
8224         (RUN_TEST_LOOP_Ff_b1): Likewise.
8225         (canonicalize_test_data): Update type.
8226         (setpayload_test_data): New array.
8227         (setpayload_test): New function.
8228         (main): Call setpayload_test.
8229         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
8230         setpayloadf and setpayloadl.
8231         * manual/libm-err-tab.pl: Update comment on interfaces without
8232         ulps tabulated.
8233         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
8234         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
8235         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
8236         Likewise.
8237         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
8238         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
8239         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
8240         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
8241         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
8242         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
8243         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
8244         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
8245         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
8246         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8247         setpayload.
8248         (CFLAGS-nldbl-setpayload.c): New variable.
8249         * sysdeps/nacl/libm.abilist: Update.
8250         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8251         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8252         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8253         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8254         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8255         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8256         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8257         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8258         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8259         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8260         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8261         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8263         Likewise.
8264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8265         Likewise.
8266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8267         Likewise.
8268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8269         Likewise.
8270         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8271         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8272         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8273         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8274         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8276         Likewise.
8277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8278         Likewise.
8279         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8280         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8281         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8283 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8285         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
8286         * include/unistd.h: Extend comment about __access_noerrno return
8287         semantics.
8288         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
8289         (access_common): Correct typo for EACCES.
8291 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
8293         * sysdeps/tile/math-tests.h: New file.
8295         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
8296         (__old_set_dataplane): Rename from set_dataplane and make a
8297         compatibility symbol.
8298         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
8299         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
8300         sys/dataplane.h.
8302 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
8304         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
8305         script quote words in command output to log suitably for input to
8306         the shell.
8308 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
8309             Maciej W. Rozycki  <macro@imgtec.com>
8311         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
8312         `.Lno_weak_fn' label.
8313         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
8314         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
8316 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8317             Yury Norov  <ynorov@caviumnetworks.com>
8319         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
8320         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
8321         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8322         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
8323         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8324         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
8325         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8326         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8327         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8328         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
8329         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8330         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
8331         (sysdep_routines): Remove oldgetrlimit64.
8332         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
8333         (sysdep_routines): Likewise.
8334         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
8335         (sysdep_routines): Likewise.
8336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8337         [$(subdir) = resource] (sysdep_routines): Likewise.
8338         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
8339         [$(subdir) = resource] (sysdep_routines): Likewise.
8340         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
8341         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
8342         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
8343         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
8344         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
8345         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
8346         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
8347         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
8348         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
8349         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
8350         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
8351         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
8352         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
8353         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
8354         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
8355         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
8356         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
8357         setrlimit and getrlimit.
8358         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8359         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8360         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
8361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
8363         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8364         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
8365         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8366         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8367         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
8368         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
8369         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
8370         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
8371         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
8372         (__old_getrlimit64): Add compatibility symbol.
8373         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
8375 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
8377         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
8378         newly built gmp, mpfr and mpc.
8380         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
8382 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
8384         * conform/Makefile (linknamespace-libs): Rename to
8385         linknamespace-libs-thr.
8386         (linknamespace-libs-posix): New variable.
8387         (linknamespace-libs-xsi): Likewise.
8388         (linknamespace-libs-XPG3): Include libcrypt.a.
8389         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
8390         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
8391         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
8392         (linknamespace-libs-XOPEN2K): Likewise.
8393         (linknamespace-libs-XOPEN2K8): Likewise.
8394         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
8396         [BZ #20829]
8397         * stdio-common/Versions (__snprintf): Add to version
8398         GLIBC_PRIVATE.
8399         * include/stdio.h (__snprintf): Use libc_hidden_proto.
8400         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
8401         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
8402         of snprintf.
8403         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8405 2016-11-16  Zack Weinberg  <zackw@panix.com>
8407         * string/string.h: Remove obsolete comment stating that
8408         strcoll_l and strxfrm_l have not yet been standardized.
8410 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8412         * hurd/hurd.h (__hurd_fail_noerrno): New function.
8413         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
8414         __access_noerrno.
8415         * io/access.c (__access_noerrno): New function.
8416         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
8417         (hurd_fail_seterrno): Likewise.
8418         (access_common): Likewise.
8419         (__access_noerrno): Likewise.
8420         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
8421         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
8422         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
8423         macro.
8425 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
8427         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
8428         Only declare fpregs if [__SH_FPU_ANY__].
8430 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
8432         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
8433         Make code unconditional.
8434         [!(__SH4__ || __SH4A__)]: Remove conditional code.
8436 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
8438         * manual/sysinfo.texi (S_APPEND): Delete.
8439         (S_IMMUTABLE): Likewise.
8441 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
8442             Magnus Granberg  <zorry@gentoo.org>
8443             Mike Frysinger  <vapier@gentoo.org>
8445         [BZ #20662]
8446         * configure.ac (libc_cv_predef_stack_protector): Also check for
8447         __stack_chk_fail_local symbols.
8448         * configure: Regenerated.
8450 2016-11-15  Florian Weimer  <fweimer@redhat.com>
8452         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
8453         (libc_hidden_def): Remove redefinition.
8454         (__sigsetjmp): Add hidden definition.
8455         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
8456         (libc_hidden_def): Remove redefinition.
8457         (__sigsetjmp): Add hidden definition.
8459 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
8461         * scripts/build-many-glibcs.py (os.path): Do not import.
8462         (Context): Inherit explicitly from object.  Remove blank line
8463         between class and docstring.
8464         (Config): Likewise.
8465         (Glibc): Likewise.
8466         (Command): Likewise.
8467         (CommandList): Likewise.
8468         (Context.write_files): Store chmod mode in a variable.
8470         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
8471         LIBC_SLIBDIR_RTLDDIR for tilegx32.
8472         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
8474 2016-11-14  Zack Weinberg  <zackw@panix.com>
8476         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
8477         creating or re-creating it.
8479         * string/bits/string2.h: Fix typo in comment.
8481 2016-11-14  Zack Weinberg  <zackw@panix.com>
8483         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
8484         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
8485         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
8486         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
8487         of redirected function names.
8489         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
8490         as well.  Document that MESSAGE must be a single string literal.
8492 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
8494         * scripts/build-many-glibcs.py: New file.
8496         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
8497         (do_test): Disable -Wmaybe-uninitialized around uses of
8498         except_mask.
8500         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
8502 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
8504         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
8505         (atomic_store_release): Provide tilepro-specific implementations.
8507 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
8509         * math/math.h (__MATH_TG): New macro.
8510         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
8511         [__USE_ISOC99] (signbit): Likewise.
8512         [__USE_ISOC99] (isfinite): Likewise.
8513         [__USE_ISOC99] (isnan): Likewise.
8514         [__USE_ISOC99] (isinf): Likewise.
8515         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
8516         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
8517         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
8518         __MATH_TG and __MATH_EVAL_FMT2.
8519         * sysdeps/generic/math_private.h (fabs_tg): Define using
8520         __MATH_TG.
8521         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
8522         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
8523         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
8524         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
8525         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
8526         macro.
8527         (__iscanonical): Likewise.
8528         (iscanonical): Define using __MATH_TG.
8530 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8532         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
8533         guards.
8535         * sysdeps/unix/sysv/linux/access.c: New file.
8536         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
8538 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
8540         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
8541         and __WORDSIZE32_PTRDIFF_LONG.
8543 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8545         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8547 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8549         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
8550         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
8551         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
8552         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
8553         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
8554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
8555         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
8556         * sysdeps/unix/sysv/linux/truncate.c: New file.
8557         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
8558         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
8559         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
8560         Remove.
8561         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
8562         Likewise.
8564         * posix/tst-truncate-common.c: New file.
8565         * posix/tst-truncate.c: Use tst-truncate-common.c.
8566         * posix/tst-truncate64.c: Likewise and add LFS tests.
8567         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
8568         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
8569         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
8570         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
8571         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
8572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
8573         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
8574         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
8575         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
8576         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
8577         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
8578         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
8579         Remove.
8580         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
8581         Likewise.
8583 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
8585         [BZ #20790]
8586         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
8587         to MAXLINESIZE.
8588         * sunrpc/bug20790.x: New file.
8589         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
8590         variable.
8591         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
8592         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
8594         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
8596         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
8598         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
8599         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
8600         calloc, realloc, free, memalign and __libc_memalign rather than
8601         making them optional.
8603         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
8604         for libc.so.
8606 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8608         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
8609         ptw-lseek64.
8610         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
8611         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
8612         Likewise.
8613         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
8614         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
8615         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
8616         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
8617         * sysdeps/unix/sysv/linux/lseek.c: New file.
8618         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
8619         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
8620         __libc_lseek64 from auto-generation.
8621         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8622         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
8624 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8626         * nptl/tst-basic1.c (tf, do_test): Use write_message.
8627         * nptl/tst-cleanup1.c (do_test): Likewise.
8628         * nptl/tst-cleanup3.c (do_test): Likewise.
8629         * nptl/tst-key1.c (do_test): Likewise.
8630         * nptl/tst-key2.c (tf, do_test): Likewise.
8631         * nptl/tst-key3.c (tf, do_test): Likewise.
8632         * nptl/tst-stdio1.c (do_test): Likewise.
8633         * nptl/tst-stdio2.c (do_test): Likewise.
8635         * nptl/tst-kill3.c (handler): Use write_message in place of write.
8636         * nptl/tst-kill6.c (handler): Likewise.
8637         * nptl/tst-tls2.c (CB): Likewise.
8638         * nptl/tst-tls3.c (CB): Likewise.
8640 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
8642         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
8644 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
8645             Steve Ellcey  <sellcey@caviumnetworks.com>
8647         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
8648           __ASSUME_ST_INO_64_BIT as 0
8649         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
8650         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
8651           over the code where __ASSUME_ST_INO_64_BIT is used.
8652         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
8653         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
8654         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8656 2016-11-07  Florian Weimer  <fweimer@redhat.com>
8658         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8659         Document ABI exposure of the __kind offset.
8660         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8661         Mention reason for the __kind offset exposure in the ABI.
8662         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8663         Likewise.
8664         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8665         Likewise.
8666         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8667         Likewise.
8668         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
8669         (struct __pthread_mutex_s): Likewise.
8670         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8671         Likewise.
8672         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8673         Likewise.
8674         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8675         Likewise.
8676         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8677         Likewise.
8678         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8679         Likewise.
8680         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8681         Likewise.
8682         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
8683         (struct __pthread_mutex_s): Likewise.
8684         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8685         (struct __pthread_mutex_s): Likewise.
8686         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
8687         Likewise.
8689 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
8691         * test-skeleton.c: Document do_test usage.
8693 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
8695         * iconv/gconv.h (__gconv_info): Define __data element using a
8696         zero-length array.
8698 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
8700         * math/test-tgmath2.c: Split up test function.
8702 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8704         * Rules (tests-expected): New variable, depending on
8705         $(run-built-tests).
8706         (tests): Pass $(tests-expected) to merge-test-results.sh, not
8707         $(tests).
8709         * Rules [$(run-built-tests) = no] (tests): Do not depend on
8710         $(tests-unsupported).
8712 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8714         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
8715         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
8717 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8719         [BZ #20768]
8720         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
8721         __fegetenv instead of fegetenv.
8723         [BZ #14139]
8724         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
8725         (find_files): Obtain platform name from libm-test-ulps-name and
8726         store in %pplatforms.
8727         (canonicalize_platform): Remove.
8728         (print_platforms): Use $pplatforms directly.
8729         (by_platforms): Do not allow for platforms missing from
8730         %pplatforms.
8731         * sysdeps/aarch64/libm-test-ulps-name: New file.
8732         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
8733         * sysdeps/arm/libm-test-ulps-name: Likewise.
8734         * sysdeps/generic/libm-test-ulps-name: Likewise.
8735         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
8736         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
8737         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
8738         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
8739         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
8740         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
8741         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
8742         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
8743         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
8744         * sysdeps/nios2/libm-test-ulps-name: Likewise.
8745         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
8746         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
8747         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
8748         * sysdeps/sh/libm-test-ulps-name: Likewise.
8749         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
8750         * sysdeps/tile/libm-test-ulps-name: Likewise.
8751         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
8753         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
8755         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
8756         (test-xfail-check-execstack): New variable.
8758         * sysdeps/mips/localplt.data: New file.
8760 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
8761             Steve Ellcey  <sellcey@caviumnetworks.com>
8763         * bits/wordsize.h: Add documentation.
8764         * sysdeps/aarch64/bits/wordsize.h : New file
8765         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
8766         definitions.
8767         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
8768         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
8769         with #if instead of #ifdef.
8770         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
8771         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
8772         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
8773         Add or change defines.
8774         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
8775         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8776         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
8777         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
8778         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8779         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8780         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
8781         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
8782         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
8783         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8784         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
8785         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
8786         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
8787         * sysdeps/x86/bits/wordsize.h: Likewise.
8789 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
8790             Kevin Petit  <kevin.petit@arm.com>
8792         * sysdeps/aarch64/memchr.S (__memchr): New file.
8794 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8796         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
8798 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
8800         [BZ #19398]
8801         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
8802         $(linknamespace-symlists-tests).
8804 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
8806         * time/tst-strptime2.c: Ignore -Wformat-length warning.
8808 2016-11-02  Florian Weimer  <fweimer@redhat.com>
8809             Carlos O'Donell  <carlos@redhat.com>
8811         [Bug #20729]
8812         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
8813         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
8814         for -Os related change.
8816 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
8818         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
8820 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
8822         [BZ #19673]
8823         * manual/math.texi (Exponents and Logarithms): Correct description
8824         of clog10.
8826 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
8828         [Bz #20729]
8829         * locale/weight.h: Include libc-internal.h.
8830         * locale/weightwc.h: Likewise.
8831         * nptl/nptl_dbP.h: Likewise.
8833 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
8835         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
8836         when it is MACH_PORT_NULL.
8838 2016-10-31  Andreas Schwab  <schwab@suse.de>
8840         [BZ #20707]
8841         * posix/glob.c (glob): Initialize pglob before checking for
8842         GLOB_BRACE.  Don't call glob recursively if pattern contains no
8843         valid brace expression despite GLOB_BRACE.
8844         * posix/globtest.sh: Test it.
8846 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
8848         [BZ #20729]
8849         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
8850         Define.
8851         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
8852         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
8853         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
8854         for seq2.back_us and seq1.back_us only for -Os compiles.
8855         * locale/weightwc.h (findix): Likewise.
8856         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
8857         DB_GET_FIELD_ADDRESS only for -Os compiles.
8858         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
8859         for slen only for -Os compiles.
8860         * string/strcoll_l.c (get_next_seq): Ignore
8861         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
8862         for -Os compiles.
8864         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
8865         * include/crypt.h: New file.
8867 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8869         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
8870         from test-skeleton.c.
8871         (statclass): Replace calls to write with calls to write_message.
8873 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
8875         * math/math.h
8876         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
8877         New macro.
8878         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
8879         Likewise.
8880         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
8881         Likewise.
8882         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
8883         SNANL.
8884         * math/test-double.h (snan_value_MACRO): New macro.
8885         * math/test-float.h (snan_value_MACRO): Likewise.
8886         * math/test-ldouble.h (snan_value_MACRO): Likewise.
8887         * math/libm-test.inc (issignaling_test_data): Add tests of
8888         snan_value_MACRO.
8890 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8892         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
8893         behavior when eliding a lock not held by the current thread.
8894         * sysdeps/powerpc/nptl/elide.h: Likewise.
8896 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8898         [BZ #20728]
8899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
8900         branch to _exit() by a function call.
8902 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8904         * malloc/malloc.c: Update chunk layout comments.
8905         (chunk_main_arena): Update comment.
8907 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8909         * crypt/sha256.c, crypt/sha256-block.c,
8910         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
8911         sha256_process_block to __sha256_process_block.
8912         * crypt/sha512.c, crypt/sha512-block.c,
8913         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
8914         sha512_process_block to __sha512_process_block.
8916 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
8918         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
8920         * math/test-nan-overflow.c: Include stdlib.h for malloc.
8922 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
8924         [BZ #20019]
8925         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
8926         definition in unrelocated shared library.
8927         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8929 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8931         [BZ #20729]
8932         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
8933         * sysdeps/unix/sysv/linux/i386/Makefile
8934         (uses-6-syscall-arguments): Define.
8935         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
8936         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
8937         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
8938         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
8939         Likewise.
8940         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
8941         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
8942         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
8943         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
8944         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
8945         (CFLAGS-fallocate64.os): Likewise.
8946         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
8947         (CFLAGS-pthread_rwlock_timedrdlock.os)
8948         (CFLAGS-pthread_rwlock_timedwrlock.o)
8949         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
8950         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
8951         (CFLAGS-sem_timedwait.os): Likewise.
8953 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8955         * elf/tst-linkall-static.c: New file.
8956         * elf/Makefile (tests-static): Add tst-linkall-static.
8957         (tst-linkall-static): Link against static libraries.
8959 2016-10-27  Florian Weimer  <fweimer@redhat.com>
8961         * malloc/malloc.c (sysmalloc): Initialize previous size field of
8962         mmaped chunks.
8964 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8966         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
8967         members to mchunk_prev_size, mchunk_size.
8968         (chunk_main_arena): Reverse sense and rename from
8969         chunk_non_main_arena.
8970         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
8971         mchunk_size instead of size.
8972         (set_non_main_arena): Define.
8973         (chunksize): Use chunksize_nomask instead of direct member access.
8974         (chunksize_nomask): Define.
8975         (next_chunk): Use chunksize instead of direct member access.
8976         (prev_size, set_prev_size): Define.
8977         (prev_chunk): Use prev_size instead of direct member access.
8978         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
8979         (inuse_bit_at_offset, set_inuse_bit_at_offset)
8980         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
8981         (mchunk_prev_size, mchunk_size): Poison tokens.
8982         (unlink): Use chunksize_nomask, prev_size accessors.
8983         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
8984         (do_check_free_chunk): Use prev_size accessor.
8985         (sysmalloc): Use set_prev_size, set_head accessors.
8986         (munmap_chunk, mremap_chunk): Use prev_size accessor.
8987         (__libc_free): Use chunksize_nomask accessor.
8988         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
8989         chunk_main_arena accessors.
8990         (_int_free): Use chunksize_nomask, prev_size accessors.
8991         (malloc_consolidate): Use chunksize, prev_size accessors.
8992         (_int_realloc): Use chunksize_nomask accessor.
8993         (_int_memalign): Use set_prev_size accessor.
8994         (__malloc_info): Use chunksize_nomask accessor.
8995         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
8996         accessors.
8997         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
8998         (heap_trim): Use chunksize_nomask, prev_size accessors.
9000 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
9002         [BZ #19380]
9003         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
9004         for inexact results.
9005         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
9006         of inexact result where mpfr_subnormalize is the only inexact
9007         step.
9008         * stdlib/tst-strtod-round-data.h: Regenerated.
9009         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
9010         Define to 0.
9011         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
9013 2016-10-27  David S. Miller  <davem@davemloft.net>
9015         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
9017 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9019         * malloc/malloc.c (do_set_mallopt_check): New function.
9020         (do_set_mmap_threshold): Likewise.
9021         (do_set_mmaps_max): Likewise.
9022         (do_set_top_pad): Likewise.
9023         (do_set_perturb_byte): Likewise.
9024         (do_set_trim_threshold): Likewise.
9025         (do_set_arena_max): Likewise.
9026         (do_set_arena_test): Likewise.
9027         (__libc_mallopt): Use them.
9029 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
9031         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9032         (canonicalize): New declaration.
9033         * math/Versions (canonicalize): New libm symbol at version
9034         GLIBC_2.25.
9035         (canonicalizef): Likewise.
9036         (canonicalizel): Likewise.
9037         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
9038         * math/s_canonicalize_template.c: New file.
9039         * math/libm-test.inc: Update comment on functions tested and
9040         testing of NaN payloads.
9041         (TEST_NAN_PAYLOAD): New macro.
9042         (NO_TEST_INLINE): Update value.
9043         (XFAIL_TEST): Likewise.
9044         (ERRNO_UNCHANGED): Likewise.
9045         (ERRNO_EDOM): Likewise.
9046         (ERRNO_ERANGE): Likewise.
9047         (IGNORE_RESULT): Likewise.
9048         (NON_FINITE): Likewise.
9049         (TEST_SNAN): Likewise.
9050         (NO_TEST_MATHVEC): Likewise.
9051         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
9052         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
9053         (struct test_Ffp_b1_data): New type.
9054         (RUN_TEST_Ffp_b1): New macro.
9055         (RUN_TEST_LOOP_Ffp_b1): Likewise.
9056         (canonicalize_test_data): New array.
9057         (canonicalize_test): New function.
9058         (main): Call canonicalize_test.
9059         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
9060         canonicalizef and canonicalizel.
9061         * manual/libm-err-tab.pl: Update comment on interfaces without
9062         ulps tabulated.
9063         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
9064         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
9065         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9066         canonicalize.
9067         (CFLAGS-nldbl-canonicalize.c): New variable.
9068         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
9069         to ...
9070         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
9071         ... here.
9072         (do_test): Also test canonicalizel.
9073         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
9074         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
9075         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
9076         file.
9077         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
9078         Use libm_hidden_def.
9079         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
9080         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
9081         (do_test): Also test canonicalizel.
9082         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
9083         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
9084         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
9085         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
9086         libm_hidden_def.
9087         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
9088         macro.
9089         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
9090         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
9091         * sysdeps/nacl/libm.abilist: Update.
9092         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9093         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9094         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9095         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9096         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9097         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9098         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9099         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9100         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9101         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9102         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9103         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9105         Likewise.
9106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9107         Likewise.
9108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9109         Likewise.
9110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9111         Likewise.
9112         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9113         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9114         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9115         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9116         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9118         Likewise.
9119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9120         Likewise.
9121         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9122         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9123         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9125         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
9126         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9127         getpayload.
9128         (CFLAGS-nldbl-getpayload.c): New variable.
9130 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9132         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
9133         integer from the format string.
9135 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9137         [BZ #19473]
9138         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
9139         declarations.
9140         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
9141         weak aliases.
9142         * malloc/hooks.c (__malloc_get_state): Remove definition.
9143         (malloc_get_state): New stub implementation as
9144         compatibility symbol.
9145         (malloc_set_state): Rename from __malloc_set_state.  Turn into
9146         compat symbol.
9147         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
9148         malloc_set_state.
9149         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
9151 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9153         * iconvdata/iso646.c (enum variant): Drop illegal_var.
9154         (names): Turn into concatenation of strings.
9155         (gconv_init): Adapt iteration over names.
9157 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9159         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
9160         make const.
9161         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
9162         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
9163         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
9164         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
9165         character in sbconv.
9166         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
9167         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
9168         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
9170 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9172         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
9174         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
9175         (M_TRIM_THRESHOLD): Likewise.
9177         * manual/memory.texi (M_ARENA_TEST): Add documentation.
9178         (M_ARENA_MAX): Likewise.
9179         * malloc/malloc.c: Remove obsolete comment.
9181         * manual/memory.texi: Add environment variable alternatives to
9182         setting mallopt parameters.
9184 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
9186         * include/atomic.h
9187         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
9188         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
9190 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9192         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
9193         * stdlib/tst-strfrom.h: New file.
9194         * stdlib/tst-strfrom.c: New file.
9195         * stdlib/tst-strfrom-locale.c: New file.
9197         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
9198         * stdlib/bug-strtod2.c: Likewise.
9199         * stdlib/tst-strtod-round-skeleton.c: Likewise.
9200         * stdlib/tst-strtod6.c: Likewise.
9201         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
9203 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9205         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
9206         * manual/arith.texi: Document strfromd, strfromf, strfroml.
9207         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
9208         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
9209         * stdlib/stdlib.h (strfromd): New declaration.
9210         (strfromf): Likewise.
9211         (strfroml): Likewise.
9212         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
9213         strfrom.
9214         * stdlib/strfromd.c: New file.
9215         * stdlib/strfromf.c: Likewise.
9216         * stdlib/strfroml.c: Likewise.
9217         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
9218         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
9219         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
9220         * sysdeps/arm/nacl/libc.abilist: Update.
9221         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
9222         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9223         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9224         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9225         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9226         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9227         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9228         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9229         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9230         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9231         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9232         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9233         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9234         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
9236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9239         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9240         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9241         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9242         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9243         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9246         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9247         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9248         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9250 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
9252         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
9253         instead of cmpli.
9254         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
9255         instead of cmpli.
9257 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
9259         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
9260         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
9261         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
9262         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9263         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9264         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9266 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9268         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
9269         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9270         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
9271         SYSCALL_LL64_PRW.
9272         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9273         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
9274         __ASSUME_PRW_DUMMY_ARG.
9275         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
9276         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9277         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9278         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9279         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
9280         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
9282 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
9284         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
9286 2016-10-22  Florian Weimer  <fweimer@redhat.com>
9288         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
9289         "C++", to override a potential extern "C" directive around the
9290         header file inclusion.
9292 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
9294         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
9296 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9298         * sysdeps/powerpc/fpu/fenv_private.h:
9299         (_FPU_MASK_ALL): Rename to...
9300         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
9301         XE FPSCR bits.
9303         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
9305         (_FPU_MASK_ROUNDING): Rename to...
9306         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
9307         NI bits.
9309         (_FPU_MASK_EXCEPT_ROUND): Rename to...
9310         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
9311         bits and rounding bits.
9313         (__libc_feholdbits_ppc): New inline function to mask, set,
9314         and pontentially clear FSPCR bits, and change MSR[FE] bits.
9315         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
9316         (libc_feholdexcept_setround_ppc): Likewise.
9318         (__libc_femergeenv_ppc): New function to dynamically mask both
9319         old and new FP environments and merge.
9320         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
9321         (libc_feresetround_ppc): Likewise.
9322         (libc_feupdateenv_test_ppc): Likewise.
9323         (libc_feupdateenv_ppc): Likewise.
9325         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
9326         of ISA RN bits, and update macro names.
9327         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
9328         effectively the same as the previously mentioned function.
9330         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
9331         usage with fe_resetround_ppc.
9333         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
9334         to be used.
9335         (libc_feholdexcept_setround_ctxf): Likewise.
9336         (libc_feholdexcept_setround_ctxl): Likewise.
9338 2016-10-21  Florian Weimer  <fweimer@redhat.com>
9340         [BZ #20715]
9341         * math/math.h [__cplusplus] (iszero): Define as function template.
9342         * math/Makefile [CXX] (tests): Add test-math-iszero.
9343         (CFLAGS-test-math-iszero.cc): Set.
9344         * math/test-math-iszero.cc: New file.
9346 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
9348         [BZ #20660]
9349         * sysdeps/arm/e_sqrt.c: New file.
9350         * sysdeps/arm/e_sqrtf.c: Likewise.
9352 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
9354         [BZ #20718]
9355         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
9356         not use floating-point comparisons to test sign.
9357         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
9358         Likewise.
9360         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9361         (getpayload): New declaration.
9362         * math/Versions (getpayload): New libm symbol at version
9363         GLIBC_2.25.
9364         (getpayloadf): Likewise.
9365         (getpayloadl): Likewise.
9366         * math/Makefile (libm-calls): Add s_getpayloadF.
9367         * math/libm-test.inc: Include <nan-high-order-bit.h>.
9368         (struct test_f_f_data): Add comment.
9369         (RUN_TEST_fp_f): New macro.
9370         (RUN_TEST_LOOP_fp_f): Likewise.
9371         (getpayload_test_data): New array.
9372         (getpayload_test): New function.
9373         (main): Call getpayload_test.
9374         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
9375         descriptor.
9376         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
9377         getpayloadf and getpayloadl.
9378         * manual/libm-err-tab.pl: Update comment on interfaces without
9379         ulps tabulated.
9380         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
9381         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
9382         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
9383         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
9384         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
9385         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
9386         * sysdeps/nacl/libm.abilist: Update.
9387         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9388         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9389         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9390         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9391         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9392         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9393         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9394         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9395         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9396         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9397         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9398         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9400         Likewise.
9401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9402         Likewise.
9403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9404         Likewise.
9405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9406         Likewise.
9407         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9408         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9409         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9410         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9411         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9413         Likewise.
9414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9415         Likewise.
9416         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9417         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9418         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9420 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9422         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
9423         tst-fallocate{64}.
9424         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
9425         on syscall return.
9427 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
9429         [BZ #20689]
9430         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
9431         usable.
9433 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
9435         * sysdeps/generic/nan-high-order-bit.h: New file.
9436         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
9437         * sysdeps/mips/nan-high-order-bit.h: Likewise.
9438         * sysdeps/hppa/math_private.h: Remove file.
9439         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
9440         not define here.
9441         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
9442         <nan-high-order-bit.h>.
9443         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9444         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
9445         <nan-high-order-bit.h>.
9446         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9447         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
9448         <nan-high-order-bit.h>.
9449         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9450         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
9451         <nan-high-order-bit.h>.
9452         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9453         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
9454         <nan-high-order-bit.h>.
9455         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9456         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
9457         <nan-high-order-bit.h>.
9458         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9459         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
9460         <nan-high-order-bit.h>.
9461         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9462         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
9463         <nan-high-order-bit.h>.
9464         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9465         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
9466         <nan-high-order-bit.h>.
9467         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9468         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
9469         <nan-high-order-bit.h>.
9470         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9471         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
9472         <nan-high-order-bit.h>.
9473         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9474         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
9475         <nan-high-order-bit.h>.
9476         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9477         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
9478         <nan-high-order-bit.h>.
9479         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9480         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
9481         <nan-high-order-bit.h>.
9482         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9483         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
9484         <nan-high-order-bit.h>.
9485         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9486         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
9487         <nan-high-order-bit.h>.
9488         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9489         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
9490         <nan-high-order-bit.h>.
9491         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9492         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
9493         <nan-high-order-bit.h>.
9494         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9496 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9498         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
9500 2016-09-22  John David Anglin  <dave.anglin@bell.net>
9502         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
9503         abort-instr.h.
9504         (EFAULT): Remove conditional define.
9505         (ENOSYS): Likewise.
9506         (atomic_compare_and_exchange_val_acq): Use instruction nullification
9507         instead of conditional branch instructions.
9509 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
9511         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9512         (totalordermag): New declaration.
9513         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
9514         New macro.
9515         * math/Versions (totalordermag): New libm symbol at version
9516         GLIBC_2.25.
9517         (totalordermagf): Likewise.
9518         (totalordermagl): Likewise.
9519         * math/Makefile (libm-calls): Add s_totalordermagF.
9520         * math/libm-test.inc (totalordermag_test_data): New array.
9521         (totalordermag_test): New function.
9522         (main): Call totalordermag_test.
9523         * math/test-tgmath.c (NCALLS): Increase to 125.
9524         (F(compile_test)): Call totalordermag.
9525         (F(totalordermag)): New function.
9526         * manual/arith.texi (FP Comparison Functions): Document
9527         totalordermag, totalordermagf and totalordermagl.
9528         * manual/libm-err-tab.pl: Update comment on interfaces without
9529         ulps tabulated.
9530         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
9531         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
9532         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
9533         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
9534         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
9535         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
9536         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
9537         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9538         totalordermag.
9539         (CFLAGS-nldbl-totalordermag.c): New variable.
9540         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
9541         (do_test): Also test totalordermagl.
9542         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
9543         Likewise.
9544         * sysdeps/nacl/libm.abilist: Update.
9545         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9546         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9547         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9548         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9549         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9550         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9551         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9552         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9553         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9554         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9555         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9556         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9558         Likewise.
9559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9560         Likewise.
9561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9562         Likewise.
9563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9564         Likewise.
9565         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9566         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9567         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9568         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9569         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9571         Likewise.
9572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9573         Likewise.
9574         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9575         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9576         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9578 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
9580         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
9581         boolean.
9583 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
9585         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
9586         raising FE_INVALID with feraisexcept in case where part of
9587         argument is infinite, subtract that part of argument from itself.
9588         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
9589         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
9590         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
9592 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
9594         * math/libm-test.inc (totalorder_test_data): Add more tests.
9596 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
9598         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
9599         Undefine weak_alias and add a comment why mips64 require
9600         versioning.
9602 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
9604         [BZ #20647]
9605         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
9606         maximum CPUID level is less than 2.
9608 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
9610         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9611         (totalorder): New declaration.
9612         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
9613         New macro.
9614         * math/Versions (totalorder): New libm symbol at version
9615         GLIBC_2.25.
9616         (totalorderf): Likewise.
9617         (totalorderl): Likewise.
9618         * math/Makefile (libm-calls): Add s_totalorderF.
9619         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
9620         string.
9621         * math/libm-test.inc (PAYLOAD_DIG): New macro.
9622         (qnan_value_pl): Likewise.
9623         (snan_value_pl): Likewise.
9624         (qnan_value): Define using qnan_value_pl.
9625         (snan_value): Define using snan_value_pl.
9626         (struct test_ff_i_data): Add comment about which tests use this
9627         structure.
9628         (RUN_TEST_ff_b): New macro.
9629         (RUN_TEST_LOOP_ff_b): Likewise.
9630         (totalorder_test_data): New array.
9631         (totalorder_test): New function.
9632         (main): Call totalorder_test.
9633         * math/test-tgmath.c (NCALLS): Increase to 122.
9634         (F(compile_test)): Call totalorder.
9635         (F(totalorder)): New function.
9636         * manual/arith.texi (FP Comparison Functions): Document
9637         totalorder, totalorderf and totalorderl.
9638         * manual/libm-err-tab.pl: Update comment on interfaces without
9639         ulps tabulated.
9640         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
9641         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
9642         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
9643         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
9644         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
9645         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
9646         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
9647         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9648         totalorder.
9649         (CFLAGS-nldbl-totalorder.c): New variable.
9650         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
9651         file.
9652         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
9653         Add test-totalorderl-ldbl-128ibm.
9654         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
9655         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
9656         test-totalorderl-ldbl-96.
9657         * sysdeps/nacl/libm.abilist: Update.
9658         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9659         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9660         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9661         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9662         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9663         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9664         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9665         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9666         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9667         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9668         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9669         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9671         Likewise.
9672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9673         Likewise.
9674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9675         Likewise.
9676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9677         Likewise.
9678         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9679         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9680         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9681         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9682         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9684         Likewise.
9685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9686         Likewise.
9687         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9688         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9689         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9691 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9693         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
9694         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
9695         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
9696         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
9697         remove ENOSYS implementation.
9698         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
9699         Consolidate all Linux implementations.
9701 2016-10-11  Florian Weimer  <fweimer@redhat.com>
9703         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
9704         * resolv/herror.c (herror): Cast away const-ness.
9705         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
9706         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
9708 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
9710         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
9711         instead of M_NAN + M_NAN.
9712         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
9714 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9716         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
9717         unused variable 'p'.
9719 2016-10-09  Alan Modra  <amodra@gmail.com>
9720             Andreas Schwab  <schwab@linux-m68k.org>
9722         [BZ #20554]
9723         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
9724         [PIC && !SHARED]: Set up PIC register for PLT call.
9726 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
9728         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
9729         conditional on value of [__FLT_EVAL_METHOD__].
9730         * math/test-iseqsig-excess-precision.c: New file.
9731         * math/Makefile (tests): Add test-iseqsig-excess-precision.
9733 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9735         * math/s_iseqsig_template.c: Include math-private.h.
9737         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
9738         * posix/tst-posix_fadvise.c: New file.
9739         * posix/tst-posix_fadvise64.c: Likewise.
9740         * posix/tst-posix_fadvise-common.c: Likewise.
9741         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9742         (__ASSUME_FADVISE64_64_6ARG): Define.
9743         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9744         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
9745         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9746         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
9747         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
9748         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
9749         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
9750         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
9751         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
9752         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
9753         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
9754         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
9755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
9756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
9757         Likewise.
9758         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
9759         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
9760         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
9761         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
9762         Alias to __posix_fadvise64_l32.
9763         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
9764         Add compat definition to posix_fadvise64.
9765         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
9766         Add versioned definition to posix_fadvise64.
9767         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
9768         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
9769         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
9770         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
9771         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
9773         * io/Makefile (tests): Add tst-posix_fallocate and
9774         tst-posix_fallocate64.
9775         * io/tst-posix_fallocate-common.c: New file.
9776         * io/tst-posix_fallocate.c: Likewise.
9777         * io/tst-posix_fallocate64.c: Likewise.
9778         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
9779         file.
9780         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
9781         Likewise.
9782         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
9783         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
9784         Likewise.
9785         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
9786         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
9787         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
9788         SYSCALL_LL to pass both offset and len arguments.
9789         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
9790         Likewise.
9791         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
9792         __libc_pwrite64 alias used by posix_fallocate64.
9794         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
9795         tst-fallocate64.
9796         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
9797         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
9798         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9799         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
9800         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
9801         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
9802         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
9803         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9804         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
9805         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
9806         macro on offset argument.
9807         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
9808         SYSCALL_LL64 on offset argument.
9810         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
9811         tst-fallocate64.
9812         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
9813         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
9814         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9815         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
9816         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
9817         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
9818         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
9819         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9820         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
9821         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
9822         macro on offset argument.
9823         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
9824         SYSCALL_LL64 on offset argument.
9825         * test-skeleton.c (FAIL_RET): Add macro.
9826         (FAIL_EXIT): Likewise.
9827         (FAIL_EXIT1): Likewise.
9828         (_FAIL): Likewise.
9830 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9832         [BZ #20629]
9833         resolv: Remove RES_USEBSTRING and its implementation.
9834         * resolv/resolv.h (RES_USEBSTRING): Remove.
9835         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
9836         (digitvalue, encode_bitstring, decode_bitstring): Remove.
9837         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
9838         (labellen): Remove extended label types support.
9839         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
9840         * resolv/res_init.c (res_setoptions): Likewise.
9841         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
9843 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9845         resolv: Remove RES_NOIP6DOTINT and its implementation.
9846         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
9847         (RES_NOIP6DOTINT): Remove.
9848         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
9849         handling.
9850         * resolv/res_debug.c (p_option): Likewise.
9851         * resolv/res_init.c (res_setoptions): Likewise.
9852         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
9854 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9856         resolv: Deprecate unimplemented flags.
9857         * misc/sys/cdefs.h (__glibc_macro_warning1)
9858         (__glibc_macro_warning): Define.
9859         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
9860         (RES_KEEPTSIG): Mark as deprecated.
9861         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
9862         RES_NOCHECKNAME, RES_KEEPTSIG.
9863         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
9865 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9867         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
9868         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
9869         Use strong_alias to create symbols for glibc verison 2.19.
9871 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9873         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
9875 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9877         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
9879 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9881         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
9883 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9885         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9886         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
9887         in header for using it as type for ifunc function because __GI_* symbols
9888         for ppc32 do not target the ifunc symbols.
9889         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9891 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9893         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
9894         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
9895         libc_ifunc_hidden_def.
9896         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
9897         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
9898         Redirect ifunced function in header for using it as type of ifunc'ed
9899         function. Redefine libc_hidden_def to use fallback non ifunc'ed
9900         function for __GI_* symbol.
9901         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
9902         * include/libc-symbols.h
9903         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
9905 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9907         [BZ #20478]
9908         * sysdeps/s390/multiarch/ifunc-resolve.h
9909         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
9910         to create ifunc symbols.
9911         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
9912         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
9913         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
9914         for using it as type for ifunc function.
9915         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
9916         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
9917         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
9918         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
9919         * sysdeps/s390/multiarch/strcat.c: Likewise.
9920         * sysdeps/s390/multiarch/strchr.c: Likewise.
9921         * sysdeps/s390/multiarch/strcmp.c: Likewise.
9922         * sysdeps/s390/multiarch/strcpy.c: Likewise.
9923         * sysdeps/s390/multiarch/strcspn.c: Likewise.
9924         * sysdeps/s390/multiarch/strlen.c: Likewise.
9925         * sysdeps/s390/multiarch/strncmp.c: Likewise.
9926         * sysdeps/s390/multiarch/strncpy.c: Likewise.
9927         * sysdeps/s390/multiarch/strnlen.c: Likewise.
9928         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
9929         * sysdeps/s390/multiarch/strrchr.c: Likewise.
9930         * sysdeps/s390/multiarch/strspn.c: Likewise.
9931         * sysdeps/s390/multiarch/wcschr.c: Likewise.
9932         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
9933         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
9934         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
9935         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
9936         * sysdeps/s390/multiarch/wmemset.c: Likewise.
9937         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9938         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
9939         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
9940         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9941         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
9942         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
9944 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9946         * include/libc-symbols.h (__ifunc_resolver):
9947         New macro is used by __ifunc* macros.
9948         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
9949         depending on HAVE_GCC_IFUNC.
9950         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
9951         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
9952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9953         Redirect ifunced function in header for using as type for ifunc function.
9954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
9955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
9956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
9957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
9958         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9959         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9960         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9961         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9962         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9963         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9964         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9965         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9966         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9967         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
9970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
9972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9973         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9974         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9975         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9976         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9977         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9978         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9979         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9980         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9981         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9982         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9983         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9984         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9985         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
9986         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
9988         Add libc_hidden_def() and use libc_ifunc_hidden() macro
9989         instead of libc_ifunc() macro.
9990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
9991         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9993 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9995         * config.h.in (HAVE_GCC_IFUNC): New undef.
9996         * configure.ac: Add check if gcc supports attribute ifunc feature.
9997         * configure: Regenerated.
9998         * manual/install.texi: Add recommendation for gcc with
9999         indirect-function support.
10000         * INSTALL: Regenerated.
10002 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
10004         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
10005         macro.
10006         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10007         (__iseqsig): New declaration.
10008         * math/s_iseqsig_template.c: New file.
10009         * math/Versions (__iseqsigf): New libm symbol at version
10010         GLIBC_2.25.
10011         (__iseqsig): Likewise.
10012         (__iseqsigl): Likewise.
10013         * math/libm-test.inc (iseqsig_test_data): New array.
10014         (iseqsig_test): New function.
10015         (main): Call iseqsig_test.
10016         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
10017         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
10018         * manual/libm-err-tab.pl: Update comment on interfaces without
10019         ulps tabulated.
10020         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
10021         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
10022         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
10023         * sysdeps/nacl/libm.abilist: Update.
10024         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10025         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10026         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10027         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10028         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10029         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10030         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10031         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10032         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10033         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10034         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10035         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10037         Likewise.
10038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10039         Likewise.
10040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10041         Likewise.
10042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10043         Likewise.
10044         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10045         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10046         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10047         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10048         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10050         Likewise.
10051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10052         Likewise.
10053         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10054         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10055         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10057 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10059         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
10060         do_sincos_2, sloww, sloww1): Update comments.
10062         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
10063         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
10065         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
10066         K boolean and rename it.
10067         (__sin): Adjust.
10068         (__cos): Adjust.
10070 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
10071             Siddhesh Poyarekar  <siddhesh@sourceware.org>
10073         * manual/nss.texi: Fix typos in the manual.
10075 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
10077         * manual/contrib.texi: Fix typos in the manual.
10079         * manual/maint.texi: Fix typos in the manual.
10081         * manual/install.texi: Fix typos in the manual.
10082         * INSTALL: Regenerated.
10084         * manual/lang.texi: Fix typos in the manual.
10086         * manual/probes.texi: Fix typos in the manual.
10088         * manual/threads.texi: Fix typos in the manual.
10090         * manual/debug.texi: Fix typos in the manual.
10092         * manual/crypt.texi: Fix typos in the manual.
10094         * manual/conf.texi: Fix typos in the manual.
10096         * manual/sysinfo.texi: Fix typos in the manual.
10098         * manual/users.texi: Fix typos in the manual.
10100         * manual/job.texi: Fix typos in the manual.
10102         * manual/process.texi: Fix typos in the manual.
10104         * manual/argp.texi: Fix typos in the manual.
10105         * manual/getopt.texi: Likewise.
10106         * manual/startup.texi: Likewise.
10108         * manual/signal.texi: Fix typos in the manual.
10110         * manual/setjmp.texi: Fix typos in the manual.
10112         * manual/resource.texi: Fix typos in the manual.
10114         * manual/time.texi: Fix typos in the manual.
10116         * manual/arith.texi: Fix typos in the manual.
10118         * manual/math.texi: Fix typos in the manual.
10120         * manual/syslog.texi: Fix typos in the manual.
10122         * manual/terminal.texi: Fix typos in the manual.
10124         * manual/socket.texi: Fix typos in the manual.
10126         * manual/filesys.texi: Fix typos in the manual.
10128         * manual/llio.texi: Fix typos in the manual.
10130         * manual/stdio.text: Fix typos in the manual.
10132 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10134         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
10135         instead of K1.
10137         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
10138         SHIFT_QUADRANT and make it bool.
10139         (do_sincos_2): Likewise.
10140         (sloww): Likewise.
10141         (sloww1): Likewise.
10142         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
10143         (__cos): Likewise.
10145 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10147         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10149 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
10151         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
10152         Define to __WORDSIZE, not conditional on [LONG_MAX ==
10153         0x7fffffffL].
10154         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
10156 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10158         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
10159         inline by __inline__.
10160         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
10161         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
10162         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
10163         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
10164         sigset_t from signal.h.
10165         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
10166         which is already required.
10168 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
10170         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10172 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
10174         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
10175         (struct tcp_repair_window): New type.
10177 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10179         * libio/tst-memstream3.c: Include string.h.
10181 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10183         [BZ #18241]
10184         [BZ #20181]
10185         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
10186         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
10187         write position is at the end the buffer.
10188         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
10189         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
10190         (_IO_str_seekoff): Set correct offset from negative displacement and
10191         set EINVAL for invalid ones.
10192         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
10193         buffer length.
10194         (_IO_wstr_switch_to_get_mode): New function.
10195         (_IO_wstr_seekoff): Set correct offset from negative displacement and
10196         set EINVAL for invalid ones.
10197         * libio/tst-memstream3.c: New file.
10198         * libio/tst-wmemstream3.c: Likewise.
10199         * manual/examples/memstrm.c: Remove warning when priting size_t.
10201 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
10203         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
10204         macro to use __builtin_fma.
10205         * sysdeps/x86_64/fpu/dla.h: Remove file.
10207         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
10208         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
10209         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
10211 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
10213         [BZ #20292]
10214         * elf/Makefile (routines): Add dl-addr-obj.
10215         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
10216         tst-_dl_addr_inside_object.
10217         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
10218         [ifeq (yesyes,$(have-fpie)$(build-shared))]
10219         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
10220         [ifeq (yesyes,$(have-fpie)$(build-shared))]
10221         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
10222         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
10223         * elf/dl-open.c: Likewise.
10224         * elf/dl-addr-obj.c: New file.
10225         * elf/tst-_dl_addr_inside_object.c: New file.
10227 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
10229         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
10230         <bits/iscanonical.h>.
10231         * bits/iscanonical.h: New file.
10232         * math/s_iscanonicall.c: Likewise.
10233         * math/Versions (__iscanonicall): New libm symbol at version
10234         GLIBC_2.25.
10235         * math/libm-test.inc (iscanonical_test_data): New array.
10236         (iscanonical_test): New function.
10237         (main): Call iscanonical_test.
10238         * math/Makefile (headers): Add bits/iscanonical.h.
10239         (type-ldouble-routines): Add s_iscanonicall.
10240         * manual/arith.texi (Floating Point Classes): Document
10241         iscanonical.
10242         * manual/libm-err-tab.pl: Update comment on interfaces without
10243         ulps tabulated.
10244         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
10245         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
10246         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
10247         Likewise.
10248         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10249         test-iscanonical-ldbl-128ibm.
10250         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
10251         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
10252         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
10253         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
10254         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10255         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10256         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10258         Likewise.
10259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10260         Likewise.
10261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10262         Likewise.
10263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10264         Likewise.
10265         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10266         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10268 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10270         * string/bits/string3.h: Remove C++ style comments.
10272 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10274         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
10275         instead of ternary condition.
10276         (do_sincos_2): Likewise.
10277         (__sin): Likewise.
10278         (__cos): Likewise.
10279         (slow): Likewise.
10280         (sloww): Likewise.
10281         (sloww1): Likewise.
10282         (bsloww): Likewise.
10283         (bsloww1): Likewise.
10285         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
10286         instead of ternary condition.
10287         (do_sin_slow): Likewise.
10288         (do_sincos_1): Likewise.
10289         (do_sincos_2): Likewise.
10290         (__cos): Likewise.
10291         (sloww): Likewise.
10292         (sloww1): Likewise.
10293         (sloww2): Likewise.
10294         (bsloww): Likewise.
10295         (bsloww1): Likewise.
10296         (bsloww2): Likewise.
10298         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
10299         check from here...
10300         (slow2): ... and here...
10301         (__sin): ... to here.
10303 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
10305         * math/math.h
10306         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
10307         Cast argument to its own type.
10308         * math/test-iszero-excess-precision.c: New file.
10309         * math/Makefile (tests): Add test-iszero-excess-precision.
10310         (CFLAGS-test-iszero-excess-precision.c): New variable.
10312 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
10314         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
10315         field, add err field.
10316         (__spawni_child): Report error through err member instead of pipe.
10317         (__spawnix): Likewise.
10319 2016-09-28  Zack Weinberg  <zackw@panix.com>
10321         * scripts/check-installed-headers.sh: Generalize treatment of
10322         sys/elf.h to all target architectures.
10324         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
10325         deleted typedef ucontext_t.
10327 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10329         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
10330         (__INTERNAL_SYSCALL1): Likewise.
10331         (__INTERNAL_SYSCALL2): Likewise.
10332         (__INTERNAL_SYSCALL3): Likewise.
10333         (__INTERNAL_SYSCALL4): Likewise.
10334         (__INTERNAL_SYSCALL5): Likewise.
10335         (__INTERNAL_SYSCALL6): Likewise.
10336         (__INTERNAL_SYSCALL7): Likewise.
10337         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
10338         (__INTERNAL_SYSCALL_NARGS): Likewise.
10339         (__INTERNAL_SYSCALL_DISP): Likewise.
10340         (INTERNAL_SYSCALL_CALL): Likewise.
10341         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
10342         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
10343         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
10344         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
10345         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
10346         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
10347         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
10348         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
10349         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
10350         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
10351         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
10352         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
10353         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
10355 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
10357         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
10358         macro.
10359         * math/libm-test.inc (iszero_test_data): New array.
10360         (iszero_test): New function.
10361         (main): Call iszero_test.
10362         * manual/arith.texi (Floating Point Classes): Document iszero.
10363         * manual/libm-err-tab.pl: Update comment on interfaces without
10364         ulps tabulated.
10366 2016-09-23  Zack Weinberg  <zackw@panix.com>
10368         * scripts/check-installed-headers.sh: New script.
10369         * Rules: In each directory that defines header files to be installed,
10370         run check-installed-headers.sh on them as a special test.
10371         * Makefile: Likewise for the headers installed at top level.
10373         * include/aliases.h, include/alloca.h, include/argz.h
10374         * include/arpa/nameser.h, include/arpa/nameser_compat.h
10375         * include/elf.h, include/envz.h, include/err.h
10376         * include/execinfo.h, include/fpu_control.h, include/getopt.h
10377         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
10378         * include/link.h, include/malloc.h, include/mcheck.h
10379         * include/mntent.h, include/netinet/ether.h
10380         * include/nss.h, include/obstack.h, include/printf.h
10381         * include/pty.h, include/resolv.h, include/rpc/auth.h
10382         * include/rpc/auth_des.h, include/rpc/auth_unix.h
10383         * include/rpc/clnt.h, include/rpc/des_crypt.h
10384         * include/rpc/key_prot.h, include/rpc/netdb.h
10385         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
10386         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
10387         * include/rpc/rpc_msg.h, include/rpc/svc.h
10388         * include/rpc/svc_auth.h, include/rpc/xdr.h
10389         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
10390         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
10391         * include/rpcsvc/ypupd.h, include/shadow.h
10392         * include/stdio_ext.h, include/sys/epoll.h
10393         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
10394         * include/sys/prctl.h, include/sys/profil.h
10395         * include/sys/statfs.h, include/sys/sysctl.h
10396         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
10397         * sysdeps/arm/nacl/include/bits/setjmp.h
10398         * sysdeps/mips/include/sys/asm.h
10399         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
10400         * sysdeps/unix/sysv/linux/include/sys/timex.h
10401         * sysdeps/x86/fpu/include/bits/fenv.h:
10402         Add #ifndef _ISOMAC guard around internal declarations.
10403         Add multiple-inclusion guard if not already present.
10405 2016-09-23  Zack Weinberg  <zackw@panix.com>
10407         * sysdeps/generic/sys/ucontext.h
10408         * sysdeps/arm/sys/ucontext.h
10409         * sysdeps/i386/sys/ucontext.h
10410         * sysdeps/m68k/sys/ucontext.h
10411         * sysdeps/mips/sys/ucontext.h
10412         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
10413         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
10414         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
10415         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
10416         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
10417         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
10418         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
10419         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
10420         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
10421         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
10422         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
10423         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
10424         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
10425         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
10426         Include both bits/sigcontext.h and bits/sigstack.h.
10427         Fix grammar error in comment, if present.
10429         * bits/sigstack.h
10430         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
10431         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
10432         * sysdeps/unix/sysv/linux/bits/sigstack.h
10433         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
10434         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
10435         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
10436         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
10437         * bits/sigcontext.h
10438         * sysdeps/mach/hurd/i386/bits/sigcontext.h
10439         * sysdeps/unix/sysv/linux/bits/sigcontext.h
10440         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
10441         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
10442         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
10443         as well as signal.h, if this was not already allowed.  Request
10444         definition of size_t if necessary.  Minimize semantically-null
10445         differences across files.
10447 2016-09-23  Zack Weinberg  <zackw@panix.com>
10449         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
10450         Remove all logic conditional on __need macros.  Move all the
10451         conditionally defined types to their own headers...
10452         * time/bits/types/clock_t.h: Define clock_t here.
10453         * time/bits/types/clockid_t.h: Define clockid_t here.
10454         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
10455         * time/bits/types/struct_timespec.h: Define struct timespec here.
10456         * time/bits/types/struct_timeval.h: Define struct timeval here.
10457         * time/bits/types/struct_tm.h: Define struct tm here.
10458         * time/bits/types/time_t.h: Define time_t here.
10459         * time/bits/types/timer_t.h: Define timer_t here.
10460         * time/Makefile: Install the new headers.
10462         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
10463         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
10464         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
10465         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
10466         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
10467         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
10468         * sysdeps/unix/sysv/linux/bits/resource.h
10469         * sysdeps/unix/sysv/linux/bits/timex.h
10470         * sysdeps/unix/sysv/linux/mips/bits/resource.h
10471         * sysdeps/unix/sysv/linux/net/ppp_defs.h
10472         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
10473         * sysdeps/unix/sysv/linux/sys/acct.h
10474         * sysdeps/unix/sysv/linux/sys/timerfd.h
10475         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
10476         * time/sys/time.h, time/sys/timeb.h
10477         Use the new bits/types headers.
10479         * include/time.h: Remove __need logic.
10480         * include/bits/time.h
10481         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
10482         * include/bits/types/time_t.h, include/bits/types/timer_t.h
10483         * include/bits/types/struct_itimerspec.h
10484         * include/bits/types/struct_timespec.h
10485         * include/bits/types/struct_timeval.h
10486         * include/bits/types/struct_tm.h:
10487         New wrapper headers.
10489 2016-09-23  Zack Weinberg  <zackw@panix.com>
10491         * sysdeps/mach/hurd/net/if_ppp.h
10492         * sysdeps/unix/sysv/linux/net/if_ppp.h:
10493         Only define struct ifpppstatsreq and struct ifpppcstatsreq
10494         if __USE_MISC is defined, to ensure struct ifreq is declared.
10496         * inet/netinet/ether.h: Condition all function prototypes
10497         on __USE_MISC, to ensure struct ether_addr is declared.
10499         * socket/bits/types/struct_osockaddr.h: New header.
10500         * include/bits/types/struct_osockaddr.h: New wrapper.
10501         * socket/Makefile: Install the new header.
10502         * socket/sys/socket.h, inet/protocols/talkd.h:
10503         Refer to bits/types/struct_osockaddr.h for the definition of
10504         struct osockaddr.
10506 2016-09-23  Zack Weinberg  <zackw@panix.com>
10508         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
10509         * inet/protocols/routed.h, inet/protocols/talkd.h
10510         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
10511         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
10512         * sysdeps/generic/netinet/if_ether.h
10513         * sysdeps/generic/netinet/in_systm.h
10514         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
10515         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
10516         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
10517         * sysdeps/mach/hurd/net/if_arp.h
10518         * sysdeps/mach/hurd/net/if_ppp.h
10519         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
10520         * sysdeps/unix/sysv/linux/bits/in.h
10521         * sysdeps/unix/sysv/linux/net/ethernet.h
10522         * sysdeps/unix/sysv/linux/net/if_arp.h
10523         * sysdeps/unix/sysv/linux/net/if_ppp.h
10524         * sysdeps/unix/sysv/linux/net/if_shaper.h
10525         * sysdeps/unix/sysv/linux/net/route.h
10526         * sysdeps/unix/sysv/linux/netinet/if_ether.h
10527         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
10528         * sysdeps/unix/sysv/linux/netinet/if_tr.h
10529         * sysdeps/unix/sysv/linux/netipx/ipx.h
10530         * sysdeps/unix/sysv/linux/sys/acct.h
10531         * include/arpa/nameser.h, include/resolv.h:
10532         Change all uses of u_char to unsigned char,
10533         u_short and ushort to unsigned short, u_int and uint to unsigned int,
10534         u_long and ulong to unsigned long, u_int8_t to uint8_t,
10535         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
10536         and u_int64_t and u_quad_t to uint64_t.
10538         * mach/sys/reboot.h: Remove two casts of integer literals
10539         to the types they already have.
10541         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
10542         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
10543         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
10544         from referring to 'unsigned char' to 'uint8_t' for consistency with
10545         the macro definition below.
10547         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
10548         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
10549         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
10550         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
10551         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
10552         * sysdeps/unix/sysv/linux/sys/acct.h
10553         * include/arpa/nameser.h, include/resolv.h:
10554         Fix indentation disrupted by mechanical edits.
10556         * inet/protocols/talkd.h, resolv/arpa/nameser.h
10557         * sysdeps/generic/netinet/in_systm.h
10558         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
10559         * sysdeps/gnu/netinet/udp.h
10560         * sysdeps/unix/sysv/linux/net/ethernet.h
10561         * sysdeps/unix/sysv/linux/net/if_arp.h
10562         * sysdeps/unix/sysv/linux/net/if_ppp.h
10563         * sysdeps/unix/sysv/linux/net/if_shaper.h
10564         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
10565         * sysdeps/unix/sysv/linux/netinet/if_tr.h
10566         * sysdeps/unix/sysv/linux/netipx/ipx.h
10567         * sysdeps/unix/sysv/linux/sys/acct.h
10568         Include stdint.h for uintNN_t definitions.
10569         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
10571 2016-09-23  Zack Weinberg  <zackw@panix.com>
10573         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
10574         * sysdeps/unix/sysv/linux/netrose/rose.h:
10575         Include sys/socket.h and netax25/ax25.h.
10577         * inet/netinet/icmp6.h, inet/netinet/ip6.h
10578         * resolv/arpa/nameser_compat.h:
10579         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
10581         * sysdeps/unix/sysv/linux/sys/quota.h:
10582         Use __caddr_t instead of caddr_t.
10583         * sysdeps/unix/sysv/linux/sys/timerfd.h:
10584         Use __clockid_t instead of clockid_t.
10586         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
10588         * argp/argp.h: Check whether _LIBC is defined before expanding it.
10589         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
10590         expanding it.
10592         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
10593         Define __glibc_c99_flexarr_available to 1 when the compiler
10594         supports C99-compatible flexible array members, 0 otherwise.
10595         * sysdeps/unix/sysv/linux/bits/socket.h
10596         * sysdeps/mach/hurd/bits/socket.h
10597         * bits/socket.h: Use __glibc_c99_flexarr_available in
10598         definitions of struct cmsghdr and CMSG_DATA.
10600 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10602         * manual/nss.texi (NSS Modules Interface): Adjust function return
10603         type to enum nss_status.  Document errnop argument.  Clarify
10604         h_errnop semantics.  Fix cross-reference formatting.
10605         (NSS Module Function Internals): Mention that *errnop needs to be
10606         set on failure, but not to zero.
10608 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10610         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
10611         (get_random_name): New functions.
10612         (check_wrapper_flags_mode): Use linkat to give the new file a name
10613         determined by get_random_name.
10614         (do_test): Add calls to test open64 and openat64.
10616 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10618         * test-skeleton.c: Remove #include <stdarg.h>.
10620 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
10622         [BZ #19826]
10623         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
10624         initialization of static TLS entries.
10625         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
10626         * nptl/allocatestack.c (init_one_static_tls): Likewise.
10628 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10630         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
10631         _hurd_malloc_fork_prepare.
10632         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
10633         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
10634         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
10635         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
10636         (_hurd_fork_child_hook): Drop malloc_fork_child.
10637         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
10638         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
10639         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
10640         after locking locks (notably hurd_dtable_lock). Call
10641         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
10642         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
10643         __malloc_fork_unlock_child.
10644         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
10646 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
10648         * soft-fp/extendhftf2.c: New.
10649         * soft-fp/fixhfti.c: Likewise.
10650         * soft-fp/fixunshfti.c: Likewise.
10651         * soft-fp/floattihf.c: Likewise.
10652         * soft-fp/floatuntihf.c: Likewise.
10653         * soft-fp/half.h: Likewise.
10654         * soft-fp/trunctfhf2.c: Likewise.
10656 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
10658         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
10659         macro.
10660         * math/libm-test.inc (issubnormal_test_data): New array.
10661         (issubnormal_test): New function.
10662         * manual/arith.texi (Floating Point Classes): Document
10663         issubnormal.
10664         * manual/libm-err-tab.pl: Update comment on interfaces without
10665         ulps tabulated.
10667         * sysdeps/generic/stdint.h: Define
10668         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10669         <bits/libc-header-start.h> instead of including <features.h>.
10670         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
10671         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
10672         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
10673         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
10674         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
10675         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
10676         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
10677         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
10678         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
10679         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
10680         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
10681         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
10682         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
10683         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
10684         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
10685         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
10686         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
10687         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
10688         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
10689         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
10690         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
10691         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
10692         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
10693         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
10694         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
10695         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
10696         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
10697         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
10698         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
10699         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
10700         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
10701         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
10702         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
10703         * manual/arith.texi (Integers): Document these macros for types
10704         specified by width properties.
10705         * manual/lang.texi (Width of Type): Document these macros for
10706         other standard typedefs.
10707         * stdlib/tst-width-stdint.c: New file.
10708         * stdlib/Makefile (tests): Add tst-width-stdint.
10710 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10712         [BZ #20016]
10713         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
10714         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
10715         Move ...
10716         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
10717         ... here, as compatibility symbols in a new file.
10718         * resolv/Makefile (libresolv-routines): Add compat-hooks.
10719         * resolv/res_init.c (__res_vinit): Adjust member names.
10720         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
10721         * resolv/resolv.h (res_sendhookact, res_send_qhook)
10722         (res_send_rhook): Remove.
10723         (struct __res_state): Rename qhook, rhook members.
10725 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10727         malloc: Use __libc_lock wrappers.
10728         * malloc/arena.c (list_lock, free_list_lock): Define using
10729         __libc_lock_define_initialized.
10730         (arena_lock): Adjust formatting.
10731         * malloc/malloc.c (struct malloc_state): Define mutex using
10732         __libc_lock_define.
10733         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
10734         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
10735         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
10736         (mutex_unlock, mutex_trylock): Remove.
10737         (__pthread_initialize): Remove unused macro.
10738         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
10739         (mutex_unlock, mutex_trylock): Remove.
10741 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10743         [BZ #20592]
10744         Remove RR type classification macros.
10745         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
10746         (ns_t_udp_p, ns_t_xfr_p): Remove.
10748 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10750         Remove misleading version information.
10751         * resolv/arpa/nameser.h (__NAMESER): Remove.
10752         * resolv/arpa/nameser_compat.h (__BIND): Remove.
10754 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10756         Remove the always-defined BIND_4_COMPAT macro.
10757         * resolv/arpa/nameser.h: Unconditionally include
10758         <arpa/nameser_compat.h>.
10759         (BIND_4_COMPAT): Remove.
10760         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
10762 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10764         [BZ #20591]
10765         Remove obsolete DNSSEC support.
10766         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
10767         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
10768         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
10769         (ns_verify_tcp, ns_verify_tcp_init): Remove.
10770         (ns_cert_types): Add comment.
10771         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
10772         separately.
10773         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
10774         (dst_s_dns_key_id): Remove.
10775         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
10776         variables.
10778 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10780         [BZ #20524]
10781         * manual/string.texi (String/Array Comparison): Clarify the
10782         strverscmp behavior.
10784 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10786         * test-skeleton.c (xasprintf): Add function.
10787         * io/tst-open-tmpfile.c: New test.
10788         * io/Makefile (tests): Add it.
10790 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10792         Avoid running $(CXX) during build to obtain header file paths.
10793         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
10794         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
10795         * Makerules (cstdlib, cmath): Remove variables.  Use
10796         $(c++-cstdlib-header), $(c++-cmath-header) instead.
10797         * configure: Regenerate.
10799 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10801         * Makeconfig (all-object-suffixes): Include .op only if
10802         $(build-profile).
10804 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10806         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
10807         conditionals.  Do not define PATH_MAX.
10809 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10811         * posix/Makefile (tests): Add tst-spawn3.
10812         * posix/tst-spawn3.c: New file.
10813         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
10814         if it is already opened for open action.
10816         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
10817         all signals when executing the clone vfork child.
10818         (SIGALL_SET): Remove macro.
10820         * nptl/Makefile (tests): Add tst-exec5.
10821         * nptl/tst-exec5.c: New file.
10822         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
10823         asynchronous cancellation.
10825 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10827         * hurd/exc2signal.c: #include <hurd/signal.h>
10828         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
10829         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
10830         accordingly.
10831         * mach/mach_error.c (mach_error): Fix old-style function definition.
10832         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
10834 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10836         * math/Makefile (libm-calls): Remove s_nanF.
10837         (gen-libm-calls): Add s_nanF.
10839         * math/s_nan.c: Refactor into ...
10840         * math/s_nan_template.c: New file.
10842         * math/s_nanf.c: Removed.
10843         * math/s_nanl.c: Removed.
10844         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
10845         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
10847         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10848         (LDOUBLE_nanl_libm_version): New macro.
10850         * sysdeps/generic/math-type-macros-double.h:
10851         (M_STRTO_NAN): New macro.
10852         * sysdeps/generic/math-type-macros-float.h: Likewise.
10853         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
10855         * sysdeps/generic/math-type-macros.h: Document
10856         M_STRTO_NAN.
10858 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10860         * math/s_nanf.c: Remove __nanf undef.
10861         * math/s_nan.c: Remove __nan undef.
10862         * math/s_nanl.c: Remove __nanl undef.
10864         * sysdeps/generic/math_private.h (__nan): Remove macro
10865         override.
10866         (__nanf): Likewise.
10867         (__nanl): Likewise.
10869 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10871         * math/Makefile (gen-all-calls): New variable.
10872         (generated): Replace gen-libm-calls with gen-all-calls.
10873         (gen-libm-templates.stmp): Likewise.  Also, ensure
10874         the output directory exists or is created and add
10875         dependency on the Makefile.
10876         (calls): Move s_ldexpF into gen-calls.
10877         (gen-calls): New variable.
10879         * math/s_ldexpf.c: Removed.
10880         * math/s_ldexpl.c: Removed.
10881         * math/s_ldexp.c: Refactored into ...
10882         * math/s_ldexp_template.c: New file.
10884         * sysdeps/generic/math-type-macros-double.h: Remove
10885         redundant fall-through definition of declare_mgen_alias.
10886         (declare_mgen_alias_2): New macro.
10888         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
10889         New macro for function aliased to two exported symbols.
10891         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
10892         new template file.
10893         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10895 2016-09-20  Florian Weimer  <fweimer@redhat.com>
10897         * Makeconfig (all-object-suffixes): Remove .og.
10898         * Makerules (elide-routines.og): Remove.
10899         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
10900         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
10901         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
10903 2016-09-20  Florian Weimer  <fweimer@redhat.com>
10905         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
10906         .os objects.
10908 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10910         [BZ #20615]
10911         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
10912         fpu directory by non-fpu.
10913         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
10914         on non-fpu directory from a fpu directory.
10916 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
10918         * include/limits.h: Define
10919         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10920         <bits/libc-header-start.h> instead of including <features.h>.
10921         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
10922         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
10923         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
10924         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
10925         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
10926         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
10927         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
10928         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
10929         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
10930         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
10931         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
10932         * manual/lang.texi (Width of Type): Document these macros.
10933         * stdlib/tst-width.c: New file.
10934         * stdlib/Makefile (tests): Add tst-width.
10936 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10938         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
10939         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
10941 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10943         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
10944         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
10945         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
10947 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10949         [BZ #18243]
10950         * rt/Makefile (test): Add tst-shm-cancel.
10951         * rt/tst-shm-cancel.c: New file.
10952         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
10954         [BZ #18243]
10955         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
10956         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
10957         definition.
10958         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
10959         uncontended case.
10960         * nptl/sem_wait.c (__new_sem_wait): Likewise.
10961         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
10962         (tf): Fix check for uncontended case.
10963         (do_test): Likewise.
10964         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
10965         (tf): Fix check for uncontended case.
10966         (do_test): Likewise.
10967         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
10968         (tf): Fix check for uncontended case.
10969         (do_test): Likewise.
10970         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
10971         (tf): Fix check for uncontended case.
10972         (do_test): Likewise.
10974         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
10975         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
10977         [BZ #15765]
10978         * nptl/Makefile (tests): Add tst-sem16.
10979         * nptl/tst-sem16.c: New file.
10980         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
10982         * nptl/sem_open.c (sem_open): Init pad value to 0.
10983         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
10984         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
10986 2016-09-15  Florian Weimer  <fweimer@redhat.com>
10988         [BZ #20611]
10989         * inet/Makefile (routines): Add inet6_scopeid_pton.
10990         (tests): Add tst-inet6_scopeid_pton.
10991         * inet/inet6_scopeid_pton.c: New file.
10992         * inet/net-internal.h: Likewise.
10993         * inet/tst-inet6_scopeid_pton.c: New test.
10994         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
10995         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
10996         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10998 2016-09-14  Florian Weimer  <fweimer@redhat.com>
11000         Remove support for compiling wrappers with PTW.
11001         * sysdeps/nptl/Makeconfig: Drop ptw- support.
11002         * nptl/Makefile (pthread-compat-wrappers): Define.
11003         (libpthread-routines): Use pthread-compat-wrappers.
11004         * sysdeps/unix/sysv/linux/alpha/Makefile
11005         (libpthread-routines, libpthread-shared-only-routines): Remove
11006         ptw- prefix.
11007         * sysdeps/s390/nptl/Makefile
11008         (libpthread-routines, libpthread-shared-only-routines): Likewise.
11009         * sysdeps/ia64/nptl/Makefile
11010         (libpthread-routines, libpthread-shared-only-routines): Likewise.
11011         * sysdeps/nacl/Makefile (libpthread-routines): Use
11012         pthread-compat-wrappers to filter the routines list instead of the
11013         ptw- prefix.
11015 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11017         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
11018         with L() and remove explicit suffix, convert real literals
11019         which can be equivalentally substituted with integers, and
11020         transform -L(x) to L(-x).
11022         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11023         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11024         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11025         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11026         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11027         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11028         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11029         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11030         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11031         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11032         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11033         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11034         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11035         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11036         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11037         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11038         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11039         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11040         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11041         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11042         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11043         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11044         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11045         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11046         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11047         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11048         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11049         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11050         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11051         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11052         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11053         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11054         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11055         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11056         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11057         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11058         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11059         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11060         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11061         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11062         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11063         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11064         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11065         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11066         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11067         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11068         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11069         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
11070         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11071         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11073 2016-09-13  Florian Weimer  <fweimer@redhat.com>
11075         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
11077 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11079         * malloc/Makefile (tests): Remove individual static test names
11080         and just add all of tests-static.
11082         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
11084 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
11086         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
11087         file.
11089         * sysdeps/sparc/fpu/fegetmode.c: New file.
11090         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
11092         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
11093         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
11095         * sysdeps/s390/fpu/fegetmode.c: New file.
11096         * sysdeps/s390/fpu/fesetmode.c: Likewise.
11098         * sysdeps/powerpc/fpu/fegetmode.c: New file.
11099         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
11100         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
11101         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
11102         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
11103         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
11105         * sysdeps/mips/fpu/fegetmode.c: New file.
11106         * sysdeps/mips/fpu/fesetmode.c: Likewise.
11108         * sysdeps/m68k/fpu/fegetmode.c: New file.
11109         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
11111         * sysdeps/ia64/fpu/fegetmode.c: New file.
11112         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
11114         * sysdeps/hppa/fpu/fegetmode.c: New file.
11115         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
11117         * sysdeps/arm/fegetmode.c: New file.
11118         * sysdeps/arm/fesetmode.c: Likewise.
11120         * sysdeps/alpha/fpu/fegetmode.c: New file.
11121         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
11123         * sysdeps/aarch64/fpu/fegetmode.c: New file.
11124         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
11126         * math/fegetmode.c: New file.
11127         * math/fesetmode.c: Likewise.
11128         * sysdeps/i386/fpu/fegetmode.c: Likewise.
11129         * sysdeps/i386/fpu/fesetmode.c: Likewise.
11130         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
11131         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
11132         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
11133         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
11134         declaration.
11135         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
11136         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
11137         typedef.
11138         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11139         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11140         (femode_t): New typedef.
11141         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11142         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11143         (femode_t): New typedef.
11144         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11145         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11146         (femode_t): New typedef.
11147         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11148         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11149         (femode_t): New typedef.
11150         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11151         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11152         (femode_t): New typedef.
11153         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11154         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11155         (femode_t): New typedef.
11156         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11157         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11158         (femode_t): New typedef.
11159         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11160         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11161         (femode_t): New typedef.
11162         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11163         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11164         (femode_t): New typedef.
11165         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11166         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11167         (femode_t): New typedef.
11168         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
11169         declaration.
11170         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11171         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11172         (femode_t): New typedef.
11173         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11174         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11175         (femode_t): New typedef.
11176         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11177         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11178         (femode_t): New typedef.
11179         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11180         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11181         (femode_t): New typedef.
11182         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11183         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11184         (femode_t): New typedef.
11185         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11186         * manual/arith.texi (FE_DFL_MODE): Document macro.
11187         (fegetmode): Document function.
11188         (fesetmode): Likewise.
11189         * math/Versions (fegetmode): New libm symbol at version
11190         GLIBC_2.25.
11191         (fesetmode): Likewise.
11192         * math/Makefile (libm-support): Add fegetmode and fesetmode.
11193         (tests): Add test-femode and test-femode-traps.
11194         * math/test-femode-traps.c: New file.
11195         * math/test-femode.c: Likewise.
11196         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
11197         alias for __fe_dfl_env.
11198         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
11199         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
11200         (__fe_dfl_mode): Likewise.
11201         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
11202         version GLIBC_2.25.
11203         * sysdeps/nacl/libm.abilist: Update.
11204         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11205         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11206         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11207         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11208         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11209         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11210         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11211         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11212         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11213         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11214         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11215         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11217         Likewise.
11218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11219         Likewise.
11220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11221         Likewise.
11222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11223         Likewise.
11224         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11225         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11226         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11227         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11228         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11230         Likewise.
11231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11232         Likewise.
11233         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11234         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11235         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11237 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11239         [BZ #20495]
11240         [BZ #20508]
11241         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
11242         processors, set Use_dl_runtime_resolve_slow and set
11243         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
11244         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
11245         New.
11246         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
11247         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
11248         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
11249         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
11250         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
11251         if Use_dl_runtime_resolve_opt is set.  Use
11252         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
11253         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
11254         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
11255         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
11256         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
11257         New.
11258         (_dl_runtime_resolve_opt): Likewise.
11259         (_dl_runtime_profile): Define only if _dl_runtime_profile is
11260         defined.
11262 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11264         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
11265         __libc_memalign with "+ RELA R_390_GLOB_DAT".
11267 2016-09-06  Florian Weimer  <fweimer@redhat.com>
11269         Convert malloc to __libc_lock.  Automated part, using this Perl
11270         s/// command:
11271           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
11272             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
11273         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
11274         conversion.
11276 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
11278         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
11279         (linknamespace-symlists-tests): Likewise.
11280         (linknamespace-header-tests): Likewise.
11282 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
11284         [BZ #19810]
11285         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
11286         * elf/tst-noload.c: New test case.
11287         * elf/Makefile (tests): Add tst-noload.
11289 2016-09-02  Roland McGrath  <roland@hack.frob.com>
11291         * sysdeps/nacl/dup.c: Add libc_hidden_def.
11293         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
11294         not any more.
11296         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
11298 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11300         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
11301         (do_cos_slow): Likewise.
11302         (do_sin): Likewise.
11303         (do_sin_slow): Likewise.
11304         (slow): Likewise.
11305         (slow1): Likewise.
11306         (slow2): Likewise.
11307         (sloww): Likewise.
11308         (sloww1): Likewise.
11309         (sloww2): Likewise.
11310         (bsloww): Likewise.
11311         (bsloww1): Likewise.
11312         (bsloww2): Likewise.
11313         (cslow2): Likewise.
11315         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
11317         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
11318         arguments.  Consolidate input partitioning from callers here.
11319         (do_cos_slow): Likewise.
11320         (do_sin): Likewise.
11321         (do_sin_slow): Likewise.
11322         (do_sincos_1): Remove the no longer necessary input partitioning.
11323         (do_sincos_2): Likewise.
11324         (__sin): Likewise.
11325         (__cos): Likewise.
11326         (slow1): Likewise.
11327         (slow2): Likewise.
11328         (sloww1): Likewise.
11329         (sloww2): Likewise.
11330         (bsloww1): Likewise.
11331         (bsloww2): Likewise.
11332         (cslow2): Likewise.
11334 2016-09-02  Florian Weimer  <fweimer@redhat.com>
11336         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
11337         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
11338         outside of allocated array.
11340 2016-09-02  Florian Weimer  <fweimer@redhat.com>
11342         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
11343         instead of MB_CUR_MAX to avoid variable-length array.
11345 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11347         * math/Makefile (libm-calls): Remove k_rem_pio2F.
11348         (type-double-routines): Add k_rem_pio2.
11349         (type-float-routines): Add k_rem_pio2f.
11351         * sysdeps/generic/math_private.h:
11352         (__kernel_rem_pio2l): Removed.
11354         * math/k_rem_pio2l.c: Removed.
11355         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
11356         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
11357         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
11358         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
11360 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11362         * math/Makefile (gen-libm-calls): Add s_fmin
11363         (libm-calls): Remove above.
11365         * math/s_fmin.c: Refactor into ...
11366         * math/s_fmin_template.c: New file.
11368         * math/s_fminf.c: Removed.
11369         * math/s_fminl.c: Removed.
11370         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11371         (LDOUBLE_fmin_libm_version): New macro.
11373         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
11374         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
11376 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11378         * math/Makefile: (gen-libm-calls): Add s_fmax.
11379         (libm-calls): Remove above.
11381         * math/s_fmax.c: Refactor into ...
11382         * math/s_fmax_template.c: New file.
11383         * math/s_fmaxf.c: Removed.
11384         * math/s_fmaxl.c: Removed.
11386         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11387         (LDOUBLE_fmaxl_libm_version): New macro.
11389         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
11390         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
11392         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
11393         s_fmin.c to pick the aarch64 version of the file.
11394         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
11395         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
11397 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11399         * math/Makefile: (gen-libm-calls): Add s_nextdown.
11400         (libm-calls): Remove above.
11402         * math/s_nextdown.c: Refactor into ...
11403         * math/s_nextdown_template.c: New file.
11404         * math/s_nextdownf.c: Removed.
11405         * math/s_nextdownl.c: Removed.
11407         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
11409 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11411         * math/Makefile (gen-libm-calls): Add s_fdim.
11412         (libm-calls): Move to above.
11414         * math/s_fdim.c: Renamed and refactored into to ...
11415         * math/s_fdim_template.c: New file.
11416         * math/s_fdiml.c: Removed.
11417         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
11418         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
11420         * sysdeps/generic/math-type-macros-double.h:
11421         (declare_mgen_alias): Don't declare if already declared.
11422         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
11423         Likewise.
11425         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11426         (declare_mgen_alias): Don't declare if already declared.
11427         (M_LIBM_NEED_COMPAT): Likewise.
11428         (declare_mgen_libm_compat): Likewise.
11429         (LDOUBLE_fdiml_libm_version): New macro.
11431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
11432         Include math/s_fdim.c now that ldbl-opt version is not needed.
11433         (declare_mgen_alias): New macro to disable aliasing.
11435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
11436         (declare_mgen_alias): Likewise.
11437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
11438         (declare_mgen_alias): Likewise.
11439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
11440         (declare_mgen_alias): Likewise.
11441         (M_LIBM_NEED_COMPAT): Likewise.
11443 2016-09-01  Florian Weimer  <fweimer@redhat.com>
11445         [BZ #20525]
11446         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
11447         Include <linux/quota.h>.
11448         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
11449         and btodb.
11450         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
11451         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
11452         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
11453         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
11454         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
11455         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
11456         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
11457         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
11458         types.
11459         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
11460         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
11462 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11464         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
11465         (gammal_positive): Fix spacing.
11466         (__ieee754_gammal_r): Likewise.
11468 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11470         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
11471         (_Float128): Define as long double, always.
11472         (L): Apply long double type suffix, always.
11474         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
11475         _Float128, excepting comments.
11477         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11478         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11479         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11480         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11481         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11482         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11483         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11484         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11485         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11486         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
11487         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11488         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11489         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11490         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11491         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11492         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11493         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11494         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11495         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11496         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11497         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11498         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11499         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11500         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11501         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11502         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11503         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11504         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11505         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11506         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11507         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11508         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11509         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11510         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11511         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11512         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11513         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11514         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11515         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11516         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11517         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11518         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11519         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11520         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11521         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11522         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11523         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11524         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11525         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11526         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11527         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11528         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11529         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11530         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11531         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11532         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11533         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11534         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11535         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11536         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11537         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11538         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11539         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11540         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11541         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11542         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
11543         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11544         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11546         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
11547         _Float128, and include math_private.h.
11548         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11550         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
11551         long double semantics.
11552         (_Float128): Likewise.
11553         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
11554         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11555         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
11556         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
11558 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11560         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
11561         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
11562         * sysdeps/s390/configure: Regenerated.
11563         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
11564         instruction for raising over-/underflow if z196 zarch is supported
11565         by default.
11566         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
11568 2016-08-30  Svante Signell  <svante.signell@gmail.com>
11570         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
11571         it point to a dumb buffer for RPC to fill it.
11573 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11575         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
11576         instead of if/else.
11577         (do_sin_slow): Likewise.
11578         (do_sincos_1): Use fabs instead of if/else.
11579         (do_sincos_2): Likewise.
11580         (__sin): Likewise.
11581         (__cos): Likewise.
11582         (slow2): Likewise.
11583         (sloww): Likewise.
11584         (sloww1): Likewise.  Drop argument M.
11585         (sloww2): Use fabs instead of if/else.
11586         (bsloww): Likewise.
11587         (bsloww1): Likewise.
11588         (bsloww2): Likewise.
11590         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
11591         fall through comment.
11592         (do_sincos_1): Likewise.
11594         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
11595         Consolidate switch cases 0 and 2.
11597 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11599         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
11600         (libm-calls): Remove the above.
11602         * math/s_cexp_template.c: Update using type-generic macros.
11603         * math/s_clog10_template.c: Likewise.
11604         * math/s_cpow_template.c: Likewise.
11605         * math/s_clog_template.c: Likewise.
11606         * math/s_cproj_template.c: Likewise.
11607         * math/s_csqrt_template.c: Likewise.
11609         * math/s_cexp.c: Removed.
11610         * math/s_cexpf.c: Removed.
11611         * math/s_cexpl.c: Removed.
11612         * math/s_clog10.c: Removed.
11613         * math/s_clog10f.c: Removed.
11614         * math/s_clog10l.c: Removed.
11615         * math/s_cpow.c: Removed.
11616         * math/s_cpowf.c: Removed.
11617         * math/s_cpowl.c: Removed.
11618         * math/s_clog.c: Removed.
11619         * math/s_clogf.c: Removed.
11620         * math/s_clogl.c: Removed.
11621         * math/s_cproj.c: Removed.
11622         * math/s_cprojf.c: Removed.
11623         * math/s_cprojl.c: Removed.
11624         * math/s_csqrt.c: Removed.
11625         * math/s_csqrtf.c: Removed.
11626         * math/s_csqrtl.c: Removed.
11628         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
11629         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
11630         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
11631         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
11632         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
11633         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
11635         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
11636         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
11637         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
11638         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
11639         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
11640         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
11641         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
11642         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
11643         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
11644         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
11645         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
11647         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
11648         version.
11650         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
11651         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
11652         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
11653         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
11655 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11657         * s_cexp_template.c: Copy of s_cexp.c.
11658         * s_clog_template.c: Copy of s_clog.c.
11659         * s_clog10_template.c: Copy of s_clog10.c.
11660         * s_cpow_template.c: Copy of s_cpow.c.
11661         * s_cproj_template.c: Copy of s_cproj.c.
11662         * s_csqrt_template.c: Copy of s_csqrt.c.
11664 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11666         [BZ #20517]
11667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
11668         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
11669         exported.
11671 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
11673         * math/fetestexceptflag.c: New file.
11674         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
11675         Stefan Liebler.
11676         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11677         (fetestexceptflag): New function declaration.
11678         * manual/arith.texi (fetestexceptflag): Document function.
11679         * math/Versions (fetestexceptflag): New libm symbol at version
11680         GLIBC_2.25.
11681         * math/Makefile (libm-support): Add fetestexceptflag.
11682         (tests): Add test-fetestexceptflag.
11683         * math/test-fetestexceptflag.c: New file.
11684         * sysdeps/nacl/libm.abilist: Update.
11685         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11686         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11687         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11688         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11689         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11690         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11691         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11692         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11693         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11694         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11695         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11696         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11698         Likewise.
11699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11700         Likewise.
11701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11702         Likewise.
11703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11704         Likewise.
11705         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11706         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11707         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11708         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11709         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11711         Likewise.
11712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11713         Likewise.
11714         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11715         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11716         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11718 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11720         [BZ #20432]
11721         Avoid strong references to malloc-internal symbols when linking
11722         statically, to support statically interposed mallocs.
11723         * include/libc-symbols.h (call_function_static_weak): New macro.
11724         * malloc/Makefile (tests): Add tst-interpose-nothread,
11725         tst-interpose-thread, tst-interpose-static-nothread,
11726         tst-interpose-static-thread.
11727         (tests-static): Add tst-interpose-static-nothread,
11728         tst-interpose-static-thread.
11729         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
11730         tst-interpose-aux-thread.o.
11731         (test-extras): Add tst-interpose-aux-nothread,
11732         tst-interpose-aux-thread.
11733         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
11734         tst-interpose-aux-nothread.o.
11735         (tst-interpose-thread, tst-interpose-static-thread): Link with
11736         tst-interpose-aux-thread.o and libthread.
11737         * malloc/tst-interpose-aux-nothread.c: New file.
11738         * malloc/tst-interpose-aux-thread.c: Likewise.
11739         * malloc/tst-interpose-aux.c: Likewise.
11740         * malloc/tst-interpose-aux.h: Likewise.
11741         * malloc/tst-interpose-nothread.c: Likewise.
11742         * malloc/tst-interpose-skeleton.c: Likewise.
11743         * malloc/tst-interpose-static-nothread.c: Likewise.
11744         * malloc/tst-interpose-static-thread.c: Likewise.
11745         * malloc/tst-interpose-thread.c: Likewise.
11746         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
11747         * sysdeps/mach/hurd/fork.c (__fork): Only call
11748         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
11749         __malloc_fork_unlock_child if defined.
11750         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11752 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11754         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
11755         timespec C99 designated initialization.
11757 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11759         [BZ #19946]
11760         Avoid expected SIGALRM signals.
11761         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
11762         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
11763         (xpthread_create, xpthread_detach, xpthread_join)
11764         (delayed_exit_thread, delayed_exit): New functions.
11765         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
11766         (tf): Use xpthread_cond_wait.
11767         (do_test): Likewise.  Replace alarm with delayed_exit.
11768         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11769         (do_test): Call delayed_exit.  Report failure.
11770         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11771         (do_test): Call delayed_exit.
11772         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11773         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
11774         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11775         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
11776         error.
11777         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11778         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
11779         error.
11780         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
11781         (do_test): Call delayed_exit.
11782         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
11783         (do_test): Call delayed_exit.
11784         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
11785         (do_test): Call delayed_exit instead of alarm.  Use
11786         xpthread_mutex_lock.
11787         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
11788         (do_test): Call delayed_exit instead of alarm.  Use
11789         xpthread_mutex_lock.
11790         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
11791         (do_test): Call delayed_exit instead of alarm.
11792         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
11793         (do_test): Call delayed_exit instead of alarm.  Use
11794         xpthread_spin_lock.
11795         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
11796         (do_test): Call delayed_exit instead of alarm.  Use
11797         xpthread_join.
11799 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11801         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
11802         adjust CFA when allocating register save area on re-aligned
11803         stack.
11805 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11807         * string/tst-cmp.c: New test.
11808         * string/Makefile (tests): Add it.
11810 2016-08-25  Mark Wielaard  <mark@klomp.org>
11812         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
11813         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
11814         (check_tree_recurse): Use newly defined accessors.
11815         (check_tree): Likewise.
11816         (maybe_split_for_insert): Likewise.
11817         (__tfind): Likewise.
11818         (__tdelete): Likewise.
11819         (trecurse): Likewise.
11820         (tdestroy_recurse): Likewise.
11821         (__tsearch): Likewise. And add asserts for malloc alignment.
11822         (__twalk): Cast root to node in case CHECK_TREE is defined.
11824 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11826         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
11828 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11830         * math/Makefile (libm-gen-calls): Add
11831         catan, catanh, ctan, ctanh.
11832         (libm-calls): Remove the above.
11834         * math/s_catan_template.c: Update using type-generic macros.
11835         * math/s_catanh_template.c: Likewise.
11836         * math/s_ctan_template.c: Likewise.
11837         * math/s_ctanh_template.c: Likewise.
11839         * math/s_catanf.c: Removed.
11840         * math/s_catan.c: Removed.
11841         * math/s_catanl.c: Removed.
11842         * math/s_catanhf.c: Removed.
11843         * math/s_catanh.c: Removed.
11844         * math/s_catanhl.c: Removed.
11845         * math/s_ctanf.c: Removed.
11846         * math/s_ctan.c: Removed.
11847         * math/s_ctanl.c: Removed.
11848         * math/s_ctanhf.c: Removed.
11849         * math/s_ctanh.c: Removed.
11850         * math/s_ctanhl.c: Removed.
11852         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
11853         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
11854         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
11855         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
11856         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
11857         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
11859         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
11860         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
11861         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
11862         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
11864 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11866         * s_catan_template.c: Copy of s_catan.c.
11867         * s_catanh_template.c: Copy of s_catanh.c.
11868         * s_ctan_template.c: Copy of s_ctan.c.
11869         * s_ctanh_template.c: Copy of s_ctanh.c.
11871 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11873         * math/Makefile (gen-libm-calls): Move
11874         casin, casinh, csin, csinh here.
11875         (libm-calls): Remove the above.
11877         * math/s_casin_template.c: Update using type-generic macros.
11878         * math/s_casinh_template.c: Likewise.
11879         * math/s_csin_template.c: Likewise.
11880         * math/s_csinh_template.c: Likewise.
11881         * math/k_casinh_template.c: Likewise.
11883         * math/s_casinf.c: Removed.
11884         * math/s_casin.c: Removed.
11885         * math/s_casinl.c: Removed.
11886         * math/s_casinh.c: Removed.
11887         * math/s_casinhf.c: Removed.
11888         * math/s_casinhl.c: Removed.
11889         * math/s_csin.c: Removed.
11890         * math/s_csinf.c: Removed.
11891         * math/s_csinl.c: Removed.
11892         * math/s_csinh.c: Removed.
11893         * math/s_csinhf.c: Removed.
11894         * math/s_csinhl.c: Removed.
11895         * math/k_casinh.c: Removed.
11896         * math/k_casinhf.c: Removed.
11897         * math/k_casinhl.c: Removed.
11899         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
11900         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
11901         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
11902         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
11904         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
11905         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
11906         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
11907         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
11908         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
11909         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
11910         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
11911         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
11913         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
11914         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
11915         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
11916         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
11918         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
11919         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
11920         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
11921         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
11923 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11925         * s_casin_template.c: Copy of s_casin.c.
11926         * s_casinh_template.c: Copy of s_casinh.c.
11927         * s_csin_template.c: Copy of s_csin.c.
11928         * s_csinh_template.c: Copy of s_csinh.c.
11929         * k_casinh_template.c: Copy of k_casinh.c.
11931 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11933         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
11935 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11937         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
11938         (mul_split) Remove, rename as mul_splitl, remove
11939         redundant float.h include, and include via mul_splitl.h
11941         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11942         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11943         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11944         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
11945         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11947         * math/mul_splitl.h: New file.
11949         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
11950         Move into mul_split.h, and remove redundant float.h include.
11952         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
11953         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
11954         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11955         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
11957         * math/mul_split.h: New file.
11959 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11961         * math/Makefile (libm-gen-calls): Move
11962         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
11963         (libm-calls): Remove above.
11965         * math/s_cacos_template.c: Update using type-generic macros.
11966         * math/s_cacosh_template.c: Likewise.
11967         * math/s_ccos_template.c: Likewise.
11968         * math/s_ccosh_template.c: Likewise.
11970         * math/s_cacosf.c: Removed.
11971         * math/s_cacos.c: Removed.
11972         * math/s_cacosl.c: Removed.
11973         * math/s_cacoshf.c: Removed.
11974         * math/s_cacosh.c: Removed.
11975         * math/s_cacoshl.c: Removed.
11976         * math/s_ccosf.c: Removed.
11977         * math/s_ccos.c: Removed.
11978         * math/s_ccosl.c: Removed.
11979         * math/s_ccoshf.c: Removed.
11980         * math/s_ccosh.c: Removed.
11981         * math/s_ccoshl.c: Removed.
11983         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
11984         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
11985         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
11986         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
11987         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
11988         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
11990         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
11991         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
11992         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
11993         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
11995         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
11996         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
11997         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
11998         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
12000 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12002         * s_cacos_template.c: Copy of s_cacos.c.
12003         * s_cacosh_template.c: Copy of s_cacosh.c.
12004         * s_ccos_template.c: Copy of s_ccos.c.
12005         * s_ccosh_template.c: Copy of s_ccosh.c.
12007 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12009         * stdlib/tst-strtod-round-skeleton.c:
12010         Refactored from tst-strtod-round.c.
12012         (L_): New macro to apply literal modifier.
12013         (FNPFX): New macro to select str or wcs prefix.
12014         (CHAR): New macro to choose wchar_t or char.
12015         (STRM): New macro to choose printf for tested character type.
12017         (STRTO): New macro to choose appropriate string -> real function.
12018         (FNPFXS): Stringitized version of FNPFX.
12019         (STR): Support for above macro.
12020         (STRX): Likewise.
12022         (TEST): Update with above macros.
12023         (test): Likewise.
12024         (GEN_ONE_TEST): Likewise.
12025         (test_in_one_mode): Likewise.
12027         * stdlib/tst-strtod-round.c: New file.
12028         * wcsmbs/tst-wcstod-round.c: New file.
12030         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
12031         (tst-wcstod-round): Add libm depencency for fesetround.
12033 2016-08-19  Zack Weinberg  <zackw@panix.com>
12035         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
12037 2016-08-18  Torvald Riegel  <triegel@redhat.com>
12039         [BZ #20477]
12040         * resolv/res_hconf.c (do_init): Use atomic access.
12041         * resolv/res_hconf.h: Add comments.
12042         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
12043         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
12044         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12046 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
12048         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12049         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
12050         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12051         Likewise.
12053 2016-08-18  Florian Weimer  <fweimer@redhat.com>
12055         [BZ #16907]
12056         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
12057         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
12058         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
12059         (__attribute__): Remove definition.
12061 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12063         * sysdeps/ieee754/ldbl-128/e_asinl.c:
12064         Remove unused sqrtl declaration.
12066 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12068         * math/Makefile: (gen-libm-templates.stmp): New rule.
12069         (libm-calls): Move carg conj cimag and cabs into ...
12070         (gen-libm-calls): New variable.
12071         (generated): Inform Make objects from gen-libm-calls
12072         may be generated.
12074         * sysdeps/generic/math-type-macros.h: New file.
12075         * sysdeps/generic/math-type-macros-float.h: Likewise.
12076         * sysdeps/generic/math-type-macros-double.h: Likewise.
12077         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
12078         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
12079         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
12081         * math/cabs.c: Refactor into
12082         * math/cabs_template.c: new file.
12083         * math/cabsf.c: Removed.
12084         * math/cabsl.c: Removed.
12085         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
12086         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
12088         * math/carg.c: Refactor into
12089         * math/carg_template.c: new file.
12090         * math/cargf.c: Removed.
12091         * math/cargl.c: Removed.
12092         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
12093         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
12095         * math/conj.c: Refactor into
12096         * math/conj_template.c: new file.
12097         * math/conjf.c: Removed.
12098         * math/conjl.c: Removed.
12099         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
12100         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
12102         * math/cimag.c: Refactor into
12103         * math/cimag_template.c: new file.
12104         * math/cimagf.c: Removed.
12105         * math/cimagl.c: Removed.
12106         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
12107         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
12109         * math/cimag.c: Refactor into
12110         * math/cimag_template.c: new file.
12111         * math/cimagf.c: Removed.
12112         * math/cimagl.c: Removed.
12113         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
12114         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
12116 2016-08-17  Florian Weimer  <fweimer@redhat.com>
12118         Reduce time to expected nptl/tst-once5 failure.
12119         * nptl/tst-once5.cc (TIMEOUT): Define.
12121 2016-08-17  Florian Weimer  <fweimer@redhat.com>
12123         [BZ #20452]
12124         Avoid additional copies of objects in libc.a in static libraries.
12125         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
12126         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
12127         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
12128         rt-sysdep.
12129         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
12130         Add nptl-sysdep.
12131         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
12132         Add ptw-sysdep.
12133         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
12134         rt-sysdep.
12135         * sysdeps/unix/sysv/linux/alpha/Makefile
12136         (libpthread-shared-only-routines): Add ptw-sysdep,
12137         ptw-sigprocmask, ptw-rt_sigaction.
12138         * sysdeps/unix/sysv/linux/ia64/Makefile
12139         (librt-shared-only-routines): Add rt-sysdep.
12140         * sysdeps/unix/sysv/linux/i386/Makefile
12141         (libpthread-shared-only-routines): Add libc-do-syscall.
12142         * sysdeps/unix/sysv/linux/microblaze/Makefile
12143         (libpthread-shared-only-routines): Add sysdep.
12144         * sysdeps/unix/sysv/linux/powerpc/Makefile
12145         (librt-shared-only-routines): Add rt-sysdep.
12146         (libpthread-shared-only-routines): Add sysdep.
12147         * sysdeps/unix/sysv/linux/s390/Makefile
12148         (librt-shared-only-routines): Add rt-sysdep.
12149         * sysdeps/unix/sysv/linux/sparc/Makefile
12150         (librt-shared-only-routines): Add rt-sysdep.
12151         (libpthread-shared-only-routines): Add sysdep.
12152         * sysdeps/unix/sysv/linux/tile/Makefile
12153         (libpthread-shared-only-routines): Likewise.
12155 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
12157         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
12158         Mask implicit bit out of unpacked value.
12159         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
12160         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
12161         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
12163         * sysdeps/sparc/fpu/fesetexcept.c: New file.
12165         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
12167         * sysdeps/s390/fpu/fesetexcept.c: New file.
12169         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
12170         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
12171         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
12173         * sysdeps/mips/fpu/fesetexcept.c: New file.
12175         * sysdeps/m68k/fpu/fesetexcept.c: New file.
12177         * sysdeps/ia64/fpu/fesetexcept.c: New file.
12179         * sysdeps/hppa/fpu/fesetexcept.c: New file.
12181         * sysdeps/arm/fesetexcept.c: New file.
12183         * sysdeps/alpha/fpu/fesetexcept.c: New file.
12185         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
12187         * math/fesetexcept.c: New file.
12188         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
12189         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
12190         * math/fenv.h: Define
12191         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12192         <bits/libc-header-start.h> instead of including <features.h>.
12193         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
12194         declaration.
12195         * manual/arith.texi (fesetexcept): Document function.
12196         * math/Versions (fesetexcept): New libm symbol at version
12197         GLIBC_2.25.
12198         * math/Makefile (libm-support): Add fesetexcept.
12199         (tests): Add test-fesetexcept and test-fesetexcept-traps.
12200         * math/test-fesetexcept.c: New file.
12201         * math/test-fesetexcept-traps.c: Likewise.
12202         * sysdeps/nacl/libm.abilist: Update.
12203         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12204         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12205         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12206         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12207         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12208         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12209         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12210         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12211         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12212         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12213         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12214         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12216         Likewise.
12217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12218         Likewise.
12219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12220         Likewise.
12221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12222         Likewise.
12223         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12224         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12225         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12226         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12227         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12229         Likewise.
12230         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12231         Likewise.
12232         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12233         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12234         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12236 2016-08-16  Florian Weimer  <fweimer@redhat.com>
12238         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
12239         New.
12240         (do_test): Apply default_stack_size_in_mb if not set.
12241         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
12243 2016-08-15  Andreas Schwab  <schwab@suse.de>
12245         [BZ #20435]
12246         CVE-2016-6323
12247         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
12248         as .cantunwind.
12250 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
12252         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
12253         comment from fraiseexcpt.c.
12255         * math/test-fexcept.c (feraiseexcept_exact): New function.
12256         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
12257         (test_except): Likewise.
12259 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
12261         [BZ #20455]
12262         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
12263         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
12264         to be restored.
12266         * math/test-fexcept-traps.c: New file.
12267         * math/test-fexcept.c: Likewise.
12268         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
12269         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
12270         macro.
12271         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
12272         (EXCEPTION_SET_FORCES_TRAP): Likewise.
12274 2016-08-09  Torvald Riegel  <triegel@redhat.com>
12276         * include/atomic.h (atomic_fetch_and_relaxed,
12277         atomic_fetch_and_release, atomic_fetch_or_release,
12278         atomic_fetch_xor_release): New.
12280 2016-08-06  Christian Seiler  <christian@iwakd.de>
12282         [BZ #20444]
12283         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
12284         MACH_PORT_NULL.
12286 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12288         * math/s_fdim.c: Avoid alias renamed.
12289         * math/s_fdimf.c: Likewise.
12290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12291         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12292         Add s_fdimf-vis3, s_fdim-vis3.
12293         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
12294         (CFLAGS-s_fdim-vis3.c): Likewise.
12295         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
12296         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
12298 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12301         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12302         Remove s_fdimf-vis3, s_fdim-vis3.
12303         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
12304         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
12305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
12306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
12307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
12308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
12309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
12310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
12311         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
12312         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
12314 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12316         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
12317         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
12318         -Wa,-Av9a -mvis.
12320 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12322         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
12323         LIT() to individual constants in simple expressions
12324         after splitting on spaces.
12325         (_apply_lit): Rename replaced version, and use it to
12326         apply to what appears to be a token.
12328         * math/libm-test.inc: Fix many, many issues with
12329         spacing.
12331 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
12333         * math/math.h: Move comment about <bits/mathdef.h> definitions
12334         above inclusion of <bits/mathdef.h>.  Do not mention
12335         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
12337 2016-08-05  Torvald Riegel  <triegel@redhat.com>
12339         * include/atomic.h (atomic_exchange_relaxed): New.
12341 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
12343         * math/e_scalb.c: Do not include <fenv.h>.
12344         (invalid_fn): Do calculation resulting in NaN instead of raising
12345         FE_INVALID and returning a NaN explicitly.
12346         * math/e_scalbf.c: Do not include <fenv.h>.
12347         (invalid_fn): Do calculation resulting in NaN instead of raising
12348         FE_INVALID and returning a NaN explicitly.
12349         * math/e_scalbl.c: Do not include <fenv.h>.
12350         (invalid_fn): Do calculation resulting in NaN instead of raising
12351         FE_INVALID and returning a NaN explicitly.
12353 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
12355         * po/de.po: Updated from Translation Project.
12356         * po/fi.po: Likewise.
12357         * po/sv.po: Likewise.
12359 2016-08-04  Florian Weimer  <fweimer@redhat.com>
12361         [BZ #20452]
12362         Use sysdep.o from libc.a in static libraries.
12363         * sysdeps/unix/sysv/linux/i386/Makefile
12364         (libpthread-shared-only-routines): Add sysdep.
12365         (librt-shared-only-routines): Likewise.
12367 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12369         * math/tgmath.h (nextdown): Define if
12370         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
12371         (nextup): Likewise.
12373         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
12374         macro.
12375         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
12376         Document.
12377         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
12378         Document macro.
12379         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
12380         (exp10f): Likewise.
12381         (exp10l): Likewise.
12382         * math/bits/mathcalls.h (exp10): Declare if
12383         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
12385         * manual/arith.texi (nextup): Fix typo in last change.
12387 2016-08-03  Zack Weinberg  <zackw@panix.com>
12389         [BZ #19239]
12390         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
12391         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
12392         define major, minor, and makedev to issue deprecation warnings on use.
12393         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
12394         previously-activated deprecation warnings for these macros and prevent
12395         subsequent inclusions of this header from having any effect.
12396         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
12397         including <sys/sysmacros.h>, and undefine it again afterward.
12399 2016-08-03  Zack Weinberg  <zackw@panix.com>
12401         * sysdeps/generic/sys/sysmacros.h: Delete file.
12402         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
12403         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
12404         * bits/sysmacros.h: ... here; this encoding is now the generic
12405         encoding.  Now defines only the following macros:
12406         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
12407         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
12408         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
12410         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
12411         bits/sysmacros.h and the above new macros to generate the
12412         public implementations of major, minor, and makedev.
12413         * misc/tst-makedev.c: New test.
12414         * include/sys/sysmacros.h: New wrapper.
12416         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
12417         (routines): Add makedev.
12418         (tests): Add tst-makedev.
12419         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
12420         gnu_dev_makedev.
12421         * posix/Makefile (headers): Remove sys/sysmacros.h.
12422         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
12424         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
12425         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
12426         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12427         * sysdeps/unix/sysv/linux/alpha/libc.abilist
12428         * sysdeps/unix/sysv/linux/arm/libc.abilist
12429         * sysdeps/unix/sysv/linux/hppa/libc.abilist
12430         * sysdeps/unix/sysv/linux/i386/libc.abilist
12431         * sysdeps/unix/sysv/linux/ia64/libc.abilist
12432         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12433         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12434         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12435         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12436         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12437         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12438         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12439         * sysdeps/unix/sysv/linux/nios2/libc.abilist
12440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12444         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12445         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12446         * sysdeps/unix/sysv/linux/sh/libc.abilist
12447         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12448         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12451         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12452         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12453         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12454         Add GLIBC_2.25.
12456         * include/features.h (__glibc_clang_prereq): New macro.
12457         * misc/sys/cdefs.h (__glibc_clang_has_extension)
12458         (__attribute_deprecated_msg__): New macros.
12460 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12462         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
12463         macro.
12464         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
12465         * manual/arith.texi (issignaling): Document as ISO from TS
12466         18661-1:2014.
12467         (nextup): Likewise.
12468         (nextupf): Likewise.
12469         (nextupl): Likewise.
12470         (nextdown): Likewise.
12471         (nextdownf): Likewise.
12472         (nextdownl): Likewise.
12473         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
12474         macro.
12475         * math/math.h: Define
12476         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12477         <bits/libc-header-start.h> instead of including <features.h>.
12478         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
12479         [__USE_GNU].
12480         * math/bits/mathcalls.h (nextdown): Declare if
12481         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
12482         (nextup): Likewise.
12483         (__issignaling): Likewise.
12485 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12487         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
12488         check, and remove __glibc_likely hint
12489         from FP_INFINITE check.
12490         * s_csinhf.c (__csinhf): Likewise.
12492         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
12493         hint from FP_INFINITE check.
12494         * s_csinhl.c (__csinhl): Likewise.
12496 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12498         * math/Makefile (libm-calls): Insert F placeholder into
12499         object names.  Move w_lgamma_compat* routines into
12500         (libm-compat-calls): New variable.
12501         (libm-compat-calls-ldouble-yes): New variable.
12502         (calls): Insert F placeholder.
12503         (generated): Redefine using new type-foreach macro call.
12504         (routines): Likewise.
12506         (types): New variable to hold a list of symbolic names
12507         for each type supported by the target machine.
12508         (libm-routines): Redefine using new types variable.
12509         (type-foreach): macro to replace fooF with the
12510         appropriately suffixed foo for each types.
12512         (type-ldouble-suffix): New variable.
12513         (type-ldouble-routines): Likewise.
12514         (type-ldouble-yes): Likewise.
12515         (type-double-suffix): Likewise.
12516         (type-double-routines): Likewise.
12517         (type-float-suffix): Likewise.
12518         (type-float-routines): Likewise.
12520         (dbl-only-routines): Remove.
12521         (long-c-yes): Likewise.
12522         (long-m-routines): Likewise.
12523         (long-m-support): Likewise.
12524         (long-m-yes): Likewise.
12525         (test-longdouble-yes): Likewise.
12527         (test-float.o): Simplify by increasing the scope of the
12528         recipe which adds libm-test.stmp to the vector types.
12529         (test-ifloat.o): Likewise.
12530         (test-float-finite.o): Likewise.
12531         (test-double.o): Likewise
12532         (test-idouble.o): Likewise.
12533         (test-double-finite.o): Likewise.
12534         (test-ldouble.o): Likewise
12535         (test-ildoubl.o): Likewise.
12536         (test-ldouble-finite.o): Likewise.
12538         (libm-tests): Redefine type tests using foreach and the
12539         list of types in types.
12541         (CPPFLAGS-test-ildoubl.c): Rename to
12542         (CPPFLAGS-test-ildouble.c): New variable
12544         * math/test-ildoubl.c: Rename to
12545         * math/test-ildouble.c: New file.
12547 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12549         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
12550         Use fabsl instead of fabs.
12551         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
12552         Likewise.
12553         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
12554         Add long double suffix to constant to ensure proper
12555         promotion to long double.
12557 2016-08-03  Tom Tromey  <tom@tromey.com>
12559         [BZ #20311]
12560         * nptl_db/Makefile (headers): Add proc_service.h.
12561         * nptl_db/proc_service.h: Add include guard.  Use
12562         __BEGIN/__END_DECLS.
12563         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
12564         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
12565         arguments.
12568 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12570         [BZ #17730]
12571         Avoid using memalign for TCB allocations.
12572         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
12573         (_dl_allocate_tls_storage): Use malloc and manual alignment.
12574         Avoid alignment gap in the TLS_DTV_AT_TP case.
12575         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
12576         determine the pointer to free.
12577         * nptl/tst-tls3-malloc.c: New test.
12578         * nptl/Makefile (tests): Add it.
12579         (tst-tls3-malloc): Link with libdl, libpthread.
12580         (LDFLAGS-tst-tls3-malloc): Set.
12581         (tst-tls3-malloc.out): Depend on DSO used in test.
12583 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12585         [BZ #17730]
12586         Avoid using memalign for TLS allocations.
12587         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
12588         is_static member with to_free member.
12589         (union dtv): Use struct dtv_pointer.
12590         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
12591         dtv_pointer instead of is_static.
12592         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
12593         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
12594         instead of val.
12595         (allocate_dtv_entry): New function.
12596         (allocate_and_init): Return struct dtv_pointer.  Call
12597         allocate_dtv_entry instead of __libc_memalign.
12598         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
12599         instead of val.
12600         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
12601         instead of is_static.  Adjust call to allocate_and_init.
12602         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
12603         struct dtv_pointer instead of val.
12605 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12607         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
12608         (MALLOC_ALIGN_MASK): Move ...
12609         * malloc/malloc-internal.h: ... to here.
12610         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
12612 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12614         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
12615         (UDP_ENCAP_GTP1U): Likewise.
12617         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
12618         (PF_MAX): Update value.
12619         (AF_QIPCRTR): New macro.
12621 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
12623         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
12624         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12625         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12626         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
12627         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12628         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
12629         s_truncf-vis3, s_trunc-vis3.
12630         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
12631         (CFLAGS-s_ceil-vis3.c): Likewise.
12632         (CFLAGS-s_floorf-vis3.c): Likewise.
12633         (CFLAGS-s_floor-vis3.c): Likewise.
12634         (CFLAGS-s_truncf-vis3.c): Likewise.
12635         (CFLAGS-s_trunc-vis3.c): Likewise.
12636         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
12637         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12638         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
12639         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12640         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
12641         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12642         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
12643         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12644         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
12645         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12646         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
12647         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12649 2016-08-02  David S. Miller  <davem@davemloft.net>
12651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
12652         (__nearbyint_vis3): Don't check for sNaN before float register is
12653         loaded with the incoming argument.
12654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
12655         (__nearbyintf_vis3): Likewise.
12656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
12657         Likewise.
12658         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
12659         Likewise.
12661         * string/test-strncmp.c (do_test_limit): Make sure the test data
12662         stream is aligned as required for the type "CHAR".
12663         (do_test): Likewise.
12665 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
12667         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
12668         by beq instructions jumping to the end of the function.
12669         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
12670         clobber list. Use "i" constraint instead of "X".
12671         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
12672         of "X".
12674 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
12676         * bits/libc-header-start.h: New file.
12677         * Makefile (headers): Add bits/libc-header-start.h.
12678         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
12679         (__GLIBC_USE): New macro.
12680         * libio/stdio.h: Define
12681         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12682         <bits/libc-header-start.h> instead of including <features.h>.
12683         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
12684         (open_memstream): Likewise.
12685         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
12686         (__asprintf): Likewise.
12687         (asprintf): Likewise.
12688         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
12689         (getdelim): Likewise.
12690         (getline): Likewise.
12691         * string/string.h: Define
12692         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12693         <bits/libc-header-start.h> instead of including <features.h>.
12694         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
12695         (strndup): Likewise.
12696         * wcsmbs/wchar.h: Define
12697         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12698         <bits/libc-header-start.h> instead of including <features.h>.
12699         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
12700         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
12702 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12704         Support linking against compatibility symbols, for use in tests.
12705         * include/libc-symbols.h (symbol_version_reference): New macro.
12706         (symbol_version): Use it.
12707         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
12708         (compat_symbol): Use compat_symbol_reference.
12709         (compat_symbol_1, compat_symbol_2): Remove.
12710         (compat_symbol_reference, compat_symbol_reference_1)
12711         (compat_symbol_reference_2): New macro.  Use
12712         symbol_version_reference.
12714 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12716         [BZ #19469]
12717         * malloc/Makefile (CPPFLAGS): Compile tests with
12718         -DTEST_NO_MALLOPT.
12719         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
12721 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
12723         [BZ #20033]
12724         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
12725         finite version.
12726         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
12727         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
12728         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
12729         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
12730         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
12731         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
12732         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
12733         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
12734         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
12735         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
12736         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
12737         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
12738         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
12739         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
12740         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
12741         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
12742         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
12743         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
12744         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
12745         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
12746         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
12747         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
12748         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
12749         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
12750         in zero power.
12752 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12754         [BZ #20370]
12755         * malloc/arena.c (get_free_list): Update comment.  Assert that
12756         arenas on the free list have no attached threads.
12757         (remove_from_free_list): New function.
12758         (reused_arena): Call it.
12760 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
12762         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
12763         when it is a NaN.
12764         [_IEEE_FP_INEXACT] Remove.
12765         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
12766         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
12767         when it is a NaN.
12768         [_IEEE_FP_INEXACT] Remove.
12769         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
12770         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
12771         when it is a NaN.
12772         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
12773         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
12774         when its absolute value is greater than 0x1.0p52.
12775         [_IEEE_FP_INEXACT] Remove.
12776         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
12777         when its absolute value is greater than 0x1.0p23.
12778         [_IEEE_FP_INEXACT] Remove.
12780 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
12782         * version.h (RELEASE): Set to "development"
12783         (VERSION): Set to 2.24.90.
12784         * NEWS: Add 2.25 section.
12786         * version.h (RELEASE): Set to "stable"
12787         (VERSION): Set to 2.24.
12788         * include/features.h (__GLIBC_MINOR__): Set to 24.
12790         * NEWS: Add 2.24 fixed bugs.
12791         * po/libc.pot: Regenerate.
12793 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
12795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12796         [$(subdir) = math] (libm-sysdep_routines): Remove.
12797         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12798         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
12799         s_truncf-vis3, s_trunc-vis3.
12800         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
12802         file.
12803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
12804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
12805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
12806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
12809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
12810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
12812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
12813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
12814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
12815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
12816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
12817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
12818         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
12822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
12823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
12824         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
12825         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12826         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12827         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
12828         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12829         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12830         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
12831         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12832         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12833         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
12834         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12835         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12836         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
12837         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
12838         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
12839         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
12840         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12841         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12842         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
12843         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
12844         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
12845         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
12847 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
12849         [BZ #20384]
12850         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
12851         test-double-libmvec-sincos-avx-main.o,
12852         test-double-libmvec-sincos-avx2-main.o,
12853         test-double-libmvec-sincos-main.o,
12854         test-float-libmvec-sincosf-avx-main.o,
12855         test-float-libmvec-sincosf-avx2-main.o and
12856         test-float-libmvec-sincosf-main.o.
12857         test-float-libmvec-sincosf-avx512-main.o.
12858         ($(objpfx)test-double-libmvec-sincos): Also link with
12859         $(objpfx)test-double-libmvec-sincos-main.o.
12860         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
12861         $(objpfx)test-double-libmvec-sincos-avx-main.o.
12862         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
12863         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
12864         ($(objpfx)test-float-libmvec-sincosf): Also link with
12865         $(objpfx)test-float-libmvec-sincosf-main.o.
12866         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
12867         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
12868         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
12869         test-double-libmvec-sincos-avx512-main.o and
12870         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
12871         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
12872         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
12873         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
12874         (CFLAGS-test-double-libmvec-sincos.c): Removed.
12875         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
12876         (CFLAGS-test-double-libmvec-sincos-main.c): New.
12877         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
12878         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
12879         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
12880         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
12881         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
12882         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
12883         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
12884         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
12885         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
12886         -DREQUIRE_AVX2.
12887         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
12888         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
12889         -DREQUIRE_AVX512F.
12890         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
12891         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
12892         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
12893         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
12894         file.
12895         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
12896         Likewise.
12897         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
12898         Likewise.
12899         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
12900         Likewise.
12901         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
12902         Likewise.
12903         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
12904         Likewise.
12905         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
12906         Likewise.
12907         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
12908         Likewise.
12910 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
12912         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
12914 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
12916         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
12917         and typo in a comment about AT_HWCAP entry.
12919 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12921         * sysdeps/aarch64/libm-test-ulps: Updated.
12923 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12925         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
12926         of r13 as it is not restored in mvcle case.
12928 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
12930         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
12931         Rename "ret" to "__ret".
12932         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
12933         inline_syscall5, inline_syscall6): Likewise.
12935 2016-07-19   Will Newton  <will.newton@gmail.com>
12937         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
12938         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
12939         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
12940         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
12941         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
12943 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
12945         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
12946         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
12947         -mfpmath=387 with $(rtld-CFLAGS).
12948         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
12949         $(rtld-CFLAGS).
12951 2016-07-18   Ross Burton  <ross.burton@intel.com>
12952              Khem Raj  <raj.khem@gmail.com>
12954         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
12955         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
12956         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
12957         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
12958         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
12959         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
12960         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
12961         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
12962         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
12963         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
12964         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
12965         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
12966         R_METAG_TLS_DTPOFF): New.
12968 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12969             Matt Clay  <mclay@lycos.com>
12971         [BZ #20357]
12972         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
12973         to call __mpsin/__mpcos and to negate values.
12974         * math/auto-libm-test-in: Add test.
12975         * math/auto-libm-test-out: Regenerate.
12977 2016-07-18  Zack Weinberg  <zackw@panix.com>
12979         * grp/Makefile: Don't install the internal header grp-merge.h.
12981 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12983         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12985 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12987         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
12989 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12991         [BZ #15368]
12992         * sysdeps/unix/sysv/linux/nptl-signals.h
12993         (__nptl_clear_internal_signals): New function.
12994         (__libc_signal_block_all): Likewise.
12995         (__libc_signal_block_app): Likewise.
12996         (__libc_signal_restore_set): Likewise.
12997         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
12998         implementation.
12999         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
13000         the cached pid/tid value in pthread structure.
13002 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
13004         [BZ #20347]
13005         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
13007 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13009         [BZ #20348]
13010         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
13011         preadv64, pwrite64 and pwritev64.
13013 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13015         [BZ #20350]
13016         * posix/tst-preadwrite.c: Renamed to ...
13017         * posix/tst-preadwrite-common.c: This.
13018         (PREAD): Removed.
13019         (PWRITE): Likewise.
13020         (STRINGIFY): Likewise.
13021         (STRINGIFY2): Likewise.
13022         (do_prepare): Make it static and remove function arguments.
13023         (do_test): Likewise.
13024         (PREPARE): Updated.
13025         (TEST_FUNCTION): New.
13026         (name): Make it static.
13027         (fd): Likewise.
13028         (do_prepare): Use create_temp_file.
13029         (do_test): Renamed to ...
13030         (do_test_with_offset): This.  Make it static and accept offset.
13031         Properly check return value of PWRITE and PREAD.  Return bytes
13032         read.  Don't close fd nor unlink name.
13033         * posix/tst-preadwrite.c: Rewrite.
13034         * posix/tst-preadwrite64.c: Likewise.
13036 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13038         [BZ #20309]
13039         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
13040         -mtls-dialect=gnu2 works.
13041         * configure: Regenerated.
13042         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
13043         (tests): Add tst-gnu2-tls1.
13044         (modules-names): Add tst-gnu2-tls1mod.
13045         ($(objpfx)tst-gnu2-tls1): New.
13046         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
13047         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
13048         * elf/tst-gnu2-tls1.c: New file.
13049         * elf/tst-gnu2-tls1mod.c: Likewise.
13050         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
13051         bytes for push in the PLT entry to align the stack.
13053 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
13055         [BZ #20349]
13056         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
13058 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13060         [BZ #18707]
13061         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
13062         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
13064 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13066         * sysdeps/unix/sysv/linux/sysdep.h
13067         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
13068         guards.
13069         * misc/tst-preadvwritev-common.c: New file.
13070         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
13071         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
13072         a check for files larger than 2GB.
13074         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13075         (__ASSUME_OFF_DIFF_OFF64): Remove define.
13076         * sysdeps/unix/sysv/linux/pread.c
13077         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
13078         __OFF_T_MATCHES_OFF64_T.
13079         * sysdeps/unix/sysv/linux/pread64.c
13080         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
13081         * sysdeps/unix/sysv/linux/preadv.c
13082         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
13083         * sysdeps/unix/sysv/linux/preadv64.c
13084         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
13085         * sysdeps/unix/sysv/linux/pwrite.c
13086         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
13087         * sysdeps/unix/sysv/linux/pwrite64.c
13088         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
13089         * sysdeps/unix/sysv/linux/pwritev.c
13090         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
13091         * sysdeps/unix/sysv/linux/pwritev64.c
13092         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
13094 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
13096         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13097         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
13099 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
13101         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
13103 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
13105         [BZ #20240]
13106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
13107         (CFLAGS-s_modf-ppc32.c): New variable.
13108         (CFLAGS-s_modff-ppc32.c): Likewise.
13109         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13110         (CFLAGS-s_modf-ppc64.c): Likewise.
13111         (CFLAGS-s_modff-ppc64.c): Likewise.
13113 2016-07-07  Andreas Schwab  <schwab@suse.de>
13115         [BZ #20263]
13116         * nptl/tst-robust10.c: New test.
13117         * nptl/Makefile (tests): Add tst-robust10.
13119 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
13121         [BZ #20263]
13122         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
13124 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13126         * sysdeps/s390/linkmap.h (struct link_map_machine):
13127         Remove member gotplt and add member jmprel.
13128         * sysdeps/s390/s390-32/dl-machine.h
13129         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
13130         instead of gotplt with &got[3].
13131         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
13132         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13134 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
13136         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
13138 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13140         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
13141         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
13142         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
13143         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
13144         * libio/vtables.c (_IO_vtable_check)
13145         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
13146         * libio/libioP.h (IO_set_accept_foreign_vtables)
13147         [!PTR_MANGLE]: Do not call PTR_MANGLE.
13149 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
13151         [BZ #20314]
13152         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
13153         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
13154         $(common-objpfx)cmath.
13155         ($(common-objpfx)cstdlib): New target.
13156         ($(common-objpfx)cmath): Likewise.
13158 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
13160         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
13162 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13164         [BZ #20327]
13165         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
13166         are not part of the string.
13168 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13170         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
13171         * nptl/tst-cancel4-common.h (fifoname): New variable.
13172         (fifofd): Likewise.
13173         (cl_fifo): New function.
13174         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
13175         SIGINT.
13176         (tf_open): Add early cancel test.
13178 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
13180         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
13182 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
13184         * sysdeps/generic/ldsodefs.h
13185         (dl_symbol_visibility_binds_local_p): New inline function.
13186         * elf/dl-addr.c (determine_info): Treat hidden and internal
13187         symbols as local.
13188         * elf/dl-lookup.c (do_lookup_x): Likewise.
13189         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
13191 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
13193         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
13194         invalid exception for a sNaN input.
13195         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13196         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
13197         (__nearbyint_vis3): Likewise
13198         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
13199         (__nearbyintf_vis3): Likewise
13200         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
13201         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13202         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
13203         Likewise.
13204         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
13205         Likewise.
13207 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
13209         [BZ #20139]
13210         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
13211         (HAVE_AVX512DQ_ASM_SUPPORT): This.
13212         * sysdeps/x86_64/configure.ac: Require assembler from binutils
13213         2.24 or above.
13214         (HAVE_AVX512_ASM_SUPPORT): Removed.
13215         (HAVE_AVX512DQ_ASM_SUPPORT): New.
13216         * sysdeps/x86_64/configure: Regenerated.
13217         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
13218         check unconditional.
13219         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
13220         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13221         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13222         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
13223         Likewise.
13224         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
13225         Likewise.
13226         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
13227         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
13228         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13229         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13230         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13231         Likewise.
13232         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
13233         Likewise.
13234         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13235         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13236         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
13237         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
13238         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
13239         Likewise.
13240         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
13241         Likewise.
13242         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
13243         Likewise.
13244         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
13245         Likewise.
13246         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
13247         Likewise.
13248         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
13249         Likewise.
13250         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
13251         Likewise.
13252         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
13253         Likewise.
13254         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
13255         Likewise.
13256         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
13257         Likewise.
13258         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
13259         Likewise.
13261 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
13263         [BZ #20024]
13264         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
13265         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
13266         of this implementation of vector function.
13267         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
13268         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
13269         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
13270         Likewise.
13271         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
13272         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
13273         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
13274         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
13275         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
13276         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
13277         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
13278         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
13279         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
13280         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
13281         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
13282         for testing vector sincos with fixed ABI.
13283         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13284         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13285         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13286         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13287         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13288         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13289         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13290         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
13291         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
13292         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
13293         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
13294         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
13295         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
13296         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
13297         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
13298         * sysdeps/x86_64/fpu/Makefile: Added new tests.
13300 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13302         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
13304 2016-06-30  Anton Blanchard  <anton@samba.org>
13306         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13307         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
13308         s_sinf-ppc64.
13309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
13310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13312         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13314 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13317         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13318         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
13319         e_expf-ppc64.
13320         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
13321         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
13322         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
13323         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
13325 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
13327         [BZ #20277]
13328         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
13329         when SHARED is defined.
13331 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
13333         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
13334         (index_arch_Prefer_ERMS): Likewise.
13335         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
13336         __memcpy_erms for Prefer_ERMS.
13337         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13338         (__memmove_erms): Enabled for libc.a.
13339         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
13340         __memmove_erms or Prefer_ERMS.
13341         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
13342         __mempcpy_erms for Prefer_ERMS.
13343         * sysdeps/x86_64/multiarch/memset.S (memset): Return
13344         __memset_erms for Prefer_ERMS.
13346 2016-06-30  Andreas Schwab  <schwab@suse.de>
13348         [BZ #20262]
13349         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
13350         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
13351         of memory.
13353 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
13355         [BZ #18645]
13356         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
13357         (test-extras): Add tst-cleanupx4aux.
13358         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
13359         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
13360         tst-cleanupx4aux.o.
13361         * nptl/tst-cleanupx4aux.c: New file.
13363 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13365         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
13367 2016-06-29  Andreas Schwab  <schwab@suse.de>
13369         [BZ #20260]
13370         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
13371         address before the beginning of the string as an integer to avoid
13372         array-bounds warning.
13374 2016-06-28  Richard Henderson  <rth@redhat.com>
13376         * elf/elf.h (EM_BPF): New.
13377         (EM_NUM): Update.
13378         (R_BPF_NONE, R_BPF_MAP_FD): New.
13380         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
13381         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
13382         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
13383         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
13384         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
13385         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
13386         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
13387         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
13388         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
13389         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
13390         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
13391         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
13392         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
13393         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
13394         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
13395         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
13396         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
13397         (EM_NUM): Update.
13399 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
13401         [BZ #18960]
13402         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
13403         Set _nl_current_LC_CATEGORY_used to two instead of one.
13405 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
13407         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
13408         (do_test): ... this.
13409         (TEST_FUNCTION): New macro.
13410          Include test-skeleton.c.
13411         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
13412         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
13414 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
13416         [BZ #15479]
13417         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
13418         floating-point environment rather than just control word.
13419         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
13420         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
13421         floating-point environment, with "invalid" exceptions merged in,
13422         rather than just control word.
13423         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
13424         * math/libm-test.inc (trunc_test_data): Do not allow spurious
13425         "inexact" exceptions.
13427         [BZ #15479]
13428         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
13429         floating-point environment rather than just control word.
13430         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
13431         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
13432         floating-point environment, with "invalid" exceptions merged in,
13433         rather than just control word.
13434         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
13435         * math/libm-test.inc (floor_test_data): Do not allow spurious
13436         "inexact" exceptions.
13438         [BZ #15479]
13439         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
13440         floating-point environment rather than just control word.
13441         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
13442         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
13443         floating-point environment, with "invalid" exceptions merged in,
13444         rather than just control word.
13445         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
13446         * math/libm-test.inc (ceil_test_data): Do not allow spurious
13447         "inexact" exceptions.
13449 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
13451         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
13452         __libc_vfork.
13453         (__vfork) [IS_IN (libc)]: Remove alias.
13454         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
13455         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13456         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13458 2016-06-24  Torvald Riegel  <triegel@redhat.com>
13460         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
13461         of atomic_compare_and_exchange_bool_rel.
13462         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13463         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
13464         catomic_compare_and_exchange_bool_rel): Remove.
13465         * sysdeps/aarch64/atomic-machine.h
13466         (atomic_compare_and_exchange_bool_rel): Likewise.
13467         * sysdeps/alpha/atomic-machine.h
13468         (atomic_compare_and_exchange_bool_rel): Likewise.
13469         * sysdeps/arm/atomic-machine.h
13470         (atomic_compare_and_exchange_bool_rel): Likewise.
13471         * sysdeps/mips/atomic-machine.h
13472         (atomic_compare_and_exchange_bool_rel): Likewise.
13473         * sysdeps/microblaze/atomic-machine.h
13474         ( __arch_compare_and_exchange_bool_8_rel,
13475         __arch_compare_and_exchange_bool_16_rel): Likewise.
13476         * sysdeps/powerpc/atomic-machine.h
13477         ( __arch_compare_and_exchange_bool_8_rel,
13478         __arch_compare_and_exchange_bool_16_rel): Likewise.
13479         * sysdeps/powerpc/powerpc32/atomic-machine.h
13480         ( __arch_compare_and_exchange_bool_32_rel,
13481         __arch_compare_and_exchange_bool_64_rel): Likewise.
13482         * sysdeps/powerpc/powerpc64/atomic-machine.h
13483         ( __arch_compare_and_exchange_bool_32_rel,
13484         __arch_compare_and_exchange_bool_64_rel): Likewise.
13485         * sysdeps/tile/atomic-machine.h
13486         (atomic_compare_and_exchange_bool_rel): Likewise.
13488 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
13490         [BZ #20296]
13491         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
13492         when either argument is a NaN.
13493         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13494         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
13496         * math/libm-test.inc (snan_value_ld): New macro.
13497         (isgreater_test_data): Add sNaN tests.
13498         (isgreaterequal_test_data): Likewise.
13499         (isless_test_data): Likewise.
13500         (islessequal_test_data): Likewise.
13501         (islessgreater_test_data): Likewise.
13502         (isunordered_test_data): Likewise.
13503         (nextafter_test_data): Likewise.
13504         (nexttoward_test_data): Likewise.
13505         (remainder_test_data): Likewise.
13506         (remquo_test_data): Likewise.
13507         (significand_test_data): Likewise.
13508         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
13510 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13512         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
13513         environment macros are defined.
13514         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
13516 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13518         [BZ #20191]
13519         Implement vtable verification in libio.
13520         * Makerules (shlib.lds): Place __libc_IO_vtables section.
13521         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
13522         * debug/vdprintf_chk.c (__vdprintf_chk): Call
13523         _IO_new_file_init_internal instead of _IO_file_init.
13524         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
13525         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
13526         * libio/Makefile (routines): Add vtables.
13527         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
13528         (_IO_init): Remove, not for internal use.
13529         (_IO_init_internal): Declare, internal replacement for _IO_init.
13530         (_IO_file_init): Remove, not for internal use.
13531         (_IO_new_file_init): Remove, not for internal use.
13532         (_IO_new_file_init_internal): Declare, internal replacement for
13533         _IO_new_file_init.
13534         (_IO_old_file_init): Remove, not for internal use.
13535         (_IO_old_file_init_internal): Declare, internal replacement for
13536         _IO_old_file_init.
13537         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
13538         internal use.
13539         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
13540         Declare.
13541         (libio_vtable): New macro.
13542         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
13543         functions.
13544         * libio/fileops.c (_IO_new_file_init_internal): Rename from
13545         _IO_new_file_init.
13546         (_IO_new_file_init): New externally visible wrapper which disables
13547         vtable verification.
13548         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
13549         Define as vtables.
13550         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
13551         (_IO_init): New externally visible wrapper which disables
13552         vtable verification.
13553         * libio/iofdopen.c (_IO_new_fdopen): Call
13554         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
13555         comment.
13556         * libio/iofopen.c (__fopen_internal): Call
13557         _IO_new_file_init_internal instead of _IO_file_init.
13558         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
13559         Define as vtables.
13560         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
13561         _IO_new_file_init_internal instead of _IO_file_init.
13562         * libio/iopopen.c (_IO_new_popen): Likewise.
13563         (_IO_proc_jumps): Define as vtable.
13564         * libio/iovdprintf.c (_IO_vdprintf): Call
13565         _IO_new_file_init_internal instead of _IO_file_init.
13566         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
13567         (__open_memstream): Call _IO_init_internal instead of _IO_init.
13568         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
13569         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
13570         _IO_old_file_init.
13571         (_IO_old_file_init): New externally visible wrapper which disables
13572         vtable verification.
13573         (_IO_old_file_jumps): Define as vtable.
13574         * libio/oldiofdopen.c (_IO_old_fdopen): Call
13575         _IO_old_file_init_internal instead of _IO_old_file_init.
13576         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13577         * libio/oldiopopen.c (_IO_old_popen): Likewise.
13578         (_IO_old_proc_jumps): Define as vtable.
13579         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
13580         Define as vtables.
13581         * libio/vtables.c: New file.
13582         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
13583         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
13584         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
13585         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
13586         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
13587         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
13588         instead of _IO_init.
13590 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13592         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
13594 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13596         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
13597         potentially unused.
13599 2016-06-22  Florian Weimer  <fweimer@redhat.com>
13601         * test-skeleton.c (write_message): New function.
13602         * malloc/tst-mallocfork2.c (write_message): Remove.
13603         * debug/tst-longjmp_chk2.c (write_indented): New function.
13604         (write_message): Remove.
13605         (stackoverflow_handler): Call write_indented.
13607 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
13609         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
13610         "inexact" exceptions after fnstenv.
13611         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13612         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13613         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13615 2015-06-22  Zack Weinberg  <zackw@panix.com>
13617         * sysdeps/generic/bits/hwcap.h: Moved to ...
13618         * bits/hwcap.h: Here.
13620 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
13622         * sysdeps/aarch64/memcpy.S (memcpy):
13623         Further tuning for performance.
13625 2016-06-21  Florian Weimer  <fweimer@redhat.com>
13627         [BZ #20284]
13628         * malloc/arena.c (reused_arena): Do not return NULL if we start
13629         out with a non-corrupted arena.
13631 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13633         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
13634         * misc/tst-preadvwritev.c: New file.
13635         * misc/tst-preadvwritev64.c: Likewise.
13636         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
13637         usage.
13638         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
13639         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
13640         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
13641         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
13643 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
13645         [BZ #19654]
13646         * sysdeps/x86_64/fpu/Makefile: Added new tests.
13647         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
13648         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
13649         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
13650         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
13651         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
13652         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
13653         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
13654         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
13655         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
13656         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
13657         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
13658         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
13659         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
13660         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
13661         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
13662         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
13663         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
13664         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
13665         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
13666         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
13667         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
13668         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
13669         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
13670         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
13671         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
13673 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
13675         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
13676         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
13678 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
13680         * sysdeps/aarch64/memcpy.S (memcpy):
13681         Rewrite of optimized memcpy and memmove.
13682         * sysdeps/aarch64/memmove.S (memmove): Remove
13683         memmove code (merged into memcpy.S).
13685 2016-06-20  Florian Weimer  <fweimer@redhat.com>
13687         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
13688         * sysdeps/generic/dl-dtv.h: New file.
13689         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13690         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
13691         (dtv_t): Remove.
13692         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13693         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
13694         (dtv_t): Remove.
13695         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13696         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
13697         (dtv_t): Remove.
13698         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13699         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
13700         (dtv_t): Remove.
13701         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13702         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
13703         (dtv_t): Remove.
13704         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13705         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
13706         (dtv_t): Remove.
13707         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13708         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
13709         (dtv_t): Remove.
13710         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
13711         (dtv_t): Remove.
13712         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13713         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
13714         (dtv_t): Remove.
13715         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13716         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
13717         (dtv_t): Remove.
13718         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13719         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
13720         (dtv_t): Remove.
13721         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13722         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
13723         (dtv_t): Remove.
13724         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13725         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
13726         (dtv_t): Remove.
13727         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13728         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
13729         (dtv_t): Remove.
13730         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13731         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
13732         (dtv_t): Remove.
13733         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13734         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
13735         (dtv_t): Remove.
13737 2016-06-20  Florian Weimer  <fweimer@redhat.com>
13739         Revert symbol poisoning of  __malloc_initialize_hook.
13740         * include/stdc-predef.h (__malloc_initialize_hook): Remove
13741         poisoning.
13742         * malloc/Makefile: Remove un-poisoning.
13743         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
13744         instead of old__malloc_initialize_hook.
13745         * malloc/malloc-hooks.h: Likewise.
13746         * malloc/malloc.c: Likewise.
13747         * malloc/mcheck-init.c: Likewise.
13749 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
13751         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
13753 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
13755         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
13756         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
13757         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13758         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13760 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13762         * NEWS: Mention addition of nextup and nextdown.
13763         * manual/arith.texi: Document nextup and nextdown.
13764         * manual/libm-err-tab.pl: Add nextup and nextdown.
13765         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
13766         * math/Versions (libm): Add GLIBC_2.24.
13767         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
13768         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
13769         Add new test.
13770         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
13771         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
13772         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
13773         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
13774         (nextup_test_data): Likewise.
13775         (nextdown_test_data): Likewise.
13776         * math/s_nextdown.c: New file.
13777         * math/s_nextdownf.c: Likewise.
13778         * math/s_nextdownl.c: Likewise.
13779         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
13780         F(nextup): New function.
13781         F(nextdown): Likewise.
13782         * math/tgmath.h: Add nextup and nextdown.
13783         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
13784         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
13785         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13786         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13787         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13788         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
13789         Add nextup and nextdown.
13790         (CFLAGS-nldbl-nextup.c): New variable.
13791         (CFLAGS-nldbl-nextdown.c): Likewise.
13792         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
13793         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
13794         * sysdeps/nacl/libm.abilist: Update.
13795         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13796         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13797         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13798         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13799         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13800         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13801         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13802         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13803         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13804         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13805         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13806         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13809         Likewise.
13810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13812         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13813         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13814         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13815         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13816         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
13818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
13819         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13820         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13821         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13822         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13824 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13826         * manual/pattern.texi: Fix typos & grammar errors.
13828 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13830         * manual/search.texi: Fix typos & grammar errors.
13832 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13834         * manual/message.texi: Fix typos & grammar errors.
13836 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
13838         * manual/contrib.texi: Fix spelling typos.
13839         * manual/crypt.texi: Likewise.
13840         * manual/filesys.texi: Likewise.
13841         * manual/locale.texi: Likewise.
13842         * manual/message.texi: Likewise.
13843         * manual/nss.texi: Likewise.
13844         * manual/string.texi: Likewise.
13846 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13848         * manual/locale.texi: Fix typos & grammar errors.
13850 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13852         * manual/charset.texi: Fix typos & grammar errors.
13854 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13856         * manual/string.texi: Fix typos.
13858 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13860         * manual/ctype.texi: Fix typos.
13862 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13864         * manual/memory.texi: Fix various typos & grammar errors.
13866 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
13868         [BZ #20255]
13869         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
13870         * math/libm-test.inc (fdim_test_data): Add another test.
13872         [BZ #6796]
13873         [BZ #20255]
13874         [BZ #20256]
13875         * math/s_fdim.c: Include <math_private.h>.
13876         (__fdim): Use math_narrow_eval on result.
13877         * math/s_fdimf.c: Include <math_private.h>.
13878         (__fdimf): Use math_narrow_eval on result.
13879         * sysdeps/i386/fpu/s_fdim.S: Remove file.
13880         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
13881         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
13882         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
13883         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
13884         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
13885         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
13886         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
13887         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
13888         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
13889         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
13890         * math/libm-test.inc (fdim_test_data): Expect errno setting on
13891         overflow.  Add sNaN tests.
13893         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
13894         fpclassify.
13895         * math/s_fdimf.c (__fdimf): Likewise.
13896         * math/s_fdiml.c (__fdiml): Likewise.
13898 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13900         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13901         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
13902         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13903         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
13904         ifunc'ed strcasecmp/strncasecmp.
13905         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
13906         [EALIGN]: Removed.
13907         [END]: Likewise.
13908         [__strcasecmp]: Define instead of the above to control symbol name.
13909         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
13910         for __strcasecmp_power8.
13911         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
13912         for __strncasecmp_power8.
13913         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
13914         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
13915         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
13916         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
13917         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
13918         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
13920 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
13922         [BZ #20252]
13923         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
13924         arguments when second argument is a NaN.
13925         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
13926         qNaN tests.
13928         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
13929         (conj_test_data): Likewise.
13930         (copysign_test_data): Likewise.
13931         (creal_test_data): Likewise.
13932         (fma_test_data): Likewise.
13933         (fmod_test_data): Likewise.
13935         [BZ #20250]
13936         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
13937         itself.
13938         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
13939         zero input to itself.
13940         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
13941         Likewise.
13942         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
13943         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
13944         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13945         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
13946         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
13948 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13950         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
13951         * nptl/tst-cancel4-common.c: New file.
13952         * nptl/tst-cancel4-common.h: Likewise.
13953         * nptl/tst-cancel4.c: Move common definitions to
13954         tst-cancel4-common.{c,h} file.
13955         * nptl/tst-cancel4_1.c: New test.
13956         * nptl/tst-cancel4_2.c: New test.
13958 2016-06-13  Florian Weimer  <fweimer@redhat.com>
13960         [BZ #20248]
13961         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
13962         (write_message): New function.
13963         (stackoverflow_handler): Call it instead of printf, to avoid
13964         excessive stack usage by printf.
13965         (do_test): Restore SIGSEGV, SIGBUS default handlers.
13967 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13969         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
13970         (prio_inherit_missing): Remove define.
13971         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13972         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13973         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
13974         Likewise.
13975         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13976         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13977         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13978         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13979         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13980         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13982 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13984         [BZ #19670]
13985         [BZ #19672]
13987         * io/test-lfs.c (do_prepare): Use xmalloc.
13988         * io/tst-fcntl.c (do_prepare): Likewise.
13989         * libio/tst-fopenloc.c (do_bz17916): Likewise.
13990         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
13991         * login/tst-utmp.c (do_prepare): Likewise.
13992         * posix/tst-exec.c (do_prepare): Likewise.
13993         * posix/tst-pathconf.c (prepare): Likewise.
13994         * posix/tst-spawn.c (do_prepare): Likewise.
13995         * posix/tst-truncate.c (do_prepare): Likewise.
13996         * rt/tst-aio.c (do_prepare): Likewise.
13997         * rt/tst-aio64.c (do_prepare): Likewise.
13999 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14001         [BZ #20237]
14002         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
14003         (get*ent): Set entidx to NULL during initialization.  If entidx is
14004         NULL, start iteration from the beginning.
14006 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14008         * malloc/malloc.c (musable): Return correct size for dumped fake
14009         mmapped chunk.
14011 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14013         [BZ #20222]
14014         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
14015         (_IO_cookie_write): Likewise.
14016         (_IO_cookie_seek): Likewise.
14017         (_IO_cookie_close): Likewise.
14018         (_IO_old_cookie_seek): Likewise.
14019         (set_callbacks): New function.
14020         (_IO_cookie_init): Call set_callbacks to copy callbacks.
14022 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
14024         * locale/programs/localedef.c (oldstyle_tables): Remove.
14025         * locale/programs/localedef.h (oldstyle_tables): Likewise.
14027 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
14029         [BZ #20240]
14030         * math/Makefile (CFLAGS-s_modf.c): New variable.
14031         (CFLAGS-s_modff.c): Likewise.
14032         (CFLAGS-s_modfl.c): Likewise.
14033         * math/libm-test.inc (modf_test_data): Add sNaN tests.
14035 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
14037         [BZ #20215]
14038         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
14039         [!__GNUC_PREREQ (3,2)]: Likewise.
14041 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
14043         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
14044         (msghdr.msg_controllen): Likewise.
14045         (cmsghdr.cmsg_len): Likewise.
14046         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
14047         ptw-oldsendmsg.
14048         (CFLAGS-oldrecvmsg.c): Remove rule.
14049         (CFLAGS-oldsendmsg.c): Likewise.
14050         (CFLAGS-recvmsg.c): Add rule.
14051         (CFLAGS-sendmsg.c): Likewise.
14052         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
14053         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
14054         (CFLAGS-recvmsg.c): Remove rule.
14055         (CFLAGS-sendmsg.c): Likewise.
14056         (CFLAGS-oldrecvmsg.c): Likewise.
14057         (CFLAGS-oldsendmsg.c): Likewise.
14058         (CFLAGS-recvmmsg.c): Likewise.
14059         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
14060         to kernel defined interfaces.
14061         (msghdr.msg_controllen): Likewise.
14062         (cmsghdr.cmsg_len): Likewise.
14063         (msghdr.__glibc_reserved1): Remove member.
14064         (msghdr.__glibc_reserved2): Likewise.
14065         (cmsghdr.__glibc_reserved1): Likewise.
14066         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
14067         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
14068         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
14069         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
14070         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
14071         version.
14072         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
14073         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
14074         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
14075         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
14076         Remove recvmsg and sendmsg.
14077         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
14078         Likewise.
14079         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
14080         Likewise.
14081         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
14082         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
14083         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
14084         Likewise.
14085         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
14086         Likewise.
14087         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
14088         [libc] (GLIBC_2.24): Likewise.
14089         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
14090         Likewise.
14091         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
14092         Likewise.
14093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14094         [libc] (GLIBC_2.24): Likewise.
14095         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
14096         Likewise.
14097         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
14098         Likewise.
14099         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
14100         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
14101         Likewise.
14102         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
14103         Likewise.
14104         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
14105         Likewise.
14106         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
14107         Likewise.
14108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
14109         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
14110         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
14111         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
14112         version for {recv,send,recm,sendm}msg.
14113         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14114         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14115         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14116         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14117         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14118         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14119         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14120         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14121         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14122         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14123         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14124         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14126         Likewise.
14127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14128         Likewise.
14129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14131         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14132         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14133         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14134         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14135         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14136         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14139         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14140         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14141         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14143 2016-06-10  Florian Weimer  <fweimer@redhat.com>
14145         [BZ #19564]
14146         Remove __malloc_initialize_hook from the API.
14147         * malloc/malloc.h (__malloc_initialize_hook): Remove.
14148         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
14149         #pragma GCC poison.
14150         * malloc/malloc-hooks.h: New file.
14151         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
14152         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
14153         (old__malloc_initialize_hook): Rename from
14154         __malloc_initialize_hook to evade poisoning.  Turn into compat
14155         symbol.
14156         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
14157         __malloc_initialize_hook.
14158         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
14159         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
14160         * manual/memory.texi (Hooks for Malloc): Remove
14161         __malloc_initialize_hook.  Adjust hook example.
14163 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
14165         [BZ #20235]
14166         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
14167         itself.
14168         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14169         * math/libm-test.inc (log2_test_data): Add sNaN tests.
14171         [BZ #20234]
14172         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
14173         infinity or NaN input to itself.
14175         [BZ #20233]
14176         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
14177         to itself.
14179         [BZ #20232]
14180         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
14181         itself.
14183 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
14185         * sysdeps/x86_64/start.S (_start): Always indirect branch to
14186         __libc_start_main via GOT.
14188 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
14190         * sysdeps/x86_64/memcopy.h: New file.
14191         * sysdeps/x86_64/wordcopy.c: Likewise.
14193 2016-06-09  Florian Weimer  <fweimer@redhat.com>
14195         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
14196         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
14197         <cstdlib>.
14198         (optimization_barrier): New.
14199         (do_test): Use it.  Call quick_exit in the global namespace.
14200         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
14201         instead of <cstdlib>, <thread>.
14202         (optimization_barrier): New.
14203         (non_main_thread): Adjust declaration.  Call optimization_barrier.
14204         Call quick_exit in the global namespace.
14205         (do_test): Call optimization_barrier.  Use pthread_create,
14206         pthread_join instead of std::thread.
14208 2016-06-09  Andreas Schwab  <schwab@suse.de>
14210         [BZ #19755]
14211         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
14212         new entries in auto-propagate mode.
14213         * nscd/grpcache.c (cache_addgr): Likewise.
14215 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14217         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
14218         New functions.
14219         (add_temp_file): Use them.
14221 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
14223         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
14225 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
14227         [BZ #20229]
14228         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
14229         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
14230         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
14232         [BZ #20228]
14233         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
14234         itself.
14235         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
14236         * math/libm-test.inc (log10_test_data): Add sNaN tests.
14238         [BZ #20227]
14239         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
14240         itself.
14241         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14242         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14243         * math/libm-test.inc (log_test_data): Add sNaN tests.
14245         [BZ #20226]
14246         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
14247         itself.
14248         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14249         * math/libm-test.inc (exp_test_data): Add sNaN tests.
14250         (exp10_test_data): Likewise.
14251         (expm1_test_data): Likewise.
14253         [BZ #20225]
14254         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
14255         itself.
14256         * math/s_ldexpf.c (__ldexpf): Likewise.
14257         * math/s_ldexpl.c (__ldexpl): Likewise.
14258         * math/w_scalbln.c (__w_scalbln): Likewise.
14259         * math/w_scalblnf.c (__w_scalblnf): Likewise.
14260         * math/w_scalblnl.c (__w_scalblnl): Likewise.
14261         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
14262         (scalbln_test_data): Likewise.
14264         [BZ #20224]
14265         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
14266         argument to itself.
14267         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
14269 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
14271         [BZ #19776]
14272         * sysdeps/x86_64/memcpy.S: Make it dummy.
14273         * sysdeps/x86_64/mempcpy.S: Likewise.
14274         * sysdeps/x86_64/memmove.S: New file.
14275         * sysdeps/x86_64/memmove_chk.S: Likewise.
14276         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
14277         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
14278         * sysdeps/x86_64/memmove.c: Removed.
14279         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
14280         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14281         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
14282         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
14283         Likewise.
14284         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14285         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14286         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14287         memcpy-sse2-unaligned, memmove-avx-unaligned,
14288         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
14289         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14290         (__libc_ifunc_impl_list): Replace
14291         __memmove_chk_avx512_unaligned_2 with
14292         __memmove_chk_avx512_unaligned.  Remove
14293         __memmove_chk_avx_unaligned_2.  Replace
14294         __memmove_chk_sse2_unaligned_2 with
14295         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
14296         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
14297         with __memmove_avx512_unaligned.  Replace
14298         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
14299         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
14300         with __memcpy_chk_avx512_unaligned.  Remove
14301         __memcpy_chk_avx_unaligned_2.  Replace
14302         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
14303         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
14304         Replace __memcpy_avx512_unaligned_2 with
14305         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
14306         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
14307         with __mempcpy_chk_avx512_unaligned.  Remove
14308         __mempcpy_chk_avx_unaligned_2.  Replace
14309         __mempcpy_chk_sse2_unaligned_2 with
14310         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
14311         Replace __mempcpy_avx512_unaligned_2 with
14312         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
14313         Replace __mempcpy_sse2_unaligned_2 with
14314         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
14315         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
14316         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
14317         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
14318         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
14319         (ENTRY): Removed.
14320         (END): Likewise.
14321         (ENTRY_CHK): Likewise.
14322         (libc_hidden_builtin_def): Likewise.
14323         Don't include ../memcpy.S.
14324         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
14325         __memcpy_chk_avx512_unaligned_erms and
14326         __memcpy_chk_avx512_unaligned.  Use
14327         __memcpy_chk_avx_unaligned_erms and
14328         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
14329         Default to __memcpy_chk_sse2_unaligned.
14330         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14331         Change function suffix from unaligned_2 to unaligned.
14332         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
14333         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
14334         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
14335         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
14336         (ENTRY): Removed.
14337         (END): Likewise.
14338         (ENTRY_CHK): Likewise.
14339         (libc_hidden_builtin_def): Likewise.
14340         Don't include ../mempcpy.S.
14341         (mempcpy): New.  Add a weak alias.
14342         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
14343         __mempcpy_chk_avx512_unaligned_erms and
14344         __mempcpy_chk_avx512_unaligned.  Use
14345         __mempcpy_chk_avx_unaligned_erms and
14346         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
14347         Default to __mempcpy_chk_sse2_unaligned.
14349 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
14351         [BZ #19881]
14352         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
14353         into ...
14354         * sysdeps/x86_64/memset.S: This.
14355         (__bzero): Removed.
14356         (__memset_tail): Likewise.
14357         (__memset_chk): Likewise.
14358         (memset): Likewise.
14359         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
14360         defined.
14361         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
14362         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
14363         (__memset_zero_constant_len_parameter): Check SHARED instead of
14364         PIC.
14365         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14366         memset-avx2 and memset-sse2-unaligned-erms.
14367         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14368         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
14369         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
14370         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14371         (__bzero): Enabled.
14372         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
14373         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
14374         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
14375         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
14376         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
14377         (memset): Removed.
14378         (__memset_chk): Likewise.
14379         (MEMSET_SYMBOL): New.
14380         (libc_hidden_builtin_def): Replace __memset_sse2 with
14381         __memset_sse2_unaligned.
14382         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
14383         __memset_chk_sse2 and __memset_chk_avx2 with
14384         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
14385         Use __memset_chk_sse2_unaligned_erms or
14386         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
14387         __memset_chk_avx512_unaligned_erms and
14388         __memset_chk_avx512_unaligned.
14390 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14392         * math/gen-auto-libm-test.c (fp_format_desc): remove
14393         suffix member.
14394         (output_generic_value): Remove usage of suffix member,
14395         and the resulting unuse of the fp_format argument.
14396         (output_for_one_input_case): Remove unused fp_format
14397         parameter.
14399         * math/auto-libm-test-out: Regenerate.
14401         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
14402         usage with TEST_COND_ibm128.
14403         (TEST_COND_flt_32): Remove.
14404         (TEST_COND_dbl_64): Remove.
14405         (TEST_COND_ldbl_96_intel): Remove.
14406         (TEST_COND_ldbl_96_m68k): Remove.
14407         (TEST_COND_ldbl_128): Remove.
14409 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14411         * auto-libm-test-in:
14412         Replace flt-32 usage with binary32.
14413         Replace dbl-64 usage with binary64.
14414         Replace ldbl-intel-96 usage with intel96.
14415         Replace ldbl-m68k-96 usage with m68k96.
14416         Replace ldbl-128ibm usage with ibm128.
14417         Replace ldbl-128 usage with binary128.
14419         * auto-libm-test-out: Regenerate.
14421 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14423         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
14424         (parse_ulps): Dynamically generate type name matching
14425         string from all_floats.
14426         (get_ulps): Generate the ulps as an array instead.
14427         (output_ulps): Dynamically compose the type based
14428         on the number of supported formats, and print
14429         the indices as type specific helper macros.
14431         * math/libm-test.inc: Remove comment about CHOOSE.
14432         (ulp_data): Generate the type in libm-test-ulps.h.
14433         (ULP_IDX): New macro.
14434         (find_ulps): Update usage of max_ulp.
14436         * math/test-double-vlen2.h (CHOOSE): Remove.
14437         * math/test-double-vlen4.h (CHOOSE): Likewise.
14438         * math/test-double-vlen8.h (CHOOSE): Likewise.
14439         * math/test-float.c (CHOOSE): Likewise.
14440         * math/test-float-finite.c (CHOOSE): Likewise.
14441         * math/test-double.c (CHOOSE): Likewise.
14442         * math/test-double-finite.c (CHOOSE): Likewise.
14443         * math/test-idouble.c (CHOOSE): Likewise.
14444         * math/test-ifloat.c (CHOOSE): Likewise.
14445         * math/test-ildoubl.c (CHOOSE): Likewise.
14446         * math/test-ldouble-finite.c (CHOOSE): Likewise.
14447         * math/test-ldouble.c (CHOOSE): Likewise.
14449         * math/test-float.h (TEST_FLOAT): Remove.
14450         * math/test-double.h (TEST_DOUBLE): Likewise.
14451         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
14453 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14455         * math/gen-libm-test.pl: (apply_lit): New subroutine.
14456         (parse_args): Strip C suffix from floating point literals
14457         typed with 'f' and wrap them with LIT().
14459         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
14460         (test_ff_f_data_nexttoward): Rename to
14461         (test_fj_f_data): New struct.
14462         (nexttoward_test_data): Relabel tests as
14463         TEST_fj_f instead of TEST_ff_f.
14465 2016-06-08  Florian Weimer  <fweimer@redhat.com>
14467         Emacs bug 23726.
14468         * malloc/malloc.c (dumped_main_arena_start): Update comment.
14469         (__libc_realloc): Correct size computation for dumped fake mmapped
14470         chunks.
14472 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
14474         [BZ #20219]
14475         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
14476         to itself.
14477         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
14479         [BZ #20218]
14480         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
14481         to itself.
14482         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
14484 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
14486         [BZ #20195]
14487         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
14488         check to ...
14489         (init_cpu_features): Here.
14491 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
14493         [BZ #20214]
14494         * sysdeps/unix/sysv/linux/bits/in.h
14495         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
14496          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
14497         Define to 1.
14498         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
14499          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
14500         Define to 0.
14501         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
14502         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
14504 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
14506         [BZ #20198]
14507         * stdlib/Makefile (tests): Add tst-quick_exit, and
14508         tst-thread-quick_exit.
14509         [ifeq ($(have-cxx-thread_local),yes)]
14510         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
14511         (CFLAGS-tst-thread-quick_exit.o): Likewise.
14512         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
14513         (LDLIBS-tst-thread-quick_exit): Likewise.
14514         [ifneq ($(have-cxx-thread_local),yes)]
14515         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
14516         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
14517         If run_dtors is true call __call_tls_dtors.
14518         (exit): Call __run_exit_handlers with run_dtors set to true.
14519         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
14520         definition.
14521         * stdlib/quick_exit.c (quick_exit): Remove function.
14522         (__new_quick_exit): New function.
14523         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
14524         function.
14525         * stdlib/tst-quick_exit.cc: New file.
14526         * stdlib/tst-thread-quick_exit.cc: New file.
14527         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
14528         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
14529         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
14530         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
14531         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
14532         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
14533         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
14534         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
14535         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
14536         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
14537         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
14538         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
14539         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
14540         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
14541         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
14542         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
14543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
14544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
14545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
14546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
14547         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
14548         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
14549         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
14550         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
14551         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
14552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
14553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
14554         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
14555         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
14556         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
14558 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
14560         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
14561         a typo in comments.
14563 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
14565         [BZ #20213]
14566         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
14567         argument to itself.
14568         * math/libm-test.inc (asin_test_data): Add sNaN tests.
14570 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14572         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
14573         required flags.
14574         (CFLAGS-pwritev64.c): Likewise.
14575         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
14576         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14577         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
14578         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14579         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
14580         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
14581         syscall from auto-generation.
14582         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
14583         [WORDSIZE == 64] (pwritev64): Remove macro.
14584         [!PWRITEV] (PWRITEV): Likewise.
14585         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
14586         [!PWRITEV] (PWRITE): Likewise.
14587         [!PWRITEV] (OFF_T): Likewise.
14588         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
14589         (LO_HI_LONG): Remove macro.
14590         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
14591         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
14592         (PWRITEV): Remove macro.
14593         (PWRITEV_REPLACEMENTE): Likewise.
14594         (PWRITE): Likewise.
14595         (OFF_T): Likewise.
14596         (pwritev64): New function.
14597         * nptl/tst-cancel4.c (tf_writev): Add test.
14599         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
14600         required flags.
14601         (CFLAGS-preadv64.c): Likewise.
14602         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
14603         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14604         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
14605         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
14606         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
14607         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
14608         syscall from auto-generation.
14609         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
14610         [WORDSIZE == 64] (preadv64): Remove macro.
14611         [!PREADV] (PREADV): Likewise.
14612         [!PREADV] (PREADV_REPLACEMENT): Likewise.
14613         [!PREADV] (PREAD): Likewise.
14614         [!PREADV] (OFF_T): Likewise.
14615         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
14616         (LO_HI_LONG): Remove macro.
14617         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
14618         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
14619         (PREADV): Remove macro.
14620         (PREADV_REPLACEMENTE): Likewise.
14621         (PREAD): Likewise.
14622         (OFF_T): Likewise.
14623         (preadv64): New function.
14624         * nptl/tst-cancel4.c (tf_preadv): Add test.
14626 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
14628         [BZ #20212]
14629         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
14630         argument to itself.
14631         * math/libm-test.inc (acos_test_data): Add sNaN tests.
14633 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14635         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
14636         New symbol defined as libc_hidden_def.
14637         (strcasestr): Became a weak alias to __strcasestr.
14638         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
14639         according to multi-arch support.  Move __stpncpy hidden
14640         definition from here to...
14641         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
14642         symbol stpncpy.
14643         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
14644         libc_hidden_builtin_def.
14645         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
14646         memset symbol to use when multi-arch support is available.
14648 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
14650         * dlfcn/tst-rec-dlopen.c: Include string.h.
14652 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14654         * manual/install.texi: Remove mention of --without-tls
14655         * INSTALL: Regenerate.
14657 2016-06-05  Florian Weimer  <fweimer@redhat.com>
14659         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
14660         Remove.
14661         (call_function, interposed_malloc_called): New variables.
14662         (malloc): New function.
14663         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
14664         and clear call_function as needed.
14666 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
14668         * include/wchar.h (__wmemset): Use __typeof.
14670 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
14672         * include/wchar.h (__wmemset): Declare function without typeof.
14674 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
14676         [BZ #20205]
14677         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
14678         exponent when incrementing negative subnormal with low mantissa
14679         word zero.
14680         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
14681         Add another test.
14683 2016-06-03  Florian Weimer  <fweimer@redhat.com>
14685         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
14686         __wmemset instead of wmemset.
14688 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
14690         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
14691         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
14692         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
14693         __USE_KERNEL_IPV6_DEFS to 0.
14694         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
14695         Update comment.
14697 2016-06-01  Florian Weimer  <fweimer@redhat.com>
14699         [BZ #19861]
14700         Do not use IFUNC resolver with potentially unrelocated symbol.
14701         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
14702         (DEFINE_FORK): Remove macro and inline definition.
14703         (fork_alias): Renamed from fork_ifunc.
14704         (__fork_alias): Renamed from __fork_ifunc.
14706 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
14708         [BZ 19653]
14709         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
14710         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
14712 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14714         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
14715         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
14716         i386-linux-gnu).
14717         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
14718         Set to no.
14719         * sysdeps/mach/hurd/configure: Refresh.
14721 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14723         [BZ #20178]
14724         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
14725         on failure instead of exit.
14727 2016-05-30  Roland McGrath  <roland@hack.frob.com>
14729         [BZ #3629]
14730         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
14731         of POSIX.1-2008.
14733 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14735         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
14736           Use PLT entry for calling _hurd_self_sigstate.
14738 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
14740         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
14741         available logical processors with SMT level type sharing L2
14742         cache for Intel processors.
14744 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14746         [BZ #20160]
14747         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
14748         argument to itself before returning the result.
14749         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
14750         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
14751         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
14752         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
14753         Likewise.
14754         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
14755         Likewise.
14756         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
14757         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
14758         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
14759         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
14760         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
14761         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
14763         [BZ #20160]
14764         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
14765         argument to itself before returning the result.
14766         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
14767         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
14768         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
14769         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
14770         Likewise.
14771         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14772         Likewise.
14773         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
14774         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
14775         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
14776         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
14777         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
14778         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
14780 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14782         * libm-test.inc: Replace usage of M_El with
14783         (lit_e): New macro.
14785 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14787         * libm-test.inc: Replace usage of M_PI_4l with
14788         (lit_pi_4_d): New macro.
14790 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14792         * libm-test.inc: Replace usage of M_PIl with
14793         (lit_pi): New macro.
14795 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14797         * libm-test.inc: Replace usage of M_PI2l with
14798         (lit_pi_2_d): New macro.
14800         * math/test-double.h (LITM): New macro.
14801         * math/test-float.h (LITM): Likewise.
14802         * math/test-ldouble.h (LITM): Likewise.
14804 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14806         * libm-test.inc (M_PI_34l): Rename to
14807         (lit_pi_3_m_4_d): New Macro.
14808         (M_PI_34_LOG10El): Rename to
14809         (lit_pi_3_m_4_ln10_m_d): New Macro.
14810         (M_PI2_LOG10El): Rename to
14811         (lit_pi_2_ln10_m_d):  New Macro.
14812         (M_PI4_LOG10El): Rename to
14813         (lit_pi_4_ln10_m_d):  New Macro.
14814         (M_PI_LOG10El): Rename to
14815         (lit_pi_ln10_d):  New Macro.
14817 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14819         [BZ #20157]
14820         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
14821         determine whether to negate low half if [_ARCH_PPCGR], and integer
14822         comparison otherwise.
14823         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
14824         determine whether to negate low half.
14826         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
14827         (NO_TEST_INLINE_DOUBLE): Likewise.
14828         (TEST_COND_x86_64): Likewise.
14829         (TEST_COND_x86): Likewise.
14830         (M_PI_6l): Likewise.
14832 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14834         * math/libm-test.inc:
14835         (TEST_FLOAT): Change usage to TEST_COND_binary32.
14836         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
14837         (TEST_LDOUBLE): Update usage to evaluate as true if
14838         the guarded tests match the property being tested.
14839         (LDBL_MAX_EXP): Change to MAX_EXP.
14840         (LDBL_MIN_EXP): Change to MIN_EXP.
14841         (LDBL_MANT_DIG): Change to MANT_DIG, except for
14842         nexttoward tests.
14844 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14846         * math/libm-test.inc:
14847         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
14848         (TYPE_MIN): Likewise.
14849         (TYPE_TRUE_MIN): Likewise.
14850         (TYPE_MAX): Likewise.
14851         (MIN_EXP): Likewise.
14852         (MAX_EXP): Likewise.
14853         (MANT_DIG): Likewise.
14855         (FSTR_MAX): New macro.
14856         (__CONCATX): Likewise.
14857         (QTYPE_STR): Likewise.
14858         (TEST_COND_binary32): Likewise.
14859         (TEST_COND_binary64): Likewise.
14860         (TEST_COND_binary128): Likewise.
14861         (TEST_COND_ibm128): Likewise.
14862         (TEST_COND_intel96): Likewise.
14863         (TEST_COND_m68k96): Likewise.
14865         (TEST_COND_flt_32): Redefine as equivalent format test macro.
14866         (TEST_COND_dbl_64): Likewise.
14867         (TEST_COND_ldbl_96_intel): Likewise.
14868         (TEST_COND_ldbl_96_m68k): Likewise.
14869         (TEST_COND_ldbl_128): Likewise.
14870         (TEST_COND_ldbl_128ibm): Likewise.
14872         (plus_zero): Redefine using LIT macro.
14873         (minus_zero): Likewise.
14874         (plus_infty): Redefine as (INF).
14875         (minux_infty): Redefine as (-INF).
14876         (max_value): Redefine as TYPE_MAX.
14877         (min_value): Redefine as TYPE_MIN.
14878         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
14880         (print_float): Refactor to use snprintf to convert FLOAT values
14881         to string. This brings it closer to dropin replacement of strtof
14882         for the TS 18661 defined types.
14883         (update_stats): Likewise.
14884         (print_complex_function_ulps): Likewise.
14885         (print_max_error): Likewise.
14886         (print_complex_max_error): Likewise.
14887         (check_float_internal): Likewise.
14889         * math/test-float.h (PREFIX): New macro.
14890         (LIT): Likewise.
14891         (TYPE_STR): Likewise.
14892         (FTOSTR): Likewise.
14894         * math/test-double.h (PREFIX): New macro.
14895         (LIT): Likewise.
14896         (TYPE_STR): Likewise.
14897         (FTOSTR): Likewise.
14899         * math/test-ldouble.h (PREFIX): New macro.
14900         (LIT): Likewise.
14901         (TYPE_STR): Likewise.
14902         (FTOSTR): Likewise.
14904 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14906         [BZ #20156]
14907         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
14908         to itself when zero or not finite.
14909         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
14910         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14911         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
14912         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
14914 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
14916         [BZ #20153]
14917         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
14918         x * x + x for infinities and NaNs.
14920         [BZ #20151]
14921         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
14922         argument to itself before returning result.
14923         (__ieee754_y0l): Likewise.
14924         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14925         (__ieee754_y1l).
14927         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
14928         (atan_test_data): Likewise.
14929         (ceil_test_data): Likewise.
14930         (cos_test_data): Likewise.
14931         (cosh_test_data): Likewise.
14932         (erf_test_data): Likewise.
14933         (exp2_test_data): Likewise.
14934         (fabs_test_data): Likewise.
14935         (floor_test_data): Likewise.
14936         (ilogb_test_data): Likewise.
14937         (j0_test_data): Likewise.
14938         (j1_test_data): Likewise.
14939         (jn_test_data): Likewise.
14940         (lgamma_test_data): Likewise.
14941         (lrint_test_data): Likewise.
14942         (llrint_test_data): Likewise.
14943         (logb_test_data): Likewise.
14944         (lround_test_data): Likewise.
14945         (llround_test_data): Likewise.
14946         (nearbyint_test_data): Likewise.
14947         (rint_test_data): Likewise.
14948         (round_test_data): Likewise.
14949         (sin_test_data): Likewise.
14950         (sincos_test_data): Likewise.
14951         (sinh_test_data): Likewise.
14952         (sqrt_test_data): Likewise.
14953         (tan_test_data): Likewise.
14954         (tanh_test_data): Likewise.
14955         (tgamma_test_data): Likewise.
14956         (trunc_test_data): Likewise.
14957         (y0_test_data): Likewise.
14958         (y1_test_data): Likewise.
14959         (yn_test_data): Likewise.
14961         * math/libm-test.inc: Update comment about NaN testing.
14962         (TEST_SNAN): New macro.
14963         (snan_value): Likewise.
14964         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
14965         (fpclassify_test_data): Add sNaN tests.
14966         (isfinite_test_data): Likewise.
14967         (isinf_test_data): Likewise.
14968         (isnan_test_data): Likewise.
14969         (isnormal_test_data): Likewise.
14970         (issignaling_test_data): Likewise.
14971         (signbit_test_data): Likewise.
14972         * math/gen-libm-test.pl (%beautify): Add snan_value.
14973         (show_exceptions): Add argument $test_snan.
14974         (parse_args): Handle snan_value as non-finite.  Update call to
14975         show_exceptions.
14976         * math/Makefile (libm-test-no-inline-cflags): Add
14977         -fsignaling-nans.
14979 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14981         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
14982         (CFLAGS-oldsendmsg.c): Add rule.
14983         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
14984         Correct recvmsg symbol name.
14985         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
14986         Likewise.
14988 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14990         * sysdeps/unix/sysv/linux/Makefile
14991         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
14992         oldsendmmsg.
14993         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
14994         sendmmsg.
14995         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14996         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14997         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14998         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15000         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15001         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15003         Likewise.
15004         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15005         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
15006         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
15007         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
15008         iovlen and controllen fields to adjust to POSIX specification.
15009         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15011         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
15012         and change to correct expected type.
15013         (msghdr.msg_controllen): Likewise.
15014         (cmsghdr.cmsg_len): Likewise.
15015         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
15016         expected POSIX assumption about the size.
15017         (msghdr.msg_controllen): Likewise.
15018         (msghdr.__glibc_reserved1): Likewise.
15019         (msghdr.__glibc_reserved2): Likewise.
15020         (cmsghdr.cmsg_len): Likewise.
15021         (cmsghdr.__glibc_reserved1): Likewise.
15022         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
15023         Add ptw-oldrecvmsg and ptw-oldsendmsg.
15024         (CFLAGS-sendmsg.c): Remove rule.
15025         (CFLAGS-recvmsg.c): Likewise.
15026         (CFLAGS-oldsendmsg.c): Add rule.
15027         (CFLAGS-oldrecvmsg.c): Likewise.
15028         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
15029         recvmsg and sendmsg.
15030         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
15031         Likewise.
15032         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
15033         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
15034         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
15035         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
15036         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
15037         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
15038         Likewise.
15039         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
15040         Likewise.
15041         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
15042         Likewise.
15043         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
15044         Likewise.
15045         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
15046         Likewise.
15047         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
15048         Likewise.
15049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
15050         (GLIBC_2.24): Likewise.
15051         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
15052         Likewise.
15053         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
15054         Likewise.
15055         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
15056         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
15057         Likewise.
15058         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
15059         Likewise.
15060         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
15061         Likewise.
15062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
15063         (GLIBC_2.24): Likewise.
15064         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
15065         Likewise.
15066         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
15067         Likewise.
15068         * sysdeps/unix/sysv/linux/Makefile
15069         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
15070         (CFLAGS-sendmsg.c): Add rule.
15071         (CFLAGS-recvmsg.c): Likewise.
15072         (CFLAGS-oldsendmsg.c): Likewise.
15073         (CFLAGS-oldrecvmsg.c): Likewise.
15074         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
15075         initialization.
15076         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15077         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15078         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
15079         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
15080         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
15081         iovlen and controllen fields to adjust to POSIX specification.
15082         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
15083         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
15084         added recvmsg and sendmsg.
15085         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15086         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15087         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15088         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15089         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15090         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15091         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15092         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15093         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15094         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15095         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15096         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
15097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15098         Likewise.
15099         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15101         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15102         Likewise.
15103         Likewise.
15104         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15105         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15106         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15107         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15108         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15109         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15111         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15113         Likewise.
15114         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15115         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15117         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
15118         from auto-generation.
15119         (sendmsg): Likewise.
15120         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
15121         (sendmsg): Likewise.
15122         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
15123         (sendmsg): Likewise.
15124         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
15125         (sendmsg): Likewise.
15126         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
15127         (sendmsg): Likewise.
15128         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
15129         (sendmsg): Likewise.
15130         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
15131         Likewise.
15132         (sendmsg): Likewise.
15133         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
15134         (sendmsg): Likewise.
15135         * sysdeps/unix/sysv/linux/i386/kernel-features.h
15136         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15137         Remove.
15138         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15139         Likewise.
15140         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15141         Undefine.
15142         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15143         Likewise.
15144         * sysdeps/unix/sysv/linux/kernel-features.h
15145         (__ASSUME_SENDMSG_SYSCALL): Define.
15146         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15147         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15148         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15149         Remove.
15150         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15151         Likewise.
15152         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15153         Undefine.
15154         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15155         Likewise.
15156         * sysdeps/unix/sysv/linux/s390/kernel-features.h
15157         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15158         Remove.
15159         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15160         Likewise.
15161         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15162         Undefine.
15163         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15164         Likewise.
15165         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15166         (__ASSUME_SENDMSG_SYSCALL): Undefine.
15167         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15168         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15169         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15170         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15171         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15172         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15173         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15175 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15177         * stdlib/gen-tst-strtod-round.c: Add backslash to
15178         compile command in comment.
15179         (printfp): Remove the literal suffix, and define an infinite
15180         value as INF to avoid expansion clash with INFINITY.
15181         (round_str): Remove the literal suffix.
15182         (round_for_all): Likewise, remove the now duplicate ldbl-64
15183         entry, and remove some magic constants.
15185         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
15186         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
15187         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
15188         (_CONCAT): New macro.
15189         (CONCAT): Likewise.
15190         (CHOOSE_ld): Likewise.
15191         (CHOOSE_f): Likewise.
15192         (CHOOSE_d): Likewise.
15193         (FTYPE_MEMBER): Likewise.
15194         (BOOL_MEMBER): Likewise.
15195         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
15196         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
15197         (_XNTRY): Likewise.
15198         (XNTRY): Likewise.
15199         (_ENTRY): Likewise.
15200         (ENTRY): Likewise.
15201         (test_exactness): Generate members via macro.
15202         (test_results): Likewise.
15203         (test): Update members.
15204         (TEST): Redefine using new macros.
15205         (INF): New macro.
15206         (fetestmodes): New structure.
15207         (do_test): Refactor to be type generic.
15208         (test_in_one_mode): Refactor duplicate code into
15209         (GEN_ONE_TEST): New macro.
15211         * stdlib/tst-strtod-round-data.h: Regenerate.
15213         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
15214         Extend to pass additional arbitrary parameters to
15215         generators.
15217 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
15219         [BZ #15479]
15220         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
15221         floating-point state after first floating-point operation on
15222         input.  Restore full floating-point state instead of just rounding
15223         mode.
15224         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
15225         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
15226         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
15227         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
15228         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
15230         [BZ #15479]
15231         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
15232         floating-point state after first floating-point operation on
15233         input.  Restore full floating-point state instead of just rounding
15234         mode.
15235         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
15236         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
15237         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
15238         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
15239         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
15241 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15243         [BZ #19727]
15244         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
15245         valid high surrogate.
15246         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
15247         of an utf16 surrogate.
15248         * iconv/gconv_simple.c (BODY): Likewise.
15249         * iconvdata/bug-iconv12.c: New file.
15250         * iconvdata/Makefile (tests): Add bug-iconv12.
15252 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15254         [BZ #19726]
15255         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
15256         outptrp in case of an illegal input.
15257         * iconv/tst-iconv6.c: New file.
15258         * iconv/Makefile (tests): Add tst-iconv6.
15260 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15262         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
15263         an error in case of a value in range of an utf16 low surrogate.
15265 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15267         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
15268         an error in case of a value in range of an utf16 low surrogate.
15270 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15272         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
15273         Move to ...
15274         * sysdeps/s390/Makefile: ... here.
15275         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
15276         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
15277         (BRANCH_ON_COUNT): New define.
15278         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
15279         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
15280         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
15281         run on s390-32, too.
15282         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
15283         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
15284         run on s390-32, too.
15285         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
15286         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
15287         run on s390-32, too.
15289 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15291         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
15292         etf3eh or new vector loop-variant.
15294 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15296         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
15297         etf3eh or new vector loop-variant.
15299 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15301         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
15302         or new vector loop-variant.
15304 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15306         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
15307         Rename to TR_LOOP and usage of tr instead of troo instruction.
15309 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15311         * sysdeps/s390/multiarch/gconv_simple.c: New File.
15312         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
15314 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15316         * sysdeps/s390/multiarch/8bit-generic.c: New File.
15317         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
15318         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
15319         New override define.
15320         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
15322 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15324         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
15325         * sysdeps/s390/configure.ac: Add test for S390 vector register
15326         support in gcc.
15327         * sysdeps/s390/configure: Regenerated.
15329 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15331         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
15332         Install file from $(objpfx)gconv-modules.
15333         ($(objpfx)gconv-modules): Concatenate architecture specific file
15334         in variable sysdeps-gconv-modules and gconv-modules in src dir.
15335         * sysdeps/s390/gconv-modules: New file.
15336         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
15337         Deleted.
15338         ($(objpfx)gconv-modules-s390): Deleted.
15339         (sysdeps-gconv-modules): New variable.
15341 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
15343         [BZ #15479]
15344         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
15345         of immediate operand to rounding instruction.
15346         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
15347         Likewise.
15348         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
15349         Likewise.
15350         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
15351         Likewise.
15353 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15355         * math/libm-test.inc (MIN_EXP): Directly define as
15356         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
15358 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15360         * math/libm-test.inc (MANT_DIG): Directly define as
15361         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
15363 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15365         * stdlib/gen-tst-strtod-round.c (main):
15366           Change usage to more closely match the generated
15367           output.  Add usage and compilation instructions.
15368           (string_to_fp): Add and use FILE* parameter as
15369           output target.
15370           (print_fp): Likewise.
15371           (round_str): Likewise.
15372           (round_for_all): Likewise.
15373         * stdlib/tst-strtod-round.c (tests): Move into
15374         * stdlib/tst-strtod-round-data.h: New file.
15376 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
15378         [BZ #15479]
15379         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
15380         (__round): Do not force "inexact" exception.
15381         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
15382         variable.
15383         (__round): Do not force "inexact" exception.
15384         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
15385         (__roundf): Do not force "inexact" exception.
15386         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
15387         (__roundl): Do not force "inexact" exception.
15388         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
15389         (__roundl): Do not force "inexact" exception.
15390         * math/libm-test.inc (round_test_data): Do not allow spurious
15391         "inexact" exceptions.
15393         [BZ #15479]
15394         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
15395         exception in comment.
15396         (huge): Remove variable.
15397         (__floor): Do not force "inexact" exception.
15398         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
15399         "inexact" exception in comment.
15400         (huge): Remove variable.
15401         (__floor): Do not force "inexact" exception.
15402         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
15403         exception in comment.
15404         (huge): Remove variable.
15405         (__floorf): Do not force "inexact" exception.
15406         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
15407         exception in comment.
15408         (huge): Remove variable.
15409         (__floorl): Do not force "inexact" exception.
15411         [BZ #15479]
15412         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
15413         exception in comment.
15414         (huge): Remove variable.
15415         (__ceil): Do not force "inexact" exception.
15416         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
15417         "inexact" exception in comment.
15418         (huge): Remove variable.
15419         (__ceil): Do not force "inexact" exception.
15420         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
15421         (__ceilf): Do not force "inexact" exception.
15422         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
15423         exception in comment.
15424         (huge): Remove variable.
15425         (__ceill): Do not force "inexact" exception.
15427 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
15429         * config.h.in (BIND_NOW): New.
15430         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
15431         * configure: Regenerated.
15432         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
15433         indirect branch via the GOT slot.
15435 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15437         [BZ #19765]
15438         * sysdeps/s390/mempcpy.S: New File.
15439         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
15440         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
15441         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15442         Add mempcpy variants.
15443         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
15444         (memcpy): Adjust to be usable from mempcpy entry point.
15445         (__memcpy_mvcle): Likewise.
15446         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15447         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
15448         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
15449         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
15450         (__memcpy_z10): Likewise.
15451         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
15453 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15455         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
15456         Remove __GI_ symbol.
15457         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
15458         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
15459         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
15460         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
15461         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
15462         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
15464 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15466         * sysdeps/s390/s390-64/memcpy.S (memcpy):
15467         Use cghi instead of chi to compare 64bit value.
15469 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15471         * sysdeps/s390/s390-32/memcpy.S (memcpy):
15472         Jump to 1MB check before executing mvc-loop.
15474 2016-05-24  Florian Weimer  <fweimer@redhat.com>
15476         [BZ #6527]
15477         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
15478         unconditionally.
15479         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
15481 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15483         * stdlib/tst-strtod6.c (do_test): Use new type generic
15484         invocation of the test function.
15485         (test): Refactor into ...
15486         (TEST_STRTOD): New macro base function.
15488 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15490         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
15491         (TEST_STRTOD): New macro.
15492         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
15494 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15496         * stdlib/tst-strtod6.c (do_test): Use new type generic
15497         invocation of the test function.
15498         (test): Refactor into ...
15499         (TEST_STRTOD): New macro base function.
15501 2016-05-23  Florian Weimer  <fweimer@redhat.com>
15503         CVE-2016-4429
15504         [BZ #20112]
15505         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
15506         payload.
15508 2016-05-23  Florian Weimer  <fweimer@redhat.com>
15510         [BZ #20111]
15511         * bits/sockaddr.h (_SS_SIZE): Define.
15512         * bits/socket.h (_SS_SIZE): Remove.
15513         (_SS_PADSIZE): Adjust to account for all padding.
15514         (struct sockaddr_storage): Update comment.  Avoid implicit
15515         padding.
15516         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
15517         (_SS_PADSIZE): Adjust to account for all padding.
15518         (struct sockaddr_storage): Update comment.  Avoid implicit
15519         padding.
15520         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
15521         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
15522         (_SS_PADSIZE): Adjust to account for all padding.
15523         (struct sockaddr_storage): Update comment.  Avoid implicit
15524         padding.
15525         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
15526         __SS_SIZE is 126 in this version.
15527         * inet/tst-sockaddr.c: New file.
15528         * inet/Makefile (tests): Add tst-sockaddr.c
15529         (tst-sockaddr.c): Compile with non-strict aliasing.
15531 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
15533         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
15534         [XPG3 || XPG4].
15535         (NL_ARGMAX): Also expect for [XPG3].
15536         (NL_LANGMAX): Likewise.
15537         (NL_MSGMAX): Likewise.
15538         (NL_NMAX): Likewise.
15539         (NL_SETMAX): Likewise.
15540         (NL_TEXTMAX): Likewise.
15541         (NZERO): Likewise.
15542         (TMP_MAX): Likewise.
15543         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
15544         variable.
15546         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
15547         (PF_MAX): Update value.
15548         (AF_KCM): New macro.
15549         (SOL_NETBEUI): Likewise.
15550         (SOL_LLC): Likewise.
15551         (SOL_DCCP): Likewise.
15552         (SOL_NETLINK): Likewise.
15553         (SOL_TIPC): Likewise.
15554         (SOL_RXRPC): Likewise.
15555         (SOL_PPPOL2TP): Likewise.
15556         (SOL_BLUETOOTH): Likewise.
15557         (SOL_PNPIPE): Likewise.
15558         (SOL_RDS): Likewise.
15559         (SOL_IUCV): Likewise.
15560         (SOL_CAIF): Likewise.
15561         (SOL_ALG): Likewise.
15562         (SOL_NFC): Likewise.
15563         (SOL_KCM): Likewise.
15564         (MSG_BATCH): New enum value and macro.
15566 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
15568         [BZ #18185]
15569         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
15570         sharing L2 cache to 2 for Knights Landing.
15572 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
15574         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
15575         (FTW_DP): Do not expect for [XPG3 || XPG4].
15576         (FTW_SL): Do not expect for [XPG3].
15577         (FTW_SLN): Likewise.
15578         (FTW_PHYS): Likewise.
15579         (FTW_MOUNT): Likewise.
15580         (FTW_DEPTH): Likewise.
15581         (FTW_CHDIR): Likewise.
15582         (nftw): Likewise.
15583         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
15584         variable.
15586 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
15588         * manual/errno.texi: Fix various typos & grammar errors.
15590 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
15592         * manual/intro.texi: Fix duplicated typo.
15594 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
15596         [BZ #13304]
15597         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
15598         <float.h>, <math_private.h> and <stdlib.h>.
15599         (add_split): New function.
15600         (mul_split): Likewise.
15601         (ext_val): New typedef.
15602         (store_ext_val): New function.
15603         (mul_ext_val): New function.
15604         (compare): New function.
15605         (add_split_ext): New function.
15606         (__fmal): After checking for Inf, NaN and zero, compute result as
15607         an exact sum of scaled double values in round-to-nearest before
15608         adding those up and adjusting for other rounding modes.
15609         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
15610         tests of fma.
15611         * math/auto-libm-test-out: Regenerated.
15613 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15615         [BZ #20119]
15616         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
15617         processor level type mask for CPUID with EAX == 11.
15619 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15621         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
15622         logical threads if the HTT bit is 0.
15623         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
15624         (index_cpu_HTT): Likewise.
15625         (reg_HTT): Likewise.
15627 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15629         [BZ #20115]
15630         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
15631         Remove alignments on jump targets.
15633 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
15635         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
15636         (getpwent): Likewise.
15637         (setpwent): Likewise.
15638         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
15639         variable.
15641         * conform/data/search.h-data (insque): Do not expect for [XPG3].
15642         (remque): Likewise.
15643         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
15644         variable.
15646 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
15648         * math/libm-test.inc: Update comment not to refer to signs of NaNs
15649         not being tested.
15651 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15653         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15654         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
15655         call.
15656         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15657         (__condvar_cleanup1): Likewise.
15659 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15661         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
15662         New
15663         (__pthread_unwind): Renamed to ...
15664         (PTHREAD_UNWIND): This.
15665         (__pthread_enable_asynccancel): Replace
15666         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
15668 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
15670         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
15671         (CLONE_NEWCGROUP): New macro.
15673         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
15674         (Q_GETNEXTQUOTA): New macro.
15676 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15678         [BZ #19907]
15679         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
15680         buffer updated by the previous run.
15681         * string/test-memcpy.c (do_one_test): Likewise.
15682         * benchtests/bench-memmove.c (do_one_test): Add a comment.
15683         * string/test-memmove.c (do_one_test): Likewise.
15685 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
15687         [BZ #20094]
15688         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
15689         not [__USE_XOPEN].
15690         (unlockpt): Likewise.
15691         (ptsname): Likewise.
15692         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
15693         variable.
15695         [BZ #20076]
15696         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
15697         instead of [__USE_UNIX98].
15698         (S_ISSOCK): Likewise.
15699         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
15700         variable.
15702         [BZ #20074]
15703         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
15704         [__USE_POSIX].
15705         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
15706         variable.
15708         [BZ #20051]
15709         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
15710         (ttyslot): Do not declare.
15711         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
15712         (ttyslot): New prototype.
15713         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
15714         variable.
15715         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15717 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15719         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
15721 2016-05-13  Florian Weimer  <fweimer@redhat.com>
15723         Fix race condition in tst-mallocfork2, use fewer resources.
15724         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
15725         to current process group.
15726         (signal_sender): Yield in the non-sleeping case.
15728 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
15730         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
15731         (ecvt): Likewise.
15732         (fcvt): Likewise.
15733         (gcvt): Likewise.
15734         (getsubopt): Likewise.
15735         (grantpt): Likewise.
15736         (initstate): Likewise.
15737         (l64a): Likewise.
15738         (mktemp): Likewise.
15739         (mkstemp): Likewise.
15740         (ptsname): Likewise.
15741         (random): Likewise.
15742         (realpath): Likewise.
15743         (setstate): Likewise.
15744         (srandom): Likewise.
15745         (ttyslot): Likewise.
15746         (unlockpt): Likewise.
15747         (valloc): Likewise.
15749         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
15750         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
15751         variable.
15753 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15755         [BZ #20072]
15756         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
15757         init_cpu_features only if SHARED is defined.
15758         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
15760 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15762         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
15763         non-inclusive caches on Intel processors.
15765 2016-05-13  Florian Weimer  <fweimer@redhat.com>
15767         * malloc/malloc.c (dumped_main_arena_start)
15768         (dumped_main_arena_end): New variables.
15769         (DUMPED_MAIN_ARENA_CHUNK): New macro.
15770         (do_check_chunk): Skip dumped fake mmapped chunks.
15771         (munmap_chunk): Likewise.
15772         (__libc_free): Do not adjust statistics for fake mmapped chunks.
15773         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
15774         mmapped chunks.
15775         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
15776         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
15777         and dumped_main_arena_end to cover the dumped heap.
15779 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
15781         * conform/data/time.h-data (getdate_err): Do not expect for
15782         [XPG3].
15783         (getdate): Likewise.
15784         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
15785         variable.
15787         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
15788         (F_ULOCK): Likewise.
15789         (F_TEST): Likewise.
15790         (F_TLOCK): Likewise.
15791         (useconds_t): Likewise.
15792         (intptr_t): Do not expect for [XPG3] or [XPG4].
15793         (brk): Do not expect for [XPG3]
15794         (fchown): Likewise.
15795         (fchdir): Likewise.
15796         (ftruncate): Likewise.
15797         (getdtablesize): Likewise.
15798         (gethostid): Likewise.
15799         (getpagesize): Likewise.
15800         (getpgid): Likewise.
15801         (getsid): Likewise.
15802         (getwd): Likewise.
15803         (lchown): Likewise.
15804         (lockf): Likewise.
15805         (readlink): Likewise.
15806         (sbrk): Likewise.
15807         (setpgrp): Likewise.
15808         (setregid): Likewise.
15809         (setreuid): Likewise.
15810         (symlink): Likewise.
15811         (sync): Likewise.
15812         (truncate): Likewise.
15813         (ualarm): Likewise.
15814         (usleep): Likewise.
15815         (vfork): Likewise.
15816         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
15817         variable.
15819         [BZ #20054]
15820         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
15821         not [__USE_UNIX98].
15822         * conform/data/unistd.h-data (gethostname): Do not expect for
15823         [XPG3].
15825         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
15826         [!POSIX] (S_IFBLK): Likewise.
15827         [!POSIX] (S_IFCHR): Likewise.
15828         [!POSIX] (S_IFIFO): Likewise.
15829         [!POSIX] (S_IFREG): Likewise.
15830         [!POSIX] (S_IFDIR): Likewise.
15831         [!POSIX] (S_IFLNK): Likewise.
15832         [!POSIX] (S_IFSOCK): Likewise.
15833         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
15834         variable.
15835         (test-xfail-XPG4/fcntl.h/conform): Likewise.
15837 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
15839         * sysdeps/aarch64/memset.S (__memset):
15840         Rewrite of optimized memset.
15842 2016-05-12  Florian Weimer  <fweimer@redhat.com>
15844         [BZ #19703]
15845         Partially async-signal-safe fork for single-threaded processes.
15846         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
15847         variable.  Do not acquire and reset/release malloc and libio locks
15848         in single-threaded processes.
15849         * malloc/tst-mallocfork2.c: New file.
15850         * malloc/Makefile (tests): Add it.
15852 2016-05-12  Florian Weimer  <fweimer@redhat.com>
15854         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
15855         argument.  Use scratch buffer instead of extend_alloca.
15856         (gethosts): Use scratch buffer instead of extend_alloca.
15857         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
15858         extend_alloca.
15859         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
15861 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
15863         [BZ #20055]
15864         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
15865         instead of [__USE_UNIX98].
15866         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
15867         [__USE_UNIX98].
15868         * conform/data/termios.h-data (tcgetsid): Do not expect for
15869         [XPG3].
15870         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
15871         variable.
15872         (test-xfail-XPG4/termios.h/conform): Likewise.
15874 2016-05-11  Florian Weimer  <fweimer@redhat.com>
15876         Do not use mcheck in localedef.
15877         * locale/programs/localedef.c (turn_on_mcheck)
15878         (__malloc_initialize_hook): Remove.
15880 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15882         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
15883         * sysdeps/s390/s390-64/Makefile: Likewise.
15885 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
15887         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
15888         Remove ifunc-defines.sym.
15889         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
15890         Likewise.
15891         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
15892         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
15893         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
15894         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
15895         rtld-global-offsets.sym.
15896         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
15897         * sysdeps/x86/cpu-features-offsets.sym: This.
15898         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
15899         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
15901 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
15903         [BZ #20073]
15904         * io/sys/stat.h (fchmod): Declare for
15905         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
15906         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
15907         variable.
15909         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
15910         [XPG3] (S_IFSOCK): Likewise.
15911         [XPG3] (S_ISVTX): Likewise.
15912         [XPG3] (S_ISLNK): Likewise.
15913         [XPG3] (S_ISSOCK): Likewise.
15914         [XPG3] (fchmod): Likewise.
15915         [XPG3] (lstat): Likewise.
15916         [XPG3] (mknod): Likewise.
15918         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
15919         [XPG3].  Expect type long and XFAIL for [XPG4].
15920         (st_blocks): Likewise.
15922         [BZ #20044]
15923         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
15924         (pthread_atfork): New prototype.
15925         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
15926         variable.
15928         [BZ #20043]
15929         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
15930         prototype.
15932 2016-05-10  Florian Weimer  <fweimer@redhat.com>
15934         [BZ #20017]
15935         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
15936         gmtime.
15938 2016-05-10  Florian Weimer  <fweimer@redhat.com>
15940         [BZ #19994]
15941         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
15942         flag in _res.options.
15944 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
15946         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
15947         [XPG3 || XPG4].
15948         (blksize_t): Likewise.
15949         (clockid_t): Likewise.
15950         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
15951         variable.
15952         (test-xfail-XPG4/sys/types.h/conform): Likewise.
15954 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
15956         * sysdeps/unix/sysv/linux/s390/init-first.c:
15957         Add VDSO_SYMBOL(getcpu).
15958         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
15959         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
15960         Add VDSO_SYMBOL(getcpu).
15961         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
15962         New define HAVE_GETCPU_VSYSCALL.
15963         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15965 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
15967         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
15968         instead of <sysdeps/x86_64/cacheinfo.c>.
15969         * sysdeps/x86_64/cacheinfo.c: Moved to ...
15970         * sysdeps/x86/cacheinfo.c: Here.
15972 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15974         * malloc/malloc-internal.h: Adjust header file guard.
15976 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15978         [BZ #19787]
15979         * inet/getnameinfo.c (check_sprintf_result): New function.
15980         (CHECKED_SNPRINTF): New macro.
15981         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
15982         to the host buffer.
15983         (gni_host_local): Use checked_copy to copy the host name.
15984         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
15985         (gni_serv_local): Use checked_copy to copy the service name.
15986         (getnameinfo): Remove unnecessary truncation of result buffers.
15988 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15990         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
15991         in case of inet_ntop failure.
15993 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15995         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
15996         avoid long lines.
15997         (gni_host_inet_numeric): Likewise.  Reduce scope of local
15998         variables.
15999         (gni_host_inet, gni_host_local): Add comment.
16000         (gni_host): Add comment.  Use temporary to avoid long lines.
16002 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16004         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
16005         registers specifiers where general purpose registers specifiers should
16006         have been used.
16008 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16010         [BZ #19779]
16011         CVE-2016-1234
16012         Avoid copying names of directory entries.
16013         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
16014         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
16015         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
16016         (struct readdir_result): New type.
16017         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
16018         (GL_READDIR): New macros.
16019         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
16020         (convert_dirent, convert_dirent64): New functions.
16021         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
16022         convert_dirent64.  Adjust references to the readdir result.
16023         * sysdeps/unix/sysv/linux/i386/glob64.c:
16024         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
16025         * posix/bug-glob2.c (LONG_NAME): Define.
16026         (filesystem): Add LONG_NAME.
16027         (my_DIR): Increase the size of room_for_dirent.
16029 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
16031         [BZ #20041]
16032         * misc/sys/select.h (__need_timespec): Only define if
16033         [__USE_XOPEN2K].
16034         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
16035         variable.
16036         (test-xfail-XPG4/utmpx.h/conform): Likewise.
16037         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16038         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16040 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16041             Segher Boessenkool  <segher@gcc.gnu.org>
16043         [BZ #20004]
16044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
16045         (__novec_swapcontext): Add missing load.
16047 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
16049         [BZ #20023]
16050         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
16051         <time.h>.
16052         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
16053         variable.
16054         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16056 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
16059         flags CLONE_VM compare.
16061 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16063         [BZ #20031]
16064         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
16065         completely empty.
16067 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16069         [BZ #19573]
16070         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
16071         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
16072         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
16073         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
16074         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
16075         (hesiod_free_list): Mark as hidden.
16076         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
16077         res_set, res_get.
16078         * hesiod/hesiod.c: Remove unnecessary forward declarations.
16079         (init, __hesiod_res_get, __hesiod_res_set): Remove.
16080         (hesiod_init): Remove obsolete res_ninit call.
16081         (hesiod_end): Do not free resolver state.  Do not invoke callback.
16082         (hesiod_bind): Do not call init.
16083         (get_txt_records): Use res_mkquery, res_send instead of
16084         res_nmkquery, res_nsend.
16085         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
16086         instead of _nss_hesiod_init.
16087         (_nss_hesiod_initgroups_dyn): Likewise.
16088         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
16089         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
16090         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
16092 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16094         * hesiod/hesiod_p.h (DEF_RHS): Remove.
16095         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
16097 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16099         * hesiod/hesiod.h: Remove RCS keyword.
16100         * hesiod/hesiod_p.h: Likewise.
16102         * hesiod/hesiod.c: Likewise.
16104 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
16106         [BZ #12450]
16107         * locale/iso-639.def: Add Samogitian/sgs.
16109 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
16111         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
16113         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
16115 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
16116             Carlos O'Donell  <carlos@redhat.com>
16118         [BZ #19072]
16119         * grp/Makefile (headers): Add grp-merge.h
16120         (routines): Add grp-merge.
16121         * grp/getgrgid_r.c: Include grp-merge.h.
16122         (DEEPCOPY_FN): Define.
16123         (MERGE_FN): Define.
16124         * grp/getgrname_r.c: Include grp-merge.h.
16125         (DEEPCOPY_FN): Define.
16126         (MERGE_FN): Define.
16127         * grp/grp-merge.c: New file.
16128         * grp/grp-merge.h: New file.
16129         * include/grp-merge.h: New file.
16130         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
16131         __copy_grp@GLIBC_PRIVATE.
16132         * manual/nss.texi (Actions in the NSS configuration): Describe
16133         return, continue, and merge.
16134         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
16135         (DEEPCOPY_FN): Define.
16136         (MERGE_FN): Define.
16137         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
16138         (DEEPCOPY_FN): Define.
16139         (MERGE_FN): Define.
16140         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
16141         [!MERGE_FN]: Define __merge_einval.
16142         (CHECK_MERGE): Define.
16143         (REENTRANT_NAME): Process merge if do_merge is true.
16144         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
16145         (__nss_getent_r): Likewise.
16146         * nss/nsswitch.c (nss_parse_service_list): Likewise.
16147         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
16149 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16151         [BZ #20012]
16152         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
16153         length to calculate the buffer to read.
16154         (fmemopen_write): Set the buffer position based on bytes written.
16155         (fmemopen_seek): Return EINVAL for invalid whence modes.
16157         [BZ #19957]
16158         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
16159         tst-getpid2.
16160         (test): Add tst-clone2.
16161         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
16162         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
16163         pid/tid fields for CLONE_VM.
16164         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
16165         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
16166         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
16167         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
16168         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
16169         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
16170         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
16171         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
16172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
16173         Likewise.
16174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16175         Likewise.
16176         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
16177         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
16178         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
16179         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
16180         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
16181         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
16182         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
16183         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
16185 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16187         [BZ #19642]
16188         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
16189         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
16190         (gni_serv_local, gni_serv): New functions extracted from
16191         getnameinfo.
16192         (getnameinfo): Call gni_host and gni_serv to perform the
16193         processing.  Always free scratch buffer.
16195 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16197         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
16198         remaining bytes in the dest string, with zeros.
16200 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16202         [BZ #20010]
16203         CVE-2016-3706
16204         * sysdeps/posix/getaddrinfo.c
16205         (convert_hostent_to_gaih_addrtuple): New function.
16206         (gethosts): Call convert_hostent_to_gaih_addrtuple.
16207         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
16208         AF_INET data.
16210 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16212         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
16213         callback function gl_readdir.
16214         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
16215         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
16216         (glob_in_dir): Remove len.  Use strdup instead of malloc and
16217         memcpy to copy the name.
16218         * manual/pattern.texi (Calling Glob): Document requirements for
16219         implementations of the gl_readdir callback function.
16220         * manual/examples/mkdirent.c: New example.
16221         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
16222         per the manual guidance.
16223         * posix/tst-gnuglob.c (my_readdir): Likewise.
16225 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
16227         [BZ #20014]
16228         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
16229         not [__USE_POSIX].
16230         (getchar_unlocked): Likewise.
16231         (putc_unlocked): Likewise.
16232         (putchar_unlocked): Likewise.
16233         (flockfile): Likewise.
16234         (ftrylockfile): Likewise.
16235         (funlockfile): Likewise.
16236         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
16237         variable.
16238         (test-xfail-XPG4/stdio.h/conform): Likewise.
16240         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
16241         Expect constant.
16242         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
16243         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
16244         variable.
16245         (test-xfail-XPG4/langinfo.h/conform): Likewise.
16246         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16248         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
16249         [__USE_LARGEFILE64] (off64_t): Likewise.
16250         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
16251         variable.
16253 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16255         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
16257 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16259         * resolv/inet_addr.c: Reindent preprocessor conditionals.
16260         * resolv/res_init.c: Likewise.
16261         * resolv/res_mkquery.c: Likewise.
16263 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16265         * resolv/res_init.c (isascii): Do not define.  Use definition in
16266         <ctype.h>.
16267         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
16268         (LOG_AUTH): Remove.
16269         (SPRINTF): Remove, adjust caller.
16270         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
16272 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16274         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
16275         SUNSECURITY conditional.
16276         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
16278 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16280         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
16281         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
16282         Remove BSD-related preprocessor conditionals.
16283         * conf/portability.h: Remove.
16285 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16287         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
16288         * resolv/res_data.c: Likewise.
16290 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16292         * resolv/res_comp.c: Remove code conditional on __ultrix__.
16293         * resolv/res_data.c: Remove code conditional on ultrix.
16295 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16297         * resolv/res_init.c (RFC1535): Do not define.  Remove
16298         RFC1535 preprocessor conditionals.
16299         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
16300         because there configuration options which make the resolver
16301         behavior different.
16303 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16305         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
16306         RESOLVSORT preprocessor conditionals.
16307         * resolv/nss_dns/dns-host.c: Likewise.
16308         * resolv/res_init.c: Likewise.
16310 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16312         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
16313         is never defined.
16315 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16317         * inet/inet_lnaof.c: Remove SCSS keyword.
16318         * inet/inet_mkadr.c: Likewise.
16319         * inet/inet_net.c: Likewise.
16320         * inet/inet_netof.c: Likewise.
16321         * inet/rcmd.c: Likewise.
16322         * inet/rexec.c: Likewise.
16323         * inet/ruserpass.c: Likewise.
16325 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16327         * resolv/inet_addr.c: Remove _LIBC conditionals.
16328         * resolv/res_data.c: Likewise.
16329         * resolv/res_init.c: Likewise.
16330         * resolv/res_mkquery.c: Likewise.
16331         * resolv/res_libc.c: Update comment.
16332         * resolv/README: Update.
16334 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16336         * resolv/gethnamaddr.c: Remove SCSS keyword.
16337         * resolv/herror.c: Likewise.
16338         * resolv/inet_addr.c: Likewise.
16339         * resolv/inet_net_ntop.c: Likewise.
16340         * resolv/inet_net_pton.c: Likewise.
16341         * resolv/inet_neta.c: Likewise.
16342         * resolv/inet_ntop.c: Likewise.
16343         * resolv/inet_pton.c: Likewise.
16344         * resolv/ns_date.c: Remove RCS keyword.
16345         * resolv/ns_name.c: Likewise.
16346         * resolv/ns_netint.c: Likewise.
16347         * resolv/ns_parse.c: Likewise.
16348         * resolv/ns_print.c: Likewise.
16349         * resolv/ns_samedomain.c: Likewise.
16350         * resolv/ns_ttl.c: Likewise.
16351         * resolv/nsap_addr.c: Likewise.
16352         * resolv/res_comp.c: Remove SCSS and RCS keyword.
16353         * resolv/res_data.c: Remove RCS keyword.
16354         * resolv/res_debug.c: Remove SCSS and RCS keyword.
16355         * resolv/res_init.c: Likewise.
16356         * resolv/res_mkquery.c: Likewise.
16357         * resolv/res_query.c: Likewise.
16358         * resolv/res_send.c: Likewise.
16360 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
16362         * conform/data/stdio.h-data (fdopen): Expect also for
16363         [XPG3 || XPG4].
16365         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
16366         (fseeko): Likewise.
16367         (ftello): Likewise.
16368         (ftrylockfile): Likewise.
16369         (funlockfile): Likewise.
16370         (getc_unlocked): Likewise.
16371         (getchar_unlocked): Likewise.
16372         (putc_unlocked): Likewise.
16373         (putchar_unlocked): Likewise.
16375 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16377         [BZ #19868]
16378         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
16379         DNS packet syntax checks (which were not needed before).  Skip
16380         over non-PTR records.
16382 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16384         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
16385         definition.  Include <stddef.h> instead.
16387 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16389         [BZ #19831]
16390         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
16391         function.
16392         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
16393         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
16395 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16397         [BZ #19862]
16398         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
16399         (getanswer_r): Do not call syslog.
16400         (gaih_getanswer_slice): Likewise.
16401         * resolv/gethnamaddr.c (AskedForGot): Remove.
16402         (getanswer): Do not call syslog.
16403         (gethostbyaddr): Likewise.
16405 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
16407         * conform/data/signal.h-data (union sigval): Expect also if
16408         [XOPEN2K].
16409         (struct sigevent): Likewise.
16410         (SIGEV_NONE): Likewise.
16411         (SIGEV_SIGNAL): Likewise.
16412         (SIGEV_THREAD): Likewise.
16413         (SIGRTMIN): Likewise.
16414         (SIGRTMAX): Likewise.
16415         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
16416         variable.
16417         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16419 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16421         [BZ #19830]
16422         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
16423         (gaih_getanswer_slice): Likewise.
16424         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
16425         Also check for availability of RR metadata.
16427 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16429         [BZ #19825]
16430         * resolv/res_send.c (send_vc): Remove early *resplen2
16431         initialization.  Set *resplen2 on socket error.  Call
16432         close_and_return_error for other errors.
16434 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
16436         * sysdeps/unix/sysv/linux/netiucv/iucv.h
16437         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
16438         (SCM_IUCV_TRGCLS): New define.
16440 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16442         [BZ #20005]
16443         * libio/fmemopen.c (fmemopen_write): Update internal position after
16444         write.
16445         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
16446         * stdio-common/tst-fmemopen4.c: New file..
16448 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
16450         [BZ #19996]
16451         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
16452         not [__USE_XOPEN2K].
16453         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
16454         variable.
16456         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
16457         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
16458         variable.
16460         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
16461         [__USE_XOPEN2K8].
16462         [__USE_LARGEFILE64] (off64_t): Likewise.
16463         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
16464         variable.
16466 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
16468         [BZ #19989]
16469         * libio/stdio.h (cuserid): Do not declare if
16470         [__USE_XOPEN2K && !__USE_GNU].
16471         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
16472         variable.
16474 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16476         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16477         (sysdep_routines): Add P8 and PPC64 strcspn targets.
16478         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16479         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
16480         ifunc'ed strcspn.
16481         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
16482         [EALIGN]: Removed.
16483         [END]: Likewise
16484         [STRSPN]: Define instead of the above to control symbol name.
16485         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
16486         New file.
16487         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
16488         Likewise.
16489         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
16490         Likewise.
16491         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
16492         Likewise.
16493         * sysdeps/powerpc/powerpc64/power8/strspn.S:
16494         [INITIAL_MASK]: New macro.
16495         [STRCSPN]: Likewise.
16496         [UPDATE_MASK]: Likewise.
16497         [USE_AS_STRCSPN]: Likewise.
16499 2016-04-25  Florian Weimer  <fweimer@redhat.com>
16501         [BZ #19931]
16502         * stdio-common/tst-vfprintf-width-prec.c: New file.
16503         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
16504         (tests-special): Add tst-vfprintf-width-prec-mem.out.
16505         (generated): Add mtrace-related files.
16506         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
16507         (tst-%-mem.out): New pattern rule, replaces
16508         tst-printf-bz18872-mem.out.
16509         * stdio-common/vfprintf.c (vfprintf): When handling a precision
16510         specifier, deallocate any previously allocated work buffer.
16512 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
16514         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
16515         Add nop before __startcontext, add explaining comments.
16517 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
16519         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
16520         any more. Notably since IPV6_PKTINFO has been reintroduced with a
16521         completely different API.
16523         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
16524         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
16525         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
16526         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
16527         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
16528         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
16529         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
16530         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
16531         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
16532         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
16534 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
16536         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
16538 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
16540         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
16541         when it is the default of 0.
16543 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16545         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
16546         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16547         (sysdep_routines): Add new strcasestr targets.
16548         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16549         (__libc_ifunc_impl_list): Likewise.
16550         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
16551         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
16552         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
16553         * sysdeps/powerpc/powerpc64/power8/Makefile:
16554         New file to add strcasestr-ppc64 to sysdep_routines.
16555         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
16556         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
16558 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
16560         * benchtests/Makefile (wcsmbs-benchset): Include only for
16561         native builds and runs.
16562         (LOCALES): Likewise.
16563         (bench-build): Build timing-type here instead of the bench
16564         target.  Generate locale only for native builds.
16565         * benchtests/README: Add note for cross-building.
16567         * benchtests/Makefile (bench-clean): Clean up extra-objs.
16569         * benchtests/README: Update README to include instructions on
16570         using bench-build.
16572         * Makefile.in (bench-build): New target.
16573         * Rules (PHONY): Add bench-build target.
16574         * benchtests/Makefile (bench): Depend on bench-build.
16575         (bench-build): New target.
16577 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16579         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
16580         profil_reply_port.
16581         (profile_waiter): Do not initialize profil_reply_port.
16582         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
16583         frequency instead of tick length in us.
16585 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
16587         [BZ #18712]
16588         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
16589         (__old_mempcpy_small): Likewise.
16590         (__old_strcpy_small): Likewise.
16591         (__old_stpcpy_small): Likewise.
16592         (__old_strpbrk_c2): Fix compat symbol name.
16593         (__old_strpbrk_c3): Likewise.
16594         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
16595         (__mempcpy_small): Remove.
16596         (__strcpy_small): Remove.
16597         (__stpcpy_small): Remove.
16599 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
16601         [BZ #19400]
16602         * locale/iso-639.def: Add the Talossan/tzl language.
16604 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
16606         [BZ #16983]
16607         * locale/programs/ld-address.c (address_finish): Update postal_fmt
16608         comment.  Add "ln" to strchr check on postal_fmt.
16610 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
16612         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
16613         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
16614         tel_dom_fmt.
16616 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16618         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16619         (sysdep_routines): Added __strlen_power8.
16620         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
16621         __strlen_power8 entry.
16622         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
16623         Implementation for POWER8.
16624         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
16625         for __strlen_power8.
16626         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
16627         Implementation for POWER8.
16629 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
16631         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
16633 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
16635         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
16636         Goldmont and Airmont processors.
16638 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
16640         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
16641         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
16642         (__STRING2_SMALL_GET32): Remove.
16643         (memset): Remove.
16644         (__memset_1): Remove.
16645         (__memset_gc): Remove.
16646         (__mempcpy): Remove.
16647         (mempcpy): Remove.
16648         (__mempcpy_args): Remove.
16649         (strchr): Remove.
16650         (strcpy): Remove.
16651         (strcpy_args): Remove.
16652         (__stpcpy_args): Remove.
16653         (__strcmp_cc): Remove.
16654         (__strcmp_gc): Remove.
16655         (strstr): Remove.
16657 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
16659         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
16660         * nis/nis_call.c (nis_server_cache_add): Likewise.
16662 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16664         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
16666 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16668         * malloc/arena.c (__malloc_fork_lock_parent)
16669         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
16670         internal_function attribute.
16672 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
16674         * stdio-common/printf_fp.c (__printf_fp_l):
16675         Rename ___printf_fp_l to __printf_fp_l and
16676         remove strong alias. Use libc_hidden_def instead
16677         of ldbl_hidden_def macro.
16679 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16681         Remove malloc hooks from fork handler.  They are no longer needed
16682         because malloc runs right before fork, and no malloc calls from
16683         other fork handlers are not possible anymore.
16684         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
16685         declarations.
16686         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
16687         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
16688         (atfork_recursive_cntr): Remove.
16689         (__malloc_fork_lock_parent): Do not override malloc hooks and
16690         thread_arena.
16691         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
16692         thread_arena.
16693         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
16694         thread_arena instead of save_arena.
16696 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16698         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
16699         (thread_atfork, thread_atfork_static): Remove.
16700         * sysdeps/mach/hurd/malloc-machine.h:
16701         (thread_atfork, thread_atfork_static): Remove.
16703 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16705         [BZ #19431]
16706         Run the malloc fork handler as late as possible to avoid deadlocks.
16707         * malloc/malloc-internal.h: New file.
16708         * malloc/malloc.c: Include it.
16709         * malloc/arena.c (ATFORK_MEM): Remove.
16710         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
16711         Update comment.
16712         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
16713         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
16714         Remove outdated comment.
16715         (ptmalloc_init): Do not call thread_atfork.  Remove
16716         thread_atfork_static.
16717         * malloc/tst-malloc-fork-deadlock.c: New file.
16718         * Makefile (tests): Add tst-malloc-fork-deadlock.
16719         (tst-malloc-fork-deadlock): Link against libpthread.
16720         * manual/memory.texi (Aligned Memory Blocks): Update safety
16721         annotation comments.
16722         * sysdeps/nptl/fork.c (__libc_fork): Call
16723         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
16724         __malloc_fork_unlock_child.
16725         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
16727 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16729         [BZ #19613]
16730         Remove union wait.
16731         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
16732         (w_stopsig, w_stopval): Remove.
16733         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
16734         stat_loc argument.
16735         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
16736         (__WAIT_STATUS_DEFN): Remove.
16737         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
16738         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
16739         (wait, wait3, wait4): Use int * for the stat_loc argument.
16740         * posix/wait.c (__wait): Likewise.
16741         * posix/wait3.c (__wait3): Likewise.
16742         * posix/wait4.c (__wait4): Likewise.
16743         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
16744         (__WAIT_STATUS_DEFN): Remove.
16745         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
16746         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
16747         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
16748         argument.
16749         * sysdeps/posix/wait.c (__libc_wait): Likewise.
16750         * sysdeps/posix/wait3.c (__wait3): Likewise.
16751         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
16752         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
16753         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
16754         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
16755         stat_loc argument.
16756         * manual/process.texi (BSD Wait Functions): Remove union wait.
16758 2016-04-13  Andreas Schwab  <schwab@suse.de>
16760         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
16761         (test-extras): Add tst-tlsalign-vars.
16762         * math/Makefile: Wrap long lines.
16763         (libm-vec-test-wrappers): Define.
16764         (test-extras): Add $(libm-vec-test-wrappers).
16765         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
16766         * nss/Makefile (extra-test-objs): Add nss_test1.os.
16767         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
16768         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
16769         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
16770         (extra-test-objs): Add corresponding objects.
16772 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
16774         [BZ #19928]
16775         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
16776         New.
16777         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
16778         times of shared cache size.
16779         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
16780         (VMOVNT): New.
16781         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
16782         (VMOVNT): Likewise.
16783         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
16784         (VMOVNT): Likewise.
16785         (VMOVU): Changed to movups for smaller code sizes.
16786         (VMOVA): Changed to movaps for smaller code sizes.
16787         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
16788         comments.
16789         (PREFETCH): New.
16790         (PREFETCH_SIZE): Likewise.
16791         (PREFETCHED_LOAD_SIZE): Likewise.
16792         (PREFETCH_ONE_SET): Likewise.
16793         Rewrite to use forward and backward loops, which move 4 vector
16794         registers at a time, to support overlapping addresses and use
16795         non temporal store if size is above the threshold and there is
16796         no overlap between destination and source.
16798 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
16800         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
16801         Include dl-vdso.
16802         * sysdeps/unix/sysv/linux/mips/Versions: Add
16803         __vdso_clock_gettime.
16804         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
16805         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
16806         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
16807         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
16808         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
16809         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
16810         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16811         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
16812         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
16814 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16816         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
16817         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
16818         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16819         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16820         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16821         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16824         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
16825         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
16826         syscalls generation.
16827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16828         [__NR_pwrite64] (__NR_write): Remove define.
16829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16830         [__NR_pwrite64] (__NR_write): Remove define.
16831         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
16832         Remove define.
16833         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
16834         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
16835         Remove define.
16836         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
16837         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
16838         Linux implementation as base.
16839         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16841         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
16842         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
16843         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16844         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
16846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16847         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
16848         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
16849         syscall generation.
16850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16851         [__NR_pread64] (__NR_pread): Remove define.
16852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16853         [__NR_pread64] (__NR_pread): Likewise.
16854         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
16855         define.
16856         (__libc_pread): Use SYSCALL_LL macro on offset argument.
16857         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
16858         Remove define.
16859         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
16860         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
16861         Linux implementation as base.
16862         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16863         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16864         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16866         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
16867         definition.
16868         (__ALIGNMENT_COUNT): Likewise.
16869         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
16870         (__ALIGNMENT_COUNT): Likewise.
16871         (SYSCALL_LL): New define.
16872         (SYSCALL_LL64): Likewise.
16873         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
16874         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
16875         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
16876         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
16878         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16879         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
16880         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16881         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
16882         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16883         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
16885 2016-04-11  Florian Weimer  <fweimer@redhat.com>
16887         [BZ #19865]
16888         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
16889         original buffer before retry.
16891 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16893         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
16894         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
16895         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
16896         GLRO(dl_auxv) list.
16897         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
16898         including <ldsodefs.h>.
16899         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
16901 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
16903         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
16904         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
16905         $(CPPFLAGS).
16907 2016-04-09  Khem Raj  <raj.khem@gmail.com>
16909         [BZ #17950]
16910         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
16911         Add -mfpmath=387.
16913 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
16915         * sysdeps/i386/configure.ac: Change == to = when calling test.
16916         * sysdeps/x86_64/configure.ac: Likewise.
16917         * sysdeps/i386/configure: Regenerated.
16918         * sysdeps/x86_64/configure: Likewise.
16920 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
16922         [BZ #16137]
16923         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
16924         * benchtests/bench-strcoll.c (input_files): Likewise.
16925         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
16926         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
16927         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
16929 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
16931         [BZ #19929]
16932         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
16933         [__USE_XOPEN2K8 && !__USE_GNU].
16934         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
16935         variable.
16937         [BZ #19925]
16938         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
16939         define if [!__USE_MISC && __USE_XOPEN2K].
16940         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
16941         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
16942         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
16943         Likewise.
16944         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
16945         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
16946         variable.
16947         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16949 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16951         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16952         (sysdep_routines): Add new strspn targets.
16953         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16954         (__libc_ifunc_impl_list): Add strspn.
16955         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
16956         New file.
16957         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
16958         Likewise.
16959         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
16960         Likewise.
16961         * sysdeps/powerpc/powerpc64/power8/strspn.S:
16962         Likewise.
16964 2016-04-07  Florian Weimer  <fweimer@redhat.com>
16966         * misc/hsearch_r.c: Include <limits.h>.
16968 2016-04-07  Florian Weimer  <fweimer@redhat.com>
16970         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
16972 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16974         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16975         (MEMCPY_SYMBOL): New.
16976         (MEMPCPY_SYMBOL): Likewise.
16977         (MEMMOVE_CHK_SYMBOL): Likewise.
16978         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
16979         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
16980         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
16981         Provide alias for memcpy in libc.a and ld.so.
16983 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16985         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16986         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
16987         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
16988         Disabled fro now.
16989         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
16990         symbols.  Properly check USE_MULTIARCH on __memset symbols.
16992 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16994         * benchtests/Makefile (string-benchset): Add memcpy-large,
16995         memmove-large and memset-large.
16996         * benchtests/bench-memcpy-large.c: New file.
16997         * benchtests/bench-memmove-large.c: Likewise.
16998         * benchtests/bench-memmove-large.c: Likewise.
16999         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
17001 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
17003         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
17004         32-bit displacement to avoid long nop between instructions.
17006 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
17008         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
17009         a comment on VMOVU and VMOVA.
17011 2016-04-04  Florian Weimer  <fweimer@redhat.com>
17013         [BZ #19633]
17014         Use specified locale for number formatting in strfmon_l.
17015         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
17016         (__nl_lookup_word): New inline functions.
17017         * include/printf.h (__print_fp_l): Declare.
17018         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
17019         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
17020         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
17021         (___printf_fp): New function.
17022         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
17023         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
17024         * stdlib/tst-strfmon_l.c (do_test): New test.
17025         * stdlib/Makefile (tests): Add kt.
17026         (LOCALES): Build additional locales.
17027         (tst-strfmon_l.out): Require locales.
17029 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
17031         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
17032         if not in libc.
17033         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17034         Likewise.
17035         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
17036         Likewise.
17037         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17038         Likewise.
17040 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
17042         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
17043         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
17044         with unaligned_erms.
17045         (__memmove_erms): Skip if source == destination.
17046         (__memmove_unaligned_erms): Don't check source == destination
17047         first.
17049 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17051         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
17052         bit_arch_Fast_Copy_Backward for Intel Core proessors.
17054 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17056         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
17057         * string/strspn.c (strspn): Likewise.
17059 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17061         * benchtests/bench-memset.c (do_test): Support 64-byte
17062         alignment.
17063         (test_main): Test 64-byte alignment.
17065 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17067         * benchtests/bench-memmove.c (test_main): Test 64-byte
17068         alignment.
17070 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17072         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
17074 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17076         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
17077         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
17078         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
17080         * string/strpbrk.c (strpbrk): Rewrite function.
17081         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
17082         (__strpbrk_c2): Likewise.
17083         (__strpbrk_c3): Likewise.
17084         * string/string-inlines.c
17085         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
17086         Likewise.
17087         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
17088         Likewise.
17090         * string/strspn.c (strcspn): Rewrite function.
17091         * string/bits/string2.h (strspn): Use __builtin_strcspn.
17092         (__strspn_c1): Remove inline function.
17093         (__strspn_c2): Likewise.
17094         (__strspn_c3): Likewise.
17095         * string/string-inlines.c
17096         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
17097         compatibility symbol.
17098         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
17099         Likewise.
17100         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
17101         Likewise.
17102         * string/string-inlines.c: Include generic version.
17104 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
17105             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17107         * string/Version (libc): Add GLIBC_2.24.
17108         * string/strcspn.c (strcspn): Rewrite function.
17109         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
17110         (__strcspn_c1): Remove inline function.
17111         (__strcspn_c2): Likewise.
17112         (__strcspn_c3): Likewise.
17113         * string/string-inline.c
17114         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
17115         compatibility symbol.
17116         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
17117         Likewise.
17118         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
17119         Likewise.
17120         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
17122 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
17124         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
17125         Use ahi instead of aghi to adjust stack pointer.
17127 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17129         [BZ #19853]
17130         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
17131         TEST to take significant digits as second parameter.
17132         [TEST]: Redefine in terms of TEST_N taking 30
17133         significant digits.
17134         (do_test): Add test case to demonstrate precision
17135         failure in the ldbl-128ibm printf.
17136         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
17137         (__mpn_extract_long_double): Carry 7 extra intermediate
17138         bits of precision to aide computing difference when
17139         signs differ.
17141 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
17143         [BZ #19881]
17144         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17145         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
17146         memset-avx512-unaligned-erms.
17147         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17148         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
17149         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
17150         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
17151         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
17152         __memset_sse2_unaligned_erms, __memset_erms,
17153         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
17154         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
17155         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
17156         file.
17157         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17158         Likewise.
17159         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
17160         Likewise.
17161         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
17162         Likewise.
17164 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
17166         [BZ #19776]
17167         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17168         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
17169         memmove-avx512-unaligned-erms.
17170         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17171         (__libc_ifunc_impl_list): Test
17172         __memmove_chk_avx512_unaligned_2,
17173         __memmove_chk_avx512_unaligned_erms,
17174         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
17175         __memmove_chk_sse2_unaligned_2,
17176         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
17177         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
17178         __memmove_avx512_unaligned_erms, __memmove_erms,
17179         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
17180         __memcpy_chk_avx512_unaligned_2,
17181         __memcpy_chk_avx512_unaligned_erms,
17182         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
17183         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
17184         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
17185         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
17186         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
17187         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
17188         __mempcpy_chk_avx512_unaligned_erms,
17189         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
17190         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
17191         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
17192         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
17193         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
17194         __mempcpy_erms.
17195         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
17196         file.
17197         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17198         Likewise.
17199         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
17200         Likewise.
17201         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
17202         Likewise.
17204 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17206         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
17207         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
17208         (La_s390_64_regs): Likewise.
17209         (La_s390_32_retval): Append vector register lrv_v24.
17210         (La_s390_64_retval): Likeweise.
17211         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
17212         Handle extended structs La_s390_32_regs and La_s390_32_retval.
17213         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
17214         Handle extended structs La_s390_64_regs and La_s390_64_retval.
17216 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17218         [BZ #19916]
17219         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
17220         to create a non-vector/vector version for _dl_runtime_resolve and
17221         _dl_runtime_profile. Move implementation to ...
17222         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
17223         (_dl_runtime_resolve) Save and restore fpr/vrs.
17224         (_dl_runtime_profile) Save and restore vrs and fix some issues
17225         if _dl_call_pltexit is called.
17226         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
17227         Choose the correct resolver function if running on a machine with vx.
17228         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
17229         to create a non-vector/vector version for _dl_runtime_resolve and
17230         _dl_runtime_profile. Move implementation to ...
17231         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
17232         (_dl_runtime_resolve) Save and restore fpr/vrs.
17233         (_dl_runtime_profile) Save and restore vrs and fix some issues
17234         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
17235         Choose the correct resolver function if running on a machine with vx.
17237 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17239         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
17241 2016-03-31  Florian Weimer  <fweimer@redhat.com>
17243         [BZ #19509]
17244         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
17245         skip_map != NULL.
17246         * elf/tst-dlsym-error.c: New file.
17247         * elf/Makefile (tests): Add tst-dlsym-error.
17248         (tst-dlsym-error): Link against libdl.
17250 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
17252         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17253         (__ASSUME_FUTIMESAT): Remove macro.
17254         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
17256 2016-03-29  Florian Weimer  <fweimer@redhat.com>
17258         [BZ #19879]
17259         CVE-2016-3075
17260         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
17261         copy name.
17263 2016-03-29  Florian Weimer  <fweimer@redhat.com>
17265         [BZ #19837]
17266         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
17267         error if parse_line fails.
17269 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17271         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
17272         (index_cpu_ERMS): Likewise.
17273         (reg_ERMS): Likewise.
17275 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
17277         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
17278         PER_LINUX_FDPIC): Add.
17280 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17282         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17283         memcpy-avx512-no-vzeroupper.
17284         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
17285         to ...
17286         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
17287         (MEMCPY): Don't define.
17288         (MEMCPY_CHK): Likewise.
17289         (MEMPCPY): Likewise.
17290         (MEMPCPY_CHK): Likewise.
17291         (MEMPCPY_CHK): Renamed to ...
17292         (__mempcpy_chk_avx512_no_vzeroupper): This.
17293         (MEMPCPY_CHK): Renamed to ...
17294         (__mempcpy_chk_avx512_no_vzeroupper): This.
17295         (MEMCPY_CHK): Renamed to ...
17296         (__memmove_chk_avx512_no_vzeroupper): This.
17297         (MEMCPY): Renamed to ...
17298         (__memmove_avx512_no_vzeroupper): This.
17299         (__memcpy_avx512_no_vzeroupper): New alias.
17300         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
17302 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17304         [BZ #18858]
17305         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17306         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
17307         and mempcpy-avx512-no-vzeroupper.
17308         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
17309         New.
17310         (MEMPCPY): Likewise.
17311         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
17312         (MEMPCPY_CHK): New.
17313         (MEMPCPY): Likewise.
17314         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
17315         (MEMPCPY): Likewise.
17316         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
17317         (MEMPCPY): Likewise.
17318         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
17319         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
17320         Likewise.
17321         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
17322         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
17324 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17325              Amit Pawar  <Amit.Pawar@amd.com>
17327         [BZ #19583]
17328         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
17329         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
17330         processors.  Set Fast_Copy_Backward for AMD Excavator
17331         processors.
17332         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
17333         New.
17334         (index_arch_Fast_Unaligned_Copy): Likewise.
17335         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
17336         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
17338 2016-03-25  Florian Weimer  <fweimer@redhat.com>
17340         [BZ #19791]
17341         * resolv/res_send.c (close_and_return_error): New function.
17342         (send_dg): Initialize *resplen2 after reopen failure.  Call
17343         close_and_return_error for error returns.  On error paths without
17344         __res_iclose, initialze *resplen2 explicitly.  Update comment for
17345         successful return.
17347 2016-03-25  Florian Weimer  <fweimer@redhat.com>
17349         [BZ #19860]
17350         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
17351         zero if the compiler does not provide the AVX512F bit.
17353 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
17355         [BZ #19848]
17356         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
17357         from 8 to 4.
17358         (__ieee754_powl): Compare integer exponent against 4 not 8.
17359         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
17360         from 8 to 4.
17361         (__ieee754_powl): Compare integer exponent against 4 not 8.
17362         * math/auto-libm-test-in: Add more tests of pow.
17363         * math/auto-libm-test-out: Regenerated.
17364         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
17365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17367 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
17369         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
17370         Make code unconditional.
17371         [!__NR_utimensat]: Remove conditional code.
17372         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
17373         Make code unconditional.
17374         [!__NR_utimensat]: Remove conditional code.
17375         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
17376         Make code unconditional.
17377         [!__NR_utimensat]: Remove conditional code.
17379 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
17381         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
17382         Make code unconditional.
17384 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
17386         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
17387         call-clobbered %eax on retry path.
17388         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
17390 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17392         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
17393         Don't set %rcx twice before "rep movsb".
17395 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17397         [BZ #19583]
17398         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
17399         inline.  Check family before setting family, model and
17400         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
17401         bits here.
17402         (init_cpu_features): Replace HAS_CPU_FEATURE and
17403         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
17404         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
17405         for Intel processors with usable AVX2.  Call get_common_indeces
17406         for other processors with family == NULL.
17407         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
17408         (CPU_FEATURES_ARCH_P): Likewise.
17409         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
17410         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
17412 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17414         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
17415         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
17416         $(shared-thread-library) instead of hardcoding the path to libpthread.
17418 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
17420         * sysdeps/unix/sysv/linux/kernel-features.h
17421         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
17422         * sysdeps/unix/sysv/linux/getdents.c
17423         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
17424         [!have_no_getdents64_defined]: Likewise.
17425         (__GETDENTS): Remove __have_no_getdents64 conditional.
17427 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
17429         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
17430         Remove macro.
17431         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
17432         <kernel-features.h>.
17433         (signalfd) [__NR_signalfd4]: Make code unconditional.
17434         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
17436 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17438         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
17439         style.
17441 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17443         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
17444         (__pthread_enable_asynccancel): Use JUMPTARGET to call
17445         __pthread_unwind.
17446         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
17447         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
17448         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
17449         (__condvar_cleanup1): Likewise.
17451 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
17453         [BZ #19822]
17454         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
17455         move it to the final $@ location.
17457 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17459         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
17460         access where posix_spawn success and pid argument is null.
17461         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
17462         success case.
17464 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
17466         * sysdeps/mach/hurd/i386/c++-types.data: New file.
17468         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
17470         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
17471         and __fcntl.
17472         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
17473         __fcntl only.
17474         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
17475         adding attribute_hidden to __open and __fcntl.
17477         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
17478         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
17479         depend on libc-modules.h,
17480         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
17482 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
17484         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
17485         Remove macro.
17486         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
17487         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
17488         entry.
17490         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
17491         Remove macro.
17492         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
17493         include <kernel-features.h>.
17494         [!__ASSUME_FALLOCATE]: Remove conditional code.
17495         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
17497 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17499         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
17500         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
17501         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
17502         (_ZGVdN4v_cos_avx2): Likewise.
17503         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
17504         (_ZGVdN4v_cos): Likewise.
17505         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
17506         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
17507         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
17508         (_ZGVdN4v_exp_avx2): Likewise.
17509         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
17510         (_ZGVdN4v_exp): Likewise.
17511         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
17512         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
17513         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
17514         (_ZGVdN4v_log_avx2): Likewise.
17515         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
17516         (_ZGVdN4v_log): Likewise.
17517         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
17518         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
17519         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
17520         (_ZGVdN4vv_pow_avx2): Likewise.
17521         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
17522         (_ZGVdN4vv_pow): Likewise.
17523         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
17524         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
17525         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
17526         (_ZGVdN4v_sin_avx2): Likewise.
17527         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
17528         (_ZGVdN4v_sin): Likewise.
17529         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
17530         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
17531         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
17532         (_ZGVdN4vvv_sincos_avx2): Likewise.
17533         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
17534         (_ZGVdN4vvv_sincos): Likewise.
17535         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
17536         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
17537         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
17538         (_ZGVbN4v_cosf_sse4): Likewise.
17539         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
17540         (_ZGVdN8v_cosf_avx2): Likewise.
17541         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
17542         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
17543         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
17544         (_ZGVbN4v_expf_sse4): Likewise.
17545         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
17546         (_ZGVdN8v_expf_avx2): Likewise.
17547         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
17548         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
17549         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
17550         (_ZGVbN4v_logf_sse4): Likewise.
17551         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
17552         (_ZGVdN8v_logf_avx2): Likewise.
17553         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
17554         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
17555         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
17556         (_ZGVbN4vv_powf_sse4): Likewise.
17557         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
17558         (_ZGVdN8vv_powf_avx2): Likewise.
17559         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
17560         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
17561         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
17562         (_ZGVbN4vvv_sincosf_sse4): Likewise.
17563         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
17564         (_ZGVdN8vvv_sincosf_avx2): Likewise.
17565         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
17566         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
17567         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
17568         (_ZGVbN4v_sinf_sse4): Likewise.
17569         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
17570         (_ZGVdN8v_sinf_avx2): Likewise.
17571         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
17572         Use JUMPTARGET to call callee.
17573         (WRAPPER_IMPL_SSE2_ff): Likewise.
17574         (WRAPPER_IMPL_SSE2_fFF): Likewise.
17575         (WRAPPER_IMPL_AVX): Likewise.
17576         (WRAPPER_IMPL_AVX_ff): Likewise.
17577         (WRAPPER_IMPL_AVX_fFF): Likewise.
17578         (WRAPPER_IMPL_AVX512): Likewise.
17579         (WRAPPER_IMPL_AVX512_ff): Likewise.
17580         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
17581         Likewise.
17582         (WRAPPER_IMPL_SSE2_ff): Likewise.
17583         (WRAPPER_IMPL_SSE2_fFF): Likewise.
17584         (WRAPPER_IMPL_AVX): Likewise.
17585         (WRAPPER_IMPL_AVX_ff): Likewise.
17586         (WRAPPER_IMPL_AVX_fFF): Likewise.
17587         (WRAPPER_IMPL_AVX512): Likewise.
17588         (WRAPPER_IMPL_AVX512_ff): Likewise.
17589         (WRAPPER_IMPL_AVX512_fFF): Likewise.
17591 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17593         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
17594         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
17595         qualifier.
17596         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
17597         internal_function qualifiers.
17599 2016-03-15  Carlos O'Donell <carlos@redhat.com>
17601         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
17602         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
17603         * math/atest-exp.c (exp_mpn): Mark chk unused.
17604         * math/atest-exp2.c (exp_mpn): Likewise.
17605         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
17606         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
17608 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
17610         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
17611         Remove macro.
17612         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
17613         <kernel-features.h>.
17614         [__NR_ppoll]: Make code unconditional.
17615         [!__ASSUME_PPOLL]: Remove conditional code.
17617         * sysdeps/unix/sysv/linux/kernel-features.h
17618         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
17619         (__ASSUME_ACCEPT4): Likewise.
17620         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17621         Define.
17622         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
17623         Likewise.
17624         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17625         Likewise.
17626         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
17627         Likewise.
17628         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
17629         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
17630         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17631         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17632         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17633         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17634         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17635         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17636         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17637         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17638         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17639         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17640         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17641         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17642         * sysdeps/unix/sysv/linux/i386/kernel-features.h
17643         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17644         Likewise.
17645         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17646         Likewise.
17647         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17648         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17649         0x040300].
17650         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17651         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17652         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17653         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17654         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
17655         0x030300].
17656         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
17657         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17658         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17659         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17660         0x040300].
17661         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17662         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17663         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17664         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17665         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17666         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17667         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
17668         0x030300].
17669         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17670         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17671         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17672         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17673         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17674         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17675         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17676         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17677         * sysdeps/unix/sysv/linux/s390/kernel-features.h
17678         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17679         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17680         0x040300].
17681         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17682         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17683         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17684         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17685         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17686         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17687         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17688         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17689         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17690         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17691         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17692         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17693         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17694         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17695         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
17696         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17697         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17698         Likewise.
17699         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17700         Likewise.
17702 2016-03-15  Andreas Schwab  <schwab@suse.de>
17704         [BZ #19257]
17705         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
17706         statp->_u._ext.nscount as loop count.
17708 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
17710         * math/test-signgam-finite-c99.c: Also #undef
17711         __LIBC_INTERNAL_MATH_INLINES.
17712         * math/test-signgam-main.c: Likewise.
17714 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
17716         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
17717         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17718         (MADV_FREE): Likewise.
17719         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
17720         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
17721         EPOLLEXCLUSIVE.
17723 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
17725         * timezone/README: Remove mention of checktab.awk. Mention wiki
17726         SharedSourceFiles.
17728 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
17730         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
17731         WUNTRACED.
17733 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17735         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
17736         order to match the type of p when calling atomic_exchange_acq().
17738 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17740         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
17741         cfi_offset calls.
17742         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
17743         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
17744         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
17745         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
17746         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
17748 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
17750         * timezone/checktab.awk: Removed.
17752 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
17754         * manual/math.texi (Errors in Math Functions): Document relaxed
17755         accuracy goals for IBM long double.
17756         * math/libm-test.inc (test_exceptions): Always allow spurious
17757         "underflow" and "inexact" exceptions for IBM long double.
17759 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
17761         [BZ #19762]
17762         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
17763         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
17764         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
17765         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
17766         (bit_arch_*): This for feature array.
17767         (bit_*): Renamed to ...
17768         (bit_cpu_*): This for cpu array.
17769         (index_*): Renamed to ...
17770         (index_arch_*): This for feature array.
17771         (index_*): Renamed to ...
17772         (index_cpu_*): This for cpu array.
17773         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
17774         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
17775         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
17776         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
17777         bit_##name with index_cpu_##name and bit_cpu_##name.
17778         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
17779         bit_##name with index_arch_##name and bit_arch_##name.
17781 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
17783         [BZ #19792]
17784         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
17785         Terminate FDE before return label.
17787 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
17789         [BZ #19790]
17790         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
17791         (rintl): Define as macro.
17792         [USE_AS_NEARBYINTL] (__rintl): Likewise.
17793         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
17794         of fesetround.  Ensure results are evaluated before end of scope.
17795         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
17796         USE_AS_NEARBYINTL and include s_rintl.c.
17797         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
17798         Disable exception traps in new environment.
17799         (libc_feholdsetround_ppc_ctx): Likewise.
17801 2016-03-08  Roland McGrath  <roland@hack.frob.com>
17803         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
17804         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
17805         (tst_audit10_aux) [__AVX512F__]: ... here.
17807 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
17809         * include/sys/auxv.h: New file.
17811 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
17813         [BZ #19759]
17814         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
17816 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17818         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
17819         operand modifier.
17820         (feclearexcept): Likewise.
17822 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17824         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
17825         to reflect the entire 32-bit HWCAP.
17826         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
17827         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
17829 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
17831         [BZ #19783]
17832         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
17833         $(test-via-rtld-prefix).
17834         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
17836 2016-03-08  Florian Weimer  <fweimer@redhat.com>
17838         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
17839         union wait.  Report any non-zero exit status as error.
17841 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17843         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
17844         configured with --enable-hardcoded-path-in-tests.
17846 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
17848         [BZ #19677]
17849         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
17850         (__ieee754_remainderl): Put zero low parts in canonical form.
17851         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
17852         file.  Based on
17853         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
17854         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
17855         with wrapper round test-fmodrem-ldbl-128ibm.c.
17856         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
17857         file.
17858         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
17859         Likewise.
17860         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
17861         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
17863 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17865         [BZ #19610]
17866         * elf/ldconfig.c (opt_link): Update comment.
17867         (options): Update help string for option -X.
17868         (search_dir): Unlink stale symbolic link only if updating symbolic
17869         links.
17870         * elf/tst-ldconfig-X.sh: New file.
17871         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
17872         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
17874 2016-03-07  Andreas Schwab  <schwab@suse.de>
17876         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
17877         needed arguments.
17879 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
17881         [BZ #15333]
17882         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
17883         to lstat64.
17885 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17887         * libio/filedoalloc.c (isatty): Remove.
17888         (local_isatty): Add comment.  Call __isatty directly.
17889         (_IO_file_doallocate): Update comment.  Assume _LIBC.
17890         * libio/wfiledoalloc.c (isatty): Remove.
17891         (_IO_wfile_doallocate): Update comment.
17893 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17895         [BZ #19269]
17896         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
17897         tst-audit4-aux.o.
17898         (tst-audit10): Depend on tst-audit10-aux.o.
17899         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
17900         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
17901         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
17902         instead of inline AVX code.
17903         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
17904         instead of inline AVX512 code.
17905         * sysdeps/x86_64/tst-audit4-aux.c: New file
17906         * sysdeps/x86_64/tst-audit10-aux.c: New file
17908         [BZ #19648]
17909         * test-skeleton.c (main): Do not set RLIMIT_DATA.
17911 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17913         [BZ #14750]
17914         [BZ #10354]
17915         [BZ #18433]
17916         * include/sched.h (__clone): Add hidden prototype.
17917         (__clone2): Likewise.
17918         * include/unistd.h (__dup): Likewise.
17919         * posix/Makefile (tests): Add tst-spawn2.
17920         * posix/tst-spawn2.c: New file.
17921         * sysdeps/posix/dup.c (__dup): Add hidden definition.
17922         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
17923         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
17924         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
17925         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
17926         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
17927         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
17928         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
17929         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
17930         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
17931         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
17932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
17933         Likewise.
17934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17935         Likewise.
17936         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
17937         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
17938         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
17939         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
17940         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
17941         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
17942         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
17943         * sysdeps/unix/sysv/linux/nptl-signals.h
17944         (____nptl_is_internal_signal): New function.
17945         * sysdeps/unix/sysv/linux/spawni.c: New file.
17947         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
17948         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
17949         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
17950         * posix/tst-execvp2.c (do_test): Likewise.
17951         * posix/tst-execvp3.c (do_test): Likewise.
17952         * posix/tst-execvp4.c (do_test): Likewise.
17953         * posix/tst-execvpe1.c: New file.
17954         * posix/tst-execvpe2.c: Likewise.
17955         * posix/tst-execvpe3.c: Likewise.
17956         * posix/tst-execvpe4.c: Likewise.
17957         * posix/tst-execvpe5.c: Likewise.
17958         * posix/tst-execvpe6.c: Likewise.
17960         [BZ #19534]
17961         * posix/execl.c (execl): Remove dynamic memory allocation.
17962         * posix/execle.c (execle): Likewise.
17963         * posix/execlp.c (execlp): Likewise.
17965 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17967         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
17968         Replace .text with .text.avx512.
17969         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
17970         Likewise.
17972 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
17974         * sysdeps/generic/libnsl.abilist: New file.
17975         * sysdeps/generic/libutil.abilist: New file.
17977 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17979         [BZ #19762]
17980         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
17981         HAS_ARCH_FEATURE with Fast_Rep_String.
17982         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
17983         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
17984         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
17985         Likewise.
17986         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
17987         Likewise.
17988         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
17989         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
17990         Likewise.
17991         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
17992         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
17993         Likewise.
17995 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17997         [BZ #19745]
17998         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17999         with *%rax in call.
18001 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18003         [BZ #19745]
18004         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
18005         with *__libc_start_main@GOTPCREL(%rip) in call.
18007 2016-03-04  Roland McGrath  <roland@hack.frob.com>
18009         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
18010         inside conditional for nonempty $(CXX).
18012         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
18013         nonempty.
18015         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
18016         to test for empty $(CXX) rather than $(CXX) of "no".
18018 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18020         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
18022 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
18023             H.J. Lu  <hongjiu.lu@intel.com>
18025         [BZ #18880]
18026         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
18027         instead of Slow_BSF, and also check for Fast_Copy_Backward to
18028         enable __memcpy_ssse3_back.
18030 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
18032         [BZ #19758]
18033         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
18034         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
18036 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
18038         [BZ #19490]
18039         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
18040         (__fentry__): Likewise.
18042 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
18044         * gmon/Makefile (noprof): Add $(sysdep_noprof).
18045         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
18047 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
18049         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
18050         __mcount_internal directly.
18051         (C_LABEL(__fentry__)): Likewise.
18052         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
18053         directly.
18055 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
18057         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18058         (__start_context): Call __setcontext directly.
18060 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
18062         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18063         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18064         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
18065         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
18066         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18067         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18068         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
18069         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18070         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18071         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
18072         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
18073         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
18074         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18075         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18076         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18077         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18078         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
18079         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18080         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18081         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
18082         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
18083         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18084         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18085         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
18086         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
18087         Remove conditional code.
18088         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18089         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
18090         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18091         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18092         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
18093         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18094         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
18095         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18096         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18097         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18098         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18099         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18101 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
18103         * NEWS (2.23): Fix typo in bug 19048 text.
18105 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
18107         [BZ #14259]
18108         * Makeconfig: Rename msgcatdir to localedir.
18109         Rename inst_msgcatdir to inst_localedir.
18110         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
18111         * config.make.in: Add localedir.
18112         * elf/Makefile ($(objpfx)sotruss): Use localedir.
18113         (ldd-rewrite): Likewise.
18114         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
18115         (install-others): Use inst_localedir.
18116         (CPPFLAGS): Use localedir.
18117         * locale/Makefile (locale-CPPFLAGS): Likewise.
18118         * po/Makefile (mo-installed): Use inst_localedir.
18120         [BZ #19575]
18121         * localedata/charmaps/GB18030: Update comments regarding PAU to
18122         non-PUA mappings.
18124 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
18126         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
18127         test for header.
18128         * sysdeps/unix/sysv/linux/configure: Regenerated.
18129         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
18130         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
18131         Remove conditional code.
18132         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
18134         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18135         Define to 3.2.0.
18136         (arch_minimum_kernel): Likewise.
18137         * sysdeps/unix/sysv/linux/configure: Regenerated.
18138         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
18139         Define to 2.6.32.
18140         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
18141         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
18142         (arch_minimum_kernel): Define to 2.6.32.
18143         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
18144         * README: Document Linux 3.2 requirement.
18145         * manual/install.texi (Linux): Document Linux 3.2 headers
18146         requirement.
18147         * INSTALL: Regenerated.
18149 2016-02-24  Andreas Schwab  <schwab@suse.de>
18151         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
18152         if !NO_LONG_DOUBLE.
18154 2016-02-22  Roland McGrath  <roland@hack.frob.com>
18156         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
18157         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
18159 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
18161         [BZ #19512]
18162         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
18164 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
18166         * posix/tst-dir.c: Include libc-internal.h.
18168 2016-02-20  Florian Weimer  <fweimer@redhat.com>
18170         [BZ #19056]
18171         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
18172         * manual/filesys.texi (Reading/Closing Directory): Mention
18173         deprecaion.
18174         * posix/tst-dir.c (main): Disable deprecation warning in test.
18176 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
18178         [BZ #19679]
18179         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
18180         Renamed to ...
18181         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
18182         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18183         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
18184         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18185         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
18186         * sysdeps/x86_64/dl-trampoline.h
18187         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18188         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
18190 2016-02-19  Mark Wielaard  <mjw@redhat.com>
18192         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
18194 2016-02-19  Mark Wielaard  <mjw@redhat.com>
18196         * elf/elf.h (R_386_GOT32X): New.
18197         (R_386_NUM): Update.
18198         (R_X86_64_GOTPCRELX: New.
18199         (R_X86_64_REX_GOTPCRELX): New.
18200         (R_X86_64_NUM): Update.
18202 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
18204         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
18206 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
18208         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
18209         assign attr->stackaddr to it, and adjust it down when
18210         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
18211         [_STACK_GROWS_UP]: Delete assert.
18212         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
18213         Implement stack grows up logic.
18214         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
18215         stack grows up logic.
18217 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18219         * NEWS: Update with 2.24 template.
18221 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
18223         [BZ #19678]
18224         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18225         Ensure +0.0 is returned when taking the next value below the least
18226         positive value.
18228 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18230         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
18231         available.  Do not define NO_THREADS.
18232         * malloc/malloc.c: Do not check NO_THREADS.
18233         * malloc/arena.c: Likewise.
18235 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18237         * malloc/malloc.c (__libc_mallinfo): Update comment.
18238         (struct malloc_par): Remove max_total_mem member, it was always 0.
18239         (int_mallinfo): Store 0 into usmblks (no functional change).
18240         * malloc/hooks.c (struct malloc_state): Document that
18241         max_total_mem is always 0.
18242         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
18243         always 0.
18244         * manual/memory.texi (Statistics of Malloc): Likewise.
18246 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18248         * malloc/malloc.c (sysmalloc): Do not update arena_max.
18249         * malloc/arena.c (arena_max): Remove.
18250         (heap_trim, _int_new_arena): Do not update arena_max.
18252 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18254         * resolv/res_init.c (res_ninit): Update comment.
18256 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18258         [BZ #19505]
18259         * posix/spawn_int.h: Add headers and include guard.
18260         (__spawn_valid_fd): New function.
18261         * posix/spawn_faction_addopen.c
18262         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
18263         * posix/spawn_faction_addclose.c
18264         (posix_spawn_file_actions_addclose): Likewise.
18265         * posix/spawn_faction_adddup2.c
18266         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
18267         second file descriptor.
18268         * posix/spawn_valid_fd.c: New file.
18269         * posix/tst-posix_spawn-fd.c: New file.
18270         * posix/Makefile (routines): Add spawn_valid_fd.
18271         (tests): Add tst-posix_spawn-fd.
18273 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18275         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
18276         (do_test): Limit the number of arenas, so that we can use fewer
18277         outer threads.  Limit timeout to 3 seconds, in preparation for a
18278         larger TIMEOUT value.
18280 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
18282         [BZ #19674]
18283         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
18284         sign in overflowing and underflowing results when overflow or
18285         underflow is detected early.  Include sign in result before rather
18286         than after scaling.
18288         [BZ #19603]
18289         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
18290         (__ieee754_remainderl): Adjust sign of integer version of low part
18291         when taking absolute value of high part.
18292         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18293         * math/libm-test.inc (remainder_test_data): Add another test.
18294         (remquo_test_data): Likewise.
18296 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
18298         [BZ #19602]
18299         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
18300         equal high parts and both low parts zero specially.
18301         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
18302         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
18303         Add test-fmodl-ldbl-128ibm.
18305         [BZ #19595]
18306         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
18307         common logic for all cases of shifting subnormal results.  Do not
18308         insert sign bit in shifted mantissa.  Always pass -1023 as biased
18309         exponent to ldbl_insert_mantissa in subnormal case.
18311         [BZ #19594]
18312         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
18313         on high and low parts then adjust result and use
18314         ldbl_canonicalize_int if needed.
18316         [BZ #19593]
18317         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
18318         on high part and __floor or __ceil on low part then use
18319         ldbl_canonicalize_int if needed.
18321         [BZ #19592]
18322         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
18323         high and low parts then use ldbl_canonicalize_int if needed.
18325         [BZ #17899]
18326         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
18327         New function.
18328         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
18329         on high and low parts then use ldbl_canonicalize_int if needed.
18331 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18333         * configure: Regenerated.
18335         * po/libc.pot: Regenerated.
18337         * po/be.po: Updated translation.
18338         * po/bg.po: Likewise.
18339         * po/ca.po: Likewise.
18340         * po/cs.po: Likewise.
18341         * po/da.po: Likewise.
18342         * po/el.po: Likewise.
18343         * po/eo.po: Likewise.
18344         * po/es.po: Likewise.
18345         * po/fi.po: Likewise.
18346         * po/fr.po: Likewise.
18347         * po/gl.po: Likewise.
18348         * po/hr.po: Likewise.
18349         * po/hu.po: Likewise.
18350         * po/ia.po: Likewise.
18351         * po/id.po: Likewise.
18352         * po/it.po: Likewise.
18353         * po/ja.po: Likewise.
18354         * po/lt.po: Likewise.
18355         * po/nb.po: Likewise.
18356         * po/nl.po: Likewise.
18357         * po/pt_BR.po: Likewise.
18358         * po/rw.po: Likewise.
18359         * po/sk.po: Likewise.
18360         * po/sl.po: Likewise.
18361         * po/sv.po: Likewise.
18362         * po/tr.po: Likewise.
18363         * po/zh_CN.po: Likewise.
18364         * po/zh_TW.po: Likewise.
18366         * version.h (RELEAES): Set to "development".
18367         (VERSION): Set to 2.23.90.
18369         * version.h (RELEASE): Set to "stable".
18370         (VERSION): Set to 2.23.
18371         * include/feature.h (__GLIBC_MINOR__): Set to 23.
18373         * NEWS: Updated fixed bugs.
18375 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
18376             Wilco Dijkstra  <wdijkstr@arm.com>
18378         [BZ #19462]
18379         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
18380         (_STRING_INLINE_unaligned): This.
18381         * include/string.h: Include <string_private.h>.
18382         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
18383         _STRING_INLINE_unaligned.
18384         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
18385         (_STRING_INLINE_unaligned): New.
18386         * sysdeps/aarch64/string_private.h: New file.
18387         * sysdeps/generic/string_private.h: Likewise.
18388         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
18389         * sysdeps/s390/string_private.h: Likewise.
18390         * sysdeps/x86/string_private.h: Likewise.
18391         * sysdeps/m68k/m680x0/m68020/bits/string.h
18392         (_STRING_ARCH_unaligned): Renamed to ...
18393         (_STRING_INLINE_unaligned): This.
18394         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
18395         to ...
18396         (_STRING_INLINE_unaligned): This.
18397         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
18398         to ...
18399         (_STRING_INLINE_unaligned): This.
18400         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
18401         to ...
18402         (_STRING_INLINE_unaligned): This.
18404 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
18405             H.J. Lu  <hongjiu.lu@intel.com>
18407         [BZ #19590]
18408         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
18409         relocation.
18411 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
18413         [BZ #18665]
18414         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
18415         *herrno_p.
18416         (gaih_getanswer): Document functional behviour. Return tryagain
18417         if any result is tryagain.
18418         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
18419         when freed.
18420         * resolv/res_send.c: Add copyright text.
18421         (__libc_res_nsend): Document that MAXPACKET is expected.
18422         (send_vc): Document. Remove buffer reuse.
18423         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
18424         size of the buffer. Add Dprint for truncated UDP buffer.
18426 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
18428         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
18429         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
18430         * INSTALL: Regenerate.
18432 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
18433             Jonathan Wakely  <jwakely@redhat.com>
18434             Carlos O'Donell  <carlos@redhat.com>
18436         [BZ 19439]
18437         * math/Makefile (tests): Add test-math-isinff.
18438         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
18439         * math/bits/mathcalls.h [__USE_MISC]: Use
18440         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
18441         functions not in C++11 and which don't conflict e.g. isinff,
18442         isinfl etc.
18443         * math/test-math-isinff.cc: New file.
18445 2016-02-12  Florian Weimer  <fweimer@redhat.com>
18447         * misc/bug18240.c (do_test): Set RLIMIT_AS.
18449 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18451         [BZ #19529]
18452         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
18454 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18456         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
18458 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
18460         [BZ #19550]
18461         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
18462         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
18463         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
18464         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
18465         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
18466         New syscall entry.
18467         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
18468         New syscall entry.
18469         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
18470         syscall entry.
18472 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
18474         [BZ #18240]
18475         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
18476         unsigned int wraparound.
18478 2016-01-27  Florian Weimer  <fweimer@redhat.com>
18480         [BZ #18240]
18481         * misc/bug18240.c: New test.
18482         * misc/Makefile (tests): Add it.
18484 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
18485             Joseph Myers  <joseph@codesourcery.com>
18487         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
18488         load in branch delay slot when less than a word of input left.
18490 2016-01-27  Andreas Schwab  <schwab@suse.de>
18492         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
18493         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
18494         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
18495         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
18497 2016-01-26  David S. Miller  <davem@davemloft.net>
18499         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
18501 2016-01-25  David S. Miller  <davem@davemloft.net>
18503         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
18504         __sqrtl_finite.
18505         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
18506         instead using versioned_symbol.
18507         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
18508         of entries.
18510         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
18511         __sqrtl_finite to GLIBC_2.23
18513 2016-01-25  Ricchard Henderson  <rth@redhat.com>
18515         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18517 2016-01-25  Andreas Schwab  <schwab@suse.de>
18519         [BZ #17514]
18520         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
18521         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
18522         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
18523         * nptl/tst-mutex-errorcheck.c: New file.
18525 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18527         [BZ #18560]
18528         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
18529         (IPCOP_semop): Likewise.
18530         (IPCOP_semget): Likewise.
18531         (IPCOP_semctl): Likewise.
18532         (IPCOP_msgsnd): Likewise.
18533         (IPCOP_msgrcv): Likewise.
18534         (IPCOP_msgget): Likewise.
18535         (IPCOP_msgctl): Likewise.
18536         (IPCOP_shmat): Likewise.
18537         (IPCOP_shmdt): Likewise.
18538         (IPCOP_shmget): Likewise.
18539         (IPCOP_shmctl): Likewise.
18541 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
18543         * string/tst-endian.c: Include <libc-internal.h>.
18544         (do_test): Ignore tautological-compare warnings around
18545         "htobeXX (beXXtoh (i)) != i" and
18546         "htoleXX (leXXtoh (i)) != i" if-statements.
18548 2016-01-24  David S. Miller  <davem@davemloft.net>
18550         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
18551         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
18552         alias.
18553         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
18554         __sqrtl_finite.
18556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18558 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
18560         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
18561         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
18562         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18564 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18566         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
18567         (thread_func): Use new function to simplify barrier check.
18568         (do_test): Use new function to simplify checking barrier exit
18569         code, and actually join the child thread.
18571 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18573         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
18574         semicolon.
18575         (__libc_tend): Likewise.
18576         (__libc_tabort): Likewise.
18578 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
18580         * sysdeps/nios2/libm-test-ulps: Update.
18581         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
18582         (__gtsf2): Likewise.
18583         (__unorddf2): Likewise.
18584         (__unordsf2): Likewise.
18585         (__ledf2): Likewise.
18587 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
18589         * nis/nis_table.c (__follow_path): Disable diagnostic for
18590         uninitialized variable that is a false positive for gcc 4.7.
18591         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
18593 2016-01-20  Roland McGrath  <roland@hack.frob.com>
18595         * sysdeps/nacl/lowlevellock-futex.h
18596         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
18597         Always evaluate PRIVATE argument.
18599 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
18601         [BZ #19490]
18602         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
18603         (pthread_cond_broadcast): Use ENTRY/END
18604         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
18605         (pthread_cond_signal): Likewise.
18606         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
18607         Likewise.
18608         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
18609         Likewise.
18610         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
18611         Likewise.
18613 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
18615         * sysdeps/ieee754/dbl-64/s_finite.c
18616         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
18617         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
18618         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
18619         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
18620         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
18622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
18623         (__gtsf2): Add as optional for libc.so.
18624         (__unordsf2): Likewise.
18625         (__signbit): Remove for libc.so.
18626         (__signbitl): Likewise.
18628 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18630         * iconvdata/bug-iconv11.c (test_ibm93x):
18631         Use %zu printf format specifier for size_t argument.
18633 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
18635         * math/gen-libm-test.pl (parse_ulps): Do not reduce
18636         already-recorded ulps.
18637         * sysdeps/arm/libm-test-ulps: Regenerated.
18638         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18639         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18640         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
18642 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18643             Paul Pluzhnikov  <ppluzhnikov@google.com>
18645         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
18646         assembler not supporting AVX-512.
18648 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
18650         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18652 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
18654         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18655         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18657         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18659         * sysdeps/arm/libm-test-ulps: Regenerated.
18661 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
18663         [BZ #19451]
18664         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
18666 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18668         [BZ #19486]
18669         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
18670         * sysdeps/generic/fix-fp-int-convert-overflow.h
18671         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
18672         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
18673         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
18674         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
18675         Likewise.
18676         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
18677         Avoid conversions to long int where inexact exceptions
18678         could be raised.
18679         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
18680         Likewise.
18681         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
18682         Avoid conversions to long long int where inexact exceptions
18683         could be raised.
18684         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
18685         Likewise.
18687 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
18689         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
18690         * configure: Regenerated.
18692 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
18694         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
18696 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
18698         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
18699         outside of comment.
18701 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18703         * nptl/tst-barrier1.c: Add description on first line.
18704         * nptl/tst-barrier2.c: Likewise.
18705         * nptl/tst-barrier3.c: Likewise.
18706         * nptl/tst-barrier4.c: Likewise.
18707         * nptl/tst-barrier5.c: Likewise.
18709 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18711         [BZ #18868]
18712         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
18714 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
18716         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
18717         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
18718         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
18719         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
18720         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
18721         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
18722         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18723         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18724         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18725         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18726         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18728 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18730         [BZ #13065]
18731         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
18732         new implementation.
18733         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
18734         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
18735         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
18736         (BARRIER_IN_THRESHOLD): New macro.
18737         * nptl/pthread_barrierattr_setpshared.c
18738         (pthread_barrierattr_setpshared): Clean up.
18739         * nptl/tst-barrier4.c: Correct comment.
18740         * nptl/tst-barrier5.c: New file.
18741         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
18742         (gen-as-const-headers): Remove lowlevelbarrier.sym.
18743         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
18744         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
18745         * nptl/lowlevelbarrier.sym: Remove.
18746         * nptl/DESIGN-barrier.txt: Remove.
18747         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
18748         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
18749         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
18750         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
18751         error.
18752         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
18753         implementation.
18755 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18757         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
18758         (do_child): Mask SIGRTMIN while thr is running.
18760 2016-01-15  Martin Sebor  <msebor@redhat.com>
18762         [BZ #19432]
18763         * iconvdata/Makefile: Add bug-iconv11.
18764         * iconvdata/bug-iconv11.c: New test.
18765         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
18766         * iconvdata/ibm933.c: Same.
18767         * iconvdata/ibm935.c: Same.
18768         * iconvdata/ibm937.c: Same.
18769         * iconvdata/ibm939.c: Same.
18771 2016-01-15  Martin Sebor  <msebor@redhat.com>
18773         [BZ #19443]
18774         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
18775         [DEBUG] (_ufc_set_bits): Declare used.
18776         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
18777         [DEBUG] (print_all): Declare used.
18778         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
18779         operands of the ternary ?: expression to target type.
18780         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
18781         calling the undeclared abort.
18782         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
18784 2016-01-15  Martin Sebor  <msebor@redhat.com>
18786         [BZ #18755]
18787         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
18788         warnings.
18789         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
18790         (__gai_create_helper_thread): Same.
18791         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
18792         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
18793         to suppress -Wmaybe-uninitialized warnings.
18795 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
18797         [BZ #19465]
18798         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
18799         inside if.
18800         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18801         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18802         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18804 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
18806         [BZ #19466]
18807         * time/tst-mktime2.c (time_t_max): Removed.
18808         (time_t_min): Likewise.
18809         (TYPE_SIGNED): New.
18810         (TYPE_MINIMUM): Likewise.
18811         (TYPE_MAXIMUM): Likewise.
18812         (TIME_T_MIN): Likewise.
18813         (TIME_T_MAX): Likewise.
18814         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
18815         and TIME_T_MIN.
18816         (do_test): Likewise.
18818 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
18820         [BZ #19467]
18821         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
18822         index_Fast_Unaligned_Load flag for Excavator family CPUs.
18824 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
18826         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
18828 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
18830         * benchtests/Makefile (PYTHON): Define.
18831         (bench-func): Use $(PYTHON) to run python scripts.
18832         ($(objpfx)bench-%.c): Likewise.
18834 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
18836         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
18837         leading slash when `file_name' is "/".
18839 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
18841         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
18842         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
18843         Likewise.
18844         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
18845         Likewise.
18846         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
18847         Likewise.
18848         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
18849         enum constant and macro.
18850         (PTRACE_SETSIGMASK): Likewise.
18851         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18852         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18853         (PTRACE_GETSIGMASK): Likewise.
18854         (PTRACE_SETSIGMASK): Likewise.
18855         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18856         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
18857         Likewise.
18858         (PTRACE_SETSIGMASK): Likewise.
18859         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18860         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18861         (PTRACE_GETSIGMASK): Likewise.
18862         (PTRACE_SETSIGMASK): Likewise.
18863         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18864         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
18865         Likewise.
18866         (PTRACE_SETSIGMASK): Likewise.
18867         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18868         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
18869         Likewise.
18870         (PTRACE_SETSIGMASK): Likewise.
18871         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18872         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
18873         Likewise.
18874         (PTRACE_SETSIGMASK): Likewise.
18875         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18877 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
18878             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18880         [BZ #19439]
18881         * math/bits/mathcalls.h
18882         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
18883         prototype.
18884         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
18886 2016-01-11  Andreas Schwab  <schwab@suse.de>
18888         [BZ #19253]
18889         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
18890         cache when TZDEFRULES was used.
18891         * time/tst-tzname.c: New file.
18892         * time/Makefile (test): Add tst-tzname.
18893         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
18894         * timezone/Makefile (test-zones): Add $(posixrules-file).
18895         ($(testdata)/$(posixrules-file)): New rule.
18897 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
18899         Fix doc quoting problems with Texinfo 5
18900         Without this change, in the info file output, Texinfo 5 quotes code
18901         in text with undirected single quotes 'like this' and generates
18902         code examples that with many PDF readers cannot be cut out of PDFs
18903         and pasted into code.
18904         * manual/libc.texinfo: Configure the libc manual like the GNU
18905         Emacs manual, by using @documentencoding and setting
18906         txicodequoteundirected and txicodequotebacktick.  This way,
18907         Texinfo 5 quotes code in text with directed single quotes ‘like
18908         this’ and produces examples that can be cut out of PDFs.  This
18909         change causes Texinfo 5 to generate info files that contain UTF-8
18910         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
18911         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
18913 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18915         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
18916         __libc_tabort, __libc_tend): New wrappers that enforce compiler
18917         barriers to their respective compiler built-ins.
18918         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
18919         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
18920         * sysdeps/powerpc/sysdep.h: Likewise.
18921         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
18922         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
18923         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
18925 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
18927         * scripts/config.guess: Revert previous shebang change.
18928         * scripts/config.sub: Likewise.
18929         * scripts/mkinstalldirs: Likewise.
18931 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18933         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
18934         PPC_FEATURE2_HAS_IEEE128.
18935         * sysdeps/powerpc/dl-procinfo.c:
18936         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
18938 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
18940         [BZ #19415]
18941         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
18942         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
18943         (_dl_lookup_address): Rewrite using function resolver trampoline.
18944         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
18945         two bits in address.
18947 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
18949         * longlong.h: Change !__SHMEDIA__ to
18950         (!defined (__SHMEDIA__) || !__SHMEDIA__).
18951         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
18953 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
18954             Joseph Myers  <joseph@codesourcery.com>
18955             Mark Shinwell  <shinwell@codesourcery.com>
18956             Andrew Stubbs  <ams@codesourcery.com>
18957             Rich Felker <dalias@libc.org>
18959         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
18961 2016-01-07  Richard Henderson  <rth@redhat.com>
18963         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
18965 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
18967         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
18968         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
18969         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18970         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18971         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
18973 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
18974             Joseph Myers  <joseph@codesourcery.com>
18976         * timezone/private.h: Update from tzcode 2015g.
18977         * timezone/tzfile.h: Likewise.
18978         * timezone/tzselect.ksh: Likewise.
18979         * timezone/zdump.c: Likewise.
18980         * timezone/zic.c: Likewise.
18981         * timezone/ialloc.c: Remove file.
18982         * timezone/scheck.c: Likewise.
18983         * timezone/Makefile (extra-objs): Remove variable.
18984         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
18985         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
18986         -Wno-maybe-uninitialized.
18987         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
18988         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
18989         (CFLAGS-ialloc.c): Remove variable.
18990         (CFLAGS-scheck.c): Likewise.
18991         * timezone/README: Update list of files from tzcode.
18993 2016-01-07  Khem Raj  <raj.khem@gmail.com>
18995         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
18996         instead of __fxprintf when _LIBC is undefined.
18998 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
19000         * catgets/test-gencat.sh: Remove space after shebang.
19001         * conform/GlibcConform.pm: Likewise.
19002         * conform/check-header-lists.sh: Likewise.
19003         * conform/conformtest.pl: Likewise.
19004         * conform/linknamespace.pl: Likewise.
19005         * conform/list-header-symbols.pl: Likewise.
19006         * debug/catchsegv.sh: Likewise.
19007         * elf/genrtldtbl.awk: Likewise.
19008         * elf/tst-pathopt.sh: Likewise.
19009         * elf/tst-rtld-load-self.sh: Likewise.
19010         * grp/tst_fgetgrent.sh: Likewise.
19011         * iconvdata/gen-8bit-gap-1.sh: Likewise.
19012         * iconvdata/gen-8bit-gap.sh: Likewise.
19013         * iconvdata/gen-8bit.sh: Likewise.
19014         * iconvdata/run-iconv-test.sh: Likewise.
19015         * intl/tst-gettext.sh: Likewise.
19016         * intl/tst-gettext2.sh: Likewise.
19017         * intl/tst-gettext4.sh: Likewise.
19018         * intl/tst-gettext6.sh: Likewise.
19019         * intl/tst-translit.sh: Likewise.
19020         * io/ftwtest-sh: Likewise.
19021         * libio/test-freopen.sh: Likewise.
19022         * locale/gen-translit.pl: Likewise.
19023         * malloc/tst-mtrace.sh: Likewise.
19024         * manual/check-safety.sh: Likewise.
19025         * manual/libc-texinfo.sh: Likewise.
19026         * manual/tsort.awk: Likewise.
19027         * manual/xtract-typefun.awk: Likewise.
19028         * nptl/tst-cancel-wrappers.sh: Likewise.
19029         * nptl/tst-tls6.sh: Likewise.
19030         * posix/globtest.sh: Likewise.
19031         * posix/tst-getconf.sh: Likewise.
19032         * posix/wordexp-tst.sh: Likewise.
19033         * scripts/check-c++-types.sh: Likewise.
19034         * scripts/check-local-headers.sh: Likewise.
19035         * scripts/config.guess: Likewise.
19036         * scripts/config.sub: Likewise.
19037         * scripts/cpp: Likewise.
19038         * scripts/cross-test-ssh.sh: Likewise.
19039         * scripts/documented.sh: Likewise.
19040         * scripts/evaluate-test.sh: Likewise.
19041         * scripts/gen-libc-abis: Likewise.
19042         * scripts/gen-sorted.awk: Likewise.
19043         * scripts/list-fixed-bugs.py: Likewise.
19044         * scripts/merge-test-results.sh: Likewise.
19045         * scripts/mkinstalldirs: Likewise.
19046         * scripts/rellns-sh: Likewise.
19047         * scripts/test-installation.pl: Likewise.
19048         * scripts/update-copyrights: Likewise.
19049         * stdio-common/tst-printf.sh: Likewise.
19050         * stdio-common/tst-unbputc.sh: Likewise.
19051         * stdlib/tst-fmtmsg.sh: Likewise.
19052         * stdlib/tst-setcontext3.sh: Likewise.
19053         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
19054         * sysdeps/unix/make-syscalls.sh: Likewise.
19056 2016-01-06  John David Anglin  <dave.anglin@bell.net>
19058         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
19059         asm stw with atomic_exchange_rel.  Add explanatory comment.
19060         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19061         Likewise.
19063 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
19065         [BZ #19122]
19066         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
19067         * sysdeps/generic/dl-unistd.h: New file.
19068         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
19070 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
19072          [BZ #19122]
19073          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
19074          * sysdeps/generic/dl-mman.h: New file.
19075          * sysdeps/mach/hurd/dl-mman.h: Likewise.
19077 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
19079         * manual/texinfo.tex: Update to version 2016-01-04.21 with
19080         trailing whitespace removed.
19081         * scripts/config.guess: Update to version 2016-01-01.
19082         * scripts/config.sub: Update to version 2016-01-01.
19083         * scripts/move-if-change: Update from gnulib.
19085 2016-01-04  Anton Blanchard  <anton@samba.org>
19087         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
19088         for array indices.
19089         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
19091 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
19093         * NEWS: Update copyright dates.
19094         * catgets/gencat.c (print_version): Likewise.
19095         * csu/version.c (banner): Likewise.
19096         * debug/catchsegv.sh: Likewise.
19097         * debug/pcprofiledump.c (print_version): Likewise.
19098         * debug/xtrace.sh (do_version): Likewise.
19099         * elf/ldconfig.c (print_version): Likewise.
19100         * elf/ldd.bash.in: Likewise.
19101         * elf/pldd.c (print_version): Likewise.
19102         * elf/sotruss.sh: Likewise.
19103         * elf/sprof.c (print_version): Likewise.
19104         * iconv/iconv_prog.c (print_version): Likewise.
19105         * iconv/iconvconfig.c (print_version): Likewise.
19106         * locale/programs/locale.c (print_version): Likewise.
19107         * locale/programs/localedef.c (print_version): Likewise.
19108         * login/programs/pt_chown.c (print_version): Likewise.
19109         * malloc/memusage.sh (do_version): Likewise.
19110         * malloc/memusagestat.c (print_version): Likewise.
19111         * malloc/mtrace.pl: Likewise.
19112         * manual/libc.texinfo: Likewise.
19113         * nptl/version.c (banner): Likewise.
19114         * nscd/nscd.c (print_version): Likewise.
19115         * nss/getent.c (print_version): Likewise.
19116         * nss/makedb.c (print_version): Likewise.
19117         * posix/getconf.c (main): Likewise.
19118         * scripts/test-installation.pl: Likewise.
19119         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19121         * All files with FSF copyright notices: Update copyright dates
19122         using scripts/update-copyrights.
19123         * intl/plural.c: Regenerated.
19124         * locale/programs/charmap-kw.h: Likewise.
19125         * locale/programs/locfile-kw.h: Likewise.
19127 2016-01-02  Helge Deller  <deller@gmx.de>
19129         [BZ #19285]
19130         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
19131         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
19132         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
19133         (MADV_xxK_PAGES): Remove.
19135 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
19137         [BZ #15421]
19138         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
19139         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
19140         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
19141         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
19143 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
19145         [BZ #19408]
19146         * sysdeps/unix/sysv/linux/personality.c: New file.
19147         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
19148         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
19149         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
19150         (sysdep_routines): Add personality.
19151         (tests): Add tst-personality.
19152         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
19153         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
19154         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
19155         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
19156         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
19157         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
19158         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
19159         Likewise.
19160         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
19161         Likewise.
19162         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
19163         Likewise.
19164         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
19165         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
19166         Likewise.
19168 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
19170         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
19171         (PATH_ARM_SYSTYPE): Remove.
19172         (PATH_CPUINFO): Likewise.
19173         (IO_BASE_FOOTBRIDGE): Likewise.
19174         (IO_SHIFT_FOOTBRIDGE): Likewise.
19175         (struct platform): Likewise.
19176         (init_iosys): Remove compatibility code for 2.4 kernels.
19177         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
19179 2015-12-29  Florian Weimer  <fweimer@redhat.com>
19181         * malloc/tst-malloc-thread-fail.c: New file.
19182         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
19183         (tst-malloc-thread-fail): Link against libpthread.
19185 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
19187         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
19188         (get_parser): New function.
19189         (main): New function.
19191 2015-12-29  Rob Wu  <rob@robwu.nl>
19193         [BZ #19369]
19194         * resolv/res_init.c (__res_vinit): Reset defdname before use.
19196 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
19198         [BZ #19270]
19199         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
19201 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
19203         [BZ #15421]
19204         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
19206 2015-12-23  Torvald Riegel  <triegel@redhat.com>
19208         [BZ #13690]
19209         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
19210         after releasing it.
19211         (__lll_robust_unlock): Likewise.
19212         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19213         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
19214         (lll_robust_unlock): Likewise.
19215         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
19216         Prevent warnings in callers.
19218 2015-12-23  Florian Weimer  <fweimer@redhat.com>
19220         * malloc/arena.c (list_lock): Update comment.
19222 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19224         * sysdeps/powerpc/hwcapinfo.c: Export symbol
19225         __parse_hwcap_and_convert_at_platform to libc.a.
19227 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19229         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
19230         platform and feature support for POWER9.
19231         * sysdeps/powerpc/dl-procinfo.h: Likewise.
19232         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
19233         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
19234         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
19235         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
19236         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
19237         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
19238         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
19240 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19242         Harmonize generic stdio-lock support with nptl
19244         This fixes build when _IO_funlockfile is a macro, fixes build where
19245         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
19246         stack unwind.
19248         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
19249         _IO_release_lock ): Use cleanup attribute on new
19250         _IO_acquire_lock_file variable instead of assuming that
19251         _IO_release_lock will be called.
19252         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
19253         _IO_acquire_lock_needs_exceptions_enabled.
19254         (_IO_acquire_lock_clear_flags2): New macro.
19256 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19258         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
19260 2015-12-21  Florian Weimer  <fweimer@redhat.com>
19262         [BZ #19182]
19263         * malloc/arena.c (list_lock): Document lock ordering requirements.
19264         (free_list_lock): New lock.
19265         (ptmalloc_lock_all): Comment on free_list_lock.
19266         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
19267         (detach_arena): Update comment.  free_list_lock is now needed.
19268         (_int_new_arena): Use free_list_lock around detach_arena call.
19269         Acquire arena lock after list_lock.  Add comment, including FIXME
19270         about incorrect synchronization.
19271         (get_free_list): Switch to free_list_lock.
19272         (reused_arena): Acquire free_list_lock around detach_arena call
19273         and attached threads counter update.  Add two FIXMEs about
19274         incorrect synchronization.
19275         (arena_thread_freeres): Switch to free_list_lock.
19276         * malloc/malloc.c (struct malloc_state): Update comments to
19277         mention free_list_lock.
19279 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
19281         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
19282         Remove functions.
19283         (sloww, sloww1): Accept argument to offset quadrant.
19284         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
19285         quadrant.
19286         (__sin, __cos): Consolidate common code into new functions.
19287         (reduce_sincos_1, do_sincos_1): New functions.
19288         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
19290         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
19291         code to new functions.
19292         (reduce_sincos_2, do_sincos_2): New functions.
19293         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
19295         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
19296         common code for sincos.
19297         (__cos) [!IN_SINCOS]: Likewise.
19298         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
19299         New function.
19300         (__sincos): Use it.
19302 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
19304         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
19305         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
19306         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19308 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19310         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
19311         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
19312         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
19313         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
19314         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19315         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
19316         index_Prefer_No_VZEROUPPER): New feature.
19317         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
19318         Prefer_No_VZEROUPPER for Knights Landing.
19320 015-12-18  Torvald Riegel  <triegel@redhat.com>
19322         * math/atest-exp2.c (mp_exp_m1): Remove.
19324 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19326         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
19327         syscalls.
19328         (__SYSCALL0): New macro.
19329         (__SYSCALL1): Likewise.
19330         (__SYSCALL2): Likewise.
19331         (__SYSCALL3): Likewise.
19332         (__SYSCALL4): Likewise.
19333         (__SYSCALL5): Likewise.
19334         (__SYSCALL6): Likewise.
19335         (__SYSCALL_CONCAT_X): Likewise.
19336         (__SYSCALL_CONCAT): Likewise.
19337         (__SYSCALL_DIST): Likewise.
19338         (__SYSCALL_CALL): Likewise.
19340 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
19342         [BZ #19363]
19343         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
19345 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19347         [BZ #19375]
19348         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
19349         negative subnormals.
19351 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
19353         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
19354         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
19355         (INTERNAL_SYSCALL_NCS): Use it.
19356         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19358 2015-12-16  Florian Weimer  <fweimer@redhat.com>
19360         [BZ #19243]
19361         * malloc/arena.c (get_free_list): Remove assert and adjust
19362         reference count handling.  Add comment about reused_arena
19363         interaction.
19364         (reused_arena): Add comments abount get_free_list interaction.
19365         * malloc/tst-malloc-thread-exit.c: New file.
19366         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
19367         (tst-malloc-thread-exit): Link against libpthread.
19369 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19371         [BZ #19367]
19372         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
19373         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
19374         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
19375         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
19376         (index_Prefer_MAP_32BIT_EXEC): Likewise.
19378 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19380         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
19381         Silvermont optimizations for Knights Landing.
19383 2015-12-15  Andreas Schwab  <schwab@suse.de>
19385         [BZ #17197]
19386         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
19387         immediately after emitting SI.
19388         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
19389         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
19390         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
19391         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
19392         * iconvdata/bug-iconv10.c: New file.
19393         * iconvdata/Makefile (tests): Add bug-iconv10.
19394         ($(objpfx)bug-iconv10.out): New rule.
19396 2015-12-15  Florian Weimer  <fweimer@redhat.com>
19398         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
19399         aliasing violation.
19401 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
19403         [BZ #18472]
19404         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
19405         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
19406         conditionals for them.
19407         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
19408         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
19409         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
19410         sys/kdaemon.h.
19411         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
19412         compat-only syscall, obsoleted in glibc 2.23.
19413         (create_module): Likewise.
19414         (get_kernel_syms): Likewise.
19415         (query_module): Likewise.
19416         (uselib): Likewise.
19417         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
19419 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
19421         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
19422         <linux/version.h>.
19423         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
19424         conditional code.
19425         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
19426         and ioshift_name initialization.
19428 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19430         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
19431         Fix indentation.
19433 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19435         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
19437 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19439         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
19441 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
19442             Jakub Wilk  <jwilk@debian.org>
19444         [BZ #19347]
19445         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
19446         to change the group of the device to the tty group.
19448 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
19450         Split large string section; add truncation advice
19451         * manual/examples/strncat.c: Remove.
19452         This example was misleading, as the code would have undefined
19453         behavior if "hello" was longer than SIZE.  Anyway, the manual
19454         shouldn't encourage strncpy+strncat for this sort of thing.
19455         * manual/string.texi (Copying Strings and Arrays): Split into
19456         three sections Copying Strings and Arrays, Concatenating Strings,
19457         and Truncating Strings, as this section was way too long.  All
19458         cross-referenced changed.  Add advice about string-truncation
19459         functions.  Remove misleading strncat example.
19461 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
19463         * manual/nss.texi (NSS Modules Interface): Document
19464         NSS_STATUS_NOTFOUND and SUCCESS.
19466 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
19468         [BZ 18568]
19469         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
19470         201505L, for Unicode 8.
19472 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
19474         * locale/C-translit.h: Regenerate.
19476 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
19478         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
19479         and U+0153.
19481 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
19483         [BZ #19351]
19484         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
19485         expanding log(1+z), compare z rather than its square with epsilon
19486         to determine when to avoid evaluating the expansion.
19488         [BZ #19350]
19489         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
19490         Increase overflow threshold.
19492         [BZ #19349]
19493         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
19494         when small.
19496         * sysdeps/unix/sysv/linux/i386/kernel-features.h
19497         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
19498         New macro.
19499         [__LINUX_KERNEL_VERSION >= 0x040300]
19500         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19501         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
19502         Likewise.
19503         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
19504         Likewise.
19505         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
19506         Likewise.
19507         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
19508         Likewise.
19509         [__LINUX_KERNEL_VERSION >= 0x040300]
19510         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
19511         [__LINUX_KERNEL_VERSION >= 0x040300]
19512         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19513         [__LINUX_KERNEL_VERSION >= 0x040300]
19514         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19515         [__LINUX_KERNEL_VERSION >= 0x040300]
19516         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19517         [__LINUX_KERNEL_VERSION >= 0x040300]
19518         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19519         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
19520         Likewise.
19521         [__LINUX_KERNEL_VERSION >= 0x040300]
19522         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
19523         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19524         Likewise.
19525         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
19526         Likewise.
19527         [__LINUX_KERNEL_VERSION >= 0x040300]
19528         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
19529         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19530         Likewise.
19531         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
19532         Likewise.
19533         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19534         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
19535         Likewise.
19536         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
19537         Likewise.
19538         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
19539         Likewise.
19540         [__LINUX_KERNEL_VERSION >= 0x040300]
19541         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19542         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
19543         Likewise.
19544         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
19545         Likewise.
19546         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
19547         Likewise.
19548         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
19549         Likewise.
19550         [__LINUX_KERNEL_VERSION >= 0x040300]
19551         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
19552         [__LINUX_KERNEL_VERSION >= 0x040300]
19553         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19554         [__LINUX_KERNEL_VERSION >= 0x040300]
19555         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19556         [__LINUX_KERNEL_VERSION >= 0x040300]
19557         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19558         [__LINUX_KERNEL_VERSION >= 0x040300]
19559         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19560         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
19561         Likewise.
19562         [__LINUX_KERNEL_VERSION >= 0x040300]
19563         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
19564         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19565         Likewise.
19566         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
19567         Likewise.
19568         [__LINUX_KERNEL_VERSION >= 0x040300]
19569         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
19570         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19571         Likewise.
19572         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
19573         Likewise.
19574         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19575         (__ASSUME_SOCKET_SYSCALL): Likewise.
19576         (__ASSUME_BIND_SYSCALL): Likewise.
19577         (__ASSUME_CONNECT_SYSCALL): Likewise.
19578         (__ASSUME_LISTEN_SYSCALL): Likewise.
19579         (__ASSUME_ACCEPT_SYSCALL): Likewise.
19580         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19581         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19582         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19583         (__ASSUME_SEND_SYSCALL): Likewise.
19584         (__ASSUME_SENDTO_SYSCALL): Likewise.
19585         (__ASSUME_RECV_SYSCALL): Likewise.
19586         (__ASSUME_RECVFROM_SYSCALL): Likewise.
19587         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
19588         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19589         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19590         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19591         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19592         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19593         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
19594         Likewise.
19595         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
19596         Likewise.
19597         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
19598         Likewise.
19599         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
19600         Likewise.
19601         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
19602         Likewise.
19603         [__LINUX_KERNEL_VERSION >= 0x020625]
19604         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19605         [__LINUX_KERNEL_VERSION >= 0x020625]
19606         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19607         [__LINUX_KERNEL_VERSION >= 0x020625]
19608         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19609         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
19610         Likewise.
19611         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
19612         Likewise.
19613         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
19614         Likewise.
19615         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
19616         Likewise.
19617         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
19618         Likewise.
19619         [__LINUX_KERNEL_VERSION >= 0x020625]
19620         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19621         [__LINUX_KERNEL_VERSION >= 0x020625]
19622         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19623         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
19624         Likewise.
19625         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
19626         Likewise.
19628 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
19630         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
19631         record the current if the current ABI and CPU support the FP64
19632         extension.
19633         (has-modd-spreg): Define to record the current if the current ABI and
19634         CPU support 32-bit floating point values in odd FPU registers.
19635         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19636         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
19637         $(has-modd-spreg) equals yes.
19638         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
19639         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
19640         $(has-modd-spreg) equal yes.
19642 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
19644         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
19645         basename.
19647 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
19649         * benchtests/Makefile (bench-math): Move ffs and ffsll...
19650         (bench-string): ... here.
19651         (bench): Add bench-string.
19652         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
19653         to *-benchset to reflect what they are.
19654         (benchset): Adjust.
19656         * benchtests/sincos-inputs: Add inputs from sin-inputs and
19657         cos-inputs.
19659 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
19661         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
19662         __attribute__ ((__simd__)) for vector math function declarations.
19664 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19666         Fix typo in strncat, wcsncat manual entries
19667         * manual/string.texi (Copying and Concatenation): Fix typos in
19668         sample implementations of strncat and wcsncat, by having them use
19669         the old value of the destination length, not the new one.
19671 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
19673         [BZ #16961]
19674         [BZ #16962]
19675         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
19676         string on the stack for strtod.
19677         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
19678         a string on the stack for strtof.
19679         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
19680         constructing a string on the stack for strtold.
19681         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
19682         __strtold_nan to GLIBC_PRIVATE.
19683         * math/test-nan-overflow.c: New file.
19684         * math/test-nan-payload.c: Likewise.
19685         * math/Makefile (tests): Add test-nan-overflow and
19686         test-nan-payload.
19688 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19690         Consistency about byte vs character in string.texi
19691         * manual/string.texi (String and Array Utilities):
19692         Distinguish more carefully among bytes, multibyte characters,
19693         and wide characters.  Use "byte" when talking about C 'char',
19694         to distinguish it more clearly from multibyte characters.
19695         Say "wide character" or "multibyte character" instead of
19696         "character", when a wide or multibyte character is intended.
19697         Similarly for "multibyte string" versus "string".
19698         Define these terms more carefully.
19700 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
19702         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
19703         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
19704         Likewise.
19705         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19706         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19707         * sysdeps/sh/math_private.h: New file.
19708         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
19709         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
19710         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
19711         long double function name.
19712         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19713         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19714         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19715         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19716         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19718         Remove __finitel, __isinfl, and __isnanl.
19719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19720         Likewise.
19721         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19723         Remove __finitel.
19724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19725         Likewise.
19726         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19728 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
19730         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
19731         installed libmvec_nonshared.a.
19733 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19735         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
19736         (sysdep_routines): Likewise.
19737         (sysdep-rtld-routines): Likewise.
19738         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
19739         [$(subdir) = nptl](tests-static): test-get_hwcap-static
19740         * sysdeps/powerpc/Versions: Added new
19741         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
19742         * sysdeps/powerpc/hwcapinfo.c: New file.
19743         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
19744         and parse hwcap, hwcap2 and platform number information.
19745         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
19746         to store HWCAP+HWCAP2 and platform number.
19747         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
19748         for HWCAP+HWCAP2 and platform number in the TCB.
19749         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
19750         the HWCAP, HWCAP2 and platform number in the TCB.
19751         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
19752         (TLS_INIT_TP): Included calls to add the hwcap and
19753         at_platform values in the TCB in TP initialization.
19754         (TLS_DEFINE_INIT_TP): Likewise.
19755         (THREAD_GET_HWCAP): New macro.
19756         (THREAD_SET_HWCAP): Likewise.
19757         (THREAD_GET_AT_PLATFORM): Likewise.
19758         (THREAD_SET_AT_PLATFORM): Likewise.
19759         * sysdeps/powerpc/powerpc32/dl-machine.h:
19760         (dl_platform_init): New function that calls
19761         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
19762         powerpc32.
19763         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
19764         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
19765         this functionality, static linking case.
19766         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
19767         linking case.
19768         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
19769         __parse_hwcap_and_convert_at_platform for the static linking case.
19770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
19771         Included the new __parse_hwcap_and_convert_at_platform symbol in the
19772         ABI list for GLIBC 2.23.
19773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
19774         Likewise.
19775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
19776         Likewise.
19778 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
19780         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
19781         * configure: Regenerate.
19782         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
19783         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
19785 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
19787         * iconvdata/ibm930.c: Add comment explaining encoding uses.
19788         * iconvdata/ibm933.c: Likewise.
19789         * iconvdata/ibm935.c: Likewise.
19790         * iconvdata/ibm937.c: Likewise.
19791         * iconvdata/ibm939.c: Likewise.
19793 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19795         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
19796         pthread_join.
19797         * nptl/tst-cancel21.c (tf): Likewise.
19799 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
19801         [BZ #19313]
19802         * bits/typesizes.h (__CPU_MASK_TYPE): New.
19803         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
19804         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
19805         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
19806         Likewise.
19807         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
19808         Likewise.
19809         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
19810         Likewise.
19811         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
19812         Likewise.
19813         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
19814         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
19815         unsigned long int with __CPU_MASK_TYPE.
19817 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19819         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19821 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
19823         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
19824         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
19825         t512.x.
19826         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
19828 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
19830         [BZ #19214]
19831         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
19832         argument to return extended model.  Update family and model
19833         with extended family and model when family == 0x0f.
19834         (init_cpu_features): Updated.
19836 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19838         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
19839         signed off_t, so 32bit bigger than 2GiB values are fine actually.
19841         * sysdeps/mach/hurd/mmap64.c: New file.
19843 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
19845         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
19846         rights for its main user thread in NEWTASK.
19848 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
19850         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
19851         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
19853 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
19855         [BZ #14259]
19856         * Makeconfig: Rename localedir to complocaledir.
19857         Rename inst_localedir to inst_complocaledir.
19858         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
19859         * config.make.in: Use complocaledir and libc_cv_complocaledir.
19860         * configure.ac: Use libc_cv_complocaledir.
19861         * configure: Regenerate.
19862         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
19863         -DCOMPLOCALEDIR.
19864         * locale/findlocale.c: Use COMPLOCALEDIR.
19865         * locale/loadarchive.c: Likewise.
19866         * locale/programs/locale.c: Likewise.
19867         * locale/programs/localedef.c: Likewise.
19868         * locale/programs/locarchive.c: Likewise.
19869         * localedata/Makefile: Use inst_complocaledir.
19870         * sysdeps/gnu/configure: Regenerate.
19871         * sysdeps/hppa/configure: Regenerate.
19872         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19873         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19875         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19876         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19877         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19878         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19880 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
19882         [BZ #19058]
19883         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
19884         AS_NEEDED.
19885         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
19886         workaround.
19887         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
19888         libmvec-static-only-routines): Added new file.
19889         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
19891 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19893         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
19894         of interrupted RPC instead of restoring it.
19896         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
19897         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
19898         libc_hidden_def.
19899         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
19900         into initialized data instead of common. Define rtld_hidden_data_def.
19901         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
19902         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
19903         libc_hidden_def.
19904         (if_freenameindex): Add libc_hidden_weak.
19905         (if_nameindex): Add libc_hidden_weak.
19906         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
19907         __open64.
19908         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
19909         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
19910         * sysdeps/mach/nanosleep.c: Include <time.h>
19911         (__nanosleep): Rename to __libc_nanosleep.
19912         (__nanosleep): Add weak_alias.
19913         (nanosleep): Update alias.
19915 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
19917         * stdlib/strtod_nan.c: New file.
19918         * stdlib/strtod_nan_double.h: Likewise.
19919         * stdlib/strtod_nan_float.h: Likewise.
19920         * stdlib/strtod_nan_main.c: Likewise.
19921         * stdlib/strtod_nan_narrow.h: Likewise.
19922         * stdlib/strtod_nan_wide.h: Likewise.
19923         * stdlib/strtof_nan.c: Likewise.
19924         * stdlib/strtold_nan.c: Likewise.
19925         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
19926         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
19927         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
19928         * wcsmbs/wcstod_nan.c: Likewise.
19929         * wcsmbs/wcstof_nan.c: Likewise.
19930         * wcsmbs/wcstold_nan.c: Likewise.
19931         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
19932         strtold_nan.
19933         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
19934         wcstof_nan.
19935         * include/stdlib.h (__strtof_nan): Declare and use
19936         libc_hidden_proto.
19937         (__strtod_nan): Likewise.
19938         (__strtold_nan): Likewise.
19939         (__wcstof_nan): Likewise.
19940         (__wcstod_nan): Likewise.
19941         (__wcstold_nan): Likewise.
19942         * include/wchar.h (____wcstoull_l_internal): Declare.
19943         * stdlib/strtod_l.c: Do not include <ieee754.h>.
19944         (____strtoull_l_internal): Remove declaration.
19945         (STRTOF_NAN): Define macro.
19946         (SET_MANTISSA): Remove macro.
19947         (STRTOULL): Likewise.
19948         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
19949         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
19950         (STRTOF_NAN): Define macro.
19951         (SET_MANTISSA): Remove macro.
19952         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
19953         (SET_MANTISSA): Remove macro.
19954         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
19955         macro.
19956         (SET_MANTISSA): Remove macro.
19957         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
19958         macro.
19959         (SET_MANTISSA): Remove macro.
19960         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
19961         (SET_MANTISSA): Remove macro.
19962         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
19963         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
19964         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
19966         [BZ #19266]
19967         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
19968         upper case and lower case letters inside NAN(), not using TOLOWER.
19969         * stdlib/tst-strtod-nan-locale-main.c: New file.
19970         * stdlib/tst-strtod-nan-locale.c: Likewise.
19971         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
19972         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
19973         Depend on $(gen-locales).
19974         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
19975         * wcsmbs/tst-wcstod-nan-locale.c: New file.
19976         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
19977         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
19978         Depend on $(gen-locales).
19979         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
19981 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
19983         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
19985         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
19986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
19987         __finitel, __isinfl, and __isnanl.
19988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19989         Likewise.
19990         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
19992         __finitel.
19993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19994         Likewise.
19995         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19997 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19999         * malloc/memusage.c (me): Remove redundant getenv call.
20001 2015-10-24  Florian Weimer  <fweimer@redhat.com>
20003         [BZ #19143]
20004         [BZ #19164]
20005         * nptl/check-cpuset.h: Remove.
20006         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
20007         Remove CPU set size check.
20008         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
20009         Likewise.
20010         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
20011         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
20012         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
20013         (__pthread_setaffinity_new): Remove CPU set size check.
20014         * sysdeps/unix/sysv/linux/sched_setaffinity.c
20015         (__kernel_cpumask_size): Remove.
20016         (__sched_setaffinity_new): Remove CPU set size check.
20017         * manual/threads.texi (Default Thread Attributes): Remove stale
20018         reference to check_cpuset_attr, determine_cpumask_size in comment.
20019         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
20020         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
20021         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
20022         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
20023         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
20024         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
20025         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
20026         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
20027         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
20028         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
20029         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
20030         skeleton test file.
20031         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
20032         tst-affinity-pid.
20034 2015-11-24  Florian Weimer  <fweimer@redhat.com>
20036         * scripts/update-abilist.sh: New file.
20037         * Makefile (+subdir_targets): Add subdir_update-all-abi.
20038         * Makerules (update-all-abi-%, update-all-abi)
20039         (subdir_update-all-abi): New targets.
20040         * elf/Makefile (update-all-abi): New target.
20042 2015-11-24  Florian Weimer  <fweimer@redhat.com>
20044         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
20045         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
20046         (__libc_lock_define_initialized): Use it.
20047         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
20048         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
20049         * malloc/malloc.c (main_arena): Likewise.
20050         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
20051         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
20053 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
20055         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
20056         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
20057         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20058         (PTRACE_O_MASK): Update value.
20059         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
20060         New value in enum __ptrace_setoptions.
20061         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20062         (PTRACE_O_MASK): Update value.
20063         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
20064         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20065         (PTRACE_O_MASK): Update value.
20066         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
20067         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20068         (PTRACE_O_MASK): Update value.
20069         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
20070         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20071         (PTRACE_O_MASK): Update value.
20072         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
20073         New value in enum __ptrace_setoptions.
20074         (PTRACE_O_MASK): Update value.
20075         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
20076         New value in enum __ptrace_setoptions.
20077         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20078         (PTRACE_O_MASK): Update value.
20080         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
20081         New macro.
20082         (PACKET_AUXDATA): Likewise.
20083         (PACKET_ORIGDEV): Likewise.
20084         (PACKET_VERSION): Likewise.
20085         (PACKET_HDRLEN): Likewise.
20086         (PACKET_RESERVE): Likewise.
20087         (PACKET_TX_RING): Likewise.
20088         (PACKET_LOSS): Likewise.
20089         (PACKET_VNET_HDR): Likewise.
20090         (PACKET_TX_TIMESTAMP): Likewise.
20091         (PACKET_TIMESTAMP): Likewise.
20092         (PACKET_FANOUT): Likewise.
20093         (PACKET_TX_HAS_OFF): Likewise.
20094         (PACKET_QDISC_BYPASS): Likewise.
20095         (PACKET_ROLLOVER_STATS): Likewise.
20096         (PACKET_FANOUT_DATA): Likewise.
20097         (PACKET_MR_UNICAST): Likewise.
20099         [BZ #19242]
20100         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
20101         (TOUPPER): Likewise.
20102         * stdlib/tst-strtol-locale-main.c: New file.
20103         * stdlib/tst-strtol-locale.c: Likewise.
20104         * stdlib/Makefile (tests): Add tst-strtol-locale.
20105         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
20106         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
20107         Depend on $(gen-locales).
20108         * wcsmbs/tst-wcstol-locale.c: New file.
20109         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
20110         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
20111         tr_TR.ISO-8859-9.
20112         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
20113         Depend on $(gen-locales).
20115 2015-11-20  Roland McGrath  <roland@hack.frob.com>
20117         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
20118         __glibc_likely instead of __builtin_expect.  After falling back to
20119         dyncode_create in a non-ET_DYN case, use the allocate_code_data
20120         system interface to register the code pages as occupied.
20122 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
20124         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20125         [!ARM_MATH_PRIVATE_H].
20126         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
20127         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20128         [!HPPA_MATH_PRIVATE_H].
20129         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
20130         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
20131         to [!I386_MATH_PRIVATE_H].
20132         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
20133         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
20134         Change guard to [!M68K_MATH_PRIVATE_H].
20135         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
20136         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
20137         guard to [!MICROBLAZE_MATH_PRIVATE_H].
20138         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
20139         macro.
20140         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20141         [!MIPS_MATH_PRIVATE_H].
20142         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
20143         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20144         [!NIO2_MATH_PRIVATE_H].
20145         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
20146         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20147         [!TILE_MATH_PRIVATE_H].
20148         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
20150         [BZ #15421]
20151         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
20152         initialize with 0 and define as weak alias of __signgam.
20153         * include/math.h [!_ISOMAC] (__signgam): Declare.
20154         * math/Makefile (libm-calls): Add w_lgamma_compat.
20155         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
20156         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
20157         test-signgam-ullong-init.
20158         (tests-static): Add test-signgam-uchar-static,
20159         test-signgam-uchar-init-static, test-signgam-uint-static,
20160         test-signgam-uint-init-static, test-signgam-ullong-static and
20161         test-signgam-ullong-init-static.
20162         (CFLAGS-test-signgam-uchar.c): New variable.
20163         (CFLAGS-test-signgam-uchar-init.c): Likewise.
20164         (CFLAGS-test-signgam-uchar-static.c): Likewise.
20165         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20166         (CFLAGS-test-signgam-uint.c): Likewise.
20167         (CFLAGS-test-signgam-uint-init.c): Likewise.
20168         (CFLAGS-test-signgam-uint-static.c): Likewise.
20169         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20170         (CFLAGS-test-signgam-ullong.c): Likewise.
20171         (CFLAGS-test-signgam-ullong-init.c): Likewise.
20172         (CFLAGS-test-signgam-ullong-static.c): Likewise.
20173         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20174         * math/Versions (libm): Add GLIBC_2.23.
20175         * math/lgamma-compat.h: New file.
20176         * math/test-signgam-main.c: Likewise.
20177         * math/test-signgam-uchar-init-static.c: Likewise.
20178         * math/test-signgam-uchar-init.c: Likewise.
20179         * math/test-signgam-uchar-static.c: Likewise.
20180         * math/test-signgam-uchar.c: Likewise.
20181         * math/test-signgam-uint-init-static.c: Likewise.
20182         * math/test-signgam-uint-init.c: Likewise.
20183         * math/test-signgam-uint-static.c: Likewise.
20184         * math/test-signgam-uint.c: Likewise.
20185         * math/test-signgam-ullong-init-static.c: Likewise.
20186         * math/test-signgam-ullong-init.c: Likewise.
20187         * math/test-signgam-ullong-static.c: Likewise.
20188         * math/test-signgam-ullong.c: Likewise.
20189         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
20190         wrapper of w_lgamma_main.c.
20191         * math/w_lgamma_compat.c: New file.
20192         * math/w_lgamma_compatf.c: Likewise.
20193         * math/w_lgamma_compatl.c: Likewise.
20194         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
20195         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20196         defining compatibility symbols.
20197         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
20198         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
20199         wrapper of w_lgammaf_main.c.
20200         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
20201         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20202         defining compatibility symbols.
20203         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
20204         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
20205         wrapper of w_lgammal_main.c.
20206         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
20207         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20208         defining compatibility symbols.
20209         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
20210         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
20211         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
20212         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
20213         <lgamma-compat.h>.
20214         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
20215         (__ieee754_gamma): Define as alias.
20216         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
20217         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
20218         <lgamma-compat.h>.
20219         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
20220         (__ieee754_gammaf): Define as alias.
20221         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
20222         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
20223         <lgamma-compat.h>.
20224         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
20225         (__ieee754_gammal): Define as alias.
20226         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
20227         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
20228         <math/w_lgamma_compat.c>.
20229         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
20230         Define as alias of __lgamma_compat and use in defining lgammal.
20231         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
20232         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
20233         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
20234         (USE_AS_COMPAT): New macro.
20235         (LGAMMA_OLD_VER): Undefine and redefine.
20236         (lgammal): Do not define here.
20237         (gammal): Only define here if [GAMMA_ALIAS].
20238         * conform/linknamespace.pl (@whitelist): Remove signgam.
20239         * sysdeps/nacl/libm.abilist: Update.
20240         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20241         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20242         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20243         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20244         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20245         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20246         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20247         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20248         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20249         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20250         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20251         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20253         Likewise.
20254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20255         Likewise.
20256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20257         Likewise.
20258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20259         Likewise.
20260         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20261         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20262         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20263         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20264         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20266         Likewise.
20267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20268         Likewise.
20269         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20270         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20271         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20273 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20275         [BZ #16364]
20276         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
20277         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
20279 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20281         * sysdeps/s390/fpu/bits/mathinline.h:
20282         Use __asm__ [__volatile__] instead of asm [volatile].
20283         * sysdeps/s390/abort-instr.h: Likewise.
20284         * sysdeps/s390/atomic-machine.h: Likewise.
20285         * sysdeps/s390/bits/string.h: Likewise.
20286         * sysdeps/s390/dl-tls.h: Likewise.
20287         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20288         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20289         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20290         * sysdeps/s390/fpu/fesetround.c: Likewise.
20291         * sysdeps/s390/fpu/fpu_control.h: Likewise.
20292         * sysdeps/s390/fpu/s_fma.c: Likewise.
20293         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
20294         * sysdeps/s390/memusage.h: Likewise.
20295         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
20296         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
20297         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
20298         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
20299         * sysdeps/s390/nptl/tls.h: Likewise.
20300         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
20301         * sysdeps/s390/s390-32/backtrace.c: Likewise.
20302         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20303         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
20304         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20305         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20306         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
20307         * sysdeps/s390/s390-64/backtrace.c: Likewise.
20308         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20309         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
20310         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
20311         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20312         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20313         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
20314         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20315         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20316         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
20317         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20318         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
20319         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20320         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
20321         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20322         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
20324 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20325             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20327         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
20328         Add lwarx hint, and use macro for acquire instruction.
20329         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20330         Likewise.
20331         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
20332         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
20333         update to use new atomic macros.
20335 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20337         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20338         (__lll_trylock_elision): Fix setting of adapt_count.
20339         * sysdeps/unix/sysv/linux/powerpc/htm.h
20340         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
20341         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
20342         (_ABORT_SYSCALL): Renumber, and clarify definition.
20343         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
20345 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20347         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
20348         after system headers to prevent MIN/MAX redefinition.  Define
20349         HAVE_ALLOCA to preserve builtin alloca usage.
20351 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
20353         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
20354         static and don't set or restore rounding.
20355         (__cos)[IN_SINCOS]: Likewise.
20356         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
20357         (__sincos): Set and restore rounding mode.  Remove check for infinite
20358         or NaN input.
20360         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
20362         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
20363         as used.
20365 2015-11-16  Florian Weimer  <fweimer@redhat.com>
20367         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
20369 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
20371         * config.make.in (have-glob-dat-reloc): New.
20372         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
20373         target supports GLOB_DAT relocaton. AC_SUBST.
20374         * configure: Regenerated.
20375         * elf/Makefile (tests): Add tst-prelink.
20376         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
20377         (tst-prelink-ENV): New.
20378         ($(objpfx)tst-prelink-conflict.out): Likewise.
20379         ($(objpfx)tst-prelink-cmp.out): Likewise.
20380         * sysdeps/x86/tst-prelink.c: Moved to ...
20381         * elf/tst-prelink.c: Here.
20382         * sysdeps/x86/tst-prelink.exp: Moved to ...
20383         * elf/tst-prelink.exp: Here.
20384         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
20385         (tst-prelink-ENV): Removed.
20386         ($(objpfx)tst-prelink-conflict.out): Likewise.
20387         ($(objpfx)tst-prelink-cmp.out): Likewise.
20388         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
20390 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
20392         [BZ #14551]
20393         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
20394         (__mpn_construct_long_double): If high part overflows to infinity,
20395         set errno and recompute overflowed result of the correct sign.
20396         * sysdeps/ieee754/ldbl-128ibm/Makefile
20397         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
20398         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
20399         $(libm).
20400         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
20402 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
20404         [BZ #15479]
20405         [BZ #19238]
20406         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
20407         floating-point state after first operation on input.  Restore full
20408         state rather than just rounding mode.
20409         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20410         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20411         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20413         [BZ #19235]
20414         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
20415         add 0.5 to integer arguments.
20416         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
20417         Likewise.
20418         (.LC2): New object.
20420 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
20422         * scripts/pylintrc (reports): Set to no.
20424 2015-11-10  Roland McGrath  <roland@hack.frob.com>
20426         * elf/dl-load.c (open_verify): Take new argument FD.
20427         Skip __open call if passed FD is not -1.
20428         (_dl_map_object, open_path): Update callers.
20429         * elf/dl-sysdep-open.h: New file.
20430         * elf/dl-load.c: Include it.
20431         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
20432         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
20433         * sysdeps/nacl/dl-sysdep-open.h: New file.
20434         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
20435         from libc to rtld.
20437 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
20439         [BZ #19228]
20440         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
20441         and restore full floating-point state.
20442         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20443         Likewise.
20444         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20445         Likewise.
20446         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20447         Likewise.
20448         * math/test-nearbyint-except-2.c: New file.
20449         * math/Makefile (tests): Add test-nearbyint-except-2.
20451 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
20453         [BZ #19178]
20454         * sysdeps/x86/Makefile (tests): Add tst-prelink.
20455         (tst-prelink-ENV): New.
20456         ($(objpfx)tst-prelink-conflict.out): Likewise.
20457         ($(objpfx)tst-prelink-cmp.out): Likewise.
20458         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
20459         * sysdeps/x86/tst-prelink.c: New file.
20460         * sysdeps/x86/tst-prelink.exp: Likewise.
20462 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
20464         * math/auto-libm-test-in: Add another test of pow.
20465         * math/auto-libm-test-out: Regenerated.
20466         * math/libm-test.inc (pow_test_data): Add another test.
20468 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20470         [BZ #19219]
20471         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
20472         weak_alias to nearbyintl.
20474 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
20476         * sysdeps/aarch64/bits/string.h: New file.
20477         (_STRING_ARCH_unaligned): Define.
20479 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
20481         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
20482         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
20483         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
20484         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
20485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
20487 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
20489         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
20490         for original name of the DSO.  Add it to the name list of the DSO
20491         if it is actually given.
20492         (_dl_map_object): Keep track of whether an audit module rewrote
20493         the file name.  If yes, pass the original name to
20494         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
20495         debugging is enabled, log the change of the file name.
20496         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
20497         _dl_map_object_from_fd.
20498         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
20499         * elf/tst-audit11.c: New file
20500         * elf/tst-auditmod11.c: New file.
20501         * elf/tst-audit11mod1.c: New file.
20502         * elf/tst-audit11mod2.c: New file.
20503         * elf/tst-audit11mod2.map: New file.
20504         * elf/tst-audit12.c: New file
20505         * elf/tst-auditmod12.c: New file.
20506         * elf/tst-audit12mod1.c: New file.
20507         * elf/tst-audit12mod2.c: New file.
20508         * elf/tst-audit12mod2.map: New file.
20509         * elf/tst-audit12mod3.c: New file.
20511 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20513         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
20514         Don't create weak aliases,
20515         because versioned symbols are created later.
20516         * sysdeps/s390/s390-32/setjmp.S
20517         (setjmp, _setjmp): Remove weak and rename to an unique name
20518         in SHARED case due to existing versioned symbols.
20519         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20520         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
20521         (getcontext): Create weak alias only in non SHARED case.
20522         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20524 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20526         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
20527         (__ASSUME_*_SYSCALL) Define new macros.
20528         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
20529         Remove socketcall syscalls.
20530         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
20531         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
20532         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
20533         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
20534         * sysdeps/unix/sysv/linux/send.c (__libc_send):
20535         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
20537 2015-11-09  Florian Weimer  <fweimer@redhat.com>
20539         [BZ #12926]
20540         Terminate process on invalid netlink response.
20541         * sysdeps/unix/sysv/linux/netlinkaccess.h
20542         (__netlink_assert_response): Declare.
20543         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
20544         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
20545         (sysdep_routines): Add netlink_assert_response.
20546         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
20547         __netlink_assert_response.
20548         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
20549         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
20550         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
20551         __netlink_assert_response.
20553 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
20555         [BZ #19178]
20556         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
20557         (RTYPE_CLASS_PLT): Likewise.
20558         (RTYPE_CLASS_COPY): Likewise.
20559         (RTYPE_CLASS_TLS): Likewise.
20560         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
20561         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
20562         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
20563         DL_DEBUG_PRELINK.
20565 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
20567         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
20568         calls with argument -0.5.
20569         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
20571         * configure.ac (libc_cv_z_nodelete): Remove configure test.
20572         (libc_cv_z_nodlopen): Likewise.
20573         (libc_cv_z_initfirst): Likewise.
20574         * configure: Regenerated.
20576 2015-11-06  Florian Weimer  <fweimer@redhat.com>
20578         Simplify abilist format to be line-based.
20579         * scripts/abilist.awk: Collect descriptors in the descs variable.
20580         (emit): Write descs variable and sort it
20581         externally, with sort.
20582         * sysdeps/**/*.abilist: Convert to new format.
20584 2015-11-06  Mark Wielaard  <mjw@redhat.com>
20586         [BZ #11460]
20587         * io/Makefile (routines): Add fts64.
20588         (tests): Add tst-fts and tst-fts-lfs.
20589         (CFLAGS-fts64.c): New.
20590         * io/Versions (GLIBC_2.23): New.
20591         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
20592         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
20593         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
20594         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
20595         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
20596         (FTSENT64): Likewise.
20597         (fts64_children): Likewise.
20598         (fts64_close): Likewise.
20599         (fts64_open): Likewise.
20600         (fts64_read): Likewise.
20601         (fts64_set): Likewise.
20602         * io/fts64.c: New file.
20603         * io/tst-fts.c: New test.
20604         * io/tst-fts-lfs.c: Likewise.
20605         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
20606         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
20607         fts64_set.
20608         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20609         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20610         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20611         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20612         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20613         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20614         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20615         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20616         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20617         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20618         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20619         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20620         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20622         Likewise.
20623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20624         Likewise.
20625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20627         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20628         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20629         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20630         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20631         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20634         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20635         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20636         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20637         * sysdeps/wordsize-64/fts.c: New file.
20638         * sysdeps/wordsize-64/fts64.c: Likewise.
20639         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
20640         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
20641         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
20642         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
20644 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
20646         * math/libm-test.inc (NON_FINITE): New macro.
20647         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
20648         * math/gen-libm-test.pl (show_exceptions): Add argument
20649         $non_finite.
20650         (parse_args): Update call to show_exceptions.
20651         * math/test-math-finite.h: New file.
20652         * math/test-math-no-finite.h: Likewise.
20653         * math/test-double-finite.c: Likewise.
20654         * math/test-float-finite.c: Likewise.
20655         * math/test-ldouble-finite.c: Likewise.
20656         * math/test-double.c: Include "test-math-no-finite.h".
20657         * math/test-float.c: Include "test-math-no-finite.h".
20658         * math/test-ldouble.c: Include "test-math-no-finite.h".
20659         * math/test-math-inline.h (TEST_FINITE): New macro.
20660         * math/test-math-vector.h (TEST_FINITE): Likewise.
20661         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
20662         (libm-tests): Add test-float-finite and test-double-finite.
20663         ($(objpfx)test-float-finite.o): New dependency on
20664         $(objpfx)libm-test.stmp.
20665         ($(objpfx)test-double-finite.o): Likewise.
20666         ($(objpfx)test-ldouble-finite.o): Likewise.
20667         (libm-test-no-inline-cflags): New variable.
20668         (libm-test-finite-cflags): Likewise.
20669         (CFLAGS-test-float-finite.c): Likewise.
20670         (CFLAGS-test-double-finite.c): Likewise.
20671         (CFLAGS-test-ldouble-finite.c): Likewise.
20672         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
20673         (CFLAGS-test-double.c): Likewise.
20674         (CFLAGS-test-ldouble.c): Likewise.
20676 2015-11-05  Roland McGrath  <roland@hack.frob.com>
20678         * io/fcntl.c (__fcntl): Add ... to prototype.
20679         * misc/ioctl.c (__ioctl): Likewise.
20680         * misc/syscall.c (syscall): Likewise.
20682 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
20684         * scripts/list-fixed-bugs.py: New file.
20686         [BZ #19213]
20687         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
20688         returned for argument 1.
20689         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
20690         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
20691         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
20692         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
20693         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
20694         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
20696         [BZ #19211]
20697         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
20698         __USE_XOPEN], not if [!__USE_ISOC99].
20699         (lgammaf): Likewise.
20700         (lgammal): Likewise.
20701         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
20702         (gammaf): Likewise.
20703         (gammal): Likewise.
20704         * math/test-signgam-finite-c11.c: New file.
20705         * math/test-signgam-finite-c99.c: Likewise.
20706         * math/test-signgam-finite.c: Likewise.
20707         * math/Makefile (tests): Add test-signgam-finite,
20708         test-signgam-finite-c99 and test-signgam-finite-c11.
20709         (CFLAGS-test-signgam-finite.c): New variable.
20710         (CFLAGS-test-signgam-finite-c99.c): Likewise.
20711         (CFLAGS-test-signgam-finite-c11.c): Likewise.
20713         [BZ #19212]
20714         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
20715         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
20716         500].
20717         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
20718         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
20719         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
20720         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
20721         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
20722         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
20723         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
20724         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
20725         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
20726         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
20728         [BZ #19209]
20729         * math/bits/math-finite.h (ldexp): Remove declaration.
20730         (ldexpf): Likewise.
20731         (ldexpl): Likewise.
20733         [BZ #19205]
20734         * math/bits/math-finite.h (acosf): Condition declaration on
20735         [__USE_ISOC99].
20736         (acosl): Likewise.
20737         (acoshf): Likewise.
20738         (acoshl): Likewise.
20739         (asinf): Likewise.
20740         (asinl): Likewise.
20741         (atan2f): Likewise.
20742         (atan2l): Likewise.
20743         (atanhf): Likewise.
20744         (atanhl): Likewise.
20745         (coshf): Likewise.
20746         (coshl): Likewise.
20747         (expf): Likewise.
20748         (expl): Likewise.
20749         (fmodf): Likewise.
20750         (fmodl): Likewise.
20751         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
20752         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
20753         (j0l): Likewise.
20754         (y0f): Likewise.
20755         (y0l): Likewise.
20756         (j1f): Likewise.
20757         (j1l): Likewise.
20758         (y1f): Likewise.
20759         (y1l): Likewise.
20760         (jnf): Likewise.
20761         (jnl): Likewise.
20762         (ynf): Likewise.
20763         (ynl): Likewise.
20764         (lgammaf_r): Condition declaration on [__USE_ISOC99].
20765         (lgammal_r): Likewise.
20766         (__lgamma_r_finite): New declaration.
20767         (__lgammaf_r_finite): Likewise.
20768         (__lgammal_r_finite): Likewise.
20769         (lgamma): Use __lgamma_r_finite.
20770         (lgammaf): Condition definition on [__USE_ISOC99].  Use
20771         __lgammaf_r_finite.
20772         (lgammal): Condition definition on [__USE_ISOC99].  Use
20773         __lgammal_r_finite.
20774         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
20775         __lgamma_r_finite.
20776         (gammaf): Condition definition on [__USE_ISOC99].  Use
20777         __lgammaf_r_finite.
20778         (gammal): Condition definition on [__USE_ISOC99].  Use
20779         __lgammal_r_finite.
20780         (logf): Condition declaration on [__USE_ISOC99].
20781         (logl): Likewise.
20782         (log10f): Likewise.
20783         (log10l): Likewise.
20784         (ldexpf): Likewise.
20785         (ldexpl): Likewise.
20786         (powf): Likewise.
20787         (powl): Likewise.
20788         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
20789         __USE_ISOC99].
20790         (remainderf): Condition declaration on [__USE_ISOC99].
20791         (remainderl): Likewise.
20792         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
20793         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
20794         (scalbl): Likewise.
20795         (sinhf): Condition declaration on [__USE_ISOC99].
20796         (sinhl): Likewise.
20797         (sqrtf): Likewise.
20798         (sqrtl): Likewise.
20800 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
20802         * sysdeps/arm/atomic-machine.h
20803         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
20804         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
20805         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
20806         Remove conditional code.
20807         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
20808         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
20809         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
20810         Change conditional to [__ASSEMBLER__].
20811         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
20812         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
20813         [!__ASSEMBLER__].
20814         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
20815         code.
20816         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
20817         conditional macro definitions.
20818         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
20819         (__arch_compare_and_exchange_val_16_acq): Likewise.
20820         (__arch_compare_and_exchange_val_32_acq): Likewise.
20821         (atomic_exchange_and_add): Likewise.
20822         (atomic_add): Likewise.
20823         (atomic_add_negative): Likewise.
20824         (atomic_add_zero): Likewise.
20825         (atomic_bit_set): Likewise.
20826         (atomic_bit_test_set): Likewise.
20827         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
20828         code unconditional.
20829         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20831         * math/test-math-errno.h: New file.
20832         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
20833         empty.
20834         (TEST_ERRNO): New macro.
20835         (TEST_EXCEPTIONS): Likewise.
20836         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
20837         (TEST_EXCEPTIONS): Likewise.
20838         * math/test-math-vector.h (TEST_ERRNO): Likewise.
20839         * math/test-double.c: Include "test-math-errno.h".
20840         * math/test-float.c: Likewise.
20841         * math/test-ldouble.c: Likewise.
20842         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
20843         code unconditional.
20844         (test_exceptions): Only run code if TEST_EXCEPTIONS.
20845         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
20846         unconditional.
20847         (test_errno): Only run code if TEST_ERRNO.
20848         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
20850 2015-11-04  Florian Weimer  <fweimer@redhat.com>
20852         * nptl/tst-once5.cc: Remove attribution.
20854 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
20856         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
20857         sqrt, tan, tanh, y0, y1 and yn.
20858         * math/auto-libm-test-out: Regenerated.
20859         * math/libm-test.inc (scalb_test_data): Add more tests.
20860         (scalbn_test_data): Likewise.
20861         (scalbln_test_data): Likewise.
20862         (signbit_test_data): Likewise.
20863         (sin_test_data): Likewise.
20864         (sincos_test_data): Likewise.
20865         (sinh_test_data): Likewise.
20866         (sqrt_test_data): Likewise.
20867         (tan_test_data): Likewise.
20868         (tanh_test_data): Likewise.
20869         (tgamma_test_data): Likewise.
20870         (y0_test_data): Likewise.
20871         (y1_test_data): Likewise.
20872         (yn_test_data): Likewise.
20873         (significand_test_data): Likewise.
20874         * sysdeps/i386/fpu/libm-test-ulps: Update.
20876 2015-11-03  David Kastrup  <dak@gnu.org>
20878         [BZ #18604]
20879         * assert/assert.h (assert): Don't macro-expand failed assertion
20880         expression in error message.
20881         * malloc/malloc.c (assert): Likewise.
20883 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
20885         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
20886         test.
20887         * configure: Regenerated.
20889 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
20891         * math/libm-test.inc (modf_test_data): Add more tests.
20892         (nearbyint_test_data): Likewise.
20893         (nextafter_test_data): Likewise.
20894         (nexttoward_test_data): Likewise.
20895         (pow_test_data): Likewise.
20896         (remainder_test_data): Likewise.
20897         (remquo_test_data): Likewise.
20898         (rint_test_data): Likewise.
20900         [BZ #19201]
20901         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20902         Check for zero remainder in case of large exponents and ensure
20903         correct sign of result in that case.
20904         * math/libm-test.inc (remainder_test_data): Add more tests.
20906         [BZ #6799]
20907         * math/s_nextafter.c: Include <errno.h>.
20908         (__nextafter): Set errno on overflow and underflow.
20909         * math/s_nexttowardf.c: Include <errno.h>.
20910         (__nexttowardf): Set errno on overflow and underflow.
20911         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
20912         (__nextafterl): Set errno on overflow and underflow.
20913         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
20914         (__nexttoward): Set errno on overflow and underflow.
20915         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
20916         (__nexttowardf): Set errno on overflow and underflow.
20917         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
20918         (__nextafterf): Set errno on overflow and underflow.
20919         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
20920         (__nextafterl): Set errno on overflow and underflow.
20921         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
20922         (__nexttoward): Set errno on overflow and underflow.
20923         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
20924         (__nexttowardf): Set errno on overflow and underflow.
20925         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
20926         (__nextafterl): Set errno on overflow and underflow.
20927         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
20928         (__nexttoward): Set errno on overflow and underflow.
20929         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
20930         (__nexttowardf): Set errno on overflow and underflow.
20931         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
20932         (__nexttoward): Set errno on overflow and underflow.
20933         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
20934         (__nexttowardf): Set errno on overflow and underflow.
20935         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
20936         (__nldbl_nexttowardf): Set errno on overflow and underflow.
20937         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
20938         (__nextafterl): Set errno on overflow and underflow.
20939         * math/libm-test.inc (nextafter_test_data): Do not allow errno
20940         setting to be missing on overflow.  Add more tests.
20941         (nexttoward_test_data): Likewise.
20943         * configure.ac (libc_cv_initfini_array): Remove configure test.
20944         * configure: Regenerated.
20946 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
20948         [BZ #19189]
20949         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
20950         non-finite argument handle arguments with negative sign.
20952         * math/libm-test.inc (j0_test_data): Do not test sign of zero
20953         result from infinite argument.
20954         (j1_test_data): Likewise.
20955         (jn_test_data): Likewise.
20956         (y0_test_data): Likewise.
20957         (y1_test_data): Likewise.
20958         (yn_test_data): Likewise.
20960         [BZ #16171]
20961         * math/w_remainder.c (drem): Define as weak alias of __remainder.
20962         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
20963         * math/w_remainderf.c (dremf): Define as weak alias of
20964         __remainderf.
20965         * math/w_remainderl.c (dreml): Define as weak alias of
20966         __remainderl.
20967         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
20968         __remainder.
20969         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
20970         __remainderf.
20971         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
20972         __remainderl.
20973         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
20974         weak alias of remainderl.
20975         * sysdeps/ieee754/ldbl-opt/w_remainder.c
20976         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
20977         alias of __remainder.
20978         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
20979         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
20980         strong alias of __remainderl.
20981         (dreml): Use long_double_symbol.
20982         * math/Makefile (libm-calls): Remove w_drem.
20983         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
20984         (CFLAGS-nldbl-drem.c): Remove variable.
20985         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
20986         * math/w_drem.c: Remove file.
20987         * math/w_dremf.c: Likewise.
20988         * math/w_dreml.c: Likewise.
20989         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
20990         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
20991         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
20993         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
20994         * sysdeps/i386/configure: Regenerated.
20995         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
20996         * sysdeps/x86_64/configure: Regenerated.
20998         * configure.ac (libc_cv_asm_protected_directive): Remove configure
20999         test.
21000         (libc_cv_visibility_attribute): Likewise.
21001         (libc_cv_protected_data): Test unconditionally.
21002         (libc_cv_broken_visibility_attribute): Remove configure test.
21003         (libc_cv_have_sdata_section): Test unconditionally.
21004         * configure: Regenerated.
21006         * include/libc-internal.h (libc_max_align_t): Remove typedef.
21007         * include/scratch_buffer.h: Include <stddef.h> instead of
21008         <libc-internal.h>.
21009         (struct scratch_buffer): Use max_align_t instead of
21010         libc_max_align_t.
21012 2015-10-29  Florian Weimer  <fweimer@redhat.com>
21014         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
21015         instead of extend_alloca.  Change control flow to avoid a goto.
21016         Remove assert which is trivially always true.
21018 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21020         [BZ #16068]
21021         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
21022         (FE_ALL_EXCEPT_X86): New macro.
21023         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
21024         FE_ALL_EXCEPT.  Ensure precision control is included in
21025         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
21026         handle "denormal operand exception" and clear FZ and DAZ bits.
21027         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
21028         (FE_ALL_EXCEPT_X86): New macro.
21029         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
21030         FE_ALL_EXCEPT.  Ensure precision control is included in
21031         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
21032         handle "denormal operand exception" and clear FZ and DAZ bits.
21033         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
21034         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
21035         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21036         test-fenv-x87 and test-fenv-sse-2.
21037         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
21039         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
21040         * math/test-double.h (BUILD_COMPLEX): New macro.
21041         * math/test-float.h (BUILD_COMPLEX): Likewise.
21042         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
21044         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
21045         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
21046         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
21047         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
21048         instead of DBL_DENORM_MIN in comment.
21049         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
21050         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
21051         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
21052         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
21053         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
21054         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
21056 2015-10-28  Florian Weimer  <fweimer@redhat.com>
21058         [BZ #19048]
21059         * malloc/malloc.c (struct malloc_state): Update comment.  Add
21060         attached_threads member.
21061         (main_arena): Initialize attached_threads.
21062         * malloc/arena.c (list_lock): Update comment.
21063         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
21064         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
21065         (deattach_arena): New function.
21066         (_int_new_arena): Initialize arena reference count and deattach
21067         replaced arena.
21068         (get_free_list, reused_arena): Update reference count and deattach
21069         replaced arena.
21070         (arena_thread_freeres): Update arena reference count and only put
21071         unreferenced arenas on the free list.
21073 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21075         [BZ #19181]
21076         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
21077         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
21078         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
21079         * math/test-fenv-clear-main.c: New file.
21080         * math/test-fenv-clear.c: Likewise.
21081         * math/Makefile (tests): Add test-fenv-clear.
21082         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
21083         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21084         test-fenv-clear-sse.
21085         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
21087         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
21088         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
21089         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
21091 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21093         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
21094         static libc.
21096 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21098         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
21099         test.
21100         * sysdeps/i386/configure: Regenerated.
21101         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
21102         test.
21103         * sysdeps/x86_64/configure: Regenerated.
21104         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
21105         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21106         memset-avx2 unconditionally instead of conditionally on
21107         [$(config-cflags-avx2) = yes].
21108         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21109         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
21110         unconditional.
21111         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
21112         * sysdeps/x86_64/multiarch/memset_chk.S
21113         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
21114         to [IS_IN (libc) && SHARED].
21116 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21118         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
21119         configure test.
21120         * sysdeps/arm/configure: Regenerated.
21121         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
21122         Define variable if not already defined.
21124         [BZ #17404]
21125         * sysdeps/mips/atomic-machine.h
21126         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
21127         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
21128         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
21130         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
21131         unconditional.
21132         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
21133         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21134         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
21135         unconditional.
21136         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21137         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
21138         unconditional.
21139         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21140         * stdlib/setenv.c
21141         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
21142         code unconditional.
21143         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
21144         Remove conditional code.
21145         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
21146         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
21147         unconditional.
21148         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21149         code.
21150         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
21151         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
21152         unconditional.
21153         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21154         code.
21155         * sysdeps/ieee754/ldbl-128/k_tanl.c
21156         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21157         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21158         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
21159         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21160         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21161         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
21162         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
21163         unconditional.
21164         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21165         code.
21166         * sysdeps/ieee754/ldbl-96/k_tanl.c
21167         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21168         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21170         * nptl/tst-initializers1-c11.c: New file.
21171         * nptl/tst-initializers1-gnu11.c: Likewise.
21172         * nptl/Makefile (tests): Add these new tests.
21173         (CFLAGS-tst-initializers1-c11.c): New variable.
21174         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21176         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
21177         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
21178         instead of -std=gnu99.
21179         * configure.ac (systemtap): Test with -std=gnu11 instead of
21180         -std=gnu99.
21181         * configure: Regenerated.
21182         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
21183         in compilation command in comment.
21185         * sysdeps/nptl/configure.ac: Remove file.
21186         * sysdeps/nptl/configure: Remove generated file.
21187         * configure.ac (libc_cv_forced_unwind): Do not substitute.
21188         * configure: Regenerated.
21189         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
21190         * config.make.in (have-forced-unwind): Remove variable.
21191         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
21192         unconditional.
21193         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
21194         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
21195         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
21196         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
21197         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
21198         unconditional.
21200 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21202         [BZ #19174]
21203         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
21204         .skip_lock_out_of_tbegin_retries.
21205         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21206         (__lll_lock_elision): Likewise, and respect a value of
21207         try_tbegin <= 0.
21209 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21211         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
21212         statement.
21214 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21216         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
21217         variable.
21218         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21219         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21221         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
21222         of -std=c1x -D_ISOC11_SOURCE.
21224         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
21225         * configure: Regenerated.
21226         * manual/install.texi (Tools for Compilation): Document
21227         requirement for GCC 4.7 or later.
21228         * INSTALL: Regenerated.
21230 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
21232         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
21233         on CNT to a conditional jump to 'puntdata'.
21235 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21237         * configure.ac (libc_cv_gcc___thread): Remove configure test.
21238         (libc_cv_gcc_tls_model_attr): Likewise.
21239         * configure: Regenerated.
21241         * configure.ac (libc_cv_need_minus_P): Remove configure test.
21242         * configure: Regenerated.
21243         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
21245 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
21247         * configure.ac (old_glibc_headers): Remove configure test.
21248         * configure: Regenerated.
21249         * config.make.in (old-glibc-headers): Remove variable.
21250         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
21251         (install): Remove dependency on remove-old-headers.
21252         (headers2_0): Remove variable.
21253         (remove-old-headers): Remove rule.
21255         * configure.ac (libc_cv_dot_text): Remove configure test.
21256         (libc_cv_asm_set_directive): Use .text instead of
21257         ${libc_cv_dot_text} in configure test.
21258         * configure: Regenerated.
21260 2015-10-26  Florian Weimer  <fweimer@redhat.com>
21262         [BZ #19168]
21263         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21265 2015-10-26  Florian Weimer  <fweimer@redhat.com>
21267         * configure.ac (CXX): Clear the variable if the C++ toolchain does
21268         not support static linking.
21269         * configure: Regenerate.
21271 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
21273         * math/libm-test.inc (check_float_internal): Do not special-case
21274         errors up to 0.5 ulp.
21276         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
21277         log2.
21278         * math/auto-libm-test-out: Regenerated.
21279         * math/libm-test.inc (MAX_EXP): New macro.
21280         (ilogb_test_data): Add more tests.
21281         (isfinite_test_data): Likewise.
21282         (isgreater_test_data): Likewise.
21283         (isgreaterequal_test_data): Likewise.
21284         (isinf_test_data): Likewise.
21285         (isless_test_data): Likewise.
21286         (islessequal_test_data): Likewise.
21287         (islessgreater_test_data): Likewise.
21288         (isnan_test_data): Likewise.
21289         (isnormal_test_data): Likewise.
21290         (issignaling_test_data): Likewise.
21291         (isunordered_test_data): Likewise.
21292         (j0_test_data): Likewise.
21293         (j1_test_data): Likewise.
21294         (jn_test_data): Likewise.
21295         (lgamma_test_data): Likewise.
21296         (log_test_data): Likewise.
21297         (log10_test_data): Likewise.
21298         (log1p_test_data): Likewise.
21299         (log2_test_data): Likewise.
21300         (logb_test_data): Likewise.
21301         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21303         [BZ #18611]
21304         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
21305         avoid excess range and precision on underflow.
21306         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21307         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
21308         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21309         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
21310         underflow.
21311         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21312         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21313         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21314         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21315         * math/auto-libm-test-in: Do not allow missing errno setting for
21316         tests of j1 and jn.
21317         * math/auto-libm-test-out: Regenerated.
21319 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
21321         [BZ #15491]
21322         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
21323         floating-point environment instead of clearing all exceptions.
21324         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
21325         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
21326         merging in "invalid" exceptions from frndint.
21327         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
21328         * math/test-nearbyint-except.c: New file.
21329         * math/Makefile (tests): Add test-nearbyint-except.
21331 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
21333         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
21335         * sysdeps/tile/libm-test-ulps: Regenerated.
21337 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
21340         (__NR_sync_file_range2): Assume it is always defined.
21341         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
21342         (__NR_sync_file_range): Assume it is always defined.
21344 2015-10-22  Andreas Schwab  <schwab@suse.de>
21346         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
21347         INTERNAL_SYSCALL_ERRNO.
21348         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21349         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
21350         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21351         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
21352         Likewise.
21353         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21355 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21357         * io/tst-fcntl.c (fd): New static variable.
21358         (do_prepare): Open temporary file here....
21359         (do_test): ...not here.
21361         * io/ftwtest-sh: Also trap on exit to remove temporary files.
21363 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
21365         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
21366         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
21367         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
21368         Moved before "#ifdef __ASSEMBLER__".
21370 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21372         [BZ #19156]
21373         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
21374         arguments very close to 0.
21376 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
21378         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
21379         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
21381 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
21383         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
21384         New.  Defined for GCC 5 and above when not compiling for
21385         profiling.
21386         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
21388         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
21389         Renamed to ...
21390         (CFLAGS-epoll_pwait.o): This.
21391         (CFLAGS-mmap.c): Renamed to ...
21392         (CFLAGS-mmap.o): This.
21393         (CFLAGS-mmap64.c): Renamed to ...
21394         (CFLAGS-mmap64.o): This.
21395         (CFLAGS-epoll_pwait.os): New.
21396         (CFLAGS-mmap.os): Likewise.
21397         (CFLAGS-mmap64.os): Likewise.
21398         (CFLAGS-semtimedop.os): Likewise.
21399         (CFLAGS-semtimedop.c): Renamed to ...
21400         (CFLAGS-semtimedop.o): This.
21402 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21404         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
21405         warning message.
21407 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21409         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
21410         * Makefile ($(objpfx)c++-types-check.out): Filter out
21411         $(+gccwarn-c) instead of -Wstrict-prototypes.
21413         * io/fts.c (fts_open): Convert to prototype-style function
21414         definition.
21415         * malloc/mcheck.c (mcheck): Likewise.
21416         (mcheck_pedantic): Likewise.
21417         * posix/regexec.c (re_search_2_stub): Likewise.  Use
21418         internal_function.
21419         (re_search_internal): Likewise.
21420         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
21421         prototype-style function definition.
21422         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21423         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
21424         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
21425         (xdr_utmpptr): Likewise.
21426         (xdr_utmparr): Likewise.
21427         (xdr_utmpidle): Likewise.
21428         (xdr_utmpidleptr): Likewise.
21429         (xdr_utmpidlearr): Likewise.
21431         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
21432         log, log10 and log2.
21433         * math/auto-libm-test-out: Regenerated.
21434         * math/libm-test.inc (fmod_test_data): Add more tests.
21435         (fpclassify_test_data): Likewise.
21436         (frexp_test_data): Likewise.
21437         (hypot_test_data): Likewise.
21438         (ilogb_test_data): Likewise.
21440 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
21442         * debug/fortify_fail.c (__fortify_fail): Convert to
21443         prototype-style function definition.  Use internal_function.
21444         * libio/genops.c (save_for_backup): Convert to prototype-style
21445         function definition.
21446         * libio/wgenops.c (save_for_wbackup): Likewise.
21447         * login/grantpt.c (grantpt): Likewise.
21448         * login/ptsname.c (ptsname): Likewise.
21449         (__ptsname_r): Likewise.
21450         * login/unlockpt.c (unlockpt): Likewise.
21451         * mach/msgserver.c (__mach_msg_server): Likewise.
21452         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
21453         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
21454         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
21455         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
21456         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
21457         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
21458         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
21459         Likewise.
21460         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
21461         internal_function.
21462         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
21463         prototype-style function definition.
21464         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
21465         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
21466         (__pthread_create_2_0): Likewise.
21467         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
21468         * nptl/register-atfork.c (__register_atfork): Likewise.
21469         * posix/glob.c (glob): Likewise.
21470         * posix/regcomp.c (re_comp): Likewise.
21471         * posix/regexec.c (re_exec): Likewise.
21472         * stdlib/add_n.c [__STDC__]: Make code unconditional.
21473         [!__STDC__]: Remove conditional code.
21474         * stdlib/cmp.c [__STDC__]: Make code unconditional.
21475         [!__STDC__]: Remove conditional code.
21476         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
21477         [!__STDC__]: Remove conditional code.
21478         * stdlib/divrem.c [__STDC__]: Make code unconditional.
21479         [!__STDC__]: Remove conditional code.
21480         * stdlib/lshift.c [__STDC__]: Make code unconditional.
21481         [!__STDC__]: Remove conditional code.
21482         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
21483         [!__STDC__]: Remove conditional code.
21484         * stdlib/mul.c [__STDC__]: Make code unconditional.
21485         [!__STDC__]: Remove conditional code.
21486         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
21487         [!__STDC__]: Remove conditional code.
21488         * stdlib/rshift.c [__STDC__]: Make code unconditional.
21489         [!__STDC__]: Remove conditional code.
21490         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
21491         function definition.
21492         (STRTOF): Likewise.
21493         * stdlib/strtod_l.c (__STRTOF): Likewise.
21494         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
21495         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
21496         (__strtol_l): Likewise.
21497         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
21498         [!__STDC__]: Remove conditional code.
21499         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
21500         definition.
21501         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
21502         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21503         type.
21504         (__strcasecmp): Convert to prototype-style function definition.
21505         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
21506         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21507         type.
21508         (__strncasecmp): Convert to prototype-style function definition.
21509         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
21510         * sunrpc/xdr.c (xdr_union): Likewise.
21511         * sunrpc/xdr_array.c (xdr_array): Likewise.
21512         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
21513         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
21514         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
21515         Likewise.
21516         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
21517         Likewise.
21518         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
21519         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21520         Likewise.
21521         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
21522         (LOCALE_PARAM_PROTO): Likewise.
21523         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
21524         argument type.
21525         (ut_argument_spec): Remove macro.
21526         (ut_argument_spec_iso): Rename to ut_argument_spec.
21527         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
21528         prototype-style function definition.
21529         (memcpy_uppcase): Likewise.
21530         (__strftime_internal): Likewise.
21531         (my_strftime): Likewise.
21532         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
21533         (LOCALE_PARAM_DECL): Likewise.
21534         [_LIBC] (LOCALE_PARAM): Include argument type.
21535         (__strptime_internal): Convert to prototype-style function
21536         definition.
21537         (strptime): Likewise.
21538         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
21539         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21540         type.
21541         (__wcscasecmp): Convert to prototype-style function definition.
21542         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
21543         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21544         type.
21545         (__wcsncasecmp): Convert to prototype-style function definition.
21547         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
21548         function definition.
21549         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21550         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21551         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
21552         * elf/dl-minimal.c (_itoa): Likewise.
21553         * hurd/hurdmalloc.c (malloc): Likewise.
21554         (free): Likewise.
21555         (realloc): Likewise.
21556         * inet/inet6_option.c (inet6_option_space): Likewise.
21557         (inet6_option_init): Likewise.
21558         (inet6_option_append): Likewise.
21559         (inet6_option_alloc): Likewise.
21560         (inet6_option_next): Likewise.
21561         (inet6_option_find): Likewise.
21562         * io/ftw.c (FTW_NAME): Likewise.
21563         (NFTW_NAME): Likewise.
21564         (NFTW_NEW_NAME): Likewise.
21565         (NFTW_OLD_NAME): Likewise.
21566         * libio/iofwide.c (_IO_fwide): Likewise.
21567         * libio/strops.c (_IO_str_init_static_internal): Likewise.
21568         (_IO_str_init_static): Likewise.
21569         (_IO_str_init_readonly): Likewise.
21570         (_IO_str_overflow): Likewise.
21571         (_IO_str_underflow): Likewise.
21572         (_IO_str_count): Likewise.
21573         (_IO_str_seekoff): Likewise.
21574         (_IO_str_pbackfail): Likewise.
21575         (_IO_str_finish): Likewise.
21576         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
21577         (_IO_wstr_overflow): Likewise.
21578         (_IO_wstr_underflow): Likewise.
21579         (_IO_wstr_count): Likewise.
21580         (_IO_wstr_seekoff): Likewise.
21581         (_IO_wstr_pbackfail): Likewise.
21582         (_IO_wstr_finish): Likewise.
21583         * locale/programs/localedef.c (normalize_codeset): Likewise.
21584         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21585         (add_locales_to_archive): Likewise.
21586         (delete_locales_from_archive): Likewise.
21587         * malloc/malloc.c (__libc_mallinfo): Likewise.
21588         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
21589         * misc/tsearch.c (__tfind): Likewise.
21590         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
21591         * nptl/pthread_attr_getdetachstate.c
21592         (__pthread_attr_getdetachstate): Likewise.
21593         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
21594         Likewise.
21595         * nptl/pthread_attr_getinheritsched.c
21596         (__pthread_attr_getinheritsched): Likewise.
21597         * nptl/pthread_attr_getschedparam.c
21598         (__pthread_attr_getschedparam): Likewise.
21599         * nptl/pthread_attr_getschedpolicy.c
21600         (__pthread_attr_getschedpolicy): Likewise.
21601         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
21602         Likewise.
21603         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
21604         Likewise.
21605         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
21606         Likewise.
21607         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
21608         Likewise.
21609         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
21610         (__pthread_attr_init_2_0): Likewise.
21611         * nptl/pthread_attr_setdetachstate.c
21612         (__pthread_attr_setdetachstate): Likewise.
21613         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
21614         Likewise.
21615         * nptl/pthread_attr_setinheritsched.c
21616         (__pthread_attr_setinheritsched): Likewise.
21617         * nptl/pthread_attr_setschedparam.c
21618         (__pthread_attr_setschedparam): Likewise.
21619         * nptl/pthread_attr_setschedpolicy.c
21620         (__pthread_attr_setschedpolicy): Likewise.
21621         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
21622         Likewise.
21623         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
21624         Likewise.
21625         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
21626         Likewise.
21627         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
21628         Likewise.
21629         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
21630         Likewise.
21631         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
21632         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
21633         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
21634         use internal_function.
21635         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
21636         prototype-style function definition.
21637         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
21638         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
21639         internal_function.
21640         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
21641         Convert to prototype-style function definition.
21642         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
21643         Likewise.
21644         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
21645         Likewise.
21646         (__pthread_mutex_unlock): Likewise.
21647         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
21648         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
21649         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
21650         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
21651         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
21652         * nss/makedb.c (process_input): Likewise.
21653         * posix/fnmatch.c (__strchrnul): Likewise.
21654         (__wcschrnul): Likewise.
21655         (fnmatch): Likewise.
21656         * posix/fnmatch_loop.c (FCT): Likewise.
21657         * posix/glob.c (globfree): Likewise.
21658         (__glob_pattern_type): Likewise.
21659         (__glob_pattern_p): Likewise.
21660         * posix/regcomp.c (re_compile_pattern): Likewise.
21661         (re_set_syntax): Likewise.
21662         (re_compile_fastmap): Likewise.
21663         (regcomp): Likewise.
21664         (regerror): Likewise.
21665         (regfree): Likewise.
21666         * posix/regexec.c (regexec): Likewise.
21667         (re_match): Likewise.
21668         (re_search): Likewise.
21669         (re_match_2): Likewise.
21670         (re_search_2): Likewise.
21671         (re_search_stub): Likewise.  Use internal_function
21672         (re_copy_regs): Likewise.
21673         (re_set_registers): Convert to prototype-style function
21674         definition.
21675         (prune_impossible_nodes): Likewise.  Use internal_function.
21676         * resolv/inet_net_pton.c (inet_net_pton): Convert to
21677         prototype-style function definition.
21678         (inet_net_pton_ipv4): Likewise.
21679         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21680         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
21681         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
21682         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
21683         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21684         Make variadic.
21685         * time/strptime_l.c (localtime_r): Convert to prototype-style
21686         function definition.
21687         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
21688         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
21689         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
21690         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
21692         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
21693         definition.
21694         (_ufc_doit_r): Likewise.
21695         * crypt/crypt_util.c (_ufc_copymem): Likewise.
21696         (_ufc_output_conversion_r): Likewise.
21697         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
21698         * inet/rcmd.c (rcmd_af): Likewise.
21699         (rcmd): Likewise.
21700         (ruserok_af): Likewise.
21701         (ruserok): Likewise.
21702         (ruserok2_sa): Likewise.
21703         (ruserok_sa): Likewise.
21704         (iruserok_af): Likewise.
21705         (iruserok): Likewise.
21706         (__ivaliduser): Likewise.
21707         (__validuser2_sa): Likewise.
21708         * inet/rexec.c (rexec_af): Likewise.
21709         (rexec): Likewise.
21710         * inet/ruserpass.c (ruserpass): Likewise.
21711         * locale/programs/xmalloc.c (xcalloc): Likewise.
21712         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
21713         * math/w_drem.c (__drem): Likewise.
21714         * math/w_dremf.c (__dremf): Likewise.
21715         * math/w_dreml.c (__dreml): Likewise.
21716         * misc/daemon.c (daemon): Likewise.
21717         * resolv/res_debug.c (p_fqnname): Likewise.
21718         * stdlib/div.c (div): Likewise.
21719         * string/memcmp.c (memcmp_bytes): Likewise.
21720         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
21721         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
21723         * crypt/cert.c (main): Convert to prototype-style function
21724         definition.
21725         * io/pipe.c (__pipe): Likewise.
21726         * io/pipe2.c (__pipe2): Likewise.
21727         * misc/futimesat.c (futimesat): Likewise.
21728         * misc/utimes.c (__utimes): Likewise.
21729         * posix/execve.c (__execve): Likewise.
21730         * posix/execvp.c (execvp): Likewise.
21731         * posix/execvpe.c (__execvpe): Likewise.
21732         * posix/fexecve.c (fexecve): Likewise.
21733         * socket/socketpair.c (socketpair): Likewise.
21734         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21735         * stdlib/erand48.c (erand48): Likewise.
21736         * stdlib/erand48_r.c (__erand48_r): Likewise.
21737         * stdlib/jrand48.c (jrand48): Likewise.
21738         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
21739         * stdlib/lcong48.c (lcong48): Likewise.
21740         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
21741         * stdlib/nrand48.c (nrand48): Likewise.
21742         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
21743         * stdlib/seed48.c (seed48): Likewise.
21744         * stdlib/seed48_r.c (__seed48_r): Likewise.
21745         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
21746         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
21747         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
21749 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
21751         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
21752         * configure: Regenerated.
21753         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
21754         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
21755         unconditional.
21756         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21757         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21758         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21759         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
21760         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
21761         unconditional.
21762         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21764         * posix/Makefile (CFLAGS-regex.c): Remove variable.
21765         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
21767         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
21768         function definition.
21769         * crypt/crypt_util.c (__encrypt_r): Likewise.
21770         * libio/genops.c (_IO_no_init): Likewise.
21771         * libio/iofopncook.c (_IO_fopencookie): Likewise.
21772         (_IO_old_fopencookie): Likewise.
21773         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21774         * libio/iogetline.c (_IO_getline): Likewise.
21775         (_IO_getline_info): Likewise.
21776         * libio/iogetwline.c (_IO_getwline): Likewise.
21777         (_IO_getwline_info): Likewise.
21778         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
21779         * libio/vswprintf.c (_IO_vswprintf): Likewise.
21780         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
21781         (find_entry): Likewise.
21782         (iterate_table): Likewise.
21783         (lookup): Likewise.
21784         * login/forkpty.c (forkpty): Likewise.
21785         * misc/hsearch_r.c (__hsearch_r): Likewise.
21786         * misc/select.c (__select): Likewise.
21787         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
21788         Likewise.
21789         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
21790         Likewise.
21791         * nptl/old_pthread_cond_timedwait.c
21792         (__pthread_cond_timedwait_2_0): Likewise.
21793         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
21794         * nptl/pthread_barrierattr_getpshared.c
21795         (pthread_barrierattr_getpshared): Likewise.
21796         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
21797         Likewise.
21798         * nptl/pthread_mutex_setprioceiling.c
21799         (pthread_mutex_setprioceiling): Likewise.
21800         * nptl/pthread_mutexattr_getprioceiling.c
21801         (pthread_mutexattr_getprioceiling): Likewise.
21802         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
21803         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21804         Likewise.
21805         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21806         Likewise.
21807         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
21808         Likewise.
21809         * socket/recvfrom.c (__recvfrom): Likewise.
21810         * socket/sendto.c (__sendto): Likewise.
21811         * socket/setsockopt.c (__setsockopt): Likewise.
21812         * stdio-common/_itoa.c (_itoa): Likewise.
21813         * stdio-common/_itowa.c (_itowa): Likewise.
21814         * stdio-common/reg-printf.c (__register_printf_specifier):
21815         Likewise.
21816         (__register_printf_function): Likewise.
21817         * stdio-common/tempname.c (__path_search): Likewise.
21818         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
21819         * stdlib/mul_1.c (mpn_mul_1): Likewise.
21820         * stdlib/random_r.c (__initstate_r): Likewise.
21821         * stdlib/setenv.c (__add_to_environ): Likewise.
21822         * stdlib/submul_1.c (mpn_submul_1): Likewise.
21823         * streams/getpmsg.c (getpmsg): Likewise.
21824         * streams/putmsg.c (putmsg): Likewise.
21825         * streams/putpmsg.c (putpmsg): Likewise.
21826         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
21827         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
21828         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
21829         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
21830         * sunrpc/pm_getport.c (pmap_getport): Likewise.
21831         * sunrpc/svc_udp.c (cache_get): Likewise.
21832         * sunrpc/xdr_array.c (xdr_vector): Likewise.
21833         * sysdeps/mach/hurd/getcwd.c
21834         (__canonicalize_directory_name_internal): Likewise.
21835         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
21836         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
21837         * sysdeps/mach/hurd/select.c (__select): Likewise.
21838         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
21839         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
21840         * sysdeps/sparc/nptl/pthread_barrier_init.c
21841         (__pthread_barrier_init): Likewise.
21842         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
21843         (__pthread_cond_timedwait): Likewise.
21844         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
21845         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
21846         Likewise.
21847         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
21848         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
21849         Likewise.
21850         * sysvipc/semtimedop.c (semtimedop): Likewise.
21851         * time/setitimer.c (__setitimer): Likewise.
21852         * time/strftime_l.c (emacs_strftime): Likewise.
21854 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
21856         * config.make.in (have-ssp): Delete.
21857         (stack-protector): New variable.
21858         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
21859         cache test for -fstack-protector-strong.  Export stack_protector to
21860         the best ssp flag.
21861         * configure: Regenerated.
21862         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
21863         * nscd/Makefile (CFLAGS-nscd): Likewise.
21864         * resolv/Makefile (CFLAGS-libresolv): Likewise.
21866 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
21868         [BZ #19122]
21869         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
21870         attribute_hidden.
21872 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21874         [BZ #18743]
21875         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
21876         code to...
21877         (ELIDE_LOCK): ...here.
21878         (__get_new_count): New function with part of the code from
21879         __elide_lock that updates the value of adapt_count after a
21880         transaction abort.
21881         (__elided_trylock): Moved this code to...
21882         (ELIDE_TRYLOCK): ...here.
21884 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
21886         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
21887         * configure: Regenerate.
21888         * INSTALL: Regenerate.
21889         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
21890         and tweak grammar.
21892 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
21894         * login/programs/pt_chown.c: Include signal.h
21895         (main): Clear any signal mask from the parent process.
21897 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
21899         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
21900         * configure: Regenerated.
21901         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
21902         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
21903         $(gnu89-inline-CFLAGS).
21905         * configure.ac (libc_cv_asm_weak_directive): Remove configure
21906         test.
21907         (libc_cv_asm_weakext_directive): Likewise.
21908         * configure: Regenerated.
21909         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
21910         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
21911         * include/libc-symbols.h
21912         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
21913         #error.
21914         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
21915         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
21917         * sysdeps/arm/backtrace.c (__backtrace): Convert to
21918         prototype-style function definition.
21919         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
21920         * sysdeps/i386/ffs.c (__ffs): Likewise.
21921         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21922         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
21923         Likewise.
21924         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
21925         Likewise.
21926         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
21927         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
21928         Likewise.
21929         * sysdeps/m68k/ffs.c (__ffs): Likewise.
21930         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
21931         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
21932         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
21933         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
21934         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
21935         * sysdeps/mach/hurd/access.c (__access): Likewise.
21936         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
21937         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
21938         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
21939         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
21940         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
21941         (cthread_getspecific): Likewise.
21942         (cthread_setspecific): Likewise.
21943         (__libc_getspecific): Likewise.
21944         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
21945         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
21946         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
21947         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
21948         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
21949         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
21950         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
21951         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
21952         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
21953         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
21954         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
21955         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
21956         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
21957         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
21958         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
21959         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
21960         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
21961         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
21962         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
21963         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
21964         * sysdeps/mach/hurd/link.c (__link): Likewise.
21965         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
21966         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
21967         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
21968         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
21969         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
21970         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
21971         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
21972         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
21973         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
21974         * sysdeps/mach/hurd/rename.c (rename): Likewise.
21975         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
21976         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
21977         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
21978         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
21979         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
21980         * sysdeps/mach/hurd/send.c (__send): Likewise.
21981         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
21982         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
21983         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
21984         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
21985         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
21986         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
21987         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
21988         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
21989         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
21990         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
21991         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
21992         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
21993         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
21994         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
21995         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
21996         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
21997         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
21998         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
21999         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
22000         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
22001         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
22002         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
22003         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
22004         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
22005         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
22006         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
22007         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
22008         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
22009         * sysdeps/posix/alarm.c (alarm): Likewise.
22010         * sysdeps/posix/cuserid.c (cuserid): Likewise.
22011         * sysdeps/posix/dirfd.c (dirfd): Likewise.
22012         * sysdeps/posix/dup.c (__dup): Likewise.
22013         * sysdeps/posix/dup2.c (__dup2): Likewise.
22014         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
22015         (main): Likewise.
22016         * sysdeps/posix/flock.c (__flock): Likewise.
22017         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
22018         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
22019         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
22020         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
22021         * sysdeps/posix/isatty.c (__isatty): Likewise.
22022         * sysdeps/posix/killpg.c (killpg): Likewise.
22023         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22024         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
22025         * sysdeps/posix/raise.c (raise): Likewise.
22026         * sysdeps/posix/remove.c (remove): Likewise.
22027         * sysdeps/posix/rename.c (rename): Likewise.
22028         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
22029         * sysdeps/posix/seekdir.c (seekdir): Likewise.
22030         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
22031         * sysdeps/posix/sigignore.c (sigignore): Likewise.
22032         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
22033         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
22034         * sysdeps/posix/sigset.c (sigset): Likewise.
22035         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
22036         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
22037         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
22038         * sysdeps/posix/time.c (time): Likewise.
22039         * sysdeps/posix/ttyname.c (getttyname): Likewise.
22040         (ttyname): Likewise.
22041         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
22042         * sysdeps/posix/utime.c (utime): Likewise.
22043         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
22044         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
22045         Likewise.
22046         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
22047         (pthread_spin_trylock): Likewise.
22048         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
22049         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
22050         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
22051         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
22052         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
22053         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
22054         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
22055         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
22056         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
22057         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
22058         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
22059         * sysdeps/s390/ffs.c (__ffs): Likewise.
22060         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
22061         Likewise.
22062         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22063         Likewise.
22064         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
22065         Likewise.
22066         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
22067         (pthread_barrier_destroy): Likewise.
22068         * sysdeps/sparc/nptl/pthread_barrier_wait.c
22069         (__pthread_barrier_wait): Likewise.
22070         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
22071         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
22072         (__pthread_barrier_wait): Likewise.
22073         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
22074         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
22075         (memcmp_not_common_alignment): Likewise.
22076         (MEMCMP): Likewise.
22077         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
22078         (_wordcopy_fwd_dest_aligned): Likewise.
22079         (_wordcopy_bwd_aligned): Likewise.
22080         (_wordcopy_bwd_dest_aligned): Likewise.
22081         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
22082         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
22083         * sysdeps/unix/bsd/stty.c (stty): Likewise.
22084         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
22085         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
22086         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
22087         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
22088         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
22089         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
22090         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
22091         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
22092         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22093         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
22094         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
22095         * sysdeps/unix/stime.c (stime): Likewise.
22096         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
22097         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
22098         Likewise.  Use internal_function.
22099         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
22100         Convert to prototype-style function definition.
22101         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22102         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22103         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
22104         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22105         Likewise.  Use internal_function.
22106         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
22107         prototype-style function definition
22108         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22109         Likewise.
22110         (__getlogin_r): Likewise.
22111         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
22112         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
22113         (__pthread_cond_broadcast): Likewise.
22114         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
22115         (__pthread_cond_destroy): Likewise.
22116         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
22117         (__pthread_cond_init): Likewise.
22118         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
22119         (__pthread_cond_signal): Likewise.
22120         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
22121         (__pthread_cond_wait): Likewise.
22122         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
22123         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
22124         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
22125         Likewise.
22126         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
22127         Likewise.
22128         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
22129         Likewise.
22130         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
22131         Likewise.
22132         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
22133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
22134         (__ftruncate64): Likewise.
22135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
22136         (truncate64): Likewise.
22137         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
22138         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
22139         (pthread_getcpuclockid): Likewise.
22140         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
22141         Likewise.
22142         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
22143         Likewise.
22144         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
22145         Likewise.
22146         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
22147         Likewise.
22148         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
22149         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
22150         (__libc_sigaction): Likewise.
22151         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
22152         Likewise.
22153         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
22154         (__sigprocmask): Likewise.
22155         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
22156         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
22157         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
22158         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
22159         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22160         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
22161         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22162         Likewise.
22163         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
22164         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
22165         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22166         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
22167         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
22168         Likewise.
22169         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
22170         (__sigprocmask): Likewise.
22171         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
22172         (cfgetispeed): Likewise.
22173         (cfsetospeed): Likewise.
22174         (cfsetispeed): Likewise.
22175         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
22176         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
22177         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22178         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
22179         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
22180         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
22181         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
22182         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
22183         Likewise.
22184         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
22185         Likewise.
22186         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
22187         Likewise.
22188         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
22189         Likewise.
22190         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22192 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22194         sunrpc: Rewrite with explicit TLS access using __thread.
22195         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
22196         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
22197         directly.
22198         (__rpc_thread_variables): Access thread_rpc_vars directly.
22199         Eliminate redundant assignment of the tvp variable.
22201 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22203         malloc: Rewrite with explicit TLS access using __thread.
22204         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
22205         (tsd_setspecific, tsd_getspecific): Remove.
22206         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
22207         (tsd_setspecific, tsd_getspecific): Likewise.
22208         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
22209         (tsd_setspecific, tsd_getspecific): Likewise.
22210         * malloc/arena.c (thread_arena): New TLS variable.
22211         (arena_key): Remove variable.
22212         (arena_get): Use thread_arena.
22213         (arena_lookup): Remove macro.
22214         (malloc_atfork, free_atfork, ptmalloc_lock_all)
22215         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
22216         (_int_new_arena, get_free_list, reused_arena)
22217         (arena_thread_freeres): Use thread_arena.
22218         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
22219         tsd_getspecific, tsd_setspecific from safety annotations.
22220         (Allocating Cleared Space): Remove arena_lookup from safety
22221         annotations.
22223 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22225         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
22226         struct scratch_buffer instead of extend_alloca.
22228 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22230         * sysdeps/unix/sysv/linux/kernel-features.h
22231         (__ASSUME_SOCK_CLOEXEC): Remove.
22232         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
22233         (__have_paccept): Remove unused macro.
22234         * include/unistd.h (__have_sock_cloexec): Remove declaration.
22235         * misc/syslog.c (openlog_internal): Remove fallback code for
22236         !__ASSUME_SOCK_CLOEXEC.
22237         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
22238         missing SOCK_CLOEXEC.
22239         * nscd/connections.c (have_sock_cloexec): Remove definition.
22240         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
22241         * nscd/nscd_helper.c (open_socket): Remove fallback code for
22242         !__ASSUME_SOCK_CLOEXEC.
22243         * resolv/res_send.c (__have_o_nonblock): Remove definition.
22244         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
22245         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
22246         definition.
22247         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
22248         code for !__ASSUME_SOCK_CLOEXEC.
22250 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22252         [BZ #18982]
22253         * manual/stdio.texi (Variable Arguments Output): Add portability
22254         note, explaining that vfprintf clobbers the va_list pointer.
22256 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
22258         * math/libm-test.inc (fabs_test_data): Add more tests.
22259         (fdim_test_data): Likewise.
22260         (fma_test_data): Likewise.
22261         (fmax_test_data): Likewise.
22262         (fmin_test_data): Likewise.
22263         (fmod_test_data): Likewise.
22265 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
22267         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
22268         data.
22270 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
22272         * math/libm-test.inc (ceil_test_data): Add more tests and more
22273         expectations for "inexact".
22274         (floor_test_data): Add more tests.
22275         (round_test_data): Likewise.
22276         (trunc_test_data): Likewise.
22278         * crypt/cert.c (good_bye): Convert to prototype-style function
22279         definition.
22280         (get8): Likewise.
22281         (put8): Likewise.
22282         * crypt/crypt-entry.c (crypt): Likewise.
22283         (__fcrypt): Likewise.
22284         * crypt/crypt_util.c (_ufc_prbits): Likewise.
22285         (_ufc_set_bits): Likewise.
22286         (_ufc_clearmem): Likewise.
22287         (__init_des_r): Likewise.
22288         (shuffle_sb): Likewise.
22289         (shuffle_sb): Likewise.
22290         (_ufc_setup_salt_r): Likewise.
22291         (_ufc_mk_keytab_r): Likewise.
22292         (_ufc_dofinalperm_r): Likewise.
22293         (encrypt): Likewise.
22294         (__setkey_r): Likewise.
22295         (setkey): Likewise.
22296         * crypt/md5.c (md5_init_ctx): Likewise.
22297         (md5_read_ctx): Likewise.
22298         (md5_finish_ctx): Likewise.
22299         (md5_stream): Likewise.
22300         (md5_buffer): Likewise.
22301         (md5_process_bytes): Likewise.
22302         * crypt/sha256.c (__sha256_init_ctx): Likewise.
22303         (__sha256_finish_ctx): Likewise.
22304         (__sha256_process_bytes): Likewise.
22305         * crypt/sha512.c (__sha512_init_ctx): Likewise.
22306         (__sha512_finish_ctx): Likewise.
22307         (__sha512_process_bytes): Likewise.
22308         * ctype/isctype.c (__isctype): Likewise.
22309         * debug/backtrace.c (__backtrace): Likewise.
22310         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
22311         * debug/fgets_chk.c (__fgets_chk): Likewise.
22312         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
22313         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
22314         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22315         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22316         * debug/memset_chk.c (__memset_chk): Likewise.
22317         * debug/strcat_chk.c (__strcat_chk): Likewise.
22318         * debug/strncat_chk.c (__strncat_chk): Likewise.
22319         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
22320         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
22321         * dirent/dirfd.c (dirfd): Likewise.
22322         * dirent/getdents.c (__getdirentries): Likewise.
22323         * dirent/getdents64.c (getdirentries64): Likewise.
22324         * dirent/rewinddir.c (__rewinddir): Likewise.
22325         * dirent/seekdir.c (seekdir): Likewise.
22326         * dirent/telldir.c (telldir): Likewise.
22327         * elf/sln.c (makesymlinks): Likewise.
22328         (makesymlink): Likewise.
22329         * gmon/gmon.c (__moncontrol): Likewise.
22330         (__monstartup): Likewise.
22331         (write_hist): Likewise.
22332         (write_call_graph): Likewise.
22333         (write_bb_counts): Likewise.
22334         * grp/setgroups.c (setgroups): Likewise.
22335         * inet/inet_lnaof.c (inet_lnaof): Likewise.
22336         * inet/inet_net.c (inet_network): Likewise.
22337         * inet/inet_netof.c (inet_netof): Likewise.
22338         * inet/rcmd.c (rresvport_af): Likewise.
22339         (rresvport): Likewise.
22340         * io/access.c (__access): Likewise.
22341         * io/chdir.c (__chdir): Likewise.
22342         * io/chmod.c (__chmod): Likewise.
22343         * io/chown.c (__chown): Likewise.
22344         * io/close.c (__close): Likewise.
22345         * io/creat.c (creat): Likewise.
22346         * io/creat64.c (creat64): Likewise.
22347         * io/dup.c (__dup): Likewise.
22348         * io/dup2.c (__dup2): Likewise.
22349         * io/dup3.c (__dup3): Likewise.
22350         * io/euidaccess.c (__euidaccess): Likewise.
22351         * io/faccessat.c (faccessat): Likewise.
22352         * io/fchmod.c (__fchmod): Likewise.
22353         * io/fchmodat.c (fchmodat): Likewise.
22354         * io/fchown.c (__fchown): Likewise.
22355         * io/fchownat.c (fchownat): Likewise.
22356         * io/fcntl.c (__fcntl): Likewise.
22357         * io/flock.c (__flock): Likewise.
22358         * io/fts.c (fts_load): Likewise.
22359         (fts_close): Likewise.
22360         (fts_read): Likewise.
22361         (fts_set): Likewise.
22362         (fts_children): Likewise.
22363         (fts_build): Likewise.
22364         (fts_stat): Likewise.
22365         (fts_sort): Likewise.
22366         (fts_alloc): Likewise.
22367         (fts_lfree): Likewise.
22368         (fts_palloc): Likewise.
22369         (fts_padjust): Likewise.
22370         (fts_maxarglen): Likewise.
22371         (fts_safe_changedir): Likewise.
22372         * io/getwd.c (getwd): Likewise.
22373         * io/isatty.c (__isatty): Likewise.
22374         * io/lchown.c (__lchown): Likewise.
22375         * io/link.c (__link): Likewise.
22376         * io/linkat.c (linkat): Likewise.
22377         * io/lseek.c (__libc_lseek): Likewise.
22378         * io/mkdir.c (__mkdir): Likewise.
22379         * io/mkdirat.c (mkdirat): Likewise.
22380         * io/mkfifo.c (mkfifo): Likewise.
22381         * io/mkfifoat.c (mkfifoat): Likewise.
22382         * io/open.c (__libc_open): Likewise.
22383         * io/open64.c (__libc_open64): Likewise.
22384         * io/readlink.c (__readlink): Likewise.
22385         * io/readlinkat.c (readlinkat): Likewise.
22386         * io/rmdir.c (__rmdir): Likewise.
22387         * io/symlink.c (__symlink): Likewise.
22388         * io/symlinkat.c (symlinkat): Likewise.
22389         * io/ttyname.c (ttyname): Likewise.
22390         * io/ttyname_r.c (__ttyname_r): Likewise.
22391         * io/umask.c (__umask): Likewise.
22392         * io/unlink.c (__unlink): Likewise.
22393         * io/unlinkat.c (unlinkat): Likewise.
22394         * io/utime.c (utime): Likewise.
22395         * libio/clearerr.c (clearerr): Likewise.
22396         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
22397         * libio/feof.c (_IO_feof): Likewise.
22398         * libio/feof_u.c (feof_unlocked): Likewise.
22399         * libio/ferror.c (_IO_ferror): Likewise.
22400         * libio/ferror_u.c (ferror_unlocked): Likewise.
22401         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22402         * libio/fileno.c (__fileno): Likewise.
22403         * libio/fputc.c (fputc): Likewise.
22404         * libio/fputc_u.c (fputc_unlocked): Likewise.
22405         * libio/fputwc.c (fputwc): Likewise.
22406         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
22407         * libio/freopen.c (freopen): Likewise.
22408         * libio/freopen64.c (freopen64): Likewise.
22409         * libio/fseek.c (fseek): Likewise.
22410         * libio/fseeko.c (fseeko): Likewise.
22411         * libio/fseeko64.c (fseeko64): Likewise.
22412         * libio/ftello.c (__ftello): Likewise.
22413         * libio/ftello64.c (ftello64): Likewise.
22414         * libio/fwide.c (fwide): Likewise.
22415         * libio/genops.c (_IO_un_link): Likewise.
22416         (_IO_link_in): Likewise.
22417         (_IO_least_marker): Likewise.
22418         (_IO_switch_to_main_get_area): Likewise.
22419         (_IO_switch_to_backup_area): Likewise.
22420         (_IO_switch_to_get_mode): Likewise.
22421         (_IO_free_backup_area): Likewise.
22422         (_IO_switch_to_put_mode): Likewise.
22423         (__overflow): Likewise.
22424         (__underflow): Likewise.
22425         (__uflow): Likewise.
22426         (_IO_setb): Likewise.
22427         (_IO_doallocbuf): Likewise.
22428         (_IO_default_underflow): Likewise.
22429         (_IO_default_uflow): Likewise.
22430         (_IO_default_xsputn): Likewise.
22431         (_IO_sgetn): Likewise.
22432         (_IO_default_xsgetn): Likewise.
22433         (_IO_sync): Likewise.
22434         (_IO_default_setbuf): Likewise.
22435         (_IO_default_seekpos): Likewise.
22436         (_IO_default_doallocate): Likewise.
22437         (_IO_init): Likewise.
22438         (_IO_old_init): Likewise.
22439         (_IO_default_sync): Likewise.
22440         (_IO_default_finish): Likewise.
22441         (_IO_default_seekoff): Likewise.
22442         (_IO_sputbackc): Likewise.
22443         (_IO_sungetc): Likewise.
22444         (_IO_set_column): Likewise.
22445         (_IO_set_column): Likewise.
22446         (_IO_adjust_column): Likewise.
22447         (_IO_get_column): Likewise.
22448         (_IO_init_marker): Likewise.
22449         (_IO_remove_marker): Likewise.
22450         (_IO_marker_difference): Likewise.
22451         (_IO_marker_delta): Likewise.
22452         (_IO_seekmark): Likewise.
22453         (_IO_unsave_markers): Likewise.
22454         (_IO_nobackup_pbackfail): Likewise.
22455         (_IO_default_pbackfail): Likewise.
22456         (_IO_default_seek): Likewise.
22457         (_IO_default_stat): Likewise.
22458         (_IO_default_read): Likewise.
22459         (_IO_default_write): Likewise.
22460         (_IO_default_showmanyc): Likewise.
22461         (_IO_default_imbue): Likewise.
22462         (_IO_iter_next): Likewise.
22463         (_IO_iter_file): Likewise.
22464         * libio/getc.c (_IO_getc): Likewise.
22465         * libio/getwc.c (_IO_getwc): Likewise.
22466         * libio/iofclose.c (_IO_new_fclose): Likewise.
22467         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22468         * libio/iofflush.c (_IO_fflush): Likewise.
22469         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
22470         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
22471         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
22472         * libio/iofgets.c (_IO_fgets): Likewise.
22473         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
22474         * libio/iofgetws.c (fgetws): Likewise.
22475         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22476         * libio/iofopen64.c (_IO_fopen64): Likewise.
22477         * libio/iofopncook.c (_IO_cookie_read): Likewise.
22478         (_IO_cookie_write): Likewise.
22479         (_IO_cookie_seek): Likewise.
22480         (_IO_cookie_close): Likewise.
22481         (_IO_cookie_seekoff): Likewise.
22482         (_IO_old_cookie_seek): Likewise.
22483         * libio/iofputs.c (_IO_fputs): Likewise.
22484         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
22485         * libio/iofputws.c (fputws): Likewise.
22486         * libio/iofputws_u.c (fputws_unlocked): Likewise.
22487         * libio/iofread.c (_IO_fread): Likewise.
22488         * libio/iofread_u.c (__fread_unlocked): Likewise.
22489         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
22490         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
22491         * libio/ioftell.c (_IO_ftell): Likewise.
22492         * libio/iofwrite.c (_IO_fwrite): Likewise.
22493         * libio/iogetdelim.c (_IO_getdelim): Likewise.
22494         * libio/iogets.c (_IO_gets): Likewise.
22495         * libio/iopadn.c (_IO_padn): Likewise.
22496         * libio/iopopen.c (_IO_new_proc_open): Likewise.
22497         (_IO_new_popen): Likewise.
22498         (_IO_new_proc_close): Likewise.
22499         * libio/ioputs.c (_IO_puts): Likewise.
22500         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
22501         (_IO_seekoff): Likewise.
22502         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
22503         (_IO_seekpos): Likewise.
22504         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
22505         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
22506         * libio/ioungetc.c (_IO_ungetc): Likewise.
22507         * libio/ioungetwc.c (ungetwc): Likewise.
22508         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22509         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
22510         * libio/iowpadn.c (_IO_wpadn): Likewise.
22511         * libio/libc_fatal.c (__libc_fatal): Likewise.
22512         * libio/memstream.c (__open_memstream): Likewise.
22513         (_IO_mem_sync): Likewise.
22514         (_IO_mem_finish): Likewise.
22515         * libio/oldfileops.c (_IO_old_file_init): Likewise.
22516         (_IO_old_file_close_it): Likewise.
22517         (_IO_old_file_finish): Likewise.
22518         (_IO_old_file_fopen): Likewise.
22519         (_IO_old_file_attach): Likewise.
22520         (_IO_old_file_setbuf): Likewise.
22521         (_IO_old_do_write): Likewise.
22522         (old_do_write): Likewise.
22523         (_IO_old_file_underflow): Likewise.
22524         (_IO_old_file_overflow): Likewise.
22525         (_IO_old_file_sync): Likewise.
22526         (_IO_old_file_seekoff): Likewise.
22527         (_IO_old_file_write): Likewise.
22528         (_IO_old_file_xsputn): Likewise.
22529         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
22530         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22531         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
22532         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
22533         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
22534         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
22535         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
22536         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
22537         (_IO_old_popen): Likewise.
22538         (_IO_old_proc_close): Likewise.
22539         * libio/oldpclose.c (__old_pclose): Likewise.
22540         * libio/pclose.c (__new_pclose): Likewise.
22541         * libio/peekc.c (_IO_peekc_locked): Likewise.
22542         * libio/putc.c (_IO_putc): Likewise.
22543         * libio/putc_u.c (putc_unlocked): Likewise.
22544         * libio/putchar.c (putchar): Likewise.
22545         * libio/putchar_u.c (putchar_unlocked): Likewise.
22546         * libio/putwc.c (putwc): Likewise.
22547         * libio/putwc_u.c (putwc_unlocked): Likewise.
22548         * libio/putwchar.c (putwchar): Likewise.
22549         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
22550         * libio/rewind.c (rewind): Likewise.
22551         * libio/setbuf.c (setbuf): Likewise.
22552         * libio/setlinebuf.c (setlinebuf): Likewise.
22553         * libio/vasprintf.c (_IO_vasprintf): Likewise.
22554         * libio/vscanf.c (_IO_vscanf): Likewise.
22555         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
22556         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
22557         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22558         * libio/wgenops.c (_IO_least_wmarker): Likewise.
22559         (_IO_switch_to_main_wget_area): Likewise.
22560         (_IO_switch_to_wbackup_area): Likewise.
22561         (_IO_wsetb): Likewise.
22562         (_IO_wdefault_pbackfail): Likewise.
22563         (_IO_wdefault_finish): Likewise.
22564         (_IO_wdefault_uflow): Likewise.
22565         (__woverflow): Likewise.
22566         (__wuflow): Likewise.
22567         (__wunderflow): Likewise.
22568         (_IO_wdefault_xsputn): Likewise.
22569         (_IO_wdefault_xsgetn): Likewise.
22570         (_IO_wdoallocbuf): Likewise.
22571         (_IO_wdefault_doallocate): Likewise.
22572         (_IO_switch_to_wget_mode): Likewise.
22573         (_IO_free_wbackup_area): Likewise.
22574         (_IO_switch_to_wput_mode): Likewise.
22575         (_IO_sputbackwc): Likewise.
22576         (_IO_sungetwc): Likewise.
22577         (_IO_adjust_wcolumn): Likewise.
22578         (_IO_init_wmarker): Likewise.
22579         (_IO_wmarker_delta): Likewise.
22580         (_IO_seekwmark): Likewise.
22581         (_IO_unsave_wmarkers): Likewise.
22582         * libio/wmemstream.c (open_wmemstream): Likewise.
22583         (_IO_wmem_sync): Likewise.
22584         (_IO_wmem_finish): Likewise.
22585         * locale/nl_langinfo.c (nl_langinfo): Likewise.
22586         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
22587         * locale/programs/simple-hash.c (init_hash): Likewise.
22588         (delete_hash): Likewise.
22589         (insert_entry): Likewise.
22590         (set_entry): Likewise.
22591         (next_prime): Likewise.
22592         (is_prime): Likewise.
22593         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
22594         (xmalloc): Likewise.
22595         (xrealloc): Likewise.
22596         * locale/programs/xstrdup.c (xstrdup): Likewise.
22597         * localedata/collate-test.c (xstrcoll): Likewise.
22598         * localedata/xfrm-test.c (xstrcmp): Likewise.
22599         * login/getlogin_r.c (__getlogin_r): Likewise.
22600         * login/getpt.c (__posix_openpt): Likewise.
22601         * login/login_tty.c (login_tty): Likewise.
22602         * login/setlogin.c (setlogin): Likewise.
22603         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
22604         (mach_msg_destroy_port): Likewise.
22605         (mach_msg_destroy_memory): Likewise.
22606         * malloc/mcheck.c (flood): Likewise.
22607         * misc/acct.c (acct): Likewise.
22608         * misc/brk.c (__brk): Likewise.
22609         * misc/chflags.c (chflags): Likewise.
22610         * misc/chroot.c (chroot): Likewise.
22611         * misc/fchflags.c (fchflags): Likewise.
22612         * misc/fstab.c (getfsspec): Likewise.
22613         (getfsfile): Likewise.
22614         * misc/fsync.c (fsync): Likewise.
22615         * misc/ftruncate.c (__ftruncate): Likewise.
22616         * misc/ftruncate64.c (__ftruncate64): Likewise.
22617         * misc/getdomain.c (getdomainname): Likewise.
22618         (getdomainname): Likewise.
22619         * misc/gethostname.c (__gethostname): Likewise.
22620         * misc/getpass.c (getpass): Likewise.
22621         * misc/getttyent.c (skip): Likewise.
22622         (value): Likewise.
22623         * misc/gtty.c (gtty): Likewise.
22624         * misc/hsearch.c (hsearch): Likewise.
22625         (hcreate): Likewise.
22626         * misc/hsearch_r.c (__hcreate_r): Likewise.
22627         (__hdestroy_r): Likewise.
22628         * misc/ioctl.c (__ioctl): Likewise.
22629         * misc/mkdtemp.c (mkdtemp): Likewise.
22630         * misc/mkostemp.c (mkostemp): Likewise.
22631         * misc/mkostemp64.c (mkostemp64): Likewise.
22632         * misc/mkostemps.c (mkostemps): Likewise.
22633         * misc/mkostemps64.c (mkostemps64): Likewise.
22634         * misc/mkstemp.c (mkstemp): Likewise.
22635         * misc/mkstemp64.c (mkstemp64): Likewise.
22636         * misc/mkstemps.c (mkstemps): Likewise.
22637         * misc/mkstemps64.c (mkstemps64): Likewise.
22638         * misc/mktemp.c (__mktemp): Likewise.
22639         * misc/preadv.c (preadv): Likewise.
22640         * misc/preadv64.c (preadv64): Likewise.
22641         * misc/pwritev.c (pwritev): Likewise.
22642         * misc/pwritev64.c (pwritev64): Likewise.
22643         * misc/readv.c (__readv): Likewise.
22644         * misc/revoke.c (revoke): Likewise.
22645         * misc/setdomain.c (setdomainname): Likewise.
22646         * misc/setegid.c (setegid): Likewise.
22647         * misc/seteuid.c (seteuid): Likewise.
22648         * misc/sethostid.c (sethostid): Likewise.
22649         * misc/sethostname.c (sethostname): Likewise.
22650         * misc/setregid.c (__setregid): Likewise.
22651         * misc/setreuid.c (__setreuid): Likewise.
22652         * misc/sstk.c (sstk): Likewise.
22653         * misc/stty.c (stty): Likewise.
22654         * misc/syscall.c (syscall): Likewise.
22655         * misc/syslog.c (setlogmask): Likewise.
22656         * misc/truncate.c (__truncate): Likewise.
22657         * misc/truncate64.c (truncate64): Likewise.
22658         * misc/ualarm.c (ualarm): Likewise.
22659         * misc/usleep.c (usleep): Likewise.
22660         * misc/ustat.c (ustat): Likewise.
22661         * misc/writev.c (__writev): Likewise.
22662         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
22663         * nptl/old_pthread_cond_broadcast.c
22664         (__pthread_cond_broadcast_2_0): Likewise.
22665         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
22666         Likewise.
22667         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
22668         Likewise.
22669         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
22670         Likewise.
22671         * nptl/pt-raise.c (raise): Likewise.
22672         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
22673         Likewise.
22674         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
22675         * nptl/pthread_barrierattr_destroy.c
22676         (pthread_barrierattr_destroy): Likewise.
22677         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22678         Likewise.
22679         * nptl/pthread_barrierattr_setpshared.c
22680         (pthread_barrierattr_setpshared): Likewise.
22681         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22682         Likewise.
22683         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
22684         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22685         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
22686         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
22687         Likewise.
22688         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
22689         Likewise.
22690         * nptl/pthread_condattr_getpshared.c
22691         (pthread_condattr_getpshared): Likewise.
22692         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
22693         Likewise.
22694         * nptl/pthread_condattr_setpshared.c
22695         (pthread_condattr_setpshared): Likewise.
22696         * nptl/pthread_detach.c (pthread_detach): Likewise.
22697         * nptl/pthread_equal.c (__pthread_equal): Likewise.
22698         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
22699         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
22700         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
22701         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
22702         Likewise.
22703         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
22704         Likewise.
22705         * nptl/pthread_mutex_getprioceiling.c
22706         (pthread_mutex_getprioceiling): Likewise.
22707         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
22708         Likewise.
22709         * nptl/pthread_mutexattr_getprotocol.c
22710         (pthread_mutexattr_getprotocol): Likewise.
22711         * nptl/pthread_mutexattr_getpshared.c
22712         (pthread_mutexattr_getpshared): Likewise.
22713         * nptl/pthread_mutexattr_getrobust.c
22714         (pthread_mutexattr_getrobust): Likewise.
22715         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
22716         Likewise.
22717         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
22718         Likewise.
22719         * nptl/pthread_mutexattr_setprioceiling.c
22720         (pthread_mutexattr_setprioceiling): Likewise.
22721         * nptl/pthread_mutexattr_setprotocol.c
22722         (pthread_mutexattr_setprotocol): Likewise.
22723         * nptl/pthread_mutexattr_setpshared.c
22724         (pthread_mutexattr_setpshared): Likewise.
22725         * nptl/pthread_mutexattr_setrobust.c
22726         (pthread_mutexattr_setrobust): Likewise.
22727         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
22728         Likewise.
22729         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
22730         Likewise.
22731         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
22732         Likewise.
22733         * nptl/pthread_rwlockattr_getkind_np.c
22734         (pthread_rwlockattr_getkind_np): Likewise.
22735         * nptl/pthread_rwlockattr_getpshared.c
22736         (pthread_rwlockattr_getpshared): Likewise.
22737         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
22738         Likewise.
22739         * nptl/pthread_rwlockattr_setkind_np.c
22740         (pthread_rwlockattr_setkind_np): Likewise.
22741         * nptl/pthread_rwlockattr_setpshared.c
22742         (pthread_rwlockattr_setpshared): Likewise.
22743         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
22744         Likewise.
22745         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
22746         Likewise.
22747         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
22748         Likewise.
22749         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
22750         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
22751         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
22752         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
22753         * nptl/sem_close.c (sem_close): Likewise.
22754         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
22755         * nptl/sem_init.c (__old_sem_init): Likewise.
22756         * nptl/sigaction.c (__sigaction): Likewise.
22757         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
22758         * posix/_exit.c (_exit): Likewise.
22759         * posix/alarm.c (alarm): Likewise.
22760         * posix/confstr.c (confstr): Likewise.
22761         * posix/fpathconf.c (__fpathconf): Likewise.
22762         * posix/getgroups.c (__getgroups): Likewise.
22763         * posix/getpgid.c (__getpgid): Likewise.
22764         * posix/group_member.c (__group_member): Likewise.
22765         * posix/pathconf.c (__pathconf): Likewise.
22766         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
22767         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
22768         * posix/setgid.c (__setgid): Likewise.
22769         * posix/setpgid.c (__setpgid): Likewise.
22770         * posix/setuid.c (__setuid): Likewise.
22771         * posix/sleep.c (__sleep): Likewise.
22772         * posix/sysconf.c (__sysconf): Likewise.
22773         * posix/times.c (__times): Likewise.
22774         * posix/uname.c (__uname): Likewise.
22775         * posix/waitid.c (__waitid): Likewise.
22776         * pwd/getpw.c (__getpw): Likewise.
22777         * resolv/base64.c (b64_pton): Likewise.
22778         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
22779         * resolv/gethnamaddr.c (Dprintf): Likewise.
22780         (gethostbyname): Likewise.
22781         (gethostbyname2): Likewise.
22782         (gethostbyaddr): Likewise.
22783         (_sethtent): Likewise.
22784         (_gethtbyname): Likewise.
22785         (_gethtbyname2): Likewise.
22786         (_gethtbyaddr): Likewise.
22787         (map_v4v6_address): Likewise.
22788         (map_v4v6_hostent): Likewise.
22789         (addrsort): Likewise.
22790         (ht_sethostent): Likewise.
22791         (ht_gethostbyname): Likewise.
22792         (ht_gethostbyaddr): Likewise.
22793         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
22794         (inet_net_ntop_ipv4): Likewise.
22795         * resolv/inet_neta.c (inet_neta): Likewise.
22796         * resolv/inet_ntop.c (inet_ntop): Likewise.
22797         (inet_ntop4): Likewise.
22798         (inet_ntop6): Likewise.
22799         * resolv/inet_pton.c (__inet_pton): Likewise.
22800         (inet_pton4): Likewise.
22801         (inet_pton6): Likewise.
22802         * resolv/res_debug.c (loc_aton): Likewise.
22803         (loc_ntoa): Likewise.
22804         * resource/getpriority.c (__getpriority): Likewise.
22805         * resource/getrusage.c (__getrusage): Likewise.
22806         * resource/nice.c (nice): Likewise.
22807         * resource/setpriority.c (__setpriority): Likewise.
22808         * resource/setrlimit64.c (setrlimit64): Likewise.
22809         * resource/vlimit.c (vlimit): Likewise.
22810         * resource/vtimes.c (vtimes): Likewise.
22811         * rt/aio_error.c (aio_error): Likewise.
22812         * rt/aio_return.c (aio_return): Likewise.
22813         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
22814         * signal/kill.c (__kill): Likewise.
22815         * signal/killpg.c (killpg): Likewise.
22816         * signal/raise.c (raise): Likewise.
22817         * signal/sigaction.c (__sigaction): Likewise.
22818         * signal/sigaddset.c (sigaddset): Likewise.
22819         * signal/sigaltstack.c (sigaltstack): Likewise.
22820         * signal/sigandset.c (sigandset): Likewise.
22821         * signal/sigblock.c (__sigblock): Likewise.
22822         * signal/sigdelset.c (sigdelset): Likewise.
22823         * signal/sigempty.c (sigemptyset): Likewise.
22824         * signal/sigfillset.c (sigfillset): Likewise.
22825         * signal/sighold.c (sighold): Likewise.
22826         * signal/sigignore.c (sigignore): Likewise.
22827         * signal/sigintr.c (siginterrupt): Likewise.
22828         * signal/sigisempty.c (sigisemptyset): Likewise.
22829         * signal/sigismem.c (sigismember): Likewise.
22830         * signal/signal.c (signal): Likewise.
22831         * signal/sigorset.c (sigorset): Likewise.
22832         * signal/sigpause.c (__sigpause): Likewise.
22833         * signal/sigpending.c (sigpending): Likewise.
22834         * signal/sigprocmask.c (__sigprocmask): Likewise.
22835         * signal/sigrelse.c (sigrelse): Likewise.
22836         * signal/sigreturn.c (__sigreturn): Likewise.
22837         * signal/sigset.c (sigset): Likewise.
22838         * signal/sigsetmask.c (__sigsetmask): Likewise.
22839         * signal/sigstack.c (sigstack): Likewise.
22840         * signal/sigsuspend.c (__sigsuspend): Likewise.
22841         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
22842         * signal/sysv_signal.c (__sysv_signal): Likewise.
22843         * socket/accept.c (accept): Likewise.
22844         * socket/accept4.c (__libc_accept4): Likewise.
22845         * socket/bind.c (__bind): Likewise.
22846         * socket/connect.c (__connect): Likewise.
22847         * socket/getpeername.c (getpeername): Likewise.
22848         * socket/getsockname.c (__getsockname): Likewise.
22849         * socket/getsockopt.c (getsockopt): Likewise.
22850         * socket/listen.c (__listen): Likewise.
22851         * socket/recv.c (__recv): Likewise.
22852         * socket/recvmsg.c (__recvmsg): Likewise.
22853         * socket/send.c (__send): Likewise.
22854         * socket/sendmsg.c (__sendmsg): Likewise.
22855         * socket/shutdown.c (shutdown): Likewise.
22856         * socket/sockatmark.c (sockatmark): Likewise.
22857         * socket/socket.c (__socket): Likewise.
22858         * stdio-common/ctermid.c (ctermid): Likewise.
22859         * stdio-common/cuserid.c (cuserid): Likewise.
22860         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
22861         * stdio-common/remove.c (remove): Likewise.
22862         * stdio-common/rename.c (rename): Likewise.
22863         * stdio-common/renameat.c (renameat): Likewise.
22864         * stdio-common/tempname.c (__gen_tempname): Likewise.
22865         * stdio-common/xbug.c (InitBuffer): Likewise.
22866         (AppendToBuffer): Likewise.
22867         (ReadFile): Likewise.
22868         * stdlib/a64l.c (a64l): Likewise.
22869         * stdlib/drand48_r.c (drand48_r): Likewise.
22870         * stdlib/getcontext.c (getcontext): Likewise.
22871         * stdlib/getenv.c (getenv): Likewise.
22872         * stdlib/l64a.c (l64a): Likewise.
22873         * stdlib/llabs.c (llabs): Likewise.
22874         * stdlib/lldiv.c (lldiv): Likewise.
22875         * stdlib/lrand48_r.c (lrand48_r): Likewise.
22876         * stdlib/mrand48_r.c (mrand48_r): Likewise.
22877         * stdlib/putenv.c (putenv): Likewise.
22878         * stdlib/random.c (__srandom): Likewise.
22879         (__initstate): Likewise.
22880         (__setstate): Likewise.
22881         * stdlib/random_r.c (__srandom_r): Likewise.
22882         (__setstate_r): Likewise.
22883         (__random_r): Likewise.
22884         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
22885         * stdlib/setcontext.c (setcontext): Likewise.
22886         * stdlib/setenv.c (setenv): Likewise.
22887         (unsetenv): Likewise.
22888         * stdlib/srand48.c (srand48): Likewise.
22889         * stdlib/srand48_r.c (__srand48_r): Likewise.
22890         * stdlib/swapcontext.c (swapcontext): Likewise.
22891         * stdlib/system.c (__libc_system): Likewise.
22892         * stdlib/tst-strtod.c (expand): Likewise.
22893         * stdlib/tst-strtol.c (expand): Likewise.
22894         * stdlib/tst-strtoll.c (expand): Likewise.
22895         * streams/fattach.c (fattach): Likewise.
22896         * streams/fdetach.c (fdetach): Likewise.
22897         * streams/getmsg.c (getmsg): Likewise.
22898         * streams/isastream.c (isastream): Likewise.
22899         * string/ffs.c (__ffs): Likewise.
22900         * string/ffsll.c (ffsll): Likewise.
22901         * string/memcmp.c (memcmp_common_alignment): Likewise.
22902         (memcmp_not_common_alignment): Likewise.
22903         (MEMCMP): Likewise.
22904         * string/memcpy.c (memcpy): Likewise.
22905         * string/memmove.c (MEMMOVE): Likewise.
22906         * string/memset.c (memset): Likewise.
22907         * string/rawmemchr.c (RAWMEMCHR): Likewise.
22908         * string/strchrnul.c (STRCHRNUL): Likewise.
22909         * string/strerror.c (strerror): Likewise.
22910         * string/strndup.c (__strndup): Likewise.
22911         * string/strverscmp.c (__strverscmp): Likewise.
22912         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
22913         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
22914         (clnttcp_freeres): Likewise.
22915         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
22916         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
22917         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
22918         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
22919         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
22920         (xdr_callhdr): Likewise.
22921         * sunrpc/rpcinfo.c (udpping): Likewise.
22922         (tcpping): Likewise.
22923         (pstatus): Likewise.
22924         (pmapdump): Likewise.
22925         (brdcst): Likewise.
22926         (deletereg): Likewise.
22927         (getprognum): Likewise.
22928         (getvers): Likewise.
22929         (get_inet_address): Likewise.
22930         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
22931         * sunrpc/svc_udp.c (svcudp_create): Likewise.
22932         (svcudp_stat): Likewise.
22933         (svcudp_recv): Likewise.
22934         (svcudp_reply): Likewise.
22935         (svcudp_getargs): Likewise.
22936         (svcudp_freeargs): Likewise.
22937         (svcudp_destroy): Likewise.
22938         * sunrpc/xdr.c (xdr_bytes): Likewise.
22939         (xdr_netobj): Likewise.
22940         (xdr_string): Likewise.
22941         (xdr_wrapstring): Likewise.
22942         * sunrpc/xdr_float.c (xdr_float): Likewise.
22943         (xdr_double): Likewise.
22944         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
22945         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
22946         * sysvipc/ftok.c (ftok): Likewise.
22947         * sysvipc/msgctl.c (msgctl): Likewise.
22948         * sysvipc/msgget.c (msgget): Likewise.
22949         * sysvipc/msgrcv.c (msgrcv): Likewise.
22950         * sysvipc/msgsnd.c (msgsnd): Likewise.
22951         * sysvipc/semget.c (semget): Likewise.
22952         * sysvipc/semop.c (semop): Likewise.
22953         * sysvipc/shmat.c (shmat): Likewise.
22954         * sysvipc/shmctl.c (shmctl): Likewise.
22955         * sysvipc/shmdt.c (shmdt): Likewise.
22956         * sysvipc/shmget.c (shmget): Likewise.
22957         * termios/cfmakeraw.c (cfmakeraw): Likewise.
22958         * termios/speed.c (cfgetospeed): Likewise.
22959         (cfgetispeed): Likewise.
22960         (cfsetospeed): Likewise.
22961         (cfsetispeed): Likewise.
22962         * termios/tcflow.c (tcflow): Likewise.
22963         * termios/tcflush.c (tcflush): Likewise.
22964         * termios/tcgetattr.c (__tcgetattr): Likewise.
22965         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
22966         * termios/tcgetsid.c (tcgetsid): Likewise.
22967         * termios/tcsendbrk.c (tcsendbreak): Likewise.
22968         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
22969         * time/adjtime.c (__adjtime): Likewise.
22970         * time/dysize.c (dysize): Likewise.
22971         * time/ftime.c (ftime): Likewise.
22972         * time/getitimer.c (__getitimer): Likewise.
22973         * time/gettimeofday.c (__gettimeofday): Likewise.
22974         * time/gmtime.c (__gmtime_r): Likewise.
22975         (gmtime): Likewise.
22976         * time/localtime.c (__localtime_r): Likewise.
22977         (localtime): Likewise.
22978         * time/offtime.c (__offtime): Likewise.
22979         * time/settimeofday.c (__settimeofday): Likewise.
22980         * time/stime.c (stime): Likewise.
22981         * time/strftime_l.c (tm_diff): Likewise.
22982         (iso_week_days): Likewise.
22983         * time/strptime.c (strptime): Likewise.
22984         * time/time.c (time): Likewise.
22985         * time/timespec_get.c (timespec_get): Likewise.
22986         * time/tzset.c (tzset_internal): Likewise.
22987         (compute_change): Likewise.
22988         (__tz_compute): Likewise.
22989         * wcsmbs/btowc.c (__btowc): Likewise.
22990         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
22991         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
22992         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
22993         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
22994         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
22995         * wcsmbs/wcscat.c (__wcscat): Likewise.
22996         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22997         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
22998         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
22999         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23000         * wcsmbs/wcsdup.c (wcsdup): Likewise.
23001         * wcsmbs/wcslen.c (__wcslen): Likewise.
23002         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
23003         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
23004         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
23005         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
23006         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23007         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
23008         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23009         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23010         * wcsmbs/wcstok.c (wcstok): Likewise.
23011         * wcsmbs/wctob.c (wctob): Likewise.
23012         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
23013         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23014         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
23015         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
23016         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
23017         * wcsmbs/wmemset.c (__wmemset): Likewise.
23018         * wctype/wcfuncs.c (__towlower): Likewise.
23019         (__towupper): Likewise.
23021         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
23022         (lll_unlock_elision): Add adapt_count parameter.
23024 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
23026         * sysdeps/nptl/configure.ac: Do not give errors based on the
23027         results of top-level configure tests.
23028         * sysdeps/nptl/configure: Regenerated.
23030         * configure.ac (libc_cv_Bgroup): Remove configure test.
23031         * configure: Regenerated.
23032         * config.make.in (have-Bgroup): Remove variable.
23034         * configure.ac (sizeof_long_double): Remove configure test.
23035         * configure: Regenerated.
23036         * config.make.in (sizeof-long-double): Remove variable.
23038         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
23039         * configure: Regenerated.
23040         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
23041         variable.
23042         (exceptions): Likewise.
23043         * sysdeps/arm/configure: Regenerated.
23044         * config.make.in (exceptions): Remove variable.
23045         * Makeconfig (uses-callbacks): Use -fexceptions instead of
23046         $(exceptions).
23047         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
23048         (CFLAGS-vdprintf_chk.c): Likewise.
23049         (CFLAGS-printf_chk.c): Likewise.
23050         (CFLAGS-fprintf_chk.c): Likewise.
23051         (CFLAGS-vprintf_chk.c): Likewise.
23052         (CFLAGS-vfprintf_chk.c): Likewise.
23053         (CFLAGS-gets_chk.c): Likewise.
23054         (CFLAGS-fgets_chk.c): Likewise.
23055         (CFLAGS-fgets_u_chk.c): Likewise.
23056         (CFLAGS-fread_chk.c): Likewise.
23057         (CFLAGS-fread_u_chk.c): Likewise.
23058         (CFLAGS-wprintf_chk.c): Likewise.
23059         (CFLAGS-fwprintf_chk.c): Likewise.
23060         (CFLAGS-vwprintf_chk.c): Likewise.
23061         (CFLAGS-vfwprintf_chk.c): Likewise.
23062         (CFLAGS-fgetws_chk.c): Likewise.
23063         (CFLAGS-fgetws_u_chk.c): Likewise.
23064         * libio/Makefile (CFLAGS-fileops.c): Likewise.
23065         (CFLAGS-fputc.c): Likewise.
23066         (CFLAGS-fputwc.c): Likewise.
23067         (CFLAGS-freopen64.c): Likewise.
23068         (CFLAGS-freopen.c): Likewise.
23069         (CFLAGS-fseek.c): Likewise.
23070         (CFLAGS-fseeko64.c): Likewise.
23071         (CFLAGS-fseeko.c): Likewise.
23072         (CFLAGS-ftello64.c): Likewise.
23073         (CFLAGS-ftello.c): Likewise.
23074         (CFLAGS-fwide.c): Likewise.
23075         (CFLAGS-genops.c): Likewise.
23076         (CFLAGS-getc.c): Likewise.
23077         (CFLAGS-getchar.c): Likewise.
23078         (CFLAGS-getwc.c): Likewise.
23079         (CFLAGS-getwchar.c): Likewise.
23080         (CFLAGS-iofclose.c): Likewise.
23081         (CFLAGS-iofflush.c): Likewise.
23082         (CFLAGS-iofgetpos64.c): Likewise.
23083         (CFLAGS-iofgetpos.c): Likewise.
23084         (CFLAGS-iofgets.c): Likewise.
23085         (CFLAGS-iofgetws.c): Likewise.
23086         (CFLAGS-iofputs.c): Likewise.
23087         (CFLAGS-iofputws.c): Likewise.
23088         (CFLAGS-iofread.c): Likewise.
23089         (CFLAGS-iofsetpos64.c): Likewise.
23090         (CFLAGS-iofsetpos.c): Likewise.
23091         (CFLAGS-ioftell.c): Likewise.
23092         (CFLAGS-iofwrite.c): Likewise.
23093         (CFLAGS-iogetdelim.c): Likewise.
23094         (CFLAGS-iogetline.c): Likewise.
23095         (CFLAGS-iogets.c): Likewise.
23096         (CFLAGS-iogetwline.c): Likewise.
23097         (CFLAGS-ioputs.c): Likewise.
23098         (CFLAGS-ioseekoff.c): Likewise.
23099         (CFLAGS-ioseekpos.c): Likewise.
23100         (CFLAGS-iosetbuffer.c): Likewise.
23101         (CFLAGS-iosetvbuf.c): Likewise.
23102         (CFLAGS-ioungetc.c): Likewise.
23103         (CFLAGS-ioungetwc.c): Likewise.
23104         (CFLAGS-oldfileops.c): Likewise.
23105         (CFLAGS-oldiofclose.c): Likewise.
23106         (CFLAGS-oldiofgetpos64.c): Likewise.
23107         (CFLAGS-oldiofgetpos.c): Likewise.
23108         (CFLAGS-oldiofsetpos64.c): Likewise.
23109         (CFLAGS-oldiofsetpos.c): Likewise.
23110         (CFLAGS-peekc.c): Likewise.
23111         (CFLAGS-putc.c): Likewise.
23112         (CFLAGS-putchar.c): Likewise.
23113         (CFLAGS-putwc.c): Likewise.
23114         (CFLAGS-putwchar.c): Likewise.
23115         (CFLAGS-rewind.c): Likewise.
23116         (CFLAGS-wfileops.c): Likewise.
23117         (CFLAGS-wgenops.c): Likewise.
23118         (CFLAGS-oldiofopen.c): Likewise.
23119         (CFLAGS-iofopen.c): Likewise.
23120         (CFLAGS-iofopen64.c): Likewise.
23121         (CFLAGS-oldtmpfile.c): Likewise.
23122         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
23123         (CFLAGS-fprintf.c): Likewise.
23124         (CFLAGS-printf.c): Likewise.
23125         (CFLAGS-vfwprintf.c): Likewise.
23126         (CFLAGS-vfscanf.c): Likewise.
23127         (CFLAGS-vfwscanf.c): Likewise.
23128         (CFLAGS-fscanf.c): Likewise.
23129         (CFLAGS-scanf.c): Likewise.
23130         (CFLAGS-isoc99_vfscanf.c): Likewise.
23131         (CFLAGS-isoc99_vscanf.c): Likewise.
23132         (CFLAGS-isoc99_fscanf.c): Likewise.
23133         (CFLAGS-isoc99_scanf.c): Likewise.
23134         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
23135         (CFLAGS-isoc99_fwscanf.c): Likewise.
23136         (CFLAGS-isoc99_vwscanf.c): Likewise.
23137         (CFLAGS-isoc99_vfwscanf.c): Likewise.
23139         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
23140         after mkstemp64.
23141         * login/tst-utmp.c (do_prepare): Likewise.
23142         * rt/tst-aio.c (do_prepare): Likewise.
23143         * rt/tst-aio64.c (do_prepare): Likewise.
23145 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23147         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23148         (__lll_lock_elision): Remove adapt_count decrement...
23149         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
23150         (__lll_trylock_elision): Likewise.
23151         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
23152         (__lll_unlock_elision): ... to here. And utilize
23153         new adapt_count parameter.
23154         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
23155         (__lll_unlock_elision): Update to include adapt_count
23156         parameter.
23157         (lll_unlock_elision): Pass pointer to adapt_count
23158         variable.
23160 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23162         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
23163         Add elision adapt_count parameter to list of arguments.
23164         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
23165         (lll_unlock_elision): Update with new parameter list
23166         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
23167         (lll_unlock_elision): Likewise.
23168         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
23169         (lll_unlock_elision): Likewise.
23171 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23173         [BZ #19122]
23174         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
23175         attribute_hidden.
23177         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
23178         attribute_hidden.
23179         [IS_IN (rtld)] (__strdup): Likewise.
23180         [IS_IN (rtld)] (__strerror_r): Likewise.
23181         [IS_IN (rtld)] (__strsep_g): Likewise.
23182         [IS_IN (rtld)] (memchr): Likewise.
23183         [IS_IN (rtld)] (memcmp): Likewise.
23184         [IS_IN (rtld)] (memcpy): Likewise.
23185         [IS_IN (rtld)] (memmove): Likewise.
23186         [IS_IN (rtld)] (memset): Likewise.
23187         [IS_IN (rtld)] (rawmemchr): Likewise.
23188         [IS_IN (rtld)] (stpcpy): Likewise.
23189         [IS_IN (rtld)] (strchr): Likewise.
23190         [IS_IN (rtld)] (strcmp): Likewise.
23191         [IS_IN (rtld)] (strlen): Likewise.
23192         [IS_IN (rtld)] (strnlen): Likewise.
23193         [IS_IN (rtld)] (strsep): Likewise.
23195         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
23196         attribute_hidden.
23197         [IS_IN (rtld)] (__strtoul_internal): Likewise.
23199         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
23200         attribute_hidden.
23201         [IS_IN (rtld)] (__libc_sigaction): Likewise.
23203         * include/setjmp.h (__longjmp): Add attribute_hidden.
23204         [IS_IN (rtld)] (__sigsetjmp): Likewise.
23206         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
23207         Add attribute_hidden.
23209         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
23210         [IS_IN (rtld)] (__open): Likewise.
23211         [IS_IN (rtld)] (__fcntl): Likewise.
23213         * include/dirent.h (__opendirat): Add attribute_hidden.
23214         (__getdents): Likewise.
23215         (__getdents64): Likewise.
23216         (__alloc_dir): Likewise.
23217         [IS_IN (rtld)] (__closedir): Likewise.
23218         [IS_IN (rtld)] (__fdopendir): Likewise.
23219         [IS_IN (rtld)] (__readdir): Likewise.
23220         [IS_IN (rtld)] (__readdir64): Likewise.
23221         [IS_IN (rtld)] (__rewinddir): Likewise.
23223         * include/dlfcn.h (_dl_catch_error): Moved to ...
23224         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
23225         attribute_hidden.
23227         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
23228         (_itoa_word): Likewise.
23230         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
23231         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
23232         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
23233         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
23234         (_dl_higher_prime_number): Likewise.
23235         (_dl_debug_printf_c): Likewise.
23236         (_dl_signal_cerror): Likewise.
23237         (_dl_receive_error): Likewise.
23238         (_dl_reloc_bad_type): Likewise.
23239         (_dl_resolve_conflicts): Likewise.
23240         (_dl_check_all_versions): Likewise.
23241         (_dl_check_map_versions): Likewise.
23242         (_dl_sort_fini): Likewise.
23243         (_dl_debug_initialize): Likewise.
23244         (_dl_init_paths): Likewise.
23245         (_dl_show_auxv): Likewise.
23246         (_dl_next_ld_env_entry): Likewise.
23247         (_dl_important_hwcaps): Likewise.
23248         (_dl_load_cache_lookup): Likewise.
23249         (_dl_update_slotinfo): Likewise.
23250         (_dl_show_scope): Likewise.
23252         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
23253         attribute_hidden.
23254         (_wordcopy_fwd_dest_aligned): Likewise.
23255         (_wordcopy_bwd_aligned): Likewise.
23256         (_wordcopy_bwd_dest_aligned): Likewise.
23258         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23259         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
23260         Likewise.
23261         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
23262         Likewise.
23263         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
23265 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23267         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
23268         GCC 5 requirement.
23270 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
23272         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
23273         test.
23274         * sysdeps/i386/configure: Regenerated.
23275         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
23276         code unconditional.
23278         * configure.ac (libc_cv_asm_previous_directive): Remove configure
23279         test.
23280         (libc_cv_asm_popsection_directive): Likewise.
23281         * configure: Regenerated.
23282         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
23283         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
23284         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
23285         (__make_section_unallocated): Make definition unconditional.
23286         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
23287         Remove conditional definition.
23288         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
23289         (__make_section_unallocated): Likewise.
23291         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
23292         * configure: Regenerated.
23293         * config.make.in (static-libgcc): Remove variable.
23294         * Makerules (build-shlib-helper): Use -static-libgcc instead of
23295         $(static-libgcc).
23296         (build-module-helper): Likewise.
23298         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
23299         * configure: Regenerated.
23301 2015-10-15  Florian Weimer  <fweimer@redhat.com>
23303         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
23304         (struct char_buffer): New type.
23305         (char_buffer_start, char_buffer_size, char_buffer_error)
23306         (char_buffer_rewind, char_buffer_add): New functions.
23307         (ADDW): Remove macro, replaced by the char_buffer_add function.
23308         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
23309         of extend_alloca.  Make control flow more explicit.
23311 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23313         [BZ #19137]
23314         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
23315         Add -fomit-frame-pointer.
23316         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
23318 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23320         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
23321         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
23322         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
23323         only if !__GNUC_PREREQ (5,0).
23324         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
23325         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
23326         (INTERNAL_SYSCALL_NCS): Likewise.
23327         (LOADREGS_0): New macro for GCC 5.
23328         (ASMARGS_0): Likewise.
23329         (LOADREGS_1): Likewise.
23330         (ASMARGS_1): Likewise.
23331         (LOADREGS_2): Likewise.
23332         (ASMARGS_2): Likewise.
23333         (LOADREGS_3): Likewise.
23334         (ASMARGS_3): Likewise.
23335         (LOADREGS_4): Likewise.
23336         (ASMARGS_4): Likewise.
23337         (LOADREGS_5): Likewise.
23338         (ASMARGS_5): Likewise.
23339         (LOADREGS_6): Likewise.
23340         (ASMARGS_6): Likewise.
23342 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23344         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
23345         -fomit-frame-pointer.
23346         (CFLAGS-mmap64.c): Likewise.
23347         (CFLAGS-semtimedop.c): Likewise.
23348         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
23349         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
23350         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23351         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
23353 2015-10-15  Florian Weimer  <fweimer@redhat.com>
23355         [BZ #18928]
23356         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
23357         _dl_pointer_guard member.
23358         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
23359         initializer.
23360         (security_init): Always set up pointer guard.
23361         (process_envvars): Do not process LD_POINTER_GUARD.
23363 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
23365         [BZ #19134]
23366         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
23367         (.LC2): Likewise.
23368         (.LC3): Likewise.
23369         (__lround): Do not add 0.5 to integer or out-of-range arguments.
23371 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23373         [BZ #19129]
23374         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
23375         r0 and r1.
23377 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
23379         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
23381 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
23383         * include/stap-probe.h: Fix macro definition formatting.
23385 2015-10-14  Florian Weimer  <fweimer@redhat.com>
23387         [BZ #19074]
23388         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
23389         load and store num_ifs.
23391 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23393         [BZ #18822]
23394         * sysdeps/unix/sysv/linux/sched_getaffinity.c
23395         (__sched_getaffinity_new): Add libc_hidden_proto and
23396         libc_hidden_def.
23398 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23400         [BZ #19007]
23401         * scripts/localplt.awk: Also allow GOT references.
23402         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
23403         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
23404         with "+ REL R_386_GLOB_DAT".
23405         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
23406         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
23408 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23410         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
23411         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23412         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
23413         Likewise.
23414         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
23415         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
23416         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
23417         INTERNAL_SYSCALLINTERNAL_SYSCALL and
23418         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23419         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
23420         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23421         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
23422         Likewise.
23423         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23425 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
23427         [BZ #19125]
23428         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
23429         <math_private.h> and <stdint.h>.
23430         (__llround): Avoid conversions to and from long long int, and
23431         subtractions, where those might raise spurious exceptions.
23432         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
23433         <math_private.h> and <stdint.h>.
23434         (__llroundf): Avoid conversions to and from long long int, and
23435         subtractions, where those might raise spurious exceptions.
23437 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23439         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
23440         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23441         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23442         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
23443         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23444         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23445         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
23446         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
23447         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
23448         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23449         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23450         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23451         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
23452         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23453         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23454         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
23455         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
23456         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23457         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
23458         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
23459         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
23460         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
23461         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
23462         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
23463         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
23464         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
23465         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
23466         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23467         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23468         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
23469         (__xstat64_conv): Likewise.
23470         (__xstat32_conv): Likewise.
23472 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23474         * sysdeps/unix/sysv/linux/sysdep.h: New file.
23475         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
23476         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
23477         <sysdeps/unix/sysv/linux/sysdep.h>.
23478         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
23479         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
23480         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
23481         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23482         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
23483         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
23484         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
23485         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
23486         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
23487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23489         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23490         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23491         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23492         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23493         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23494         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
23495         (sysdep-dl-routines): Add sysdep.
23496         [$(subdir) == nptl] (libpthread-routines): Likewise.
23497         [$(subdir) == rt] (librt-routines): Likewise.
23498         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
23499         PIC when branching to SYSCALL_ERROR_LABEL.
23500         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
23501         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
23502         <sysdeps/unix/sysv/linux/sysdep.h>.
23503         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
23504         (SYSCALL_ERROR_ERRNO): Removed.
23505         (SYSCALL_ERROR_HANDLER): Changed to empty.
23506         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
23507         (__syscall_error): New prototype.
23508         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
23509         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
23511 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23513         [BZ #19124]
23514         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
23515         (_dl_runtime_resolve_avx512): Make it a hidden alias of
23516         _dl_runtime_resolve_avx.
23517         (_dl_runtime_profile_avx512): Make it a hidden alias of
23518         _dl_runtime_profile_avx.
23520 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
23522         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
23523         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
23524         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
23525         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
23527         [BZ #16422]
23528         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
23529         New configure test.
23530         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
23531         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
23532         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
23533         <math_private.h> and <stdint.h>.
23534         (__llrint): Avoid conversions to long long int where those might
23535         raise spurious exceptions.
23536         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23537         <math_private.h> and <stdint.h>.
23538         (__llrintf): Avoid conversions to long long int where those might
23539         raise spurious exceptions.
23541 2015-10-12  Andreas Schwab  <schwab@suse.de>
23543         [BZ #18969]
23544         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
23545         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
23546         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
23547         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
23548         $(gen-locales).
23549         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
23550         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
23551         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
23552         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
23553         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
23554         $(gen-locales).
23555         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
23556         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
23557         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
23558         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
23559         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
23560         ($(objpfx)tst-ftell-active-handler.out)
23561         ($(objpfx)tst-ftell-append.out)
23562         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
23563         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
23564         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
23565         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
23566         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
23567         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
23568         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
23569         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
23570         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
23571         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
23572         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
23573         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
23574         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
23575         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
23576         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
23577         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
23578         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
23579         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
23580         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
23581         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
23582         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
23583         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
23584         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
23585         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
23586         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
23587         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
23588         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
23589         $(gen-locales).
23590         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
23591         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
23592         $(gen-locales).
23593         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
23594         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
23595         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
23596         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
23597         $(gen-locales).
23598         * libio/tst_wprintf2.c (main): Use explicit locale.
23599         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
23601 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23603         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
23604         __msg_sig_post.
23605         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
23607 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
23609         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23610         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23612         * sysdeps/arm/libm-test-ulps: Regenerated.
23614         [BZ #15470]
23615         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
23617         [BZ #16399]
23618         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
23619         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
23620         and <fix-fp-int-convert-overflow.h>.
23621         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
23622         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23623         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
23624         and <fix-fp-int-convert-overflow.h>.
23625         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
23626         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23627         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
23628         <fix-fp-int-convert-overflow.h>.
23629         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
23630         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23631         * sysdeps/ieee754/dbl-64/s_lround.c: Include
23632         <fix-fp-int-convert-overflow.h>.
23633         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
23634         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23635         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
23636         and <fix-fp-int-convert-overflow.h>.
23637         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
23638         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23639         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
23640         <limits.h> and <fix-fp-int-convert-overflow.h>.
23641         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
23642         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23643         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
23644         and <fix-fp-int-convert-overflow.h>.
23645         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
23646         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23647         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
23648         and <fix-fp-int-convert-overflow.h>.
23649         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
23650         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23651         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
23653 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
23655         [BZ #18589]
23656         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
23657         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
23658         $(gen-locales).
23660 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23661             Phil Blundell <pb@pbcl.net>
23663         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
23664         * nptl/tst-cancel26.c: New file.
23665         * nptl/tst-cancel27.c: Likewise.
23667 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
23669         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
23670         __ILP32__ isn't defined.
23671         (lrint): Likewise.
23672         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
23673         (lrintf): Likewise.
23674         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
23675         (lrintl): Likewise.
23676         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
23677         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
23678         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
23680 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23682         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23683         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23685         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
23686         file.
23687         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
23688         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23690 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
23692         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
23693         configure test.
23694         * sysdeps/i386/configure: Regenerated.
23695         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
23696         configure test.
23697         * sysdeps/x86_64/configure: Regenerated.
23698         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
23699         Make code unconditional.
23701         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
23702         test.
23703         * sysdeps/i386/configure: Regenerated.
23704         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
23705         test.
23706         * sysdeps/x86_64/configure: Regenerated.
23707         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
23708         Make code unconditional.
23709         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23710         Likewise.
23711         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
23712         Likewise.
23713         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23714         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
23715         code unconditional.
23716         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23717         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
23718         code unconditional.
23719         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23720         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
23721         code unconditional.
23722         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
23723         code unconditional.
23724         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23725         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
23726         code unconditional.
23727         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23728         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
23729         code unconditional.
23730         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23731         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
23732         code unconditional.
23733         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23734         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
23735         code unconditional.
23736         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23737         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
23739         [BZ #19095]
23740         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
23741         mantissa to long int before shifting left.
23743 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
23745         [BZ #19094]
23746         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
23747         <limits.h>.
23748         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23749         when result overflows but exception would not result from cast.
23750         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
23751         <limits.h>.
23752         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23753         when result overflows but exception would not result from cast.
23754         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
23755         <limits.h>.
23756         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23757         when result overflows but exception would not result from cast.
23758         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
23759         <limits.h>.
23760         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23761         when result overflows but exception would not result from cast.
23762         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
23763         <limits.h>.
23764         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23765         when result overflows but exception would not result from cast.
23766         * math/libm-test.inc (lrint_test_data): Add more tests.
23767         (llrint_test_data): Likewise.
23769 2015-10-08  Roland McGrath  <roland@hack.frob.com>
23771         [BZ #18872]
23772         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
23773         Move out from under [$(run-built-tests) = yes] conditional.
23774         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
23775         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
23777 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
23779         [BZ #18589]
23780         * string/Makefile (tests): Add bug-strcoll2.
23781         (LOCALES): Add cs_CZ.UTF-8.
23782         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
23784         [BZ #18589]
23785         * string/bug-strcoll2.c: New file.
23786         * locale/categories.def: Revert commit
23787         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
23788         * locale/langinfo.h: Likewise.
23789         * locale/localeinfo.h: Likewise.
23790         * locale/C-collate.c: Likewise.
23791         * locale/programs/ld-collate.c (collate_output): Likewise.
23792         * string/strcoll_l.c (STRDIFF): Likewise.
23793         (STRCOLL): Likewise.
23794         * wcsmbs/wcscoll_l.c: Likewise.
23796 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
23798         * math/libm-test.inc (lround_test_data): Do not expect the absence
23799         of "inexact" for some tests with non-integer arguments.
23800         (llround_test_data): Likewise.
23802         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
23803         test.
23804         (libc_cv_cc_sse2avx): Likewise.
23805         * sysdeps/i386/configure: Regenerated.
23806         * sysdeps/i386/i686/multiarch/Makefile
23807         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
23808         [$(subdir) = math].
23809         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
23810         code unconditional.
23811         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
23812         Likewise.
23813         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
23814         Likewise.
23815         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
23816         Likewise.
23817         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
23818         test.
23819         (libc_cv_cc_sse2avx): Likewise.
23820         * sysdeps/x86_64/configure: Regenerated.
23821         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
23822         unconditional.
23823         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
23824         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
23825         unconditional.
23826         (_dl_runtime_profile)
23827         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
23828         conditional code.
23829         * sysdeps/x86_64/fpu/multiarch/Makefile
23830         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
23831         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23832         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23833         * sysdeps/x86_64/fpu/multiarch/e_exp.c
23834         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23835         * sysdeps/x86_64/fpu/multiarch/e_log.c
23836         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23837         * sysdeps/x86_64/fpu/multiarch/s_atan.c
23838         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23839         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
23840         Likewise.
23841         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
23842         Likewise.
23843         * sysdeps/x86_64/fpu/multiarch/s_sin.c
23844         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23845         * sysdeps/x86_64/fpu/multiarch/s_tan.c
23846         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23847         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
23848         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
23849         (HAVE_SSE2AVX_SUPPORT): Likewise.
23851 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
23853         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
23854         instead of #pragma optimize.
23856 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
23858         [BZ #17195]
23859         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
23860         as is similarly done in systrim and _int_free already.
23862 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23864         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
23866 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23868         [BZ #19088]
23869         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
23870         <limits.h>.
23871         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
23872         overflows but exception would not result from cast.
23873         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
23874         and <limits.h>.
23875         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
23876         overflows but exception would not result from cast.
23877         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
23878         <limits.h>.
23879         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
23880         overflows but exception would not result from cast.
23881         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
23882         <limits.h>.
23883         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
23884         overflows but exception would not result from cast.
23885         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
23886         <limits.h>.
23887         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
23888         overflows but exception would not result from cast.
23889         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
23890         <limits.h>.
23891         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
23892         overflows but exception would not result from cast.
23893         * math/libm-test.inc (lround_test_data): Add more tests.
23894         (llround_test_data): Likewise.
23896 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
23898         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
23899         (CFLAGS-ialloc.c): Ditto.
23900         (CFLAGS-scheck.c): Ditto.
23902 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
23904         [BZ #19086]
23905         * manual/filesys.texi (Storage Allocation): Fix argument order for
23906         posix_fallocate64.
23908 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23910         [BZ #19085]
23911         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
23912         exponent below 48 inside case for non-overflowing exponent.
23913         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
23915 2015-10-07  Florian Weimer  <fweimer@redhat.com>
23917         * iconvdata/cp737.h (from_idx): Add const.
23918         * iconvdata/cp775.h (from_idx): Likewise.
23920 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23922         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
23923         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
23924         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
23926         [BZ #19079]
23927         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
23928         file, conditioned on [!_LP64].
23929         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
23930         [!_LP64] (__lround): Do not define as function or alias.
23931         [!_LP64] (lround): Likewise.
23932         [!_LP64] (__lroundl): Likewise.
23933         [!_LP64] (lroundl): Likewise.
23934         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
23935         macro.
23936         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
23937         Likewise.
23939 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
23941         * math/libm-test.inc (lrint_test_data): Add more tests.
23942         (llrint_test_data): Likewise.
23943         (lround_test_data): Likewise.
23944         (llround_test_data): Likewise.
23946         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
23947         (llrint_test_data): Add tests used for lrint.
23949         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
23950         test.
23951         * sysdeps/i386/configure: Regenerated.
23952         * sysdeps/i386/i686/multiarch/Makefile
23953         [$(config-cflags-sse4) = yes]: Make code unconditional.
23954         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
23955         Likewise.
23956         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
23957         Likewise.
23958         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
23959         test.
23960         * sysdeps/x86_64/configure: Regenerated.
23961         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
23962         Make code unconditional.
23963         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
23964         Likewise.
23965         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
23966         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
23968         * scripts/rpm2dynsym.sh: Remove file.
23970 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23972         * configure.ac (libc_cv_cxx_thread_local): Define.
23973         * configure: Regenerate.
23974         * config.make.in (have-cxx-thread_local): Define.
23975         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
23976         (LDLIBS-tst-thread_local1): Define.
23977         (tests): Add tst-thread_local1.
23978         [have-cxx-thread_local != yes] (tests-unsupported): Add
23979         tst-thread_local1.
23980         * nptl/tst-thread_local1.cc: New file.
23982 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
23984         [BZ #19078]
23985         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
23986         (u_thres): Likewise.
23987         (__expl): Determine whether to call __kernel_standard_l based on
23988         value of result, not argument.
23990         * math/libm-test.inc (scalb_test_data): Add more expectations for
23991         the "inexact" exception.
23993         [BZ #19077]
23994         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
23995         0.0L for argument 1.0L.
23997         [BZ #19076]
23998         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
23999         constant 0.0L when computing infinite result.
24001 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24003         [BZ #10432]
24004         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
24005         malloc_usable_size.
24007 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24009         [BZ #19018]
24010         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24011         Mangle function pointer before storing it.
24012         (__call_tls_dtors): Demangle function pointer before calling it.
24014 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24016         [BZ #19012]
24017         * iconv/gconv_db.c (gen_steps): Check for additional errors.
24018         Clean up on failure.
24020 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
24022         [BZ #19071]
24023         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
24024         long int variable to store possibly incremented high part of
24025         mantissa.
24026         * math/libm-test.inc (lround_test_data): Add tests used for
24027         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
24028         for tests requiring 64-bit long.  Do not condition tests on
24029         [TEST_FLOAT] unnecessarily.
24030         (llround_test_data): Add tests used for lround.  Add another
24031         expectation for the "inexact" exception.  Do not condition tests
24032         on [TEST_FLOAT] unnecessarily.
24034         [BZ #887]
24035         [BZ #19049]
24036         [BZ #19050]
24037         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
24038         * sysdeps/ieee754/dbl-64/e_log10.c: Include
24039         <fix-int-fp-convert-zero.h>.
24040         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24041         * sysdeps/ieee754/dbl-64/e_log2.c: Include
24042         <fix-int-fp-convert-zero.h>.
24043         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24044         * sysdeps/ieee754/dbl-64/s_erf.c: Include
24045         <fix-int-fp-convert-zero.h>.
24046         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24047         * sysdeps/ieee754/dbl-64/s_logb.c: Include
24048         <fix-int-fp-convert-zero.h>.
24049         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24050         * sysdeps/ieee754/flt-32/e_log10f.c: Include
24051         <fix-int-fp-convert-zero.h>.
24052         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24053         * sysdeps/ieee754/flt-32/e_log2f.c: Include
24054         <fix-int-fp-convert-zero.h>.
24055         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24056         * sysdeps/ieee754/flt-32/s_erff.c: Include
24057         <fix-int-fp-convert-zero.h>.
24058         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24059         * sysdeps/ieee754/flt-32/s_logbf.c: Include
24060         <fix-int-fp-convert-zero.h>.
24061         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24062         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
24063         <fix-int-fp-convert-zero.h>.
24064         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24065         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
24066         <fix-int-fp-convert-zero.h>.
24067         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24068         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
24069         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
24070         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
24071         file.
24072         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
24074 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
24076         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24078 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
24080         [BZ #19059]
24081         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
24082         overflowing computation.
24083         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24084         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
24085         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24086         Likewise.
24087         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24088         Likewise.
24089         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
24090         Likewise.
24091         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24092         Likewise.
24093         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24094         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24095         Likewise.
24096         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24097         Likewise.
24098         * math/libm-test.inc (nexttoward_test_data): Add more tests.
24100         * nss/rewrite_field.c (__nss_rewrite_field): Use
24101         internal_function.
24102         * nss/valid_field.c (__nss_valid_field): Likewise.
24103         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
24105 2015-10-02  Florian Weimer  <fweimer@redhat.com>
24107         [BZ #18724]
24108         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
24109         (__nss_invalid_field_characters, __nss_valid_field)
24110         (__nss_valid_list_field, __nss_rewrite_field): Declare.
24111         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
24112         tst-field.c: New file.
24113         * nss/Makefile (routines): Add valid_field, rewrite_field.
24114         (tests-static): Define unconditionally.
24115         (tests): Include tests-static.
24116         [build-static-nss] (tests-static): Use append.
24117         [build-static-nss] (tests): Remove modification.
24118         * nss/getent.c (print_group): Call putgrent.  Report error.
24119         (print_gshadow): Call putsgent.  Report error.
24120         (print_passwd): Call putpwent.  Report error.
24121         (print_shadow): Call putspent.  Report error.
24122         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
24123         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
24124         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
24125         name, password, directory, shell fields for valid syntax.  Rewrite
24126         GECOS field to match syntax.
24127         * pwd/Makefile (tests): Add tst-putpwent.
24128         * pwd/tst-putpwent.c: New file.
24129         * grp/putgrent.c (putgrent): Convert to ISO function definition.
24130         Check grName, grpasswd, gr_mem fields for valid syntax.
24131         Change loop variable i to size_t.
24132         * grp/Makefile (tests): Add tst-putgrent.
24133         * grp/tst-putgrent.c: New file.
24134         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
24135         valid syntax.
24136         * shadow/Makefile (tests): Add tst-putspent.
24137         * shadow/tst-putspent.c: New file.
24138         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
24139         sg_mem fields for valid syntax.
24140         * gshadow/Makefile (tests): Add tst-putsgent.
24141         * gshadow/tst-putsgent.c: New file.
24143 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24145         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
24146         assembly instructions.
24148 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24150         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
24151         prefix from operands.
24153 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
24155         [BZ #16347]
24156         [BZ #19046]
24157         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
24158         <libc-internal.h>.
24159         (MAXLGM): Do not use diagnostic control macros.
24160         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
24161         threshold for ldbl-128ibm.
24162         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
24163         instead of multiplying by log then subtracting.
24164         * math/auto-libm-test-in: Add more tests of lgamma.
24165         * math/auto-libm-test-out: Regenerated.
24167         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
24168         (TYPE_HEX_DIG): Likewise.
24169         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
24170         precisions when printing floating-point numbers.
24171         (check_float_internal): Likewise.
24173 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
24175         [BZ #16620]
24176         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
24177         of log (10) rounded downward to 48 bits.
24178         (log10_low): Use corresponding low part of log (10).
24180         [BZ #19032]
24181         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
24182         compute result as (x - x) / (x - x) not as 0 / 0.
24183         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
24184         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
24186         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24187         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
24188         and expm1.
24189         * math/auto-libm-test-out: Regenerated.
24190         * math/libm-test.inc (acos_test_data): Add more tests.
24191         (asin_test_data): Likewise.
24192         (asinh_test_data): Likewise.
24193         (atan_test_data): Likewise.
24194         (atanh_test_data): Likewise.
24195         (atan2_test_data): Likewise.
24196         (cbrt_test_data): Likewise.
24197         (ceil_test_data): Likewise.
24198         (copysign_test_data): Likewise.
24199         (cos_test_data): Likewise.
24200         (cosh_test_data): Likewise.
24201         (erf_test_data): Likewise.
24202         (erfc_test_data): Likewise.
24203         (exp_test_data): Likewise.
24204         (exp10_test_data): Likewise.
24205         (exp2_test_data): Likewise.
24206         (expm1_test_data): Likewise.
24207         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24209 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
24211         [BZ #19006]
24212         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
24213         to ...
24214         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
24215         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
24216         to ...
24217         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
24218         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
24219         to ...
24220         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
24221         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
24222         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
24223         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
24224         to ...
24225         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
24226         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
24227         Moved to ...
24228         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
24229         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
24230         Moved to ...
24231         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
24232         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
24233         to ...
24234         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
24235         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
24236         Moved to ...
24237         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
24238         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
24239         to ...
24240         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
24241         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
24242         Removed.
24243         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
24244         Likewise.
24245         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
24246         Likewise.
24247         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
24248         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
24249         Likewise.
24250         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
24251         Likewise.
24252         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
24253         Likewise.
24254         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
24255         Likewise.
24256         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
24257         Likewise.
24258         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
24259         Likewise.
24260         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
24261         Likewise.
24262         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
24263         Likewise.
24264         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
24265         Likewise.
24266         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
24267         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
24268         Likewise.
24269         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
24270         Likewise.
24271         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
24272         Likewise.
24273         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
24274         Likewise.
24275         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
24276         Likewise.
24277         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
24278         Replace ../i486/pthread_cond_timedwait.S with
24279         ../pthread_cond_timedwait.S.
24281 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
24283         * math/libm-test.inc (acos_test_data): Refine expectations for
24284         errno and "inexact" exceptions.
24285         (acosh_test_data): Likewise.
24286         (asin_test_data): Likewise.
24287         (asinh_test_data): Likewise.
24288         (atan_test_data): Likewise.
24289         (atanh_test_data): Likewise.
24290         (atan2_test_data): Likewise.
24291         (cbrt_test_data): Likewise.
24292         (ceil_test_data): Likewise.
24293         (copysign_test_data): Likewise.
24294         (cosh_test_data): Likewise.
24295         (erf_test_data): Likewise.
24296         (erfc_test_data): Likewise.
24297         (exp_test_data): Likewise.
24298         (exp10_test_data): Likewise.
24299         (exp2_test_data): Likewise.
24300         (expm1_test_data): Likewise.
24301         (fabs_test_data): Likewise.
24302         (floor_test_data): Likewise.
24303         (fma_test_data): Likewise.
24304         (fmax_test_data): Likewise.
24305         (fmin_test_data): Likewise.
24306         (fmod_test_data): Likewise.
24307         (fpclassify_test_data): Likewise.
24308         (frexp_test_data): Likewise.
24309         (hypot_test_data): Likewise.
24310         (ilogb_test_data): Likewise.
24311         (isgreater_test_data): Likewise.
24312         (isgreaterequal_test_data): Likewise.
24313         (isinf_test_data): Likewise.
24314         (isless_test_data): Likewise.
24315         (islessequal_test_data): Likewise.
24316         (islessgreater_test_data): Likewise.
24317         (isnan_test_data): Likewise.
24318         (isnormal_test_data): Likewise.
24319         (issignaling_test_data): Likewise.
24320         (isunordered_test_data): Likewise.
24321         (j0_test_data): Likewise.
24322         (j1_test_data): Likewise.
24323         (jn_test_data): Likewise.
24324         (lgamma_test_data): Likewise.
24325         (lrint_test_data): Likewise.
24326         (llrint_test_data): Likewise.
24327         (log_test_data): Likewise.
24328         (log10_test_data): Likewise.
24329         (log1p_test_data): Likewise.
24330         (log2_test_data): Likewise.
24331         (logb_test_data): Likewise.
24332         (lround_test_data): Likewise.
24333         (llround_test_data): Likewise.
24334         (modf_test_data): Likewise.
24335         (nearbyint_test_data): Likewise.
24336         (nextafter_test_data): Likewise.
24337         (nexttoward_test_data): Likewise.
24338         (pow_test_data): Likewise.
24339         (remainder_test_data): Likewise.
24340         (remquo_test_data): Likewise.
24341         (rint_test_data): Likewise.
24342         (round_test_data): Likewise.
24343         (signbit_test_data): Likewise.
24344         (sinh_test_data): Likewise.
24345         (sqrt_test_data): Likewise.
24346         (tanh_test_data): Likewise.
24347         (tgamma_test_data): Likewise.
24348         (trunc_test_data): Likewise.
24349         (y0_test_data): Likewise.
24350         (y1_test_data): Likewise.
24351         (yn_test_data): Likewise.
24352         (significand_test_data): Likewise.
24354 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
24356         * manual/filesys.texi (Storage Allocation): Document that
24357         posix_fallocate emulation fails when fd is open with O_WRONLY.
24359 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
24361         [BZ #19016]
24362         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
24363         allow more cases with X^2 + Y^2 >= 0.5.
24364         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
24365         normal element in sum instead of special-casing based on values of
24366         arguments.
24367         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
24368         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
24369         -1 as normal element in sum instead of special-casing based on
24370         values of arguments.
24371         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
24372         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
24373         (__x2y2m1): Update comment.
24374         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
24375         as normal element in sum instead of special-casing based on values
24376         of arguments.
24377         * math/s_clog.c (__clog): Handle more cases using log1p without
24378         hypot.
24379         * math/s_clog10.c (__clog10): Likewise.
24380         * math/s_clog10f.c (__clog10f): Likewise.
24381         * math/s_clog10l.c (__clog10l): Likewise.
24382         * math/s_clogf.c (__clogf): Likewise.
24383         * math/s_clogl.c (__clogl): Likewise.
24384         * math/auto-libm-test-in: Add more tests of clog and clog10.
24385         * math/auto-libm-test-out: Regenerated.
24386         * sysdeps/i386/fpu/libm-test-ulps: Update.
24387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24389 2015-09-28  Martin Sebor  <msebor@redhat.com>
24391         [BZ #18969]
24392         * string/Makefile (LOCALES): Define.
24393         (gen-locales.mk): Include.
24394         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
24395         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
24396         * string/tst-strxfrm2.c (do_test): Print the name of the locale
24397         on setlocale failure.
24399 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
24401         [BZ #18985]
24402         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
24403         (__strftime_internal): Likewise.
24404         * time/tst-strftime.c (do_bz18985): New test.
24405         (do_test): Call it.
24407 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
24409         [BZ #18956]
24410         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
24411         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
24412         extracting high part.
24413         * math/auto-libm-test-in: Add another test of pow.
24414         * math/auto-libm-test-out: Regenerated.
24415         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24417 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
24419         [BZ #18825]
24420         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
24421         New macro.
24422         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
24423         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24424         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
24425         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
24426         DBL_NARROW_EVAL, reloading the PIC register as needed.
24427         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
24428         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
24429         FLT_NARROW_EVAL.  Use separate return path for case when first
24430         argument is NaN.
24431         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
24432         DEFINE_LDBL_MIN.
24433         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
24434         PIC register.
24435         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
24436         math_check_force_underflow_nonneg.
24437         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
24438         underflow for subnormal result.
24439         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
24440         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
24441         math_check_force_underflow_nonneg.
24442         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
24443         math_check_force_underflow.
24444         * sysdeps/x86_64/fpu/x86_64-math-asm.h
24445         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
24446         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
24447         DEFINE_LDBL_MIN.
24448         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
24449         * math/auto-libm-test-in: Add more tests of pow.
24450         * math/auto-libm-test-out: Regenerated.
24452 2015-09-25  Florian Weimer  <fweimer@redhat.com>
24454         * nss/bug17079.c (init_test_items): Add diagnostic for
24455         inconsistent entries.
24456         (test_buffer_size): Skip inconsistent entries.
24458 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
24460         [BZ #13304]
24461         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
24462         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24463         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
24465         [BZ #13304]
24466         * sysdeps/microblaze/s_fma.c: New file.
24467         * sysdeps/microblaze/s_fmaf.c: Likewise.
24468         * sysdeps/microblaze/sfp-machine.h: Likewise.
24470 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
24472         [BZ #17250]
24473         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
24474         member.
24476 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
24478         [BZ #18803]
24479         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
24480         (MO): New macro.
24481         (__ieee754_hypot) [PIC]: Load PIC register.
24482         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
24483         DBL_NARROW_EVAL.
24484         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
24485         math_check_force_underflow_nonneg in case where result might be
24486         tiny.
24487         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24488         Likewise.
24489         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24490         Likewise.
24491         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
24492         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
24493         * math/auto-libm-test-in: Add more tests of hypot.
24494         * math/auto-libm-test-out: Regenerated.
24496 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
24498         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
24500 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
24502         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
24503         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
24504         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
24505         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
24506         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
24507         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
24508         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
24510         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
24511         LOAD_PIC_REG.
24513         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
24514         (FLT_CHECK_FORCE_UFLOW): Likewise.
24515         (DBL_CHECK_FORCE_UFLOW): Likewise.
24516         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
24517         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
24518         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
24519         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24520         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24521         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24522         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24523         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24524         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
24525         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24526         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
24527         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
24528         (flt_min): Replace with use of DEFINE_FLT_MIN.
24529         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
24530         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
24531         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24532         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
24533         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
24534         (flt_min): Replace with use of DEFINE_FLT_MIN.
24535         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
24536         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
24537         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24538         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
24539         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
24540         (flt_min): Replace with use of DEFINE_FLT_MIN.
24541         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
24542         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
24543         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
24544         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
24545         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
24546         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
24547         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
24548         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
24549         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24550         (__atan): Use DBL_CHECK_FORCE_UFLOW.
24551         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
24552         (flt_min): Replace with use of DEFINE_FLT_MIN.
24553         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
24554         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
24555         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24556         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
24557         main computation.
24558         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
24559         (flt_min): Replace with use of DEFINE_FLT_MIN.
24560         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
24561         main computation.
24562         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
24563         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24564         (MO): New macro.
24565         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
24566         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
24567         (flt_min): Replace with use of DEFINE_FLT_MIN.
24568         (MO): New macro.
24569         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
24570         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
24571         (__log1pl): Use MO.
24573         [BZ #19003]
24574         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
24575         $(config-cflags-nofma).
24577 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24579         * sysdeps/aarch64/libm-test-ulps: Regenerated.
24581 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
24583         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
24584         (TWO127): Likewise.
24586         * sysdeps/generic/math_private.h (fabs_tg): New macro.
24587         (min_of_type): Likewise.
24588         (math_check_force_underflow): Likewise.
24589         (math_check_force_underflow_nonneg): Likewise.
24590         (math_check_force_underflow_complex): Likewise.
24591         * math/e_exp2l.c (__ieee754_exp2l): Use
24592         math_check_force_underflow_nonneg.
24593         * math/k_casinh.c (__kernel_casinh): Likewise.
24594         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24595         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24596         * math/s_catan.c (__catan): Use
24597         math_check_force_underflow_complex.
24598         * math/s_catanf.c (__catanf): Likewise.
24599         * math/s_catanh.c (__catanh): Likewise.
24600         * math/s_catanhf.c (__catanhf): Likewise.
24601         * math/s_catanhl.c (__catanhl): Likewise.
24602         * math/s_catanl.c (__catanl): Likewise.
24603         * math/s_ccosh.c (__ccosh): Likewise.
24604         * math/s_ccoshf.c (__ccoshf): Likewise.
24605         * math/s_ccoshl.c (__ccoshl): Likewise.
24606         * math/s_cexp.c (__cexp): Likewise.
24607         * math/s_cexpf.c (__cexpf): Likewise.
24608         * math/s_cexpl.c (__cexpl): Likewise.
24609         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
24610         * math/s_clog10.c (__clog10): Likewise.
24611         * math/s_clog10f.c (__clog10f): Likewise.
24612         * math/s_clog10l.c (__clog10l): Likewise.
24613         * math/s_clogf.c (__clogf): Likewise.
24614         * math/s_clogl.c (__clogl): Likewise.
24615         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
24616         * math/s_csinf.c (__csinf): Likewise.
24617         * math/s_csinh.c (__csinh): Likewise.
24618         * math/s_csinhf.c (__csinhf): Likewise.
24619         * math/s_csinhl.c (__csinhl): Likewise.
24620         * math/s_csinl.c (__csinl): Likewise.
24621         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
24622         * math/s_csqrtf.c (__csqrtf): Likewise.
24623         * math/s_csqrtl.c (__csqrtl): Likewise.
24624         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
24625         * math/s_ctanf.c (__ctanf): Likewise.
24626         * math/s_ctanh.c (__ctanh): Likewise.
24627         * math/s_ctanhf.c (__ctanhf): Likewise.
24628         * math/s_ctanhl.c (__ctanhl): Likewise.
24629         * math/s_ctanl.c (__ctanl): Likewise.
24630         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
24631         instead of volatile.
24632         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
24633         math_check_force_underflow.
24634         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24635         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
24636         volatile when forcing underflow.
24637         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24638         math_check_force_underflow_nonneg.
24639         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
24640         Likewise.
24641         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
24642         math_check_force_underflow.
24643         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24644         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24645         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24646         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
24647         math_check_force_underflow_nonneg.
24648         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
24649         math_check_force_underflow.
24650         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
24651         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
24652         instead of volatile.
24653         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
24654         math_check_force_underflow.
24655         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24656         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24657         math_check_force_underflow_nonneg.
24658         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
24659         math_check_force_underflow.
24660         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
24661         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24662         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
24663         math_check_force_underflow_nonneg.
24664         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
24665         Likewise.
24666         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
24667         math_check_force_underflow.
24668         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24669         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
24670         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
24671         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
24672         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
24673         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
24674         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
24675         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
24676         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
24677         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
24678         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
24679         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
24680         Likewise.
24681         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
24682         math_check_force_underflow_nonneg.
24683         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
24684         Likewise.
24685         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
24686         math_check_force_underflow.
24687         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24688         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
24689         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24690         Likewise.
24691         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
24692         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
24693         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
24694         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
24695         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
24696         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
24697         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
24698         instead of volatile.
24699         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
24700         math_check_force_underflow.
24701         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
24702         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
24703         math_check_force_underflow.
24704         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
24705         Likewise.
24706         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24707         Use math_check_force_underflow_nonneg.
24708         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
24709         math_check_force_underflow.
24710         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
24711         Likewise.
24712         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24713         Likewise.
24714         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24715         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24716         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24717         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24718         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
24719         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24720         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
24721         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
24722         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
24723         math_check_force_underflow_nonneg.
24724         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
24725         math_check_force_underflow.
24726         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24727         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
24728         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
24729         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
24730         math_check_force_underflow_nonneg.
24731         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
24732         math_check_force_underflow.
24733         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
24734         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
24735         instead of volatile.
24736         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
24737         math_check_force_underflow.
24739         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
24740         * stdlib/strtod_l.c: Include <math_private.h>.
24741         (overflow_value): Use math_narrow_eval.
24742         (underflow_value): Likewise.
24743         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24744         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
24745         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
24746         (__ieee754_gamma_r): Likewise.
24747         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
24748         Likewise.
24749         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
24750         Likewise.
24751         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
24752         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
24753         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
24754         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
24755         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
24756         (__ieee754_gammaf_r): Likewise.
24757         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
24758         Likewise.
24759         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
24760         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
24761         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
24762         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
24763         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
24764         volatile.
24765         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
24766         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
24767         math_narrow_eval.
24768         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
24769         Likewise.
24770         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24771         Likewise.
24772         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
24773         Likewise.
24774         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
24775         volatile.
24776         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
24777         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
24778         math_narrow_eval.
24779         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24780         Likewise.
24781         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24782         Likewise.
24784 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
24786         * nptl/Versions: Remove ignored symbols.
24788 2015-09-22  Florian Weimer  <fweimer@redhat.com>
24790         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
24791         * nss/Makefile (tests): Update.
24793 2015-09-22  Florian Weimer  <fweimer@redhat.com>
24795         * nss/bug18287.c: New file.
24796         * nss/Makefile (tests): Add bug18287.
24798 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24800         * mach/Versions (__mach_host_self_): Add symbol.
24802 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24804         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
24805         vm_page_size.
24807 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24809         Really fix sysdeps/i386/fpu/s_scalbn.S build
24811         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
24812         (libc: GLIBC_2_22): Remove unused version set.
24814 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
24816         * config.make.in (enable-timezone-tools): New variable.
24817         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
24818         (enable_timezone_tools): Export to generated files.
24819         * configure: Regenerate.
24820         * INSTALL: Regenerate.
24821         * manual/install.texi (--disable-timezone-tools): Document new flag.
24822         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
24823         ifeq ($(enable-timezone-tools),yes) check.
24825 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24827         * timezone/Makefile: Revert previous change.
24829         [BZ #18980]
24830         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
24831         (DEFINE_DBL_MIN): Likewise.
24832         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
24833         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
24834         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
24835         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
24836         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
24837         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24838         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24839         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
24840         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
24841         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24842         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24843         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
24844         (flt_min): Replace with use of DEFINE_FLT_MIN.
24845         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24846         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
24847         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24848         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24849         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
24850         (flt_min): Replace with use of DEFINE_FLT_MIN.
24851         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24852         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
24853         (flt_min): Replace with use of DEFINE_FLT_MIN.
24854         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24855         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
24856         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
24857         (__ieee754_hypot): Use DBL_NARROW_EVAL.
24858         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
24859         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
24860         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
24861         (__ieee754_pow): Use DBL_NARROW_EVAL.
24862         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
24863         (__ieee754_powf): Use FLT_NARROW_EVAL.
24864         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
24865         (__ieee754_expf_sse2): Convert double-precision result to single
24866         precision.
24867         * sysdeps/i386/fpu/libm-test-ulps: Update.
24869 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24871         * timezone/Makefile: Ignore unused variable errors due to private.h
24872         (time_t_min) and (time_t_max).
24873         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
24874         Likewise.
24876 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24878         [BZ #18981]
24879         * sysdeps/i386/fpu/i386-math-asm.h: New file.
24880         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
24881         (__ieee754_scalb): Use DBL_NARROW_EVAL.
24882         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
24883         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
24884         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
24885         (__scalbn): Use DBL_NARROW_EVAL.
24886         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
24887         (__scalbnf): Use FLT_NARROW_EVAL.
24889 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24891         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
24892         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
24893         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
24894         * stdio-common/printf_fp.c (___printf_fp):
24895         Use signbit to get the sign. Use isinf macro to allow inlining.
24896         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
24897         * stdio-common/printf_size.c (__printf_size): Likewise.
24899 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
24901         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
24903 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24905         [BZ #18980]
24906         * sysdeps/generic/math_private.h: Include <float.h>.
24907         (math_narrow_eval): New macro.
24908         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
24909         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
24910         math_narrow_eval on overflowing return value.
24911         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
24912         Likewise.
24913         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24914         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
24915         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
24916         Likewise.
24917         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
24919 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24921         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
24922         * math/Makefile: Remove isinf_ns.c.
24923         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
24924         * math/multc3.c (__multc3): Likewise.
24925         * math/s_casin.c (__casin): Likewise.
24926         * math/s_casinf.c (__casinf): Likewise.
24927         * math/s_casinl.c (__casinl): Likewise.
24928         * math/s_cproj.c (__cproj): Likewise.
24929         * math/s_cprojf.c (__cprojf): Likewise.
24930         * math/s_cprojl.c (__cprofl): Likewise.
24931         * math/s_ctan.c (__ctan): Likewise.
24932         * math/s_ctanf.c (__ctanf): Likewise.
24933         * math/s_ctanh.c (__ctanh): Likewise.
24934         * math/s_ctanhf.c (__ctanhf): Likewise.
24935         * math/s_ctanhl.c (__ctanhl): Likewise.
24936         * math/s_ctanl.c (__ctanl): Likewise.
24937         * math/w_fmod.c (__fmod): Likewise.
24938         * math/w_fmodf.c (__fmodf): Likewise.
24939         * math/w_fmodl.c (_fmodl): Likewise.
24940         * math/w_remainder.c (__remainder): Likewise.
24941         * math/w_remainderf.c (__remainderf): Likewise.
24942         * math/w_remainderl.c (__remainderl): Likewise.
24943         * math/w_scalb.c (__scalb): Likewise.
24944         * math/w_scalbf.c (__scalbf): Likewise.
24945         * math/w_scalbl.c (__scalbl): Likewise.
24946         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
24947         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
24948         with isinf.
24949         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
24950         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
24951         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
24952         __isinf_nsf with isinf.
24953         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
24954         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
24955         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
24956         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
24957         with isinf.
24958         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
24959         __isinf_nsl with isinf.
24960         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
24961         with isinf.
24962         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
24963         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
24964         __isinf_nsl with isinf.
24965         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
24966         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
24967         with isinf.
24969 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24971         * resolv/base64.c (rcsid): Remove unused static.
24972         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
24973         static.  (tqpi1): Likewise.
24974         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
24975         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
24976         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
24977         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
24978         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
24979         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
24980         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
24981         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
24982         Likewise.
24984 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
24986         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
24987         <nptl/pthreadP.h>.
24988         (_longjmp_unwind): Use __libc_ptf_call.
24989         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
24991 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
24993         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
24994         * sysdeps/arm/__longjmp.S: Likewise.
24996 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24998         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
24999         Use __builtin_signbit.
25000         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
25001         Use __builtin_signbitf.
25002         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
25003         Use __builtin_signbitl.
25004         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
25005         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
25007 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25009         [BZ #15367]
25010         [BZ #17441]
25012         * math/Makefile: Build test-snan.c with -fsignaling-nans.
25013         * math/math.h (fpclassify): Use __builtin_fpclassify when
25014         available.  (signbit): Use __builtin_signbit(f/l).
25015         (isfinite): Use__builtin_isfinite.  (isnormal): Use
25016         __builtin_isnormal.  (isnan): Use __builtin_isnan.
25017         (isinf): Use __builtin_isinf_sign.
25019 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25021         * benchtests/Makefile: Add bench-math-inlines, link with libm.
25022         * benchtests/bench-math-inlines.c: New benchmark.
25023         * benchtests/bench-util.h: New file.
25024         * benchtests/bench-util.c: New file.
25025         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
25027 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
25029         * elf/tst-dlmopen1.c: Define TEST_SO.
25030         (do_test): Use TEST_SO.
25032         * elf/dl-load.c: Include libc-internal.h.
25033         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
25035 2015-09-18  Vincent Bernat  <vincent@bernat.im>
25037         [BZ #17887]
25038         * time/strptime_l.c (__strptime_internal): Make %z accept
25039         [+-]HH:MM time zones.
25041 2015-09-18  Vincent Bernat  <vincent@bernat.im>
25043         [BZ #17886]
25044         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
25045         valid time zone.
25047 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
25049         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
25050         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
25051         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25052         (__ASSUME_FDATASYNC): Delete.
25054 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25056         * conform/linknamespace.pl: Require weak undefined symbols to be
25057         in the standard namespace.
25058         (%strong_syms): Rename to %seen_syms.
25059         (%strong_seen): Rename to %seen_where.
25061 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
25063         [BZ #18970]
25064         * misc/error.c (error): Replace pthread_setcancelstate with
25065         __pthread_setcancelstate.
25066         (error_at_line): Likewise.
25067         * posix/wordexp.c (parse_comm): Likewise.
25068         * stdlib/fmtmsg.c (fmtmsg): Likewise.
25069         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
25070         (__pthread_setcancelstate): This.
25071         (pthread_setcancelstate): Add an alias.
25072         * nptl/nptl-init.c (pthread_functions): Replace
25073         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
25074         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
25075         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
25076         hidden_proto.
25077         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
25078         it with hidden_def.
25079         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
25080         (pthread_setcancelstate): Renamed to ...
25081         (__pthread_setcancelstate): This.
25082         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
25083         __libc_ptf_call with __pthread_setcancelstate.
25085 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25086             Andreas Schwab  <schwab@suse.de>
25088         [BZ #17118]
25089         * math/s_ctan.c (__ctan): Determine sign of zero real part of
25090         result when imaginary part of argument is infinite using sine and
25091         cosine.
25092         * math/s_ctanf.c (__ctanf): Likewise.
25093         * math/s_ctanl.c (__ctanl): Likewise.
25094         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
25095         of result when real part of argument is infinite using sine and
25096         cosine.
25097         * math/s_ctanhf.c (__ctanhf): Likewise.
25098         * math/s_ctanhl.c (__ctanhl): Likewise.
25099         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
25100         (ctanh_test_data): Add more tests of ctanh.
25102 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25104         [BZ #15384]
25105         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
25106         bit-mask as in subtraction.
25107         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
25108         Likewise.
25109         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
25110         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
25111         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
25113         [BZ #18951]
25114         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
25115         underflow exception for small results.
25116         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
25117         Likewise.
25118         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
25119         Likewise.
25120         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25121         Likewise.
25122         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25123         Likewise.
25124         * math/auto-libm-test-in: Add more tests of tgamma.
25125         * math/auto-libm-test-out: Regenerated.
25127 2015-09-17  Andreas Schwab  <schwab@suse.de>
25129         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
25131 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
25133         [BZ #18977]
25134         * math/bits/mathcalls.h
25135         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
25136         not declare.
25137         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
25138         Likewise.
25139         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
25140         Likewise.
25141         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
25142         Likewise.
25143         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
25144         Likewise.
25145         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
25146         Likewise.
25147         * conform/data/math.h-data
25148         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
25149         function.
25150         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
25151         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
25152         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
25153         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
25154         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
25155         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
25156         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
25157         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
25158         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
25159         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
25160         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
25162         [BZ #6803]
25163         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
25164         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
25165         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
25166         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
25167         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
25168         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
25169         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
25170         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
25171         [NO_LONG_DOUBLE] (scalbnl): Likewise.
25172         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
25173         Likewise.
25174         [NO_LONG_DOUBLE] (scalbnl): Likewise.
25175         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
25176         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
25177         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
25178         long_double_symbol calls.
25179         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
25180         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
25181         strong alias of __ldexpl.
25182         (scalbnl): Define using long_double_symbol.
25183         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
25184         Remove alias.
25185         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
25186         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
25187         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
25188         (scalbln_test_data): Add more errno expectations.
25190 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
25192         Cache the host port like we cache the task port.  This way we do not
25193         need to call the kernel just to get the port.  Furthermore, we no
25194         longer increase the reference count on every invocation of
25195         `mach_host_self'.
25197         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
25198         Protect declarations against the macro expansion.
25199         * mach/mach_init.c (__mach_host_self_): New variable.
25200         (mach_init): Initialize `__mach_host_self_'.
25201         * mach/mach_init.h (__mach_host_self_): New declaration.
25202         (__mach_host_self, mach_host_self): New macros.
25203         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
25204         Release reference.
25206 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
25208         [BZ #4404]
25209         * po/de.po: Update from Translation Project.
25211         [BZ #16415]
25212         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
25213         (__expm1l): Remove code to handle positive infinity and overflow.
25214         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
25215         variable.
25216         (__expm1l): Remove code to handle positive infinity and overflow.
25218 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
25219             Paul Pluzhnikov  <ppluzhnikov@google.com>
25221         [BZ #18872]
25222         * stdio-common/Makefile (tst-printf-bz18872): New test.
25223         (tst-printf-bz18872-mem.out): Likewise.
25224         * stdio-common/tst-printf-bz18872.sh: Generate new test.
25225         * stdio-common/vfprintf.c: Fix memory leaks.
25227 2015-09-16  Andreas Schwab  <schwab@suse.de>
25229         [BZ #17244]
25230         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
25231         Remove extra va_start/va_end calls.
25233         [BZ #17243]
25234         * posix/execl.c (execl): Add missing va_end.
25235         * posix/execle.c (execle): Likewise.
25236         * posix/execlp.c (execlp): Likewise.
25238 2015-09-15  Roland McGrath  <roland@hack.frob.com>
25240         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
25241         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
25243 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
25245         [BZ #18967]
25246         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
25247         undefine around includes of <bits/mathcalls.h>.
25248         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
25249         not declare function.
25250         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
25251         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
25252         (scalb): Likewise.
25253         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
25254         not define macro.
25255         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
25256         variable.
25257         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25258         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25259         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25261         [BZ #18857]
25262         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
25263         return non-finite argument without doing ordered comparisons on
25264         it.
25266         [BZ #16296]
25267         * math/fenv.h (fegetround): Use __attribute_pure__.
25268         * include/fenv.h (__fegetround): Likewise.
25270         [BZ #18595]
25271         * math/s_ctan.c (__ctan): Force underflow exception for results
25272         whose real or imaginary part has small absolute value.
25273         * math/s_ctanf.c (__ctanf): Likewise.
25274         * math/s_ctanh.c (__ctanh): Likewise.
25275         * math/s_ctanhf.c (__ctanhf): Likewise.
25276         * math/s_ctanhl.c (__ctanhl): Likewise.
25277         * math/s_ctanl.c (__ctanl): Likewise.
25278         * math/auto-libm-test-in: Do not allow missing underflow for ctan
25279         and ctanh.  Add more tests of ctan and ctanh.
25281         [BZ #15918]
25282         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
25283         handling of cases where one argument is an infinity.
25285         [BZ #18875]
25286         [BZ #18966]
25287         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
25288         (MO): New macro.
25289         (__ieee754_exp10): For small results, force underflow exception
25290         and remove excess range and precision from return value.
25291         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
25292         (MO): New macro.
25293         (__ieee754_exp10f): For small results, force underflow exception
25294         and remove excess range and precision from return value.
25295         * math/auto-libm-test-in: Add more tests of exp10.
25296         * math/auto-libm-test-out: Regenerated.
25298 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
25300         [BZ #18875]
25301         [BZ #18961]
25302         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
25303         (MO): New macro.
25304         (__ieee754_exp): For small results, force underflow exception and
25305         remove excess range and precision from return value.
25306         (__exp_finite): Likewise.
25307         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
25308         (MO): New macro.
25309         (__ieee754_expf): For small results, force underflow exception and
25310         remove excess range and precision from return value.
25311         (__expf_finite): Likewise.
25312         * math/auto-libm-test-in: Add more tests of exp.
25313         * math/auto-libm-test-out: Regenerated.
25315         [BZ #16521]
25316         [BZ #18875]
25317         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
25318         small results.
25319         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
25320         (MO): New macro.
25321         (__ieee754_exp2): For small results, force underflow exception and
25322         remove excess range and precision from return value.
25323         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
25324         (MO): New macro.
25325         (__ieee754_exp2f): For small results, force underflow exception
25326         and remove excess range and precision from return value.
25327         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
25328         (MO): New macro.
25329         (__ieee754_exp2l): Force underflow exception for small results.
25330         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25331         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
25332         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
25333         (MO): New macro.
25334         (__ieee754_exp2l): Force underflow exception for small results.
25335         * math/auto-libm-test-in: Add more tests or exp2.
25336         * math/auto-libm-test-out: Regenerated.
25338 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
25340         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
25342         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
25343         /dev/null.
25345 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25347         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25348         io fs process)): Drop spurious backslash.
25350 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25352         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
25353         Use sysinfo system call instead of parsing /proc/meminfo.
25354         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
25355         Likewise.
25357 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
25359         [BZ #16985]
25360         * programs/localedef.c (main): Display argv[remaining] when
25361         output_path is NULL.
25363 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
25365         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25366         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
25367         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
25368         tanh.
25369         * math/auto-libm-test-out: Regenerated.
25370         * sysdeps/i386/fpu/libm-test-ulps: Update.
25371         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25372         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25375 2015-09-11  Roland McGrath  <roland@hack.frob.com>
25377         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
25378         Use 'override' keyword to freeze the value here, preventing
25379         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
25381 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
25383         [BZ #14912]
25384         * sysdeps/aarch64/bits/atomic.h: Move to ...
25385         * sysdeps/aarch64/atomic-machine.h: ...here.
25386         (_AARCH64_BITS_ATOMIC_H): Rename macro to
25387         _AARCH64_ATOMIC_MACHINE_H.
25388         * sysdeps/alpha/bits/atomic.h: Move to ...
25389         * sysdeps/alpha/atomic-machine.h: ...here.
25390         * sysdeps/arm/bits/atomic.h: Move to ...
25391         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
25392         * bits/atomic.h: Move to ...
25393         * sysdeps/generic/atomic-machine.h: ...here.
25394         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25395         * sysdeps/i386/bits/atomic.h: Move to ...
25396         * sysdeps/i386/atomic-machine.h: ...here.
25397         * sysdeps/ia64/bits/atomic.h: Move to ...
25398         * sysdeps/ia64/atomic-machine.h: ...here.
25399         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
25400         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
25401         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25402         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
25403         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
25404         * sysdeps/microblaze/bits/atomic.h: Move to ...
25405         * sysdeps/microblaze/atomic-machine.h: ...here.
25406         * sysdeps/mips/bits/atomic.h: Move to ...
25407         * sysdeps/mips/atomic-machine.h: ...here.
25408         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
25409         * sysdeps/powerpc/bits/atomic.h: Move to ...
25410         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
25411         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
25412         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
25413         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
25414         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
25415         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
25416         <atomic-machine.h> instead of <bits/atomic.h>.
25417         * sysdeps/s390/bits/atomic.h: Move to ...
25418         * sysdeps/s390/atomic-machine.h: ...here.
25419         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
25420         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
25421         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25422         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
25423         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
25424         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
25425         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
25426         * sysdeps/tile/bits/atomic.h: Move to ...
25427         * sysdeps/tile/atomic-machine.h: ...here.
25428         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
25429         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
25430         <sysdeps/tile/atomic-machine.h> instead of
25431         <sysdeps/tile/bits/atomic.h>.
25432         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25433         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
25434         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
25435         <sysdeps/tile/atomic-machine.h> instead of
25436         <sysdeps/tile/bits/atomic.h>.
25437         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25438         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
25439         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
25440         <sysdeps/arm/atomic-machine.h> instead of
25441         <sysdeps/arm/bits/atomic.h>.
25442         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
25443         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
25444         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25445         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
25446         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
25447         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25448         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
25449         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
25450         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
25451         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
25452         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
25453         * sysdeps/x86_64/bits/atomic.h: Move to ...
25454         * sysdeps/x86_64/atomic-machine.h: ...here.
25455         * include/atomic.h: Include <atomic-machine.h> instead of
25456         <bits/atomic.h>.
25458         * sysdeps/mips/mips32/libm-test-ulps: Update.
25459         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25461         [BZ #18952]
25462         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
25463         not convert non-integer negative arguments to int to determine the
25464         value of signgam.
25465         * math/auto-libm-test-in: Add more tests of lgamma.
25466         * math/auto-libm-test-out: Regenerated.
25468         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
25469         cosh, csqrt, erfc, expm1 and lgamma.
25470         * math/auto-libm-test-out: Regenerated.
25471         * sysdeps/i386/fpu/libm-test-ulps: Update.
25472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25474 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
25476         [BZ #2542]
25477         [BZ #2543]
25478         [BZ #2558]
25479         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
25480         __lgamma_neg for arguments from -28.0 to -2.0.
25481         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
25482         __lgamma_negf for arguments from -15.0 to -2.0.
25483         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25484         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
25485         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
25486         Call __lgamma_negl for arguments from -33.0 to -2.0.
25487         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
25488         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
25489         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
25490         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
25491         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
25492         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
25493         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
25494         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
25495         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
25496         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
25497         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
25498         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
25499         (__lgamma_neg): Likewise.
25500         (__lgamma_negl): Likewise.
25501         (__lgamma_product): Likewise.
25502         (__lgamma_productl): Likewise.
25503         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
25504         * math/auto-libm-test-in: Add more tests of lgamma.
25505         * math/auto-libm-test-out: Regenerated.
25506         * sysdeps/i386/fpu/libm-test-ulps: Update.
25507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25509 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
25511         [BZ #18675]
25512         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
25514 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
25516         [BZ #14912]
25517         * bits/libc-lock.h: Move to ...
25518         * sysdeps/generic/libc-lock.h: ...here.
25519         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25520         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
25521         * sysdeps/mach/hurd/libc-lock.h: ...here.
25522         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25523         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
25524         * sysdeps/mach/bits/libc-lock.h: Move to ...
25525         * sysdeps/mach/libc-lock.h: ...here.
25526         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25527         * sysdeps/nptl/bits/libc-lock.h: Move to ...
25528         * sysdeps/nptl/libc-lock.h: ...here.
25529         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25530         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
25531         * sysdeps/nptl/libc-lockP.h: ...here.
25532         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
25533         * crypt/crypt_util.c: Include <libc-lock.h> instead of
25534         <bits/libc-lock.h>.
25535         * dirent/scandir-tail.c: Likewise.
25536         * dlfcn/dlerror.c: Likewise.
25537         * elf/dl-close.c: Likewise.
25538         * elf/dl-iteratephdr.c: Likewise.
25539         * elf/dl-lookup.c: Likewise.
25540         * elf/dl-open.c: Likewise.
25541         * elf/dl-support.c: Likewise.
25542         * elf/dl-writev.h: Likewise.
25543         * elf/rtld.c: Likewise.
25544         * grp/fgetgrent.c: Likewise.
25545         * gshadow/fgetsgent.c: Likewise.
25546         * gshadow/sgetsgent.c: Likewise.
25547         * iconv/gconv_conf.c: Likewise.
25548         * iconv/gconv_db.c: Likewise.
25549         * iconv/gconv_dl.c: Likewise.
25550         * iconv/gconv_int.h: Likewise.
25551         * iconv/gconv_trans.c: Likewise.
25552         * include/link.h: Likewise.
25553         * inet/getnameinfo.c: Likewise.
25554         * inet/getnetgrent.c: Likewise.
25555         * inet/getnetgrent_r.c: Likewise.
25556         * intl/bindtextdom.c: Likewise.
25557         * intl/dcigettext.c: Likewise.
25558         * intl/finddomain.c: Likewise.
25559         * intl/gettextP.h: Likewise.
25560         * intl/loadmsgcat.c: Likewise.
25561         * intl/localealias.c: Likewise.
25562         * intl/textdomain.c: Likewise.
25563         * libidn/idn-stub.c: Likewise.
25564         * libio/libioP.h: Likewise.
25565         * locale/duplocale.c: Likewise.
25566         * locale/freelocale.c: Likewise.
25567         * locale/newlocale.c: Likewise.
25568         * locale/setlocale.c: Likewise.
25569         * login/getutent_r.c: Likewise.
25570         * login/getutid_r.c: Likewise.
25571         * login/getutline_r.c: Likewise.
25572         * login/utmp-private.h: Likewise.
25573         * login/utmpname.c: Likewise.
25574         * malloc/mtrace.c: Likewise.
25575         * misc/efgcvt.c: Likewise.
25576         * misc/error.c: Likewise.
25577         * misc/fstab.c: Likewise.
25578         * misc/getpass.c: Likewise.
25579         * misc/mntent.c: Likewise.
25580         * misc/syslog.c: Likewise.
25581         * nis/nis_call.c: Likewise.
25582         * nis/nis_callback.c: Likewise.
25583         * nis/nss-default.c: Likewise.
25584         * nis/nss_compat/compat-grp.c: Likewise.
25585         * nis/nss_compat/compat-initgroups.c: Likewise.
25586         * nis/nss_compat/compat-pwd.c: Likewise.
25587         * nis/nss_compat/compat-spwd.c: Likewise.
25588         * nis/nss_nis/nis-alias.c: Likewise.
25589         * nis/nss_nis/nis-ethers.c: Likewise.
25590         * nis/nss_nis/nis-grp.c: Likewise.
25591         * nis/nss_nis/nis-hosts.c: Likewise.
25592         * nis/nss_nis/nis-network.c: Likewise.
25593         * nis/nss_nis/nis-proto.c: Likewise.
25594         * nis/nss_nis/nis-pwd.c: Likewise.
25595         * nis/nss_nis/nis-rpc.c: Likewise.
25596         * nis/nss_nis/nis-service.c: Likewise.
25597         * nis/nss_nis/nis-spwd.c: Likewise.
25598         * nis/nss_nisplus/nisplus-alias.c: Likewise.
25599         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
25600         * nis/nss_nisplus/nisplus-grp.c: Likewise.
25601         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
25602         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
25603         * nis/nss_nisplus/nisplus-network.c: Likewise.
25604         * nis/nss_nisplus/nisplus-proto.c: Likewise.
25605         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
25606         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
25607         * nis/nss_nisplus/nisplus-service.c: Likewise.
25608         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
25609         * nis/ypclnt.c: Likewise.
25610         * nptl/libc_pthread_init.c: Likewise.
25611         * nss/getXXbyYY.c: Likewise.
25612         * nss/getXXent.c: Likewise.
25613         * nss/getXXent_r.c: Likewise.
25614         * nss/nss_db/db-XXX.c: Likewise.
25615         * nss/nss_db/db-netgrp.c: Likewise.
25616         * nss/nss_db/nss_db.h: Likewise.
25617         * nss/nss_files/files-XXX.c: Likewise.
25618         * nss/nss_files/files-alias.c: Likewise.
25619         * nss/nsswitch.c: Likewise.
25620         * posix/regex_internal.h: Likewise.
25621         * posix/wordexp.c: Likewise.
25622         * pwd/fgetpwent.c: Likewise.
25623         * resolv/res_hconf.c: Likewise.
25624         * resolv/res_libc.c: Likewise.
25625         * shadow/fgetspent.c: Likewise.
25626         * shadow/lckpwdf.c: Likewise.
25627         * shadow/sgetspent.c: Likewise.
25628         * socket/opensock.c: Likewise.
25629         * stdio-common/reg-modifier.c: Likewise.
25630         * stdio-common/reg-printf.c: Likewise.
25631         * stdio-common/reg-type.c: Likewise.
25632         * stdio-common/vfprintf.c: Likewise.
25633         * stdio-common/vfscanf.c: Likewise.
25634         * stdlib/abort.c: Likewise.
25635         * stdlib/cxa_atexit.c: Likewise.
25636         * stdlib/fmtmsg.c: Likewise.
25637         * stdlib/random.c: Likewise.
25638         * stdlib/setenv.c: Likewise.
25639         * string/strsignal.c: Likewise.
25640         * sunrpc/auth_none.c: Likewise.
25641         * sunrpc/bindrsvprt.c: Likewise.
25642         * sunrpc/create_xid.c: Likewise.
25643         * sunrpc/key_call.c: Likewise.
25644         * sunrpc/rpc_thread.c: Likewise.
25645         * sysdeps/arm/backtrace.c: Likewise.
25646         * sysdeps/generic/ldsodefs.h: Likewise.
25647         * sysdeps/generic/stdio-lock.h: Likewise.
25648         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
25649         * sysdeps/i386/backtrace.c: Likewise.
25650         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
25651         * sysdeps/m68k/backtrace.c: Likewise.
25652         * sysdeps/mach/hurd/cthreads.c: Likewise.
25653         * sysdeps/mach/hurd/dirstream.h: Likewise.
25654         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
25655         * sysdeps/nptl/malloc-machine.h: Likewise.
25656         * sysdeps/nptl/stdio-lock.h: Likewise.
25657         * sysdeps/posix/dirstream.h: Likewise.
25658         * sysdeps/posix/getaddrinfo.c: Likewise.
25659         * sysdeps/posix/system.c: Likewise.
25660         * sysdeps/pthread/aio_suspend.c: Likewise.
25661         * sysdeps/s390/s390-32/backtrace.c: Likewise.
25662         * sysdeps/s390/s390-64/backtrace.c: Likewise.
25663         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25664         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25665         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
25666         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
25667         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
25668         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25669         * sysdeps/unix/sysv/linux/system.c: Likewise.
25670         * sysdeps/x86_64/backtrace.c: Likewise.
25671         * time/alt_digit.c: Likewise.
25672         * time/era.c: Likewise.
25673         * time/tzset.c: Likewise.
25674         * wcsmbs/wcsmbsload.c: Likewise.
25675         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
25676         instead of <bits/libc-lock.h> in comment.
25678 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
25680         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
25681         Only use .set mips2 if the current ISA is below mips2.
25682         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
25683         Likewise.
25684         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
25685         mips32r2 if the current ISA is below mips32r2.
25686         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
25687         (TLS_IE): Updated to use the TLD_RDHWR macro.
25688         (TLS_LE): Likewise.
25689         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
25690         __ASSEMBLER__ condition.
25692 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25694         Fix parallel build of before-compile targets.
25696         * sysdeps/mach/Makefile ($(patsubst
25697         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
25698         mach-before-compile target.
25699         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25700         io fs process)): Move rule to dedicated hurd-before-compile target.
25702 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25704         Fix rules generating headers in hurd/ and mach/ when initial make call
25705         has subdir= explicitly set.
25707         * sysdeps/mach/Makefile ($(patsubst
25708         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
25709         calling $(MAKE).
25710         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25711         io fs process)): Force subdir to hurd when calling $(MAKE).
25712         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
25713         subdir to mach when calling $(MAKE).
25715 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
25717         Check sysheaders when looking for Mach and Hurd headers
25719         * sysdeps/mach/configure.ac: Add sysheaders check.
25720         * sysdeps/mach/configure: Regenerate.
25721         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
25722         * sysdeps/mach/hurd/configure: Regenerate.
25724 2015-09-04  Roland McGrath  <roland@hack.frob.com>
25726         [BZ #18921]
25727         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
25728         Fix inverted sense of test of 'o_directory_works' value.
25729         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
25730         Bernhard Voelker <mail@bernhard-voelker.de>.
25732 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
25734         [BZ #14912]
25735         * bits/linkmap.h: Move to ...
25736         * sysdeps/generic/linkmap.h: ...here.
25737         * sysdeps/aarch64/bits/linkmap.h: Move to ...
25738         * sysdeps/aarch64/linkmap.h: ...here.
25739         * sysdeps/arm/bits/linkmap.h: Move to ...
25740         * sysdeps/arm/linkmap.h: ...here.
25741         * sysdeps/hppa/bits/linkmap.h: Move to ...
25742         * sysdeps/hppa/linkmap.h: ...here.
25743         * sysdeps/ia64/bits/linkmap.h: Move to ...
25744         * sysdeps/ia64/linkmap.h: ...here.
25745         * sysdeps/mips/bits/linkmap.h: Move to ...
25746         * sysdeps/mips/linkmap.h: ...here.
25747         * sysdeps/s390/bits/linkmap.h: Move to ...
25748         * sysdeps/s390/linkmap.h: ...here.
25749         * sysdeps/sh/bits/linkmap.h: Move to ...
25750         * sysdeps/sh/linkmap.h: ...here.
25751         * sysdeps/x86/bits/linkmap.h: Move to ...
25752         * sysdeps/x86/linkmap.h: ...here.
25753         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
25755 2015-09-04  Andreas Schwab  <schwab@suse.de>
25757         [BZ #18635]
25758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
25759         (__makecontext): Terminate FDE before return label.
25760         (__novec_makecontext): Likewise.
25762 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25764         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
25765         first member of struct sv in syscall macro.
25767 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
25769         [BZ #14912]
25770         * bits/stdio-lock.h: Move to ...
25771         * sysdeps/generic/stdio-lock.h: ...here.
25772         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
25773         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
25774         * sysdeps/nptl/stdio-lock.h: ...here.
25775         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
25776         * include/libio.h: Include <stdio-lock.h> instead of
25777         <bits/stdio-lock.h>.
25778         * sysdeps/nptl/fork.c: Likewise.
25779         * sysdeps/pthread/flockfile.c: Likewise.
25780         * sysdeps/pthread/ftrylockfile.c: Likewise.
25781         * sysdeps/pthread/funlockfile.c: Likewise.
25783         [BZ #14912]
25784         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
25785         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
25786         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
25787         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
25788         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
25789         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
25790         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
25792 2015-09-03  Roland McGrath  <roland@hack.frob.com>
25794         * elf/Makefile (test-xfail-tst-protected1a): New variable.
25795         (test-xfail-tst-protected1b): New variable.
25797 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
25799         [BZ #14912]
25800         * bits/libc-tsd.h: Move to ...
25801         * sysdeps/generic/libc-tsd.h: ...here.
25802         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
25803         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
25804         * sysdeps/mach/hurd/libc-tsd.h: ...here.
25805         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
25806         * include/ctype.h: Include <libc-tsd.h> instead of
25807         <bits/libc-tsd.h>.
25808         * include/rpc/rpc.h: Likewise.
25809         * locale/localeinfo.h: Likewise.
25810         * sunrpc/rpc_thread.c: Likewise.
25811         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
25812         * sysdeps/nptl/malloc-machine.h: Likewise.
25814         * Makefile (headers): Remove bits/libc-lock.h.
25815         * libio/Makefile (headers): Remove bits/stdio-lock.h.
25817         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
25818         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
25819         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
25820         <bits/stdio-lock.h>.
25821         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
25822         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
25824 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
25826         [BZ #18757]
25827         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
25828         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
25829         BZ #18757.
25831 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
25833         * malloc/mtrace.pl: Filter out NULL entries.
25835 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
25837         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
25838         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
25839         macro.
25841         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
25842         (TCP_CC_INFO): Likewise.
25843         (TCP_SAVE_SYN): Likewise.
25844         (TCP_SAVED_SYN): Likewise.
25846 2015-08-31  Brett Neumeier <brett@neumeier.us>
25848         [BZ #18870]
25849         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
25851 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
25853         [BZ #18873]
25854         Fix broken overflow check in posix_fallocate
25855         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
25856         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25857         Fix parenthesization typo.
25859 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
25861         [BZ #18887]
25862         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
25863         tst-mntent-blank-passno.
25864         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
25865         * misc/tst-mntent-blank-corrupt.c: New test.
25866         * misc/tst-mntent-blank-passno.c: New test ripped from ...
25867         * misc/tst-mntent.c (do_test): ... here.
25869 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
25871         [BZ #4404]
25872         * po/de.po: Fix SIGALRM typo.
25874 2015-08-28  James Perkins  <james@loowit.net>
25876         * time/tst-strptime2.c (tests): Replace short list of test
25877         strings for strptime %z specifier with code which exhaustively
25878         tests every combination of sign and 0 to 5 digits. Tests for
25879         rejection of invalid strings.
25881 2015-08-28  James Perkins  <james@loowit.net>
25883         [BZ #16141]
25884         * time/strptime_l.c (__strptime_internal): Fix %z minutes
25885         calculation, removing incorrect decimal time rounding, so that
25886         all minute values result in a valid seconds value.
25887         * time/strptime_l.c (__strptime_internal): Extend %z time zone
25888         offset range limits to UTC-99:59 through UTC+99:59 to parse
25889         current and historical use cases.
25890         * time/tst-strptime2.c (tests): Modify and add tests for the
25891         strptime %z input field descriptor, specifically conversion of
25892         minutes to seconds and validating an offset range of -9959 to
25893         +9959.
25895 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25896             Dmitry V. Levin  <ldv@altlinux.org>
25898         [BZ #18877]
25899         * posix/Makefile (tests): Add tst-mmap-offset.
25900         * posix/tst-mmap.c: New file.
25901         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
25902         offset calculation for negative values.
25904 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25906         * sysdeps/i386/init-arch.h: New file.
25907         * sysdeps/i386/i586/init-arch.h: Likewise.
25908         * sysdeps/i386/i686/init-arch.h: Likewise.
25909         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
25910         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
25911         * sysdeps/x86/cpu-features.h (bit_I586): New.
25912         (bit_I686): Likewise.
25913         (bit_CX8): Likewise.
25914         (bit_CMOV): Likewise.
25915         (index_CX8): Likewise.
25916         (index_CMOV): Likewise.
25917         (index_I586): Likewise.
25918         (index_I686): Likewise.
25919         (reg_CX8): Likewise.
25920         (reg_CMOV): Likewise.
25921         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
25922         available at compile-time.
25923         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
25924         available at compile-time.
25925         * sysdeps/x86/init-arch.h (USE_I586): New macro.
25926         (USE_I686): Likewise.
25928 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25930         * sysdeps/i386/bcopy.S: New file.
25931         * sysdeps/i386/bzero.S: Likewise.
25932         * sysdeps/i386/memcpy.S: Likewise.
25933         * sysdeps/i386/memmove.S: Likewise.
25934         * sysdeps/i386/mempcpy.S: Likewise.
25935         * sysdeps/i386/memset.S: Likewise.
25936         * sysdeps/i386/bzero.c: Removed.
25937         * sysdeps/i386/memset.c: Likewise.
25938         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
25939         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
25940         * sysdeps/i386/i586/memset_chk.S: Likewise.
25941         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
25942         * sysdeps/i386/memcpy_chk.S: Here.
25943         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
25944         * sysdeps/i386/memmove_chk.S: Here.
25945         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
25946         * sysdeps/i386/mempcpy_chk.S: Likewise.
25947         * sysdeps/i386/i686/memset_chk.S: Moved to ...
25948         * sysdeps/i386/memset_chk.S: Likewise.
25950 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
25952         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
25953         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
25954         file, move DIAG_POP_NEEDS_COMMENT to end of file.
25955         * soft-fp/fmadf4.c: Ditto.
25956         * soft-fp/fmatf4.c: Ditto.
25958 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25960         * sysdeps/i386/i586/Implies: Removed.
25961         * sysdeps/i386/i686/Implies: Likewise.
25963 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25965         * sysdeps/i386/i486/strlen.S: Moved to ...
25966         * sysdeps/i386/strlen.S: Here.
25968 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25970         * sysdeps/i386/i486/strcat.S: Moved to ...
25971         * sysdeps/i386/strcat.S: Here.
25973 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25975         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
25976         * sysdeps/i386/pthread_spin_trylock.S: Here.
25977         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
25978         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
25980 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25982         * sysdeps/i386/i486/string-inlines.c: Moved to ...
25983         * sysdeps/i386/string-inlines.c: Here.
25985 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25987         * sysdeps/i386/i486/htonl.S: Moved ...
25988         * sysdeps/i386/htonl.S: here.
25990 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25992         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
25993         * sysdeps/i386/bits/atomic.h: Here.
25995 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25997         * sysdeps/i386/i486/Versions: Removed.
25999 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
26001         [BZ #2898]
26002         * misc/mktemp.c: Add mkdtemp to the link_warning message.
26003         Based on patch by Aurelien Jarno.
26005 2015-08-26  Stan Shebs  <stanshebs@google.com>
26007         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
26008         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26010 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26012         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
26013         * sysdeps/powerpc/dl-procinfo.c:
26014         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
26015         feature so it shows when LD_SHOW_AUXV=1.
26017 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26019         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
26020         (__arch_compare_and_exchange_val_32_acq): Remove and use common
26021         definition.  ISA 2.07B no longer requires full sync.
26023 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
26025         [BZ #18863]
26026         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
26027         (si_call_addr): Define.
26028         (si_syscall): Define.
26029         (si_arch): Define.
26031 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
26033         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
26034         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
26035         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
26036         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
26037         (__memset_zero_constant_len_parameter): New.
26038         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
26039         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
26040         (__memset_zero_constant_len_parameter): Don't define if
26041         __memset_chk or USE_AS_BZERO are defined.
26043         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
26044         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
26045         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
26047         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
26048         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
26049         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
26050         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
26051         comments.
26052         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
26053         -mno-mmx for $(all-rtld-routines).
26054         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
26055         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
26056         i386.
26058 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26060         * sysdeps/generic/unwind.h
26061         (_Unwind_Word): Use __mode__(__unwind_word__)
26062         instead of __mode__(__word__).
26063         (_Unwind_Sword): Likewise.
26065         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26066         (MAX_NEEDED_INPUT): New define.
26067         (MAX_NEEDED_OUTPUT): New define.
26069         * NEWS: New item for IBM z13 string optimizations.
26071         * sysdeps/s390/multiarch/memrchr-c.c: New File.
26072         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
26073         * sysdeps/s390/multiarch/memrchr.c: Likewise.
26074         * sysdeps/s390/multiarch/Makefile
26075         (sysdep_routines): Add memrchr functions.
26076         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26077         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
26079         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
26080         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
26081         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
26082         * sysdeps/s390/multiarch/Makefile
26083         (sysdep_routines): Add wmemcmp functions.
26084         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26085         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
26086         * benchtests/bench-wmemcmp.c: New File.
26087         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
26089         * sysdeps/s390/multiarch/wmemset-c.c: New File.
26090         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
26091         * sysdeps/s390/multiarch/wmemset.c: Likewise.
26092         * sysdeps/s390/multiarch/Makefile
26093         (sysdep_routines): Add wmemset functions.
26094         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26095         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
26096         * wcsmbs/wmemset.c: Use WMEMSET if defined.
26097         * string/test-memset.c: Add wmemset support.
26098         * wcsmbs/test-wmemset.c: New File.
26099         * wcsmbs/Makefile (strop-tests): Add wmemset.
26100         * benchtests/bench-memset.c: Add wmemset support.
26101         * benchtests/bench-wmemset.c: New File.
26102         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
26104         * sysdeps/s390/multiarch/memccpy-c.c: New File.
26105         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
26106         * sysdeps/s390/multiarch/memccpy.c: Likewise.
26107         * sysdeps/s390/multiarch/Makefile
26108         (sysdep_routines): Add memccpy functions.
26109         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26110         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
26111         * string/memccpy.c: Use MEMCCPY if defined.
26113         * sysdeps/s390/multiarch/memchr-vx.S: New File.
26114         * sysdeps/s390/multiarch/memchr.c: Likewise.
26115         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
26116         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
26117         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
26118         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
26119         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
26120         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
26121         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
26122         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
26123         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
26124         and rawmemchr functions.
26125         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26126         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
26127         and wmemchr.
26128         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
26129         * string/test-memchr.c: Add wmemchr support.
26130         * wcsmbs/test-wmemchr.c: New File.
26131         * wcsmbs/Makefile (strop-tests): Add wmemchr.
26132         * benchtests/bench-memchr.c: Add wmemchr support.
26133         * benchtests/bench-wmemchr.c: New File.
26134         * benchtests/Makefile (wcsmbs-bench): wmemchr.
26136         * sysdeps/s390/multiarch/strcspn-c.c: New File.
26137         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
26138         * sysdeps/s390/multiarch/strcspn.c: Likewise.
26139         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
26140         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
26141         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
26142         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
26143         wcscspn functions.
26144         * sysdeps/s390/multiarch/ifunc-impl-list.c
26145         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
26146         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
26147         * string/test-strcspn.c: Add wcscspn support.
26148         * wcsmbs/test-wcscspn.c: New File.
26149         * wcsmbs/Makefile (strop-tests): Add wcscspn.
26150         * benchtests/bench-strcspn.c: Add wcscspn support.
26151         * benchtests/bench-wcscspn.c: New File.
26152         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
26154         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
26155         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
26156         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
26157         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
26158         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
26159         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
26160         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
26161         wcspbrk functions.
26162         * sysdeps/s390/multiarch/ifunc-impl-list.c
26163         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
26164         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
26165         * string/test-strpbrk.c: Add wcspbrk support.
26166         * wcsmbs/test-wcspbrk.c: New File.
26167         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
26168         * benchtests/bench-strpbrk.c: Add wcspbrk support.
26169         * benchtests/bench-wcspbrk.c: New File.
26170         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
26172         * sysdeps/s390/multiarch/strspn-c.c: New File.
26173         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
26174         * sysdeps/s390/multiarch/strspn.c: Likewise.
26175         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
26176         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
26177         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
26178         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
26179         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
26180         wcsspn functions.
26181         * sysdeps/s390/multiarch/ifunc-impl-list.c
26182         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
26183         * string/test-strspn.c: Add wcsspn support.
26184         * wcsmbs/test-wcsspn.c: New File.
26185         * wcsmbs/Makefile (strop-tests): Add wcsspn.
26186         * benchtests/bench-strspn.c: Add wcsspn support.
26187         * benchtests/bench-wcsspn.c: New File.
26188         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
26190         * sysdeps/s390/multiarch/strrchr-c.c: New File.
26191         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
26192         * sysdeps/s390/multiarch/strrchr.c: Likewise.
26193         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
26194         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
26195         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
26196         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
26197         wcsrchr functions.
26198         * sysdeps/s390/multiarch/ifunc-impl-list.c
26199         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
26200         * benchtests/bench-wcsrchr.c: New File.
26201         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
26203         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
26204         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
26205         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
26206         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
26207         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
26208         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
26209         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
26210         wcschrnul functions.
26211         * sysdeps/s390/multiarch/ifunc-impl-list.c
26212         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
26213         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
26214         * string/test-strchr.c: Add wcschrnul support.
26215         * wcsmbs/test-wcschrnul.c: New File.
26216         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
26217         * benchtests/bench-strchr.c: Add wcschrnul support.
26218         * benchtests/bench-wcschrnul.c: New File.
26219         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
26221         * sysdeps/s390/multiarch/strchr-c.c: New File.
26222         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
26223         * sysdeps/s390/multiarch/strchr.c: Likewise.
26224         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
26225         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
26226         * sysdeps/s390/multiarch/wcschr.c: Likewise.
26227         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
26228         wcschr functions.
26229         * sysdeps/s390/multiarch/ifunc-impl-list.c
26230         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
26231         * string/strchr.c (STRCHR): Define and use macro.
26232         * benchtests/bench-wcschr.c: New File.
26233         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
26235         * sysdeps/s390/multiarch/strncmp-c.c: New File.
26236         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
26237         * sysdeps/s390/multiarch/strncmp.c: Likewise.
26238         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
26239         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
26240         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
26241         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
26242         wcsncmp functions.
26243         * sysdeps/s390/multiarch/ifunc-impl-list.c
26244         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
26245         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
26246         * benchtests/bench-strncmp.c: Add wcsncmp support.
26247         * benchtests/bench-wcsncmp.c: New File.
26248         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
26250         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
26251         * sysdeps/s390/multiarch/strcmp.c: Likewise.
26252         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
26253         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
26254         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
26255         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
26256         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
26257         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
26258         wcscmp functions.
26259         * sysdeps/s390/multiarch/ifunc-impl-list.c
26260         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
26261         * string/strcmp.c (STRCMP): Define and use macro.
26262         * benchtests/bench-wcscmp.c: New File.
26263         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
26264         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
26265         instead of _HAVE_STRING_ARCH_memchr.
26267         * sysdeps/s390/multiarch/strncat-c.c: New File.
26268         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
26269         * sysdeps/s390/multiarch/strncat.c: Likewise.
26270         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
26271         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
26272         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
26273         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
26274         wcsncat functions.
26275         * sysdeps/s390/multiarch/ifunc-impl-list.c
26276         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
26277         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
26278         * string/test-strncat.c: Add wcsncat support.
26279         * wcsmbs/test-wcsncat.c: New File.
26280         * wcsmbs/Makefile (strop-tests): Add wcsncat.
26281         * benchtests/bench-strncat.c: Add wcsncat support.
26282         * benchtests/bench-wcsncat.c: New File.
26283         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
26285         * sysdeps/s390/multiarch/strcat-c.c: New File.
26286         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
26287         * sysdeps/s390/multiarch/strcat.c: Likewise.
26288         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
26289         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
26290         * sysdeps/s390/multiarch/wcscat.c: Likewise.
26291         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
26292         wcscat functions.
26293         * sysdeps/s390/multiarch/ifunc-impl-list.c
26294         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
26295         * string/strcat.c (STRCAT): Define and use macro.
26296         * wcsmbs/wcscat.c: Use WCSCAT if defined.
26297         * string/test-strcat.c: Add wcscat support.
26298         * wcsmbs/test-wcscat.c: New File.
26299         * wcsmbs/Makefile (strop-tests): Add wcscat.
26300         * benchtests/bench-strcat.c: Add wcscat support.
26301         * benchtests/bench-wcscat.c: New File.
26302         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
26304         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
26305         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
26306         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
26307         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
26308         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
26309         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
26310         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
26311         wcpncpy functions.
26312         * sysdeps/s390/multiarch/ifunc-impl-list.c
26313         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
26314         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
26315         * string/test-stpncpy.c: Add wcpncpy support.
26316         * wcsmbs/test-wcpncpy.c: New File.
26317         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
26318         * benchtests/bench-stpncpy.c: Add wcpncpy support.
26319         * benchtests/bench-wcpncpy.c: New File.
26320         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
26322         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
26323         * sysdeps/s390/multiarch/strncpy.c: Likewise.
26324         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
26325         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
26326         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
26327         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
26328         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
26329         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
26330         wcsncpy functions.
26331         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
26332         * sysdeps/s390/multiarch/ifunc-impl-list.c
26333         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
26334         * string/test-strncpy.c: Add wcsncpy support.
26335         * wcsmbs/test-wcsncpy.c: New File.
26336         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
26337         * benchtests/bench-strncpy.c: Add wcsncpy support.
26338         * benchtests/bench-wcsncpy.c: New File.
26339         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
26341         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
26342         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
26343         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
26344         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
26345         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
26346         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
26347         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
26348         wcpcpy functions.
26349         * string/stpcpy.c: Use STPCPY if defined.
26350         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
26351         * sysdeps/s390/multiarch/ifunc-impl-list.c
26352         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
26353         * string/test-stpcpy.c: Add wcpcpy support.
26354         * wcsmbs/test-wcpcpy.c: New File.
26355         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
26356         * benchtests/bench-stpcpy.c: Add wcpcpy support.
26357         * benchtests/bench-wcpcpy.c: New File.
26358         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
26360         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
26361         * sysdeps/s390/multiarch/strcpy.c: Likewise.
26362         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
26363         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
26364         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
26365         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
26366         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
26367         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
26368         wcscpy functions.
26369         * sysdeps/s390/multiarch/ifunc-impl-list.c
26370         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
26371         * benchtests/bench-wcscpy.c: New File.
26372         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
26374         * sysdeps/s390/multiarch/strnlen-c.c: New File.
26375         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
26376         * sysdeps/s390/multiarch/strnlen.c: Likewise.
26377         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
26378         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
26379         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
26380         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
26381         wcsnlen functions.
26382         * sysdeps/s390/multiarch/ifunc-impl-list.c
26383         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
26384         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
26385         * string/test-strnlen.c: Add wcsnlen support.
26386         * wcsmbs/test-wcsnlen.c: New File.
26387         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
26388         * benchtests/bench-strnlen.c: Add wcsnlen support.
26389         * benchtests/bench-wcsnlen.c: New File.
26390         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
26392         * sysdeps/s390/multiarch/Makefile: New File.
26393         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
26394         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
26395         * sysdeps/s390/multiarch/strlen.c: Likewise.
26396         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
26397         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
26398         * sysdeps/s390/multiarch/wcslen.c: Likewise.
26399         * string/strlen.c (STRLEN): Define and use macro.
26400         * sysdeps/s390/multiarch/ifunc-impl-list.c
26401         (IFUNC_VX_IMPL): New macro function.
26402         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
26403         * benchtests/Makefile (wcsmbs-bench): New variable.
26404         (string-bench-all): Added wcsmbs-bench.
26405         * benchtests/bench-wcslen.c: New File.
26407         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
26408         s390_vx_libc_ifunc2): New macro function.
26410         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
26411         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
26412         assembler support.
26413         * sysdeps/s390/configure: Regenerated.
26415         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
26416         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
26418         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
26419         * sysdeps/s390/dl-procinfo.h: Add vector capability.
26420         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
26422         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
26423         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
26424         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
26425         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
26426         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
26427         (memcmp, bcmp): Use __memcmp_default as alias source.
26428         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
26429         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
26430         Rename to __memcmp_default.
26431         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
26432         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
26433         (memcpy): Use __memcpy_default as alias source.
26434         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
26435         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
26436         Rename to __memcpy_default.
26437         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
26438         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
26439         (memset): Use __memset_default as alias source.
26440         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
26441         * sysdeps/s390/s390-32/memset.S (__memset_g5):
26442         Rename to __memset_default.
26443         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
26444         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
26445         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
26446         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
26447         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
26448         (memcmp, bcmp): Use __memcmp_default as alias source.
26449         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
26450         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
26451         Rename to __memcmp_default.
26452         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
26453         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
26454         (memcpy): Use __memcpy_default as alias source.
26455         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
26456         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
26457         Rename to __memcpy_default.
26458         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
26459         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
26460         (memset): Use __memset_default as alias source.
26461         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
26462         * sysdeps/s390/s390-64/memset.S (__memset_z900):
26463         Rename to __memset_default.
26464         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
26465         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
26467         [BZ #18610]
26468         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
26469         __ieee_instruction_pointer to __unused.
26470         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
26471         __ieee_instruction_pointer.
26472         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
26473         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
26474         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26475         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26476         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
26477         Mark dxc-field as reserved.
26479 2015-08-25  Roland McGrath  <roland@hack.frob.com>
26481         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
26482         if the weak reference is not null.
26484 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26486         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
26488         [BZ #11214]
26489         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
26491 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26493         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
26494         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
26495         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
26496         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
26497         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
26498         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
26499         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
26500         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
26501         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
26502         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
26503         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
26504         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
26505         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
26506         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
26507         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
26508         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
26509         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
26510         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
26512 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26514         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
26515         register other than r0 for tabort, it has special meaning.
26516         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
26517         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
26518         transaction before starting syscall.
26520 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26522         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
26524 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26526         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
26528         * sysdeps/x86_64/rtld-memcmp.c: Removed.
26529         * sysdeps/x86_64/rtld-memset.S: Likewise.
26530         * sysdeps/x86_64/rtld-strchr.S: Likewise.
26531         * sysdeps/x86_64/rtld-strlen.S: Likewise.
26532         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
26533         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
26535         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
26537 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
26539         * debug/strcpy_chk.c: Improve performance.
26540         * debug/stpcpy_chk.c: Likewise.
26541         * sysdeps/x86_64/strcpy_chk.S: Remove.
26542         * sysdeps/x86_64/stpcpy_chk.S: Remove.
26544         [BZ #18240]
26545         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
26547 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26549         [BZ #15128]
26550         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
26551         ifuncmain8.
26552         (modules-names): Add ifuncmod8.
26553         ($(objpfx)ifuncmain8): New rule.
26554         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
26555         <cpuid.h>.
26556         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
26557         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
26558         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
26559         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
26560         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
26561         * sysdeps/x86_64/dl-trampoline.h: Likewise.
26562         * sysdeps/x86_64/ifuncmain8.c: New file.
26563         * sysdeps/x86_64/ifuncmod8.c: Likewise.
26564         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
26565         Removed.
26566         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
26567         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
26568         Change rtld_savespace_sse to __glibc_unused2.
26569         (RTLD_CHECK_FOREIGN_CALL): Removed.
26570         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
26571         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
26572         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
26574 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
26576         * sysdeps/aarch64/bzero.S (__bzero): Remove.
26578 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
26580         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
26581         Unconditionally set __fpcr to avoid uninialized warning.
26582         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
26584 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26586         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
26587         is corrupt.
26589         * malloc/arena.c (arena_get2): Drop unused argument.
26590         (arena_lock): Adjust.
26591         (arena_get_retry): Likewise.
26593 2015-08-24  Andreas Schwab  <schwab@suse.de>
26595         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
26596         Don't define.
26597         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
26598         (__ASSUME_IPC64): Don't undef.
26599         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
26600         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26601         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26602         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
26603         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
26604         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
26605         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
26606         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
26607         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
26608         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
26609         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
26610         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
26611         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
26612         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
26613         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
26614         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
26615         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
26616         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
26617         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
26618         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
26619         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
26621 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
26623         * manual/Makefile (install): Only build manual when perl is available.
26625 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26627         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
26628         '#undef memcpy' by '#undef memchr'.
26630 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26632         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
26633         memchr not point to the internal __GI_memchr implementation.
26635 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
26637         * timezone/Makefile (CFLAGS-zdump.c): Remove
26638         -Wno-strict-prototypes.
26639         (CFLAGS-zic.c): Likewise.
26640         (CFLAGS-ialloc.c): Likewise.
26641         (CFLAGS-scheck.c): Likewise.
26643         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
26644         -Wno-error=undef.
26646 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26648         * i386/i686/multiarch/strcasestr-c.c: Removed.
26649         * x86_64/multiarch/strcasestr.c: Likewise.
26650         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26651         Remove strcasestr.
26653 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
26655         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
26657         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
26658         variables for high and low parts before possibly modifying them.
26660 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26662         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
26663         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
26664         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
26665         of "multiarch/init-arch.h".
26666         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
26667         * sysdeps/x86/init-arch.h: This.
26669 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26671         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
26672         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
26674 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
26676         [BZ #17787]
26677         * manual/macros.texi: Add twoexp macro.
26678         * manual/filesys.texi: Fix exponents.
26679         * manual/llio.texi: Likewise.
26680         * manual/stdio.texi: Likewise.
26682 2015-08-20  Florian Weimer  <fweimer@redhat.com>
26684         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
26685         incorrect use.
26687 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
26689         [BZ #18370]
26690         * math/s_csqrt.c (__csqrt): Force underflow exception for results
26691         whose real or imaginary part has small absolute value.
26692         * math/s_csqrtf.c (__csqrtf): Likewise.
26693         * math/s_csqrtl.c (__csqrtl): Likewise.
26694         * math/auto-libm-test-in: Add more tests of csqrt.
26695         * math/auto-libm-test-out: Regenerated.
26696         * sysdeps/i386/fpu/libm-test-ulps: Update.
26698 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
26700         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
26701         __ppc_set_ppr_very_low): New functions.
26702         * manual/platform.texi: Add documentation about
26703         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
26705 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
26707         * string/stpncpy.c (stpncpy): Improve performance using
26708         __strnlen/memcpy/memset.
26710 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
26712         [BZ #18796]
26713         * scripts/test-installation.pl: Don't add -lmvec to build options if
26714         libmvec wasn't built.
26716 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26718         [BZ #14341]
26719         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
26720         case when there is a gap between DT_REL and DT_JMPREL sections.
26721         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
26722         (LDFLAGS-tst-split-dynreloc): New.
26723         (tst-split-dynreloc-ENV): Likewise.
26724         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
26725         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
26727 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26729         [BZ #18822]
26730         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
26731         attribute_hidden.
26732         (__xstat64_conv): Likewise.
26733         (__xstat32_conv): Likewise.
26735 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26737         [BZ #18822]
26738         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
26739         Don't load %ebx when calling __setcontext.  Call __setcontext
26740         with HIDDEN_JUMPTARGET.
26741         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
26742         libc_hidden_def.
26744 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26746         * sysdeps/i386/i686/Makefile
26747         [$(subdir) == string] (sysdep_routines): Moved to ...
26748         * sysdeps/i386/Makefile: Here.
26749         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
26750         * sysdeps/i386/cacheinfo.c: Here.
26751         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
26752         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
26753         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
26754         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
26756 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26758         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
26759         __i586__ is defined.
26760         (HAS_I686): Defined to 1 if __i686__ is defined.
26762 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
26764         * elf/Makefile [$(have-z-execstack) = yes]
26765         (CPPFLAGS-tst-execstack.c): New variable.
26767         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
26768         conditional to [defined UTMPX || _HAVE_UT_TYPE].
26769         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
26770         UTMPX || _HAVE_UT_TV].
26771         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
26772         UTMPX || _HAVE_UT_TV - 0].
26774 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
26776         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
26777         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
26778         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
26780 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26782         * sysdeps/powerpc/dl-procinfo.c:
26783         (_dl_powerpc_cap_flags): Added missing strings for some
26784         hwcap features.
26785         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
26787 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
26789         Port the 0x7efe...feff pattern to GCC 6.
26790         See Steve Ellcey's bug report in:
26791         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
26792         * string/memrchr.c (MEMRCHR):
26793         * string/rawmemchr.c (RAWMEMCHR):
26794         * string/strchr.c (strchr):
26795         * string/strchrnul.c (STRCHRNUL):
26796         Rewrite code to avoid issues with signed shift overflow.
26798 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
26800         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
26801         whether cpuid is available only if HAS_CPUID is 0.
26802         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
26803         (HAS_I586): Likewise.
26804         (HAS_I686): Likewise.
26806 2015-08-18  Zack Weinberg  <zackw@panix.com>
26808         * misc/Versions (libc): Add GLIBC_2.23.
26810 2015-08-18  Alan Modra  <amodra@gmail.com>
26812         [BZ #18421]
26813         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
26814         .Lp__global.
26815         (_start): Load %dp via .Lp__global.
26816         [!SHARED]: Use .section .rodata.
26818 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26820         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
26821         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
26823 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26825         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
26826         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
26828 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26830         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
26831         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
26833 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26835         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
26836         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
26838 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26840         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
26841         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
26843 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26845         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
26846         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
26848 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26850         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
26852 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26854         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
26855         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
26856         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26857         (__ASSUME_LWS_CAS): Delete.
26859 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26861         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
26862         * sysdeps/hppa/configure: Regenerated.
26863         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
26864         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
26865         * sysdeps/hppa/nptl/tls.h: Likewise.
26867 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
26869         [BZ #18823]
26870         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
26871         for scaling up small arguments.
26872         * math/s_csqrtf.c (__csqrtf): Likewise.
26873         * math/s_csqrtl.c (__csqrtl): Likewise.
26874         * math/auto-libm-test-in: Add more tests of csqrt.
26875         * math/auto-libm-test-out: Regenerated.
26877 2015-08-17  Andreas Schwab  <schwab@suse.de>
26879         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
26880         version set GLIBC_2.19.
26882 2015-08-16  Zack Weinberg  <zackw@panix.com>
26884         [BZ #18681]
26885         * misc/regexp.h: This interface is no longer supported.
26886         Remove all contents, leaving only an #error directive.
26887         * misc/regexp.c (loc1, loc2, locs, step, advance):
26888         Demote to compatibility symbols.
26890 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
26892         [BZ #18084]
26893         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
26894         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
26895         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
26896         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
26897         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
26898         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
26899         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
26900         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
26901         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
26903 2015-08-15  Zack Weinberg  <zackw@panix.com>
26905         [BZ #18795]
26906         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
26907         buffer length is known to be too large, not if it's known to be
26908         small enough.
26909         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
26910         overflow at runtime, involving a length parameter, twice: once
26911         with a compile-time constant length parameter, once without.
26913 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
26915         [BZ #18824]
26916         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
26917         scaling x * y up instead of down.
26918         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26919         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26920         * math/auto-libm-test-in: Add more tests of fma.
26921         * math/auto-libm-test-out: Regenerated.
26923 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26925         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26927 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26929         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
26930         unnecessary movq.
26931         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
26932         Likewise.
26934 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
26936         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26937         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
26938         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
26939         and tgamma.
26940         * math/auto-libm-test-out: Regenerated.
26941         * sysdeps/i386/fpu/libm-test-ulps: Update.
26942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26944         [BZ #16520]
26945         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
26946         (__tanh): Force underflow exception for arguments with small
26947         absolute value.
26948         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
26949         (__tanhf): Force underflow exception for arguments with small
26950         absolute value.
26951         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
26952         (__tanhl): Force underflow exception for arguments with small
26953         absolute value.
26954         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
26955         (__tanhl): Force underflow exception for arguments with small
26956         absolute value.
26957         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
26958         (__tanhl): Force underflow exception for arguments with small
26959         absolute value.
26960         * math/auto-libm-test-in: Add more tests of tanh.
26961         * math/auto-libm-test-out: Regenerated.
26962         * sysdeps/i386/fpu/libm-test-ulps: Update.
26964 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26966         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
26967         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
26969 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26971         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
26972         <cpuid.h>.
26974 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26976         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
26977         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
26979 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26981         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
26982         Remove $(objpfx)init-arch.o.
26983         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
26984         init-arch.
26985         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
26986         (INIT_ARCH_EXT): Defined as empty.
26987         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
26988         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
26989         __init_cpu_features call.  Replace HAS_XXX with
26990         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26991         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
26992         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
26993         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
26994         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
26995         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
26996         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
26997         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
26998         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
26999         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
27000         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
27001         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
27002         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
27003         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
27004         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
27005         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
27006         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
27007         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
27008         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
27009         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
27010         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
27011         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
27012         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
27013         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
27014         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
27015         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
27016         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
27017         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
27018         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
27019         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
27020         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
27021         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
27022         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
27023         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
27024         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
27025         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
27027 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27029         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
27030         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27031         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
27032         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
27033         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
27034         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
27035         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
27036         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
27037         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
27038         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
27039         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
27040         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
27041         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27042         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27043         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27044         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27045         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27046         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27047         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27048         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27049         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27050         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27051         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27052         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27053         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27054         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27055         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27056         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27057         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27058         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27059         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27060         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27061         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27062         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27063         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27064         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27065         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27066         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27067         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27068         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27069         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27070         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27071         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27073 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27075         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
27076         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27077         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27078         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27079         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27080         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
27081         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27082         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
27083         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27084         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27085         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27086         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
27087         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
27088         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
27089         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
27090         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
27091         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
27092         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
27093         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
27094         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
27095         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
27096         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
27097         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
27098         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27099         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27100         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
27101         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
27102         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
27103         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27104         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27105         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27106         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27107         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27108         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27109         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27110         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27111         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27112         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27113         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27114         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27115         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27116         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27117         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27119 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27121         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
27122         (dl_platform_init): Call init_cpu_features.
27123         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
27124         * sysdeps/i386/i686/cacheinfo.c
27125         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
27126         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
27127         * sysdeps/i386/i686/multiarch/Versions: Removed.
27128         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
27129         Removed.
27130         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
27131         * sysdeps/unix/sysv/linux/x86/Makefile
27132         (libpthread-sysdep_routines): Remove init-arch.
27133         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
27134         <sysdeps/x86_64/dl-procinfo.c> instead of
27135         sysdeps/generic/dl-procinfo.c>.
27136         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
27137         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
27138         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
27139         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
27140         [$(subdir) == elf] (tests-static): Add
27141         tst-get-cpu-features-static.
27142         * sysdeps/x86/Versions: New file.
27143         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
27144         * sysdeps/x86/cpu-features.c: Likewise.
27145         * sysdeps/x86/cpu-features.h: Likewise.
27146         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
27147         * sysdeps/x86/libc-start.c: Likewise.
27148         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
27149         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
27150         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
27151         * sysdeps/x86_64/dl-procinfo.c: Likewise.
27152         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
27153         Assume USE_MULTIARCH is defined and don't check it.
27154         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
27155         (is_amd): Likewise.
27156         (max_cpuid): Likewise.
27157         (intel_check_word): Likewise.
27158         (__cache_sysconf): Don't call __init_cpu_features.
27159         (__x86_preferred_memory_instruction): Removed.
27160         (init_cacheinfo): Don't call __init_cpu_features. Replace
27161         __cpu_features with GLRO(dl_x86_cpu_features).
27162         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
27163         (dl_platform_init): Call init_cpu_features.
27164         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
27165         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
27166         * sysdeps/x86_64/multiarch/Versions: Removed.
27167         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
27168         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
27169         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
27170         Removed.
27171         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
27173 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27175         [BZ #18820]
27176         * libio/Makefile (test-fmemopen-mem): New test.
27177         * libio/test-fmemopen.c (do_bz18820): New test.
27178         * libio/fmemopen.c (__fmemopen): Fix memory leak.
27179         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
27181 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27183         [BZ #16734]
27184         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
27185         (FREE_BUF): Delete.
27186         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
27187         * libio/genops.c (_IO_setb): Use malloc and free directly.
27188         (_IO_default_doallocate, _IO_default_finish): Likewise.
27189         ( _IO_unbuffer_all): Likewise.
27190         ( libc_freeres_fn): Likewise.
27191         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27192         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
27193         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
27194         (_IO_wdefault_doallocate): Likewise.
27196 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27198         [BZ #18086]
27199         * sysdeps/posix/nice.c (nice): Restore old errno.
27200         * posix/tst-nice.c (do_test): Add test for BZ #18086.
27202 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
27204         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
27206 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27208         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
27209         __bcopy and add a weak_alias to bcopy.
27210         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
27211         for static build.
27213         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
27214         cleanup macro usage.
27215         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
27216         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
27217         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27218         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
27219         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27220         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
27221         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
27222         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
27223         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27224         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
27225         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27226         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
27227         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27228         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
27229         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27230         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
27231         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
27232         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
27233         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
27235         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
27236         libc_hidden_def.
27237         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
27239         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
27240         (sysdep_routines): Add strstr-ppc64.
27241         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
27243 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
27245         [BZ #18778]
27246         * elf/Makefile (tests): Add Add tst-nodelete2.
27247         (modules-names): Add tst-nodelete2mod.
27248         (tst-nodelete2mod.so-no-z-defs): New.
27249         ($(objpfx)tst-nodelete2): Likewise.
27250         ($(objpfx)tst-nodelete2.out): Likewise.
27251         (LDFLAGS-tst-nodelete2): Likewise.
27252         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
27253         out of loop through all loaded libraries.
27254         * elf/tst-nodelete2.c: New file.
27255         * elf/tst-nodelete2mod.c: Likewise.
27256         * elf/tst-znodelete-zlib.cc: Delete.
27258 2015-08-11  Andreas Schwab  <schwab@suse.de>
27260         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
27261         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
27262         (__openat64_nocancel): Likewise.
27264 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
27266         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
27267         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
27268         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
27269         * math/auto-libm-test-out: Regenerated.
27270         * sysdeps/i386/fpu/libm-test-ulps: Update.
27271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27273 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
27275         [BZ #18790]
27276         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
27277         threshold for returning +/- 1.
27278         * math/auto-libm-test-in: Add more tests of tanh.
27279         * math/auto-libm-test-out: Regenerated.
27280         * sysdeps/i386/fpu/libm-test-ulps: Update.
27282 2015-08-10  Andreas Schwab  <schwab@suse.de>
27284         [BZ #18781]
27285         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
27286         MORE_OFLAGS to oflag.
27287         * io/test-lfs.c (do_test): Test openat64.
27289 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
27291         [BZ #18789]
27292         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
27293         smaller threshold for returning the argument.
27294         * math/auto-libm-test-in: Add more tests of sinh.
27295         * math/auto-libm-test-out: Regenerated.
27296         * sysdeps/i386/fpu/libm-test-ulps: Update.
27298 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
27300         [BZ #18674]
27301         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
27302         break.
27304 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
27306         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
27307         (generated): Don't add $(addprefix z.,$(tzfiles)).
27309 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27311         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
27312         * scripts/sysd-rules.awk: Likewise.
27314 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27316         * iconvdata/tst-tables.sh: Change echo -n to printf.
27317         * nss/db-Makefile: Likewise.
27318         * posix/tst-getconf.sh: Likewise.
27319         * stdio-common/tst-unbputc.sh: Likewise.
27321 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27323         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
27324         MADV_*_PAGES defines behind this feature check.
27326 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
27328         [BZ #18480]
27329         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
27330         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
27331         Define.
27332         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
27333         LOAD_REGS_5, LOAD_REGS_6): Update.
27334         (INTERNAL_SYSCALL): Update using new LOAD defines.
27335         (INTERNAL_SYSCALL_NCS): Likewise.
27336         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
27338 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27340         [BZ #16734]
27341         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
27343 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27345         [BZ #17905]
27346         * catgets/Makefile (tst-catgets-mem): New test.
27347         * catgets/catgets.c (catopen): Don't use unbounded alloca.
27348         * catgets/open_catalog.c (__open_catalog): Likewise.
27349         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
27351 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
27353         [BZ #18787]
27354         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
27355         clobber registers.
27356         (atomic_compare_and_exchange_val_acq): Use register asms to assign
27357         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
27358         Cast return to __typeof (oldval).
27360 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
27362         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
27363         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
27364         and delete sys/syscall.h include.
27366 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
27368         [BZ #16517]
27369         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
27370         (tan): Force underflow exception for arguments with small absolute
27371         value.
27372         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
27373         (__kernel_tanf): Force underflow exception for arguments with
27374         small absolute value.
27375         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
27376         (__kernel_tanl): Force underflow exception for arguments with
27377         small absolute value.
27378         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
27379         (__kernel_tanl): Force underflow exception for arguments with
27380         small absolute value.
27381         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
27382         (__kernel_tanl): Force underflow exception for arguments with
27383         small absolute value.
27384         * math/auto-libm-test-in: Add more tests of tan.
27385         * math/auto-libm-test-out: Regenerated.
27387 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27389         Fix sysdeps/i386/fpu/s_scalbn.S build
27391         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
27393 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
27395         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
27397 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27399         Fix gcrt0.o compilation
27401         When static-start-installed-name is different from
27402         start-installed-name, we must not use the shared objects.
27404         * csu/Makefile
27405         (extra-objs): Add gmon-start.o when building shared library and
27406         $(static-start-installed-name) is different from
27407         $(start-installed-name).
27408         $(objpfx)g$(static-start-installed-name): When building shared
27409         library and $(static-start-installed-name) is different from
27410         $(static-start-installed-name), revert to non-shared rule,
27411         i.e. using $(objpfx)% and gmon-start.o.
27413 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
27415         [BZ #16519]
27416         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
27417         (__ieee754_sinh): Force underflow exception for arguments with
27418         small absolute value.
27419         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
27420         (__ieee754_sinhf): Force underflow exception for arguments with
27421         small absolute value.
27422         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
27423         (__ieee754_sinhl): Force underflow exception for arguments with
27424         small absolute value.
27425         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
27426         (__ieee754_sinhl): Force underflow exception for arguments with
27427         small absolute value.
27428         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
27429         (__ieee754_sinhl): Force underflow exception for arguments with
27430         small absolute value.
27431         * math/auto-libm-test-in: Add more tests of sinh.
27432         * math/auto-libm-test-out: Regenerated.
27433         * sysdeps/i386/fpu/libm-test-ulps: Update.
27435 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27437         * libio/oldfileops.c: Include unistd.h.
27439 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
27441         * stdlib/isomac.c: Include ctype.h.
27443 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
27445         * dirent/tst-seekdir.c (main): Converted to ...
27446         (do_test): ... this.
27447         (TEST_FUNCTION): New macro.
27448         Include test-skeleton.c.
27449         * elf/tst-dlmodcount.c (main): Converted to ...
27450         (do_test): ... this.
27451         (TEST_FUNCTION): New macro.
27452         Include test-skeleton.c.
27453         * elf/tst-order-main.c (main): Converted to ...
27454         (do_test): ... this.
27455         (TEST_FUNCTION): New macro.
27456         Include test-skeleton.c.
27457         * elf/tst-pie2.c (main): Converted to ...
27458         (do_test): ... this.
27459         (TEST_FUNCTION): New macro.
27460         Include test-skeleton.c.
27461         * inet/tst-ether_aton.c (main): Converted to ...
27462         (do_test): ... this.
27463         (TEST_FUNCTION): New macro.
27464         Include test-skeleton.c.
27465         * misc/tst-mntent.c (main): Converted to ...
27466         (do_test): ... this.
27467         (TEST_FUNCTION): New macro.
27468         Include test-skeleton.c.
27469         * misc/tst-tsearch.c (main): Converted to ...
27470         (do_test): ... this.
27471         (TEST_FUNCTION): New macro.
27472         Include test-skeleton.c.
27473         * posix/tst-regexloc.c (main): Converted to ...
27474         (do_test): ... this.
27475         (TEST_FUNCTION): New macro.
27476         Include test-skeleton.c.
27477         * resolv/tst-aton.c (main): Converted to ...
27478         (do_test): ... this.
27479         (TEST_FUNCTION): New macro.
27480         Include test-skeleton.c.
27481         * stdio-common/test-fwrite.c (main): Converted to ...
27482         (do_test): ... this.
27483         (TEST_FUNCTION): New macro.
27484         Include test-skeleton.c.
27485         * stdio-common/tst-ferror.c (main): Converted to ...
27486         (do_test): ... this.
27487         (TEST_FUNCTION): New macro.
27488         Include test-skeleton.c.
27489         * stdio-common/tst-printf.c (main): Converted to ...
27490         (do_test): ... this.
27491         (TEST_FUNCTION): New macro.
27492         Include test-skeleton.c.
27493         * stdio-common/tst-printfsz.c (main): Converted to ...
27494         (do_test): ... this.
27495         (TEST_FUNCTION): New macro.
27496         Include test-skeleton.c.
27497         * stdlib/tst-strtod.c (main): Converted to ...
27498         (do_test): ... this.
27499         (TEST_FUNCTION): New macro.
27500         Include test-skeleton.c.
27501         * string/tst-strlen.c (main): Converted to ...
27502         (do_test): ... this.
27503         (TEST_FUNCTION): New macro.
27504         Include test-skeleton.c.
27505         * string/tst-svc.c (main): Converted to ...
27506         (do_test): ... this.
27507         (TEST_FUNCTION): New macro.
27508         Include test-skeleton.c.
27509         * time/tst-strptime.c (main): Converted to ...
27510         (do_test): ... this.
27511         (TEST_FUNCTION): New macro.
27512         Include test-skeleton.c.
27513         * timezone/tst-timezone.c (main): Converted to ...
27514         (do_test): ... this.
27515         (TEST_FUNCTION): New macro.
27516         Include test-skeleton.c.
27518 2015-08-05  Zack Weinberg  <zackw@panix.com>
27520         * misc/regexp.h: Update comments.
27522 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
27524         [BZ #18635]
27525         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
27526         before return label.
27528 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27530         [BZ #18661]
27531         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
27532         when calling __errno_location.
27533         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
27534         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
27536 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27538         [BZ #18661]
27539         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
27540         (__lll_timedwait_tid): Align stack to 16 bytes when calling
27541         __gettimeofday.
27543 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27545         [BZ #18661]
27546         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27547         (__start_context): Don't use pop to restore %rdi so that stack
27548         is aligned to 16 bytes when calling __setcontext.
27550 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27552         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
27553         only for libc.
27554         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27556 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27558         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
27559         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
27560         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
27562 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27564         * string/memccpy.c (memccpy):
27565         Improve performance by using memchr/memcpy/__mempcpy.
27567 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27569         * string/strncpy.c (strncpy):
27570         Improve performance by using __strnlen/memcpy.
27572 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27574         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27575         Optimize to avoid an unnecessary FPCR read.
27577 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27579         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
27580         Optimize to reduce FPCR/FPSR accesses.
27582 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27584         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
27585         dead->data[category] != NULL.
27587 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
27589         [BZ #18647]
27590         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
27591         and |x| close to 1, use absolute value of x when computing log.
27592         * math/auto-libm-test-in: Add more tests of pow.
27593         * math/auto-libm-test-out: Regenerated.
27595 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27597         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
27598         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
27599         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
27601 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
27603         [BZ #18525]
27604         * locales/km_KH: Remove timezone definition.
27605         * locales/lo_LA: Likewise.
27606         * locales/my_MM: Likewise.
27607         * locales/nan_TW@latin: Likewise.
27608         * locales/th_TH: Likewise.
27609         * locales/uk_UA: Likewise.
27611 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
27613         [BZ #18265]
27614         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
27615         (wcsncat): Likewise.
27616         (wcscmp): Likewise.
27617         (wcsncmp): Likewise.
27619 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27621         * test-skeleton.c (usage): New function.
27622         (main): Call usage when opt is '?'.
27624 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27626         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
27627         before first use.
27629 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27631         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
27632         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
27633         in there too.
27635 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
27637         * version.h (RELEASE): Set to "development".
27638         (VERSION): Set to "2.22.90"
27640         * version.h (RELEASE): Set to "stable".
27641         (VERSION): Set to "2.22"
27642         * include/features.h (__GLIBC_MINOR__): Set to 22.
27644 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
27646         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
27647         Restructure macro to avoid "value computed is not used" warning.
27648         (atomic_compare_and_exchange_val_acq): Likewise.
27650 2015-08-04  Andreas Schwab  <schwab@suse.de>
27652         [BZ #18635]
27653         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
27654         ret.
27655         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
27657 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
27659         * po/pl.po: Updated translation.
27660         * po/uk.po: Likewise.
27661         * po/fi.po: Likewise.
27662         * po/ko.po: Likewise.
27663         * po/ru.po: Likewise.
27664         * po/vi.po: Likewise.
27666 2015-07-31  Zack Weinberg  <zackw@panix.com>
27668         [BZ #18681]
27669         * regexp.h: Add unconditional #warning stating that this header
27670         will be removed soon.  Revise banner comment to match.
27671         (compile): Consistently use ERROR instead of RETURN to report
27672         errors (partial fix for BZ #18681).
27673         * regexp.c: Don't include regexp.h. Remove some unnecessary
27674         declarations.
27676 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
27678         * po/libc.pot: Regenerated.
27680 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27682         [BZ #18740]
27683         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
27684         float-vlen4-arch-ext-cflags): Removed.
27685         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
27686         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
27688 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27690         [BZ #14113]
27691         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
27692         aligned to __aligned__.
27693         (pthread_cond_t, pthread_rwlock_t): Likewise.
27695 2015-07-30  Torvald Riegel  <triegel@redhat.com>
27697         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
27699 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27701         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
27702         (struct sigaction): Change sa_flags from a long to an int, and add
27703         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
27705 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27707         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
27708         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
27709         sysdeps/generic/sysdep.h include.
27710         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
27711         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
27712         sysdeps/hppa/sysdep.h.
27713         (ENTRY, PSEUDO): Undefine before defining.
27715 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27717         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
27718         from scratch to use INTERNAL_SYSCALL.
27720 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
27722         [BZ #18078]
27723         * scripts/check-localplt.awk: Support alternate relocations.
27724         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
27725         sections.
27726         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
27727         malloc entries with + REL R_386_GLOB_DAT.
27728         * sysdeps/x86_64/localplt.data: New file.
27730 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
27732         [BZ #18731]
27733         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
27734         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27735         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27737 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27739         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
27741 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27743         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
27744         directly in terms of __sync_fetch_and_add and delete (int) cast.
27746 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27748         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
27749         the -D_ASM_IA64_CURRENT_H flag.
27751 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27753         [BZ #18641]
27754         * pwd/pwd.h (putpwent): Delete __nonnull markings.
27756 2015-07-27  Andreas Schwab  <schwab@suse.de>
27758         * conform/conformtest.pl (checknamespace): Filter out string
27759         literals while tokenizing.
27761 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
27763         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27764         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
27765         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27767 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
27769         * nptl/tst-join7mod.c: Add #include <string.h>.
27771 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
27773         * sysdeps/nios2/libm-test-ulps: Update.
27775 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
27777         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
27778         Fix order of arguments to the rt_sigprocmask syscall.
27779         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
27780         Likewise.
27782 2015-07-24  Roland McGrath  <roland@hack.frob.com>
27784         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
27786 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27788         [BZ #18457]
27789         * nptl/Makefile (tests): New test case tst-join7.
27790         (modules-names): New test case module tst-join7mod.
27791         * nptl/tst-join7.c: New file.
27792         * nptl/tst-join7mod.c: New file.
27793         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
27794         all translation units in libc.so, libpthread.so and rtld.
27796 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27800 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
27802         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
27803         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
27804         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
27805         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
27806         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
27807         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
27808         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
27809         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
27810         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
27811         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
27812         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
27813         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
27814         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
27815         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
27816         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
27817         implementation.
27819 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27821         [BZ #17711]
27822         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27823         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
27824         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27825         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27826         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
27827         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27829 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27831         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
27832         instead of just saying load lock in the comments.
27834 2015-07-23  Roland McGrath  <roland@hack.frob.com>
27836         * sysdeps/unix/Subdirs: Moved ...
27837         * sysdeps/posix/Subdirs: ... here.
27838         * login/pty.h (struct termios, struct winsize): Add forward decls.
27839         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
27840         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
27841         * sysdeps/arm/nacl/libc.abilist: Updated.
27842         * sysdeps/nacl/libutil.abilist: New file.
27844         * bits/signum.h: Update comments to mention 1003.1-2013 too.
27845         (SIGWINCH): New macro.
27847         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
27848         * sysdeps/arm/nacl/libc.abilist: Add it.
27850 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
27852         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
27854 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
27856         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
27857         Swap __glibc_reserved0 and sa_flags order.
27859 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27861         [BZ #18657]
27862         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
27863         are pending TLS destructor calls.
27864         * include/link.h (struct link_map): Add concurrency note for
27865         L_TLS_DTOR_COUNT.
27866         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27867         Don't touch the link map flag.  Atomically increment
27868         l_tls_dtor_count.
27869         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
27870         Avoid taking the load lock and don't touch the link map flag.
27871         * stdlib/tst-tls-atexit-nodelete.c: New test case.
27872         * stdlib/Makefile (tests): Use it.
27873         * stdlib/tst-tls-atexit.c (do_test): dlopen
27874         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
27875         to allow tst-tls-atexit-nodelete test case to use it.
27877 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27879         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
27880         to bits/types.h.
27881         (msgqnum_t): New typedef.
27882         (msglen_t): Likewise.
27883         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
27884         and msg_qbytes type to msglen_t.
27886 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27888         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
27889         pad0 to __glibc_reserved0.
27890         (struct stat64): Likewise.
27892 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27894         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
27895         Change sa_flags from a long to an int and add __glibc_reserved0 before
27896         it for padding.
27898 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27900         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
27901         anonymous by deleting "siginfo" name.
27903 2015-07-21  Roland McGrath  <roland@hack.frob.com>
27905         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
27906         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
27907         rather than __nacl_irt_filename.
27908         * sysdeps/nacl/xstat.c (__xstat): Likewise.
27910         * NEWS: New item for arm-nacl port.
27911         * sysdeps/arm/nacl/libc.abilist: New file.
27912         * sysdeps/nacl/ld.abilist: New file.
27913         * sysdeps/nacl/libBrokenLocale.abilist: New file.
27914         * sysdeps/nacl/libanl.abilist: New file.
27915         * sysdeps/nacl/libcrypt.abilist: New file.
27916         * sysdeps/nacl/libdl.abilist: New file.
27917         * sysdeps/nacl/libm.abilist: New file.
27918         * sysdeps/nacl/libpthread.abilist: New file.
27919         * sysdeps/nacl/libresolv.abilist: New file.
27920         * sysdeps/nacl/librt.abilist: New file.
27922 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
27924         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
27925         __startcontext to initialize the new context.
27926         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
27927         up CFI directive to forbid further backtracing.
27929 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
27931         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
27932         reference.
27933         * charmaps/ANSI_X3.4-1968: Likewise.
27934         * charmaps/BS_4730: Likewise.
27935         * charmaps/BS_VIEWDATA: Likewise.
27936         * charmaps/CP1250: Likewise.
27937         * charmaps/CP1251: Likewise.
27938         * charmaps/CP1252: Likewise.
27939         * charmaps/CP1253: Likewise.
27940         * charmaps/CP1254: Likewise.
27941         * charmaps/CP1255: Likewise.
27942         * charmaps/CP1256: Likewise.
27943         * charmaps/CSN_369103: Likewise.
27944         * charmaps/EBCDIC-DK-NO: Likewise.
27945         * charmaps/GB_1988-80: Likewise.
27946         * charmaps/GREEK-CCITT: Likewise.
27947         * charmaps/GREEK7: Likewise.
27948         * charmaps/INIS-8: Likewise.
27949         * charmaps/ISIRI-3342: Likewise.
27950         * charmaps/ISO_2033-1983: Likewise.
27951         * charmaps/ISO_5427-EXT: Likewise.
27952         * locales/POSIX: Likewise.
27953         * locales/ar_SA: Likewise.
27954         * locales/be_BY: Likewise.
27955         * locales/be_BY@latin: Likewise.
27956         * locales/ca_ES: Likewise.
27957         * locales/cs_CZ: Likewise.
27958         * locales/da_DK: Likewise.
27959         * locales/de_BE: Likewise.
27960         * locales/de_CH: Likewise.
27961         * locales/de_LU: Likewise.
27962         * locales/en_AU: Likewise.
27963         * locales/en_BW: Likewise.
27964         * locales/en_CA: Likewise.
27965         * locales/en_DK: Likewise.
27966         * locales/en_GB: Likewise.
27967         * locales/en_IE: Likewise.
27968         * locales/en_NZ: Likewise.
27969         * locales/en_ZA: Likewise.
27970         * locales/en_ZW: Likewise.
27971         * locales/es_AR: Likewise.
27972         * locales/es_BO: Likewise.
27973         * locales/es_CL: Likewise.
27974         * locales/es_CO: Likewise.
27975         * locales/es_DO: Likewise.
27976         * locales/es_EC: Likewise.
27977         * locales/es_ES: Likewise.
27978         * locales/es_HN: Likewise.
27979         * locales/es_MX: Likewise.
27980         * locales/es_PA: Likewise.
27981         * locales/es_PE: Likewise.
27982         * locales/es_PY: Likewise.
27983         * locales/es_SV: Likewise.
27984         * locales/es_US: Likewise.
27985         * locales/es_UY: Likewise.
27986         * locales/es_VE: Likewise.
27987         * locales/et_EE: Likewise.
27988         * locales/fa_IR: Likewise.
27989         * locales/fo_FO: Likewise.
27990         * locales/fr_CA: Likewise.
27991         * locales/fr_CH: Likewise.
27992         * locales/gv_GB: Likewise.
27993         * locales/he_IL: Likewise.
27994         * locales/hr_HR: Likewise.
27995         * locales/id_ID: Likewise.
27996         * locales/is_IS: Likewise.
27997         * locales/it_CH: Likewise.
27998         * locales/iw_IL: Likewise.
27999         * locales/kl_GL: Likewise.
28000         * locales/ko_KR: Likewise.
28001         * locales/kw_GB: Likewise.
28002         * locales/lg_UG: Likewise.
28003         * locales/lt_LT: Likewise.
28004         * locales/lv_LV: Likewise.
28005         * locales/mi_NZ: Likewise.
28006         * locales/nhn_MX: Likewise.
28007         * locales/nl_BE: Likewise.
28008         * locales/pl_PL: Likewise.
28009         * locales/sk_SK: Likewise.
28010         * locales/sl_SI: Likewise.
28011         * locales/sv_FI: Likewise.
28012         * locales/tl_PH: Likewise.
28013         * locales/tr_TR: Likewise.
28014         * locales/vi_VN: Likewise.
28016 2015-07-21  Khem Raj  <raj.khem@gmail.com>
28018         [BZ #17475]
28019         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
28020         of tu_IN and bh_IN.
28022 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
28024         [BZ #18694]
28025         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
28026         bits/wordsize.h.
28027         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
28029 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28031         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
28032         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
28033         (spawn_thread): New function.
28034         (load): Rename to reg_dtor_and_close.  Move dlopen to...
28035         (do_test): ... here.  Use IS_LOADED to test for its
28036         availability.
28038 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
28040         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28042 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
28044         [BZ #18696]
28045         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
28046         si_addr_bnd.
28047         (si_lower): New.
28048         (si_upper): Likewise.
28050 2015-07-16  David S. Miller  <davem@davemloft.net>
28052         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
28054 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28056         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
28057         buffer.
28058         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
28059         fail output information.
28061 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28063         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
28064         and strstr-ppc64..
28065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28066         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
28067         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
28068         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
28069         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
28071 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
28073         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
28074         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28075         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
28076         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28078 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
28080         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
28081         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
28082         rtld_hidden_proto.
28083         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
28085 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28087         * tst-nodelete-opened.c (do_test): Add comment to clarify how
28088         the test can fail.
28090         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
28092         [BZ #18676]
28093         * elf/tst-nodelete-opened.c: New test case.
28094         * elf/tst-nodelete-opened-lib.c: New test case module.
28095         * elf/Makefile (tests, modules-names): Use them.
28096         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
28097         early.
28099 2015-07-15  David S. Miller  <davem@davemloft.net>
28101         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
28102         futex-intenal.h
28103         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
28104         * sysdeps/sparc/sparc64/Makefile: Likewise.
28105         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
28106         Remove space from macro define.
28107         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
28109 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
28111         [BZ #17475]
28112         * locale/iso-639.def: Update Bhili and Tulu language codes as
28113         per iso639-3.
28115 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
28117         * elf/tst-leaks1.c (main): Converted to ...
28118         (do_test): ... this.
28119         (TEST_FUNCTION): New macro.
28120         Include test-skeleton.c.
28121         * localedata/tst-langinfo.c (main): Converted to ...
28122         (do_test): ... this.
28123         (TEST_FUNCTION): New macro.
28124         Include test-skeleton.c.
28125         * math/test-fpucw.c (main): Converted to ...
28126         (do_test): ... this.
28127         (TEST_FUNCTION): New macro.
28128         Include test-skeleton.c.
28129         * math/test-tgmath.c (main): Converted to ...
28130         (do_test): ... this.
28131         (TEST_FUNCTION): New macro.
28132         Include test-skeleton.c.
28133         * math/test-tgmath2.c (main): Converted to ...
28134         (do_test): ... this.
28135         (TEST_FUNCTION): New macro.
28136         Include test-skeleton.c.
28137         * setjmp/tst-setjmp.c (main): Converted to ...
28138         (do_test): ... this.
28139         (TEST_FUNCTION): New macro.
28140         Include test-skeleton.c.
28141         * stdio-common/tst-sscanf.c (main): Converted to ...
28142         (do_test): ... this.
28143         (TEST_FUNCTION): New macro.
28144         Include test-skeleton.c.
28145         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
28146         (do_test): ... this.
28147         (TEST_FUNCTION): New macro.
28148         Include test-skeleton.c.
28150         * elf/tst-audit9.c (main): Converted to ...
28151         (do_test): ... this.
28152         (TEST_FUNCTION): New macro.
28153         Include test-skeleton.c.
28155 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
28157         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
28159 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
28161         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
28162         New variable.
28164 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
28166         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28168 2015-07-14  Roland McGrath  <roland@hack.frob.com>
28170         * sysdeps/generic/dl-fileid.h: New file.
28171         * sysdeps/posix/dl-fileid.h: New file.
28172         * sysdeps/nacl/dl-fileid.h: New file.
28173         * include/link.h: Include <dl-fileid.h>.
28174         (struct link_map): Replace l_dev and l_ino with l_file_id.
28175         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
28176         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
28177         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
28179 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28181         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
28183 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28185         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
28186         Add iff $CXX is set.
28187         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
28188         Likewise.
28189         (tst-nodelete-zmodiff): Likewise.
28190         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
28192 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28194         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
28196 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
28198         * sysdeps/aarch64/fpu/math_private.h
28199         (define math_opt_barrier): Add AArch64 version.
28200         (math_force_eval): Likewise.
28202 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
28204         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
28206 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
28208         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
28209         %ld with %jd and cast to intmax_t.
28210         (do_test_length_zero): Likewise.
28212 2015-07-10  Roland McGrath  <roland@hack.frob.com>
28214         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
28216 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
28218         * sysdeps/tile/libm-test-ulps: Regenerated.
28220         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
28221         Comment out the whole function, not just its body.
28223 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28225         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
28226         locks.
28228         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
28230 2015-07-10  Torvald Riegel  <triegel@redhat.com>
28232         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
28233         (sem_assume_only_signals_cause_futex_EINTR): Remove.
28235 2015-07-10  Torvald Riegel  <triegel@redhat.com>
28237         * sysdeps/nptl/futex-internal.h: New file.
28238         * sysdeps/nacl/futex-internal.h: New file.
28239         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
28240         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
28241         error checking.
28242         (setxid_unmark_thread): Likewise.
28243         (__nptl_setxid): Likewise.
28244         (__wait_lookup_done): Likewise.
28245         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28246         * nptl/nptl-init.c (sighandler_setxid): Likewise.
28247         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28248         * nptl/pthread_once.c (clear_once_control): Likewise.
28249         (__pthread_once_slow): Likewise.
28250         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28251         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
28252         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
28253         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28254         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
28255         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
28256         Likewise.
28257         (__pthread_rwlock_rdlock): Likewise.
28258         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28259         Likewise.
28260         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28261         Likewise.
28262         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
28263         Likewise.
28264         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
28265         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
28266         Likewise.
28267         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
28268         __ASSUME_PRIVATE_FUTEX check.
28269         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
28270         Check that shared futexes are supported.
28271         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
28272         wrappers with error checking.
28273         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
28274         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
28275         * nptl/pthread_barrierattr_setpshared.c
28276         (pthread_barrierattr_setpshared): Check that shared futexes are
28277         supported.
28278         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
28279         Likewise.
28280         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
28281         Likewise.
28282         * nptl/sem_init.c (futex_private_if_supported): Remove.
28283         (__new_sem_init): Adapt and check that shared futexes are supported.
28284         * nptl/sem_open.c (sem_open): Likewise.
28285         * nptl/sem_post.c (futex_wake): Remove.
28286         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
28287         (do_futex_wait): Use futex wrappers with error checking.
28288         * nptl/sem_wait.c: Include lowlevellock.h.
28289         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
28290         Use futex_supports_pshared.
28291         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
28292         Use futex wrappers with error checking.
28293         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
28294         Likewise.
28295         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
28296         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
28297         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
28298         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
28299         (futex_wake): Likewise.
28300         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
28301         (do_futex_wait): Use futex wrappers with error checking.
28302         (__new_sem_wait_slow): Update EINTR handling.
28303         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
28305 2015-07-09  Martin Sebor  <msebor@redhat.com>
28307         [BZ #18435]
28308         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
28309         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
28310         * nptl/Makefile (test-xfail-tst-once5): Define.
28312 2015-07-09  Roland McGrath  <roland@hack.frob.com>
28314         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
28315         * elf/dl-minimal.c: For readability, reorder some definitions and
28316         introduce more page breaks.  Include <stdio.h>.
28317         (__libc_fatal): New function.
28319         * include/unistd.h: Add rtld_hidden_proto for _exit.
28320         * posix/_exit.c: Add rtld_hidden_def.
28321         * sysdeps/mach/hurd/_exit.c: Likewise.
28322         * sysdeps/nacl/_exit.c: Likewise.
28323         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
28324         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
28326 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
28328         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
28329         bndmov encoding with zero displacement.
28331 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
28332             H.J. Lu  <hongjiu.lu@intel.com>
28334         [BZ #18134]
28335         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
28336         * sysdeps/i386/configure: Regenerated.
28337         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
28338         (_dl_runtime_profile): Save and restore Intel MPX return bound
28339         registers when calling _dl_call_pltexit.  Add
28340         PRESERVE_BND_REGS_PREFIX before return.
28341         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
28342         (LRV_BND1_OFFSET): Likewise.
28343         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
28344         lrv_bnd1.
28345         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
28346         typo in bndmov encoding.
28347         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
28348         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
28349         branch instructions to preserve bounds.
28351 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
28354         [GLIBC_2.22]: Add fmemopen.
28356 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28358         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
28359         returns an error, also try to use host port from __mach_host_self for
28360         the __vm_wire call.
28361         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
28363 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28365         [BZ #18400]
28366         [BZ #18648]
28367         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
28368         Fix pr_uid and pr_gid members.
28369         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
28370         definition to elf_greg_t.
28372 2015-07-08  Roland McGrath  <roland@hack.frob.com>
28374         [BZ #18383]
28375         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
28376         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
28377         * sysdeps/arm/configure: Regenerated.
28378         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
28379         (test-xfail-tst-tlsalign-static): Variable removed.
28381         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
28382         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
28383         rather than explicit 'ln -s'.
28385         * resolv/rpc/netdb.h: New file.
28386         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
28388 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28390         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
28391         length buffers.
28392         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28393         test-skeleton.c.
28395         [BZ #6544]
28396         [BZ #11216]
28397         [BZ #12836]
28398         [BZ #13151]
28399         [BZ #13152]
28400         [BZ #14292]
28401         * include/stdio.h (fmemopen): Remove hidden prototype.
28402         (__fmemopen): Add new hidden prototype.
28403         * libio/Makefile: Add oldfmemopen object.
28404         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
28405         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
28406         compliance.
28407         * libio/oldfmemopen.c: New file: old fmemopen implementation for
28408         symbol compatibility.
28409         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
28410         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
28411         fmemopen.
28412         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
28413         on append and read mode.
28414         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
28415         fmemopen.
28416         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
28417         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
28418         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
28419         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
28420         Likewise.
28421         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
28422         [GLIBC_2.22]: Likewise.
28423         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
28424         Likewise.
28425         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
28426         Likewise.
28427         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
28428         [GLIBC_2.22]: Likewise.
28429         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
28430         [GLIBC_2.22]: Likewise.
28431         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
28432         [GLIBC_2.22]: Likewise.
28433         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
28434         [GLIBC_2.22]: Likewise.
28435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
28436         [GLIBC_2.22]: Likewise.
28437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
28438         [GLIBC_2.22]: Likewise.
28439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
28440         [GLIBC_2.22]: Likewise.
28441         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
28442         Likewise.
28443         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
28444         Likewise.
28445         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
28446         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
28447         [GLIBC_2.22]: Likewise.
28448         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
28449         [GLIBC_2.22]: Likewise.
28450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
28451         [GLIBC_2.22]: Likewise.
28452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
28453         [GLIBC_2.22]: Likewise.
28454         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
28455         Likewise.
28456         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
28457         Likewise.
28458         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
28459         Likewise.
28460         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
28461         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
28463 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
28465         [BZ #18643]
28466         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
28467         IPV6_PATHMTU, and IPV6_DONTFRAG.
28469 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
28471         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
28472         and _IO_UNBUFFERED.
28473         * libio/oldfileops.c: Likewise.
28474         * libio/wfileops.c: Likewise.
28476 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
28478         * nscd/selinux.c: Delete selinux/flask.h include.
28480 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
28482         [BZ #18641]
28483         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
28484         (putpwent): Likewise.
28485         (getpwnam): Likewise.
28486         (getpwent_r): Likewise.
28487         (getpwuid_r): Likewise.
28488         (getpwnam_r): Likewise.
28489         (fgetpwent_r): Likewise.
28491 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
28493         [BZ #18557]
28494         * inet/rcmd.c (__validuser2_sa): Check user first to
28495         short-circuit host check.
28497 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
28498             Mikhail Ilin  <m.ilin@samsung.com>
28500         [BZ #17833]
28501         * elf/Makefile (tests): Add tst-nodelete.
28502         (modules-names): Add tst-nodelete-uniquemod.
28503         (tst-nodelete-uniquemod.so-no-z-defs): New.
28504         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
28505         (tst-nodelete-zmod.so-no-z-defs): Likewise.
28506         ($(objpfx)tst-nodelete): Likewise.
28507         ($(objpfx)tst-nodelete.out): Likewise.
28508         (LDFLAGS-tst-nodelete): Likewise.
28509         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
28510         * elf/dl-close.c (_dl_close_worker): Add a parameter to
28511         implement forced object deletion.
28512         (_dl_close): Pass false to _dl_close_worker.
28513         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
28514         * elf/tst-nodelete.cc: New file.
28515         * elf/tst-nodeletelib.cc: Likewise.
28516         * elf/tst-znodeletelib.cc: Likewise.
28517         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
28519 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28521         [BZ #18508]
28522         * stdlib/Makefile ($(objpfx)tst-makecontext3):
28523         Depend on $(libdl).
28524         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
28525         is not called infinitely times.
28526         (backtrace_helper): New function.
28527         (trace_arg): New struct.
28528         (st1): Enlarge stack size.
28529         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28530         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
28531         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28532         Likewise.
28534 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28536         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28538 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28540         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
28541         Include sys/types.h instead of bits/types.h.
28542         Remove inclusion of bits/wordsize.h.
28544 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28546         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
28547         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
28548         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
28549         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
28550         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
28551         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
28553 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28555         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
28556         link-defines.sym.
28557         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
28558         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
28559         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
28560         and LR_SIZE.
28561         * sysdeps/i386/link-defines.sym: New file.
28563 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28565         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
28566         (modules-names): Add tst-auditmod3a tst-auditmod3b.
28567         ($(objpfx)tst-audit3): New rule.
28568         ($(objpfx)tst-audit3.out): Likewise.
28569         * sysdeps/i386/tst-audit3.c: New file.
28570         * sysdeps/i386/tst-audit3.h: Likewise.
28571         * sysdeps/i386/tst-auditmod3a.c: Likewise.
28572         * sysdeps/i386/tst-auditmod3b.c: Likewise.
28574 2015-07-07  Torvald Riegel  <triegel@redhat.com>
28576         [BZ #18633]
28577         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
28578         pointer in C code.
28579         (__strcat_c): Likewise.
28580         (__strcat_g): Likewise.
28582 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
28584         [BZ #18592]
28585         * misc/sbrk.c: Set errno to ENOMEM on overflow.
28587 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
28589         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
28590         New function.  (__ieee754_sqrtf): New function.
28591         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
28592         New function.
28593         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
28594         New function.
28596 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
28598         * sysdeps/ieee754/support.c: Remove unused file.
28600 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28602         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
28603         registers instead of d ones so the layout is kernel abi compatible.
28604         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
28605         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
28606         Likewise.
28608 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28610         * sysdeps/aarch64/libm-test-ulps: Regenerated.
28612 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
28614         [BZ #18619]
28615         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
28616         and return argument in case of subnormal argument.
28618 2015-07-01  Martin Sebor  <msebor@redhat.com>
28620         [BZ #18435]
28621         * nptl/Makefile: Add tst-once5.cc.
28622         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
28623         Remove macro redefinitions.
28624         * nptl/tst-once5.cc: New test.
28626 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
28628         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28630         * sysdeps/arm/libm-test-ulps: Regenerated.
28632         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28633         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28635 2015-06-30  Torvald Riegel  <triegel@redhat.com>
28637         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
28638         lll_lock_wait_private and lll_futex_wake probes.
28640         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
28641         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
28642         Likewise.
28643         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
28644         atomic_spin_nop.
28645         * sysdeps/x86_64/bits/atomic.h: Likewise.
28646         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
28647         to atomic_spin_nop and move ...
28648         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
28649         ... here and ...
28650         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
28651         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
28652         atomic_spin_nop instead of BUSY_WAIT_NOP.
28653         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
28654         Likewise.
28655         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
28656         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
28657         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
28658         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
28659         instead of atomic_delay.
28661 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
28663         [BZ #18613]
28664         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
28665         X_ADJ not X when adjusting exponent.
28666         (__ieee754_gamma_r): Do intermediate computations in
28667         round-to-nearest then adjust overflowing and underflowing results
28668         as needed.
28669         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
28670         of X_ADJ not X when adjusting exponent.
28671         (__ieee754_gammaf_r): Do intermediate computations in
28672         round-to-nearest then adjust overflowing and underflowing results
28673         as needed.
28674         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
28675         log of X_ADJ not X when adjusting exponent.
28676         (__ieee754_gammal_r): Do intermediate computations in
28677         round-to-nearest then adjust overflowing and underflowing results
28678         as needed.  Use 1.0L not 1.0f as numerator of division.
28679         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
28680         log of X_ADJ not X when adjusting exponent.
28681         (__ieee754_gammal_r): Do intermediate computations in
28682         round-to-nearest then adjust overflowing and underflowing results
28683         as needed.  Use 1.0L not 1.0f as numerator of division.
28684         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
28685         of X_ADJ not X when adjusting exponent.
28686         (__ieee754_gammal_r): Do intermediate computations in
28687         round-to-nearest then adjust overflowing and underflowing results
28688         as needed.  Use 1.0L not 1.0f as numerator of division.
28689         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
28690         to auto-libm-test-in.
28691         (tgamma_test): Use ALL_RM_TEST.
28692         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
28693         tests of tgamma with spurious-overflow.
28694         * math/auto-libm-test-out: Regenerated.
28695         * math/gen-libm-have-vector-test.sh: Do not check for START.
28696         * sysdeps/i386/fpu/libm-test-ulps: Update.
28697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28699         [BZ #18612]
28700         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
28701         arguments, just return 0.5 times the argument, with underflow
28702         forced as needed.
28703         * math/auto-libm-test-in: Add more tests of j1.
28704         * math/auto-libm-test-out: Regenerated.
28706         [BZ #16559]
28707         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
28708         (__ieee754_j1): Force underflow exception for small results.
28709         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
28710         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
28711         (__ieee754_j1f): Force underflow exception for small results.
28712         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28713         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28714         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28715         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
28716         (__ieee754_j1l): Force underflow exception for small results.
28717         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28718         * math/auto-libm-test-in: Add more tests of j1 and jn.
28719         * math/auto-libm-test-out: Regenerated.
28721         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
28722         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
28723         (PF_MPLS): Likewise.
28724         (AF_IB): Likewise.
28725         (AF_MPLS): Likewise.
28726         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
28727         value and macro.
28728         (MS_RMT_MASK): Include MS_LAZYTIME.
28730 2015-06-26  Mel Gorman  <mgorman@suse.de>
28732         [BZ #18502]
28733         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
28734         already minimal.
28736 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
28738         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
28739         (DT_MIPS_NUM): Update.
28740         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
28741         DT_MIPS_RLD_MAP_REL.
28743 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
28745         [BZ #16559]
28746         [BZ #18602]
28747         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
28748         round-to-nearest internally then recompute results that
28749         underflowed to zero in the original rounding mode.
28750         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28751         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28752         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28753         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28754         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
28755         * sysdeps/i386/fpu/libm-test-ulps: Update.
28756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28758 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
28760         * NEWS: Fixed description of link with vector math library.
28762 2015-06-25  Andreas Schwab  <schwab@suse.de>
28764         [BZ #18549]
28765         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
28766         * libio/test-fmemopen.c (do_test): Add test for it.
28768 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
28770         [BZ #17841]
28771         * Makeconfig (no-pie-ldflag): New.
28772         (+link): Set to $(+link-pie) if default to PIE.
28773         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
28774         * config.make.in (build-pie-default): New.
28775         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
28776         is default.  AC_SUBST.
28777         * configure: Regenerated.
28778         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
28780 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28782         * nptl/descr.h (struct pthread): Change type of field setxid_futex
28783         to 'unsigned int'.
28785         * resolv/gai_misc.h (struct waitlist): Change type of field
28786         counterp to 'volatile unsigned int *'.
28787         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
28788         FUTEXADDR and OLDVAL.
28789         * resolv/getaddrinfo_a.c (getaddrinfo_a):
28790         Give local variable TOTAL type 'volatile unsigned int'.
28791         (struct async_waitlist): Change type of field counter to 'unsigned int'.
28792         * resolv/gai_suspend.c (gai_suspend):
28793         Give local variable CNTR type 'unsigned int'.
28795         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
28796         counterp to 'volatile unsigned int *'.
28797         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
28798         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
28799         (aio_suspend): Give local variable CNTR type 'unsigned int'.
28800         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
28801         Give local variable TOTAL type 'volatile unsigned int'.
28802         (struct async_waitlist): Change type of field counter to 'unsigned int'.
28804 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28806         [BZ #18383]
28807         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
28808         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
28809         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
28810         comment for i386/x86-64.
28811         (test-xfail-tst-tlsalign-extern-static): Removed.
28813 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28815         * math/test-double.h: New file.
28816         * math/test-float.h: Likewise.
28817         * math/test-ldouble.h: Likewise.
28818         * math/test-math-inline.h: Likewise.
28819         * math/test-math-no-inline.h: Likewise.
28820         * math/test-math-scalar.h: Likewise.
28821         * math/test-math-vector.h: Likewise.
28822         * math/test-vec-loop.h: Remove file.  Contents moved into
28823         test-math-vector.h.
28824         * math/libm-test.inc (MATHCONST): Do not document macro.
28825         * math/test-double.c: Include test-double.h, test-math-no-inline.h
28826         and test-math-scalar.h.
28827         (FUNC): Remove macro.
28828         (FUNC_TEST): Likewise.
28829         (FLOAT): Likewise.
28830         (MATHCONST): Likewise.
28831         (PRINTF_EXPR): Likewise.
28832         (PRINTF_XEXPR): Likewise.
28833         (PRINTF_NEXPR): Likewise.
28834         (TEST_DOUBLE): Likewise.
28835         (TEST_MATHVEC): Likewise.
28836         (__NO_MATH_INLINES): Likewise.
28837         * math/test-float.c: Include test-float.h, test-math-no-inline.h
28838         and test-math-scalar.h.
28839         (FUNC): Remove macro.
28840         (FUNC_TEST): Likewise.
28841         (FLOAT): Likewise.
28842         (MATHCONST): Likewise.
28843         (PRINTF_EXPR): Likewise.
28844         (PRINTF_XEXPR): Likewise.
28845         (PRINTF_NEXPR): Likewise.
28846         (TEST_FLOAT): Likewise.
28847         (TEST_MATHVEC): Likewise.
28848         (__NO_MATH_INLINES): Likewise.
28849         * math/test-idouble.c: Include test-double.h, test-math-inline.h
28850         and test-math-scalar.h.
28851         (FUNC): Remove macro.
28852         (FUNC_TEST): Likewise.
28853         (FLOAT): Likewise.
28854         (MATHCONST): Likewise.
28855         (PRINTF_EXPR): Likewise.
28856         (PRINTF_XEXPR): Likewise.
28857         (PRINTF_NEXPR): Likewise.
28858         (TEST_DOUBLE): Likewise.
28859         (TEST_MATHVEC): Likewise.
28860         (TEST_INLINE): Likewise.
28861         (__NO_MATH_INLINES): Likewise.
28862         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
28863         test-math-scalar.h.
28864         (FUNC): Remove macro.
28865         (FUNC_TEST): Likewise.
28866         (FLOAT): Likewise.
28867         (MATHCONST): Likewise.
28868         (PRINTF_EXPR): Likewise.
28869         (PRINTF_XEXPR): Likewise.
28870         (PRINTF_NEXPR): Likewise.
28871         (TEST_FLOAT): Likewise.
28872         (TEST_MATHVEC): Likewise.
28873         (TEST_INLINE): Likewise.
28874         (__NO_MATH_INLINES): Likewise.
28875         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
28876         and test-math-scalar.h.
28877         (FUNC): Remove macro.
28878         (FUNC_TEST): Likewise.
28879         (FLOAT): Likewise.
28880         (MATHCONST): Likewise.
28881         (PRINTF_EXPR): Likewise.
28882         (PRINTF_XEXPR): Likewise.
28883         (PRINTF_NEXPR): Likewise.
28884         (TEST_LDOUBLE): Likewise.
28885         (TEST_MATHVEC): Likewise.
28886         (TEST_INLINE): Likewise.
28887         (__NO_MATH_INLINES): Likewise.
28888         * math/test-ldouble.c: Include test-ldouble.h,
28889         test-math-no-inline.h and test-math-scalar.h.
28890         (FUNC): Remove macro.
28891         (FUNC_TEST): Likewise.
28892         (FLOAT): Likewise.
28893         (MATHCONST): Likewise.
28894         (PRINTF_EXPR): Likewise.
28895         (PRINTF_XEXPR): Likewise.
28896         (PRINTF_NEXPR): Likewise.
28897         (TEST_LDOUBLE): Likewise.
28898         (TEST_MATHVEC): Likewise.
28899         (__NO_MATH_INLINES): Likewise.
28900         * math/test-double-vlen2.h: Include test-double.h,
28901         test-math-no-inline.h and test-math-vector.h.
28902         (FLOAT): Remove macro.
28903         (FUNC): Likewise.
28904         (MATHCONST): Likewise.
28905         (PRINTF_EXPR): Likewise.
28906         (PRINTF_XEXPR): Likewise.
28907         (PRINTF_NEXPR): Likewise.
28908         (TEST_DOUBLE): Likewise.
28909         (TEST_MATHVEC): Likewise.
28910         (__NO_MATH_INLINES): Likewise.
28911         (CNCT): Likewise.
28912         (CONCAT): Likewise.
28913         (WRAPPER_NAME): Likewise.
28914         (WRAPPER_DECL): Likewise.
28915         (WRAPPER_DECL_ff): Likewise.
28916         (WRAPPER_DECL_fFF): Likewise.
28917         (VECTOR_WRAPPER): Likewise.
28918         (VECTOR_WRAPPER_ff): Likewise.
28919         (VECTOR_WRAPPER_fFF): Likewise.
28920         (VEC_LEN): New macro.
28921         * math/test-double-vlen4.h: Include test-double.h,
28922         test-math-no-inline.h and test-math-vector.h.
28923         (FLOAT): Remove macro.
28924         (FUNC): Likewise.
28925         (MATHCONST): Likewise.
28926         (PRINTF_EXPR): Likewise.
28927         (PRINTF_XEXPR): Likewise.
28928         (PRINTF_NEXPR): Likewise.
28929         (TEST_DOUBLE): Likewise.
28930         (TEST_MATHVEC): Likewise.
28931         (__NO_MATH_INLINES): Likewise.
28932         (CNCT): Likewise.
28933         (CONCAT): Likewise.
28934         (WRAPPER_NAME): Likewise.
28935         (WRAPPER_DECL): Likewise.
28936         (WRAPPER_DECL_ff): Likewise.
28937         (WRAPPER_DECL_fFF): Likewise.
28938         (VECTOR_WRAPPER): Likewise.
28939         (VECTOR_WRAPPER_ff): Likewise.
28940         (VECTOR_WRAPPER_fFF): Likewise.
28941         (VEC_LEN): New macro.
28942         * math/test-double-vlen8.h: Include test-double.h,
28943         test-math-no-inline.h and test-math-vector.h.
28944         (FLOAT): Remove macro.
28945         (FUNC): Likewise.
28946         (MATHCONST): Likewise.
28947         (PRINTF_EXPR): Likewise.
28948         (PRINTF_XEXPR): Likewise.
28949         (PRINTF_NEXPR): Likewise.
28950         (TEST_DOUBLE): Likewise.
28951         (TEST_MATHVEC): Likewise.
28952         (__NO_MATH_INLINES): Likewise.
28953         (CNCT): Likewise.
28954         (CONCAT): Likewise.
28955         (WRAPPER_NAME): Likewise.
28956         (WRAPPER_DECL): Likewise.
28957         (WRAPPER_DECL_ff): Likewise.
28958         (WRAPPER_DECL_fFF): Likewise.
28959         (VECTOR_WRAPPER): Likewise.
28960         (VECTOR_WRAPPER_ff): Likewise.
28961         (VECTOR_WRAPPER_fFF): Likewise.
28962         (VEC_LEN): New macro.
28963         * math/test-float-vlen4.h: Include test-float.h,
28964         test-math-no-inline.h and test-math-vector.h.
28965         (FLOAT): Remove macro.
28966         (FUNC): Likewise.
28967         (MATHCONST): Likewise.
28968         (PRINTF_EXPR): Likewise.
28969         (PRINTF_XEXPR): Likewise.
28970         (PRINTF_NEXPR): Likewise.
28971         (TEST_FLOAT): Likewise.
28972         (TEST_MATHVEC): Likewise.
28973         (__NO_MATH_INLINES): Likewise.
28974         (CNCT): Likewise.
28975         (CONCAT): Likewise.
28976         (WRAPPER_NAME): Likewise.
28977         (WRAPPER_DECL): Likewise.
28978         (WRAPPER_DECL_ff): Likewise.
28979         (WRAPPER_DECL_fFF): Likewise.
28980         (VECTOR_WRAPPER): Likewise.
28981         (VECTOR_WRAPPER_ff): Likewise.
28982         (VECTOR_WRAPPER_fFF): Likewise.
28983         (VEC_LEN): New macro.
28984         * math/test-float-vlen8.h: Include test-float.h,
28985         test-math-no-inline.h and test-math-vector.h.
28986         (FLOAT): Remove macro.
28987         (FUNC): Likewise.
28988         (MATHCONST): Likewise.
28989         (PRINTF_EXPR): Likewise.
28990         (PRINTF_XEXPR): Likewise.
28991         (PRINTF_NEXPR): Likewise.
28992         (TEST_FLOAT): Likewise.
28993         (TEST_MATHVEC): Likewise.
28994         (__NO_MATH_INLINES): Likewise.
28995         (CNCT): Likewise.
28996         (CONCAT): Likewise.
28997         (WRAPPER_NAME): Likewise.
28998         (WRAPPER_DECL): Likewise.
28999         (WRAPPER_DECL_ff): Likewise.
29000         (WRAPPER_DECL_fFF): Likewise.
29001         (VECTOR_WRAPPER): Likewise.
29002         (VECTOR_WRAPPER_ff): Likewise.
29003         (VECTOR_WRAPPER_fFF): Likewise.
29004         (VEC_LEN): New macro.
29005         * math/test-float-vlen16.h: Include test-float.h,
29006         test-math-no-inline.h and test-math-vector.h.
29007         (FLOAT): Remove macro.
29008         (FUNC): Likewise.
29009         (MATHCONST): Likewise.
29010         (PRINTF_EXPR): Likewise.
29011         (PRINTF_XEXPR): Likewise.
29012         (PRINTF_NEXPR): Likewise.
29013         (TEST_FLOAT): Likewise.
29014         (TEST_MATHVEC): Likewise.
29015         (__NO_MATH_INLINES): Likewise.
29016         (CNCT): Likewise.
29017         (CONCAT): Likewise.
29018         (WRAPPER_NAME): Likewise.
29019         (WRAPPER_DECL): Likewise.
29020         (WRAPPER_DECL_ff): Likewise.
29021         (WRAPPER_DECL_fFF): Likewise.
29022         (VECTOR_WRAPPER): Likewise.
29023         (VECTOR_WRAPPER_ff): Likewise.
29024         (VECTOR_WRAPPER_fFF): Likewise.
29025         (VEC_LEN): New macro.
29026         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
29027         test-vec-loop.h.
29028         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29029         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29030         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29031         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29032         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29033         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29034         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
29036 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29038         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
29039         (__getlogin_r): ... this.
29041 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29043         [BZ #18594]
29044         * math/s_ccosh.c (__ccosh): Compare with least normal value
29045         instead of comparing class with FP_SUBNORMAL.
29046         * math/s_ccoshf.c (__ccoshf): Likewise.
29047         * math/s_ccoshl.c (__ccoshl): Likewise.
29048         * math/s_cexp.c (__cexp): Likewise.
29049         * math/s_cexpf.c (__cexpf): Likewise.
29050         * math/s_cexpl.c (__cexpl): Likewise.
29051         * math/s_csin.c (__csin): Likewise.
29052         * math/s_csinf.c (__csinf): Likewise.
29053         * math/s_csinh.c (__csinh): Likewise.
29054         * math/s_csinhf.c (__csinhf): Likewise.
29055         * math/s_csinhl.c (__csinhl): Likewise.
29056         * math/s_csinl.c (__csinl): Likewise.
29057         * math/s_ctan.c (__ctan): Likewise.
29058         * math/s_ctanf.c (__ctanf): Likewise.
29059         * math/s_ctanh.c (__ctanh): Likewise.
29060         * math/s_ctanhf.c (__ctanhf): Likewise.
29061         * math/s_ctanhl.c (__ctanhl): Likewise.
29062         * math/s_ctanl.c (__ctanl): Likewise.
29063         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
29064         csin, csinh, ctan and ctanh.
29065         * math/auto-libm-test-out: Regenerated.
29066         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
29067         * sysdeps/i386/fpu/libm-test-ulps: Update.
29068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29070 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29072         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
29073         return value is wrong, print the expected value too.
29075 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
29077         [BZ #18585]
29078         * elf/readlib.c (is_gdb_python_file): New.
29079         (process_file): Don't issue errors on filenames with -gdb.py
29080         suffix.
29082 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29084         * math/auto-libm-test-in: Add more tests of csin and csinh.
29085         * math/auto-libm-test-out: Regenerated.
29086         * math/libm-test.inc (csin_test_data): Remove tests moved to
29087         auto-libm-test-in.
29088         (csinh_test_data): Likewise.
29090         [BZ #18593]
29091         * math/s_csin.c (__csin): Negate before rather than after possibly
29092         overflowing multiplication.
29093         * math/s_csinf.c (__csinf): Likewise.
29094         * math/s_csinh.c (__csinh): Likewise.
29095         * math/s_csinhf.c (__csinhf): Likewise.
29096         * math/s_csinhl.c (__csinhl): Likewise.
29097         * math/s_csinl.c (__csinl): Likewise.
29098         * math/auto-libm-test-in: Add some tests of csin and csinh.
29099         * math/auto-libm-test-out: Regenerated.
29100         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
29101         (csinh_test_data): Likewise.
29102         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29104         [BZ #18586]
29105         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
29106         underflow exception for small results.
29108 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
29110         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
29111         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
29112         variable and included header.
29113         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
29114         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
29115         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
29116         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
29117         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
29118         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
29119         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
29120         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
29121         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
29122         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
29123         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
29124         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
29125         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
29126         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
29127         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
29128         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
29130 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29132         [BZ #16526]
29133         [BZ #16538]
29134         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
29135         (__sin): Force underflow exception for arguments with small
29136         absolute value.
29137         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
29138         (__kernel_sinf): Force underflow exception for arguments with
29139         small absolute value.
29140         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
29141         (__kernel_sincosl): Force underflow exception for arguments with
29142         small absolute value.
29143         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
29144         (__kernel_sinl): Force underflow exception for arguments with
29145         small absolute value.
29146         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
29147         (__kernel_sincosl): Force underflow exception for arguments with
29148         small absolute value.
29149         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
29150         (__kernel_sinl): Force underflow exception for arguments with
29151         small absolute value.
29152         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
29153         (__kernel_sinl): Force underflow exception for arguments with
29154         small absolute value.
29155         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
29156         (__kernel_sinf): Force underflow exception for arguments with
29157         small absolute value.
29158         * math/auto-libm-test-in: Add more tests of sin and sincos.
29159         * math/auto-libm-test-out: Regenerated.
29161         [BZ #18245]
29162         [BZ #18583]
29163         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
29164         (__kernel_standard_l): Use feholdexcept and fesetenv around
29165         conversion to double instead of special-casing overflow and
29166         underflow.
29167         * math/libm-test.inc (fmod_test_data): Add more tests.
29168         (remainder_test_data): Likewise.
29169         (sqrt_test_data): Likewise.
29171 2015-06-23  Torvald Riegel  <triegel@redhat.com>
29173         [BZ #17403]
29174         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
29175         atomic_read_barrier, atomic_write_barrier): Define.
29176         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
29177         atomic_read_barrier, atomic_write_barrier): Define.
29179 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29181         * math/Makefile [$(PERL) != no]
29182         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
29183         dependency on libm-test.stmp below the inclusion of Rules.
29185 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
29187         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
29188         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
29189         and included header.
29190         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
29191         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
29192         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
29193         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
29194         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
29195         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
29196         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
29197         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
29198         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
29199         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
29200         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
29201         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
29202         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
29203         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
29204         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
29205         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
29206         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
29207         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
29208         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
29210 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29212         [BZ #18371]
29213         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
29214         intermediate but not final result might underflow.
29215         * math/s_csqrtf.c (__csqrtf): Likewise.
29216         * math/s_csqrtl.c (__csqrtl): Likewise.
29217         * math/auto-libm-test-in: Add more tests of csqrt.
29218         * math/auto-libm-test-out: Regenerated.
29219         * sysdeps/i386/fpu/libm-test-ulps: Update.
29221         [BZ #18219]
29222         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
29223         threshold on absolute value of exponent for which scaling is used.
29224         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29225         * math/auto-libm-test-in: Add more tests of exp2.
29226         * math/auto-libm-test-out: Regenerated.
29228 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
29230         [BZ #17977]
29231         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
29232         when initializing interface list, based on the bug analysis
29233         and the patch proposed by Eric Newton.
29234         * resolv/tst-res_hconf_reorder.c: New test.
29235         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
29236         tst-res_hconf_reorder.
29237         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
29238         and $(shared-thread-library).
29239         (tst-res_hconf_reorder-ENV): New variable.
29241         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
29242         in comment.
29244 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
29246         [BZ #16353]
29247         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
29248         (__expm1): Force underflow exception for arguments with small
29249         absolute value.
29250         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
29251         (__expm1f): Force underflow exception for arguments with small
29252         absolute value.
29253         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
29254         (__expm1): Force underflow exception for arguments with small
29255         absolute value.
29256         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
29257         (__expm1f): Force underflow exception for arguments with small
29258         absolute value.
29259         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29260         Check for small arguments before calling __expm1.
29261         * math/auto-libm-test-in: Do not mark underflow exceptions as
29262         possibly missing for bug 16353.
29263         * math/auto-libm-test-out: Regenerated.
29265 2015-06-22  Andreas Schwab  <schwab@suse.de>
29267         [BZ #18513]
29268         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
29269         PTR queries.
29271 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
29273         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
29275         * string/strcoll_l.c: Remove unused struct element idxnow.
29277 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
29279         [BZ #18569]
29280         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
29281         underflow and return argument in case of subnormal argument.
29282         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29283         Likewise.
29284         * math/auto-libm-test-in: Add more tests of expm1.
29285         * math/auto-libm-test-out: Regenerated.
29287         [BZ #16361]
29288         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
29289         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
29290         tiny results.
29291         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
29292         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
29293         tiny results.
29294         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
29295         mark underflow exceptions as possibly missing for bug 16361.
29296         * math/auto-libm-test-out: Regenerated.
29298 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
29300         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
29301         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
29302         Remove variable.
29303         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
29304         (test-xfail-XOPEN2K8/utmpx.h/conform).
29306         * conform/conformtest.pl ($xerrors): New variable.
29307         (note_error): New function.
29308         (compiletest): New argument $xfail.  Use not_error.
29309         (runtest): Likewise.
29310         (top level): Handle xfail- lines.  Update calls to compiletest and
29311         runtest.  Handle xfail- and optional- in headers listed with
29312         allow-header.
29313         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
29314         (O_EXEC): Likewise.
29315         (O_SEARCH): Likewise.
29316         * conform/data/stropts.h-data (ioctl): Likewise.
29317         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
29318         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
29319         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
29320         (msghdr.msg_controllen): Likewise.
29321         (cmsghdr.cmsg_len): Likewise.
29322         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
29323         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
29324         variable.
29325         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
29326         (test-xfail-XPG4/stropts.h/conform): Likewise.
29327         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
29328         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
29329         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
29330         (test-xfail-UNIX98/stropts.h/conform): Likewise.
29331         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
29332         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
29333         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
29334         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
29335         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
29336         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
29337         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
29338         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
29339         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
29340         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
29341         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
29342         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
29343         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
29344         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
29345         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
29347 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
29349         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
29350         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
29351         definitions for proper unfolding of __MATHDECL_VEC.
29353 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29355         * benchtests/bench-strcoll.c:
29356         Include string.h.
29357         (main): Remove unused variable res.
29359 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29361         * timezone/Makefile (%/UTC %/Universal):
29362         Generate test-result files for UTC and Universal.
29364 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29366         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29368 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
29370         [BZ #16350]
29371         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
29372         for arguments with small absolute value.
29373         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
29374         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
29375         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
29376         (__asinh): Force underflow exception for arguments with small
29377         absolute value.
29378         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
29379         (__asinhf): Force underflow exception for arguments with small
29380         absolute value.
29381         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
29382         (__asinhl): Force underflow exception for arguments with small
29383         absolute value.
29384         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
29385         (__asinhl): Force underflow exception for arguments with small
29386         absolute value.
29387         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
29388         (__asinhl): Force underflow exception for arguments with small
29389         absolute value.
29390         * math/auto-libm-test-in: Do not mark underflow exceptions as
29391         possibly missing for bug 16350.
29392         * math/auto-libm-test-out: Regenerated.
29394         * include/bits/ipc.h: Remove file.
29395         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
29396         variable.
29397         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
29398         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
29399         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
29400         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
29401         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
29402         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
29403         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
29404         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
29405         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
29407         * math/auto-libm-test-in: Remove spurious underflow allowance for
29408         tests of cexp.
29409         * math/auto-libm-test-out: Regenerated.
29411         [BZ #18558]
29412         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
29413         unconditional definition.
29414         (MCAST_BLOCK_SOURCE): Likewise.
29415         (MCAST_UNBLOCK_SOURCE): Likewise.
29416         (MCAST_LEAVE_GROUP): Likewise.
29417         (MCAST_JOIN_SOURCE_GROUP): Likewise.
29418         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
29419         (MCAST_MSFILTER): Likewise.
29420         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
29421         Remove variable.
29422         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
29423         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
29424         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
29425         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
29426         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
29428 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
29430         * NEWS: Mention addition of x86_64 vector sincosf.
29431         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
29432         * math/test-float-vlen4.h: Likewise.
29433         * math/test-float-vlen8.h: Likewise.
29434         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29435         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
29436         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29437         * sysdeps/x86_64/fpu/Versions: New versions added.
29438         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29439         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29440         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29441         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
29442         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
29443         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
29444         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
29445         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
29446         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
29447         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
29448         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
29449         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
29450         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
29451         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
29452         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
29453         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
29454         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
29455         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
29456         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29457         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29458         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29459         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29460         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29461         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29463         * NEWS: Mention addition of x86_64 vector sincos.
29464         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
29465         * math/math.h (__MATHDECL_VEC): New macro.
29466         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
29467         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
29468         declaration under condition.
29469         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
29470         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
29471         TEST_VEC_LOOP change.
29472         * math/test-double-vlen4.h: Likewise.
29473         * math/test-double-vlen8.h: Likewise.
29474         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
29475         * math/test-float-vlen4.h: Likewise.
29476         * math/test-float-vlen8.h: Likewise.
29477         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29478         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
29479         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29480         * sysdeps/x86_64/fpu/Versions: New versions added.
29481         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29482         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29483         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29484         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
29485         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
29486         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
29487         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
29488         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
29489         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
29490         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
29491         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
29492         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
29493         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
29494         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
29495         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
29496         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
29497         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
29498         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29499         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29500         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29501         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29502         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29503         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29504         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29506         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29507         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29508         redirections for powf.
29509         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29510         * sysdeps/x86_64/fpu/Versions: New versions added.
29511         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29512         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29513         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29514         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
29515         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
29516         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
29517         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
29518         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
29519         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
29520         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
29521         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
29522         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
29523         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
29524         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
29525         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
29526         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
29527         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
29528         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29529         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29530         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29531         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29532         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29533         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29534         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29535         * math/test-float-vlen16.h: Fixed 2 argument macro.
29536         * math/test-float-vlen4.h: Likewise.
29537         * math/test-float-vlen8.h: Likewise.
29538         * NEWS: Mention addition of x86_64 vector powf.
29540 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
29542         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29543         and redefine.
29544         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29545         and redefine.
29546         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
29547         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29548         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29550         [BZ #18553]
29551         * resource/getpriority.c (getpriority): Rename to __getpriority
29552         and define as weak alias of __getpriority.
29553         * resource/setpriority.c (setpriority): Rename to __setpriority
29554         and define as weak alias of __setpriority.
29555         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
29556         __getpriority and define as weak alias of __getpriority.
29557         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
29558         __setpriority and define as weak alias of __setpriority.
29559         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
29560         strong name.
29561         (setpriority): Use __setpriority as strong name.
29562         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
29563         __getpriority and define as weak alias of __getpriority.
29564         * include/sys/resource.h (__getpriority): Declare.  Use
29565         libc_hidden_proto.
29566         (__setpriority): Likewise.
29567         (getpriority): Don't use libc_hidden_proto.
29568         (setpriority): Likewise.
29569         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
29570         getpriority.  Call __setpriority instead of setpriority.
29571         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
29572         Remove variable.
29574         [BZ #18547]
29575         * misc/getttyent.c (getttynam): Rename to __getttynam and define
29576         as weak alias of __getttynam.  Use prototype function definition.
29577         Call __setttyent, __getttyent and __endttyent instead of
29578         setttyent, getttyent and endttyent.
29579         (getttyent): Rename to __getttyent and define as weak alias of
29580         __getttyent.  Call __setttyent instead of setttyent.  Call
29581         __fgets_unlocked instead of fgets_unlocked.
29582         (setttyent): Rename to __setttyent and define as weak alias of
29583         __setttyent.
29584         (endttyent): Rename to __endttyent and define as weak alias of
29585         __endttyent.
29586         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
29587         (__setttyent): Likewise.
29588         (__endttyent): Likewise.
29589         (getttyent): Don't use libc_hidden_proto.
29590         (setttyent): Likewise.
29591         (endttyent): Likewise.
29592         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
29593         __endttyent instead of setttyent, getttyent and endttyent.
29594         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
29595         Remove variable.
29597         [BZ #18546]
29598         * socket/recv.c (__recv): Use libc_hidden_def.
29599         * socket/socket.c (__socket): Likewise.
29600         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
29601         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
29602         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
29603         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
29604         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
29605         libc_hidden_def.
29606         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
29607         libc_hidden_weak.
29608         * include/sys/socket.h (__socket): Do not use attribute_hidden.
29609         Use libc_hidden_proto.
29610         (__recv): Likewise.
29611         * socket/Versions (libc): Export __recv and __socket at version
29612         GLIBC_PRIVATE.
29613         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
29614         instead of recv.
29615         (init_mq_netlink): Call __socket instead of socket.
29616         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
29617         Remove variable.
29619         [BZ #18545]
29620         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
29621         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
29622         hidden_weak.
29623         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
29624         define as alias of __mq_timedsend.  Use hidden_weak.
29625         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
29626         __mq_timedsend as strong name.
29627         (mq_timedreceive): Use __mq_timedreceive as strong name.
29628         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
29629         (__mq_timedreceive): Likewise.
29630         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
29631         __mq_timedreceive instead of mq_timedreceive.
29632         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
29633         instead of mq_timedsend.
29634         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
29635         Remove variable.
29637         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
29638         hidden_def and hidden_weak instead of libc_hidden_def and
29639         libc_hidden_weak.
29640         (top level): Refer to hidden_def in comment.
29641         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
29642         macro.  Use it instead of libc_hidden_def.
29643         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
29644         specify __GI_* name explicitly.
29645         (mq_timedreceive): Likewise.
29646         (mq_setattr): Likewise.
29648         [BZ #18544]
29649         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
29650         __pthread_barrier_init and define as weak alias of
29651         __pthread_barrier_init.
29652         * sysdeps/sparc/nptl/pthread_barrier_init.c
29653         (pthread_barrier_init): Likewise.
29654         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
29655         __pthread_barrier_wait and define as weak alias of
29656         __pthread_barrier_wait.
29657         * sysdeps/sparc/nptl/pthread_barrier_wait.c
29658         (pthread_barrier_wait): Likewise.
29659         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
29660         (pthread_barrier_wait): Likewise.
29661         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
29662         (pthread_barrier_wait): Likewise.
29663         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
29664         (pthread_barrier_wait): Likewise.
29665         * nptl/Versions (libpthread): Export __pthread_barrier_init and
29666         __pthread_barrier_wait at version GLIBC_PRIVATE.
29667         * include/pthread.h (__pthread_barrier_init): Declare.
29668         (__pthread_barrier_wait): Likewise.
29669         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
29670         Call __pthread_barrier_wait instead of pthread_barrier_wait.
29671         (helper_thread): Likewise.
29672         (init_mq_netlink): Call __pthread_barrier_init instead of
29673         pthread_barrier_init.
29675         [BZ #18542]
29676         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
29677         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
29678         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
29679         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
29680         vswscanf.
29681         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
29682         Remove variable.
29684         [BZ #18540]
29685         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
29686         strong alias of _IO_fflush.  Use libc_hidden_def.
29687         * libio/iofflush_u.c (fflush_unlocked): Rename to
29688         __fflush_unlocked and define as weak alias of __fflush_unlocked.
29689         Use libc_hidden_weak.
29690         * include/stdio.h (__fflush_unlocked): Declare.  Use
29691         libc_hidden_proto.
29692         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
29693         fflush_unlocked.
29694         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
29695         Remove variable.
29697         [BZ #18539]
29698         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
29699         define as weak alias of __addseverity.
29700         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
29701         Remove variable.
29702         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
29703         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
29704         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
29706         [BZ #18536]
29707         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
29708         (__tfind): Likewise.
29709         (__tdelete): Likewise.
29710         (__twalk): Likewise.
29711         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
29712         __twalk to GLIBC_PRIVATE.
29713         * include/search.h (__tsearch): Use libc_hidden_proto.
29714         (__tfind): Likewise.
29715         (__tdelete): Likewise.
29716         (__twalk): Likewise.
29717         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
29718         Call __tdelete instead of tdelete.
29719         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
29720         tfind.  Call __tsearch instead of tsearch.
29721         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
29722         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
29723         Remove variable.
29724         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
29726         [BZ #18534]
29727         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
29728         (dprintf): Define as a weak alias of __dprintf, not a strong
29729         alias.
29730         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
29731         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
29732         dprintf.
29733         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
29734         Remove variable.
29735         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
29736         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
29738         [BZ #18533]
29739         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
29740         not a strong alias.
29741         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
29742         Remove variable.
29744         [BZ #18532]
29745         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
29746         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
29747         (in6addr_loopback): Rename to __in6addr_loopback and define as
29748         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
29749         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
29750         libc_hidden_proto.
29751         (__in6addr_any): Likewise.
29752         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
29753         in6addr_any.
29754         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
29755         variable.
29756         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
29758 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
29760         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
29761         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
29762         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29763         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29764         redirections for pow.
29765         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29766         * sysdeps/x86_64/fpu/Versions: New versions added.
29767         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29768         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29769         build of SSE, AVX2 and AVX512 IFUNC versions.
29770         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
29771         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
29772         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
29773         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
29774         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
29775         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
29776         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
29777         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
29778         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
29779         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
29780         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
29781         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
29782         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
29783         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
29784         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29785         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29786         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29787         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29788         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29789         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29790         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29791         * NEWS: Mention addition of x86_64 vector pow.
29793         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29794         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29795         redirections for expf.
29796         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29797         * sysdeps/x86_64/fpu/Versions: New versions added.
29798         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29799         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29800         build of SSE, AVX2 and AVX512 IFUNC versions.
29801         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
29802         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
29803         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
29804         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
29805         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
29806         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
29807         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
29808         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
29809         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
29810         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
29811         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
29812         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
29813         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
29814         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29815         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29816         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29817         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29818         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29819         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29820         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29821         * NEWS: Mention addition of x86_64 vector expf.
29823         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
29824         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
29825         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29826         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29827         redirections for exp.
29828         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29829         * sysdeps/x86_64/fpu/Versions: New versions added.
29830         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29831         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29832         build of SSE, AVX2 and AVX512 IFUNC versions.
29833         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
29834         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
29835         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
29836         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
29837         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
29838         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
29839         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
29840         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
29841         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
29842         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
29843         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
29844         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
29845         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
29846         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29847         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29848         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29849         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29850         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29851         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29852         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29853         * NEWS: Mention addition of x86_64 vector exp.
29855         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29856         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29857         redirections for logf.
29858         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29859         * sysdeps/x86_64/fpu/Versions: New versions added.
29860         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29861         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29862         build of SSE, AVX2 and AVX512 IFUNC versions.
29863         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
29864         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
29865         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
29866         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
29867         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
29868         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
29869         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
29870         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
29871         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
29872         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
29873         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
29874         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
29875         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
29876         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29877         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29878         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29879         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29880         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29881         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29882         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29883         * NEWS: Mention addition of x86_64 vector logf.
29885         * bits/libm-simd-decl-stubs.h: Added stubs for log.
29886         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
29887         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29888         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29889         redirections for log.
29890         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29891         * sysdeps/x86_64/fpu/Versions: New versions added.
29892         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29893         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29894         build of SSE, AVX2 and AVX512 IFUNC versions.
29895         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
29896         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
29897         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
29898         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
29899         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
29900         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
29901         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
29902         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
29903         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
29904         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
29905         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
29906         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
29907         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
29908         test.
29909         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29910         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29911         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29912         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29913         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29914         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29915         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29916         * NEWS: Mention addition of x86_64 vector log.
29918 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29920         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
29921         cfi_adjust_cfa_offset argument.
29922         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
29923         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
29925         [BZ #18034]
29926         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
29927         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
29928         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
29929         ordering using ldar.
29930         (_dl_tlsdesc_dynamic): Likewise.
29931         (_dl_tlsdesc_return_lazy): Likewise.
29932         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
29933         relaxed atomics instead of volatile and synchronize with release store.
29934         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
29935         volatile.
29936         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29938 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
29940         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29941         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
29942         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29943         * sysdeps/x86_64/fpu/Versions: New versions added.
29944         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29945         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29946         build of SSE, AVX2 and AVX512 IFUNC versions.
29947         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
29948         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
29949         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
29950         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
29951         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
29952         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
29953         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
29954         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
29955         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
29956         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
29957         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
29958         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
29959         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
29960         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29961         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29962         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29963         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29964         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29965         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29966         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29967         * NEWS: Mention addition of x86_64 vector sinf.
29969 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
29971         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
29972         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
29973         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
29974         Remove variable.
29975         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
29976         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
29978 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
29980         [BZ #18530]
29981         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
29982         strong alias of _IO_fputs.  Use libc_hidden_def.
29983         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
29984         and define as weak alias of __fputs_unlocked.  Use
29985         libc_hidden_weak.
29986         * include/stdio.h (__fputs_unlocked): Declare.  Use
29987         libc_hidden_proto.
29988         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
29989         fputs_unlocked.
29991         [BZ #18529]
29992         * resolv/netdb.h [__USE_POSIX]: Change condition to
29993         [__USE_XOPEN2K].
29994         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
29995         not expect.
29996         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
29997         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
29998         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
29999         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
30000         [XPG4 || UNIX98] (AI_ALL): Likewise.
30001         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
30002         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
30003         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
30004         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
30005         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
30006         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
30007         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
30008         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
30009         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
30010         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
30011         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
30012         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
30013         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
30014         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
30015         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
30016         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
30017         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
30018         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
30019         [XPG4 || UNIX98] (gai_strerror): Likewise.
30020         [XPG4 || UNIX98] (getaddrinfo): Likewise.
30021         [XPG4 || UNIX98] (getnameinfo): Likewise.
30023         [BZ #18528]
30024         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
30025         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
30026         __USE_XOPEN2K8].
30027         (getgrent): Likewise.
30028         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
30029         expect.
30030         [XPG3 || POSIX2008] (endgrent): Likewise.
30031         [XPG3] (setgrent): Likewise.
30032         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
30033         variable.
30034         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
30036         [BZ #18527]
30037         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
30038         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
30039         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
30040         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
30041         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
30042         * include/unistd.h (__getlogin_r): Declare.  Use
30043         libc_hidden_proto.
30044         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
30045         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
30046         variable.
30047         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
30048         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
30049         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
30051 2015-06-12  Martin Sebor  <msebor@redhat.com>
30053         [BZ #18512]
30054         * Makerules (check-install-supported): New target.
30055         (install): Add check-install-supported as a dependency.
30056         * manual/install.texi (Installing the C Library): Document
30057         that overriding prefix and exec_prefix is not supported.
30058         Mention DESTDIR.
30059         * INSTALL: Regenerate from the above.
30061 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
30063         [BZ #18519]
30064         * posix/Versions (libc): Export __libc_pread at version
30065         GLIBC_PRIVATE.
30066         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
30067         instead of pread.
30068         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
30069         variable.
30071         [BZ #18522]
30072         * misc/efgcvt_r.c
30073         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
30074         (cvt_symbol): Use weak_alias instead of strong_alias.
30075         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
30076         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
30077         Remove variable.
30078         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
30079         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
30081         [BZ #18520]
30082         * inet/herrno.c (h_errno): Rename to __h_errno.
30083         (__libc_h_errno): Define as alias of __h_errno not h_errno.
30084         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
30085         to __h_errno instead of h_errno.
30086         * nptl/herrno.c (h_errno): Rename to __h_errno.
30087         (__h_errno_location): Refer to __h_errno not h_errno.
30088         * resolv/Versions (h_errno): Rename to __h_errno.
30089         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
30090         Remove variable.
30091         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
30093 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
30095         * configure.ac: More strict check for AVX512 assembler support.
30096         * configure: Regenerated.
30098         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
30099         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
30100         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30101         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
30102         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30103         * sysdeps/x86_64/fpu/Versions: New versions added.
30104         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30105         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30106         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30107         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
30108         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
30109         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
30110         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
30111         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
30112         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
30113         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
30114         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
30115         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
30116         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
30117         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
30118         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
30119         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
30120         test.
30121         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30122         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30123         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30124         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30125         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30126         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30127         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30128         * NEWS: Mention addition of x86_64 vector sin.
30130 2015-06-11  Florian Weimer  <fweimer@redhat.com>
30132         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
30133         comment.
30135 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
30137         [BZ #18479]
30138         * nptl/pt-interp.c: New file.
30139         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
30140         Add pt-interp.
30141         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
30142         $(common-objpfx)runtime-linker.h.
30144 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
30146         * Makeconfig (+interp): Remove unused variable.
30147         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
30148         only.  Depend on $(common-objpfx)runtime-linker.h instead of
30149         $(elf-objpfx)runtime-linker.h.
30150         ($(elf-objpfx)runtime-linker.h): Rename to
30151         $(common-objpfx)runtime-linker.h and move ...
30152         * Makerules [$(build-shared) = yes]: ... here.
30153         * elf/interp.c: Include <runtime-linker.h> instead of
30154         <elf/runtime-linker.h>.
30156 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30158         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
30159         (__gettimeofday_syscall): Remove vsyscall fallback.
30160         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
30161         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
30162         Add syscall fallback function.
30163         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
30164         if vDSO is not present.
30165         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
30166         fallback function.
30167         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
30168         present.
30169         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
30170         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30172 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
30174         [BZ #18497]
30175         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
30176         of wcscmp.
30177         (wcscmp): Define as weak alias of WCSCMP.
30178         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
30179         wcscoll.
30180         (USE_HIDDEN_DEF): Define.
30181         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
30182         __wcscoll.  Don't use libc_hidden_weak.
30183         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
30184         wcscmp.
30185         * sysdeps/i386/i686/multiarch/wcscmp-c.c
30186         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
30187         __GI_wcscmp.
30188         (weak_alias): Undefine and redefine.
30189         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
30190         __wcscmp and define as weak alias of __wcscmp.
30191         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
30192         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
30193         (__wcscoll): Likewise.
30194         (wcscmp): Don't use libc_hidden_proto.
30195         (wcscoll): Likewise.
30196         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
30197         wcscoll.
30198         * posix/regexec.c (check_node_accept_bytes): Likewise.
30199         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
30200         variable.
30201         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
30202         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
30204         [BZ #18507]
30205         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
30206         __fstatvfs and define as weak alias of __fstatvfs.  Use
30207         libc_hidden_weak.
30208         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
30209         and define as weak alias of __statvfs.  Use libc_hidden_weak.
30210         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
30211         Define as alias of __fstatvfs, not fstatvfs.
30212         (fstatvfs64): Likewise.
30213         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
30214         Define as alias of __statvfs, not statvfs.
30215         (statvfs64): Likewise.
30216         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
30217         Remove variable.
30219 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30222         (HAVE_GETCPU_VSYSCALL): Define.
30223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30224         (HAVE_GETCPU_VSYSCALL): Likewise.
30225         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
30226         * sysdeps/unix/sysv/linux/sched_getcpu.c
30227         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
30228         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
30229         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
30230         prototype.
30231         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30232         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
30233         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
30234         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
30235         Define.
30236         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
30237         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30238         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
30239         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30241 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
30243         * sysdeps/x86_64/fpu/Makefile: New file.
30244         * sysdeps/x86_64/fpu/Versions: New file.
30245         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
30246         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
30247         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
30248         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
30249         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
30250         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
30251         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
30252         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
30253         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
30254         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
30255         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
30256         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
30257         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
30258         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30259         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30260         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
30261         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
30262         * sysdeps/x86_64/configure.ac: Options for libmvec build.
30263         * sysdeps/x86_64/configure: Regenerated.
30264         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
30265         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
30266         * manual/install.texi (Configuring and compiling): Document
30267         --disable-mathvec.
30268         * INSTALL: Regenerated.
30269         * NEWS: Mention addition of libmvec and x86_64 vector cos.
30271         * math/Makefile: Added rules for vector tests.
30272         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
30273         declaration under condition.
30274         * math/test-double-vlen2.h: New file.
30275         * math/test-double-vlen4.h: New file.
30276         * math/test-double-vlen8.h: New file.
30277         * math/test-vec-loop.h: Added initialization macro.
30278         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
30279         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
30280         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
30281         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
30282         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
30283         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
30284         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
30285         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
30286         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
30287         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
30288         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
30290         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30291         * sysdeps/x86_64/fpu/Versions: New versions added.
30292         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
30293         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
30294         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
30295         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
30296         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
30297         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
30298         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
30299         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
30300         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
30301         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
30302         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
30303         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
30304         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
30305         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30306         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30307         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30308         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
30309         * NEWS: Mention addition of x86_64 vector cosf.
30311         * math/Makefile: Added CFLAGS for new tests.
30312         * math/test-float-vlen16.h: New file.
30313         * math/test-float-vlen4.h: New file.
30314         * math/test-float-vlen8.h: New file.
30315         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
30316         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
30317         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30318         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
30319         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
30320         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
30321         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
30322         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
30323         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
30324         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
30325         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
30327 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
30329         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
30330         * locale/programs/ld-ctype.c: Likewise.
30332 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
30334         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
30335         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
30336         bit_ZMM16_31_state): New macro.
30337         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30338         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
30340 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
30342         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
30344 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
30346         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
30348 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
30350         [BZ #18498]
30351         * libio/memstream.c (open_memstream): Rename to __open_memstream
30352         and define as weak alias of __open_memstream.
30353         * include/stdio.h (__open_memstream): Declare.  Use
30354         libc_hidden_proto.
30355         (open_memstream): Don't use libc_hidden_proto.
30356         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
30357         open_memstream.
30358         * posix/getopt.c (_getopt_internal_r): Likewise.
30359         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
30360         variable.
30361         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
30362         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
30363         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
30365         [BZ #18496]
30366         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
30367         instead of wcrtomb.
30369         [BZ #18483]
30370         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
30371         [__USE_XOPEN2K8].  Remove redundant #endif.
30372         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
30373         Remove redundant #if.
30374         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
30375         Remove variable.
30376         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
30377         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
30379         [BZ #18495]
30380         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
30381         (__iswlower): Likewise.
30382         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
30383         (__iswlower): Likewise.
30384         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
30385         instead of towlower.
30386         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
30387         instead of iswlower.  Call __towupper instead of towupper.
30388         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
30389         instead of iswalnum.
30391 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30393         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
30394         errors to stderr.
30396 2015-06-05  Florian Weimer  <fweimer@redhat.com>
30398         [BZ #15661]
30399         [BZ #17322]
30400         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
30401         Check for overflow properly.  Check for O_APPEND.  Ignore large
30402         file system block sizes.  Add comments about problems.
30403         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
30404         * manual/filesys.texi (Storage Allocation): New node.
30406 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30408         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
30409         cancellable syscalls.
30410         (SYS_ify): Add guard to no redefine it.
30411         (INLINE_SYSCALL): Likewise.
30412         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
30413         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
30414         SYSCALL_CANCEL instead.
30415         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
30416         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30417         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30418         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30419         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30420         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
30421         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
30422         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
30423         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
30424         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
30425         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
30426         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
30427         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
30428         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
30429         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
30430         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30431         Likewise.
30432         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30433         (__libc_pread64): Likewise.
30434         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
30435         (__libc_preadv): Likewise.
30436         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
30437         (__libc_readv64): Likewise.
30438         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30439         (__libc_pwrite): Likewise.
30440         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30441         (__libc_pwrite64): Likewise.
30442         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
30443         (__libc_pwritev): Likewise.
30444         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
30445         (__libc_pwritev64): Likewise.
30446         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
30447         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
30448         (sync_file_range): Likewise.
30449         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
30450         Likewise.
30451         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
30452         Likewise.
30453         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30454         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30455         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30456         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30457         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30458         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30459         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
30460         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
30461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30462         Likewise.
30463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30464         (__libc_read64): Likewise.
30465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
30466         Likewise.
30467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
30468         Likewise.
30469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
30470         Likewise.
30471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
30472         Likewise.
30473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30474         (__libc_pread64): Likewise.
30475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
30476         Likewise.
30477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30478         (__libc_pwrite64): Likewise.
30479         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
30480         (sync_file_range): Likewise.
30481         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
30482         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30483         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30484         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
30485         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
30486         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30487         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30488         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
30489         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
30490         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
30491         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30492         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30493         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30494         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30495         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
30496         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30497         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30498         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30499         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30500         Likewise.
30501         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
30502         Likewise.
30503         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
30504         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
30505         Likewise.
30506         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
30507         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
30508         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
30509         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
30510         Likewise.
30511         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
30512         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
30513         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
30514         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
30515         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
30517 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
30519         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
30520         Include dl-vdso.
30521         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
30522         Use VDSO routines for gettimeofday, clock_gettime if
30523         available.
30524         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
30525         Declare VDSO symbols.
30526         * sysdeps/unix/sysv/linux/arm/sysdep.h:
30527         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
30528         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30529         * sysdeps/unix/sysv/linux/arm/Versions: Add
30530         __vdso_clock_gettime.
30532 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30534         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
30535         be an inline implementation regardless of library is built within.
30536         (open_not_cancel_2): Likewise.
30537         (__read_nocancel): Likewise.
30538         (__write_nocancel): Likewise.
30539         (openat_not_cancel): Likewise.
30540         (openat_not_cancel_3): Likewise.
30541         (openat64_not_cancel): Likewise.
30542         (openat64_not_cancel_3): Likewise.
30543         (__close_nocancel): Likewise.
30544         (pause_not_cancel): Likewise.
30545         (nanosleep_not_cancel): Likewise.
30546         (sigsuspend_not_cancel): Likewise.
30548 2015-06-04  Torvald Riegel  <triegel@redhat.com>
30550         [BZ #14958]
30551         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
30552         wake-up.
30553         (__pthread_rwlock_rdlock_slow): Likewise.
30554         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
30555         Likewise.
30556         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
30557         Likewise.
30558         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
30559         * nptl/tst-rwlock16.c: New file.
30560         * nptl/Makefile (tests): Add new test.
30562 2015-06-04  Torvald Riegel  <triegel@redhat.com>
30564         [BZ #18324]
30565         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
30566         missing wake-up of readers.
30567         * nptl/tst-rwlock15.c: New file.
30568         * nptl/Makefile (tests): Add new test.
30570 2015-06-03  Roland McGrath  <roland@hack.frob.com>
30572         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
30573         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
30574         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
30575         and __nacl_supply_interface_rtld.
30576         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
30577         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
30578         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
30579         Add __nacl_supply_interface_rtld.
30580         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
30582 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
30584         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
30585         isfinite.
30586         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30587         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
30589 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
30591         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
30592         __signbit* with standard C99 macros.
30593         * math/e_exp10l.c: Likewise.
30594         * math/e_exp2l.c: Likewise.
30595         * math/e_scalb.c: Likewise.
30596         * math/e_scalbf.c: Likewise.
30597         * math/e_scalbl.c: Likewise.
30598         * math/s_ldexp.c: Likewise.
30599         * math/s_ldexpf.c: Likewise.
30600         * math/s_ldexpl.c: Likewise.
30601         * math/w_atan2.c: Likewise.
30602         * math/w_atan2f.c: Likewise.
30603         * math/w_atan2l.c: Likewise.
30604         * math/w_cosh.c: Likewise.
30605         * math/w_coshf.c: Likewise.
30606         * math/w_coshl.c: Likewise.
30607         * math/w_exp10.c: Likewise.
30608         * math/w_exp10f.c: Likewise.
30609         * math/w_exp10l.c: Likewise.
30610         * math/w_exp2.c: Likewise.
30611         * math/w_exp2f.c: Likewise.
30612         * math/w_exp2l.c: Likewise.
30613         * math/w_fmod.c: Likewise.
30614         * math/w_fmodf.c: Likewise.
30615         * math/w_fmodl.c: Likewise.
30616         * math/w_hypot.c: Likewise.
30617         * math/w_hypotf.c: Likewise.
30618         * math/w_hypotl.c: Likewise.
30619         * math/w_jnl.c: Likewise.
30620         * math/w_lgamma.c: Likewise.
30621         * math/w_lgamma_r.c: Likewise.
30622         * math/w_lgammaf.c: Likewise.
30623         * math/w_lgammaf_r.c: Likewise.
30624         * math/w_lgammal.c: Likewise.
30625         * math/w_lgammal_r.c: Likewise.
30626         * math/w_pow.c: Likewise.
30627         * math/w_powf.c: Likewise.
30628         * math/w_powl.c: Likewise.
30629         * math/w_remainder.c: Likewise.
30630         * math/w_remainderf.c: Likewise.
30631         * math/w_remainderl.c: Likewise.
30632         * math/w_scalb.c: Likewise.
30633         * math/w_scalbf.c: Likewise.
30634         * math/w_scalbl.c: Likewise.
30635         * math/w_scalbln.c: Likewise.
30636         * math/w_scalblnf.c: Likewise.
30637         * math/w_scalblnl.c: Likewise.
30638         * math/w_sinh.c: Likewise.
30639         * math/w_sinhf.c: Likewise.
30640         * math/w_sinhl.c: Likewise.
30641         * math/w_tgamma.c: Likewise.
30642         * math/w_tgammaf.c: Likewise.
30643         * math/w_tgammal.c: Likewise.
30644         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30645         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
30646         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30647         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30648         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30649         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30650         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30651         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30652         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30653         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30654         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30655         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30656         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30657         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30658         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30659         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30660         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30661         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30662         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30663         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30664         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30665         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30666         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30667         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30668         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30669         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30670         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
30671         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30672         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30673         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30674         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
30675         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
30676         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
30677         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
30678         * stdio-common/printf_fp.c: Likewise.
30679         * stdio-common/printf_fphex.c: Likewise.
30680         * stdio-common/printf_size.c: Likewise.
30682 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
30684         [BZ #18470]
30685         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
30686         strnlen.
30687         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
30688         Remove variable.
30689         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
30690         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
30691         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
30692         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
30693         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
30694         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
30695         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
30696         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
30697         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
30698         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
30700         [BZ #18468]
30701         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
30702         weak alias of __wmemchr.  Use libc_hidden_weak.
30703         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
30704         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
30705         instead of wmemchr.
30707 2015-06-02  Roland McGrath  <roland@hack.frob.com>
30709         [BZ #18383]
30710         * elf/tst-tlsalign-extern.c: New file.
30711         * elf/tst-tlsalign-extern-static.c: New file.
30712         * elf/tst-tlsalign-vars.c: New file.
30713         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
30714         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
30715         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
30716         ($(objpfx)tst-tlsalign-extern-static): Likewise.
30717         (test-xfail-tst-tlsalign-extern-static): New variable.
30719 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
30721         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
30722         Use variable name _sc_err instead of err.
30723         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
30724         instead of ret.
30725         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
30726         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
30727         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
30728         (INLINE_SYSCALL): Likewise.
30730         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
30731         * include/string.h (__strnlen): Use libc_hidden_proto.
30732         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
30733         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
30734         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
30735         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
30736         (libc_hidden_def): Undefine and redefine.
30737         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
30738         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
30739         __GI_strnlen.
30740         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
30741         libc_hidden_def.
30742         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
30744         [BZ #18469]
30745         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
30746         weak alias of __towlower.  Use libc_hidden_weak.
30747         (towupper): Rename to __towupper and define as weak alias of
30748         __towupper.  Use libc_hidden_weak.
30749         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
30750         (__towupper): Likewise.
30751         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
30752         __towlower instead of towlower.
30754 2015-06-02  Roland McGrath  <roland@hack.frob.com>
30756         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
30757         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
30759 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30761         * sysdeps/aarch64/libm-test-ulps: Update.
30763 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30765         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
30766         Define.
30767         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30768         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30769         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
30770         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30771         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
30772         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
30773         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
30775 2015-06-01  Martin Sebor  <msebor@redhat.com>
30777         [BZ #18116]
30778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30779         (__setcontext): Use extended four-operand version of mtsf whenever
30780         possible.
30781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30782         (__novec_swapcontext): Likewise.
30784 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30786         * benchtests/scripts/compare_bench.py: New file.
30787         * benchtests/scripts/import_bench.py (mean): New function.
30788         (split_list): Likewise.
30789         (do_for_all_timings): Likewise.
30790         (compress_timings): Likewise.
30792         * benchtests/scripts/import_bench.py: New file.
30793         * benchtests/scripts/validate_benchout.py: Import import_bench
30794         instead of jsonschema.
30795         (validate_bench): Remove function.
30796         (main): Use import_bench.
30798 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
30800         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
30801         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
30803 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30807 2015-05-28  Roland McGrath  <roland@hack.frob.com>
30809         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
30810         set THREAD_SELF->tid to a magic value and futex-wake it.
30811         Pass its address to the thread_exit system call.
30812         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
30813         bit is clear.
30814         * sysdeps/nacl/lowlevellock.h: New file.
30815         * sysdeps/nacl/lll_timedwait_tid.c: New file.
30817         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
30818         Add TIMEOUT to current time, don't subtract it.
30820 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
30822         [BZ #2981]
30823         [BZ #18422]
30824         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
30825         ($(objpfx)tst-audit2.out): Also depend on
30826         $(objpfx)tst-auditmod9b.so.
30827         * elf/tst-audit2.c: Include <dlfcn.h>.
30828         (calloc_called): New.
30829         (calloc): Allow to be called more than once.
30830         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
30832 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
30834         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
30835         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
30837 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
30839         * stdlib/monetary.h: Fix comment.
30841 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
30843         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
30844         Avoid using variables in #defines that might cause shadowing.
30845         (INTERNAL_VSYSCALL_CALL): Likewise.
30847 2015-05-26  Roland McGrath  <roland@hack.frob.com>
30849         * sysdeps/nacl/lll_timedlock_wait.c: New file.
30851         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
30852         * nptl/lll_timedlock_wait.c: ... to this new file.
30853         * nptl/Makefile (libpthread-routines): Add it.
30854         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
30855         * nptl/lll_timedwait_tid.c: ... to this new file.
30856         * nptl/Makefile (libpthread-routines): Add it.
30857         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
30858         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
30859         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
30860         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
30861         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
30862         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
30863         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
30864         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
30865         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
30866         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
30868 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30870         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
30871         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30872         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
30873         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
30874         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
30875         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30876         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30877         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30878         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30879         * sysdeps/unix/sysv/linux/tile/sysdep.h
30880         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30881         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
30882         using vDSO syscall macro.
30884 2015-05-26  Andriy Rysin  <arysin@gmail.com>
30886         [BZ #17293]
30887         * uk_UA: Fix sorting order for Ukrainian locale
30889 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
30891         * stdlib/monetary.h: Fix comment.
30893 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30895         [BZ #18234]
30896         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
30897         st_mtim and st_ctim members.
30898         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
30899         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
30900         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
30901         (struct stat64): Likewise.
30902         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
30903         (struct stat64): Likewise.
30904         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
30905         (struct stat64): Likewise.
30907 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30909         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
30910         Define and include sysdep-vdso.h.
30911         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
30912         Likewise.
30913         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
30914         Likewise.
30915         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
30916         Define with VDSO_SYMBOL and use PTR_MANGLE.
30917         (__vdso_clock_gettime): Likewise.
30918         (__vdso_clock_getres): Likewise.
30919         (_libc_vdso_platform_setup): Likewise.
30920         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
30921         Likewise.
30922         (_libc_vdso_platform_setup): Likewise.
30923         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
30924         Likewise.
30925         (__vdso_clock_gettime): Likewise.
30926         (__vdso_clock_getres): Likewise.
30927         (__vdso_get_tbfreq): Likewise.
30928         (__vdso_getcpu): Likewise.
30929         (__vdso_time): Likewise.
30930         (__vdso_sigtramp_rt64): Likewise.
30931         (__vdso_signtramp32): Likewise.
30932         (__vdso_sigtramp_rt32): Likewise.
30933         (_libc_vdso_platform_setup): Likewise.
30934         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
30935         Likewise.
30936         (__vdso_clock_gettime): Likewise.
30937         (__vdso_clock_getres): Likewise.
30938         (_libc_vdso_platform_setup): Likewise.
30939         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
30940         Likewise.
30941         (__vdso_clock_gettime): Likewise.
30942         (_libc_vdso_platform_setup): Likewise.
30943         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30944         Likewise.
30945         (__vdso_getcpu): Likewise.
30946         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
30947         Use VDSO_SYMBOL macro to define.
30948         (__vdso_clock_gettime): Likewise.
30949         (__vdso_clock_getres): Likewise.
30950         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
30951         Likewise.
30952         (__vdso_clock_gettime): Likewise.
30953         (__vdso_clock_getres): Likewise.
30954         (__vdso_get_tbfreq): Likewise.
30955         (__vdso_getcpu): Likewise.
30956         (__vdso_time): Likewise.
30957         (__vdso_sigtramp_rt64): Likewise.
30958         (__vdso_signtramp32): Likewise.
30959         (__vdso_sigtramp_rt32): Likewise.
30960         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
30961         Likewise.
30962         (__vdso_clock_gettime): Likewise.
30963         (__vdso_clock_getres): Likewise.
30964         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
30965         Likewise.
30966         (__vdso_clock_gettime): Likewise.
30967         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
30968         Likewise.
30969         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
30970         macro.
30971         (INTERNAL_VSYSCALL): Likewise.
30972         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
30973         Remove macro.
30974         (INTERNAL_VSYSCALL): Likewise.
30975         (INTERNAL_VSYSCALL_NCS): Likewise.
30976         (INTERNAL_VSYSCALL_CALL): New macro.
30977         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
30978         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
30979         Likewise.
30980         (INTERNAL_VSYSCALL): Likewise.
30981         (INTERNAL_VSYSCALL_NCS): Likewise.
30982         (INTERNAL_VSYSCALL_CALL): New macro.
30983         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
30984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30985         (INLINE_VSYSCALL): Remove macro.
30986         (INTERNAL_VSYSCALL): Remove macro.
30987         (INTERNAL_VSYSCALL_NCS): Remove macro.
30988         (INTERNAL_VSYSCALL_CALL): New macro.
30989         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
30990         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
30991         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
30992         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
30993         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
30994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30995         (INLINE_VSYSCALL): Remove macro.
30996         (INTERNAL_VSYSCALL): Likewise.
30997         (INTERNAL_VSYSCALL_NCS): Likewise.
30998         (INTERNAL_VSYSCALL_CALL): New macro.
30999         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
31000         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
31001         PTR_DEMANGLE on vDSO pointer.
31002         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
31003         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
31004         macro.
31005         (INTERNAL_SYSCALL): Likewise.
31006         (INTERNAL_VSYSCALL_NCS): Remove macro.
31007         (INTERNAL_VSYSCALL_CALL): New macro.
31008         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
31009         Remove macro.
31010         (INTERNAL_VSYSCALL): Likewise.
31011         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
31012         sysdep-vdso.h instead of libc-vdso.h.
31013         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
31014         definition.
31015         (INLINE_VSYSCALL): Likewise.
31016         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
31017         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
31018         definition.
31019         (INLINE_VSYSCALL): Likewise.
31020         (INTERNAL_VSYSCALL): Likewise.
31021         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31022         * sysdeps/unix/sysv/linux/timespec_get.c
31023         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31024         (timespec_get): Use ANSI prototype.
31025         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
31026         and definition for Linux.
31028 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
31030         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
31031         * include/libc-symbols.h: libmvec_hidden_* macro series added.
31033 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31035         [BZ #2981]
31036         [BZ #18410]
31037         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
31038         for missing DT_PLTRELSZ.
31040 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31042         Remove obsolete aliases that broke 'locale -a'
31043         [BZ #18412]
31044         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
31045         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
31046         breaking some applications that use 'locale -a' output.
31047         Change the encoding of this file from Latin-1 to ASCII to avoid
31048         other potential problems with people grepping this file.
31050 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31052         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
31053         -fasynchronous-unwind-tables.
31054         (CFLAGS-sendto.c): Likewise.
31055         (CFLAGS-sendmsg.c): Likewise.
31056         (CFLAGS-connect.c): Likewise.
31057         (CFLAGS-recvmsg.c): Likewise.
31058         (CFLAGS-recvfrom.c): Likewise.
31059         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
31060         (SOCKETCALL): New macro: non-cancellable socketcall.
31061         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
31062         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
31063         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
31064         * sysdeps/unix/sysv/linux/accept.c: New file.
31065         * sysdeps/unix/sysv/linux/bind.c: Likewise.
31066         * sysdeps/unix/sysv/linux/connect.c: Likewise.
31067         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
31068         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
31069         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
31070         * sysdeps/unix/sysv/linux/listen.c: Likewise.
31071         * sysdeps/unix/sysv/linux/recv.c: Likewise.
31072         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
31073         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
31074         * sysdeps/unix/sysv/linux/send.c: Likewise.
31075         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
31076         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
31077         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
31078         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
31079         * sysdeps/unix/sysv/linux/socket.c: Likewise.
31080         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
31081         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
31082         prototype.
31083         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
31084         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31085         instead of __internal_xxx function.
31086         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
31087         prototype.
31088         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
31089         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31090         instead of __internal_xxx function.
31091         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
31092         prototype.
31093         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
31094         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31095         instead of __internal_xxx function.
31096         * sysdeps/unix/sysv/linux/accept.S: Remove file.
31097         * sysdeps/unix/sysv/linux/bind.S: Likewise.
31098         * sysdeps/unix/sysv/linux/connect.S: Likewise.
31099         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
31100         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
31101         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
31102         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
31103         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
31104         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
31105         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
31106         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
31107         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31108         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
31109         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
31110         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
31111         * sysdeps/unix/sysv/linux/listen.S: Likewise.
31112         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
31113         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
31114         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
31115         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
31116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
31117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
31118         * sysdeps/unix/sysv/linux/recv.S: Likewise.
31119         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
31120         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
31121         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
31122         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31123         * sysdeps/unix/sysv/linux/send.S: Likewise.
31124         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
31125         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
31126         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
31127         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
31128         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
31129         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
31130         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
31131         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
31132         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
31133         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
31134         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
31135         socketcall is implemented in GLIBC.
31137 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
31139         * soft-fp/fmadf4.c: Include <libc-internal.h>.
31140         (__fma): Ignore uninitialized warnings around packing.
31141         * soft-fp/fmasf4.c: Include <libc-internal.h>.
31142         (__fmaf): Ignore uninitialized warnings around packing.
31143         * soft-fp/fmatf4.c: Include <libc-internal.h>.
31144         (__fmal): Ignore uninitialized warnings around packing.
31146         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
31147         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31148         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
31149         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31151         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
31152         switch statement into default case.
31153         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
31155         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
31156         a conditional in forcing "inexact".
31157         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31158         Likewise.
31160 2015-05-22  Roland McGrath  <roland@hack.frob.com>
31162         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
31163         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
31164         for each INTERNAL_SYSCALL use.
31166 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
31168         [BZ #438]
31169         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
31170         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
31171         variable.
31173         [BZ #18444]
31174         * string/basename.c (basename): Rename to __basename and define as
31175         weak alias of __basename.  Use libc_hidden_weak.
31176         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
31177         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
31178         __basename instead of basename.
31179         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
31180         Remove variable.
31181         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31183 2015-05-18  Florian Weimer  <fweimer@redhat.com>
31185         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
31186         (_IO_JUMPS_FILE_plus): New.
31187         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
31188         _IO_CAST_FIELD_ACCESS.
31189         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
31190         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
31191         * libio/freopen.c (freopen): Likewise.
31192         * libio/freopen64.c (freopen64): Likewise.
31193         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
31194         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
31195         * libio/iofwide.c (_IO_fwide): Likewise.
31196         * libio/memstream.c (open_memstream): Likewise.
31197         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31198         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
31199         * libio/oldiopopen.c (_IO_old_popen): Likewise.
31201 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
31203         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
31204         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
31205         NADJ.
31206         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
31207         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
31208         NADJ.
31209         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
31210         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
31211         NADJ.
31213         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
31214         (p == 4) case.
31216         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
31217         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
31218         Remove variable.
31219         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
31220         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
31221         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
31223 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31225         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
31226         Adjust jump table label generation macros.
31228 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31230         * stdio-common/vfprintf.c (vfprintf): Move local variables
31231         args_malloced, specs, specs_malloced, and the code after
31232         do_positional to the printf_positional function.
31233         (printf_positional): New function.
31235 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31237         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
31238         function.
31239         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
31240         STEP4_TABLE, process_arg): Move macro definitions
31241         out of the vfprintf function.  (Cosmetic change only.)
31243 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
31245         * benchtests/Makefile (stdio-common-bench): Define.
31246         (benchset): Add stdio-common-bench.
31247         * sprintf-inputs: New file.
31248         * sprintf-source.c: New file.
31250 2015-05-21  Andreas Schwab  <schwab@suse.de>
31252         [BZ #13028]
31253         [BZ #17053]
31254         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
31255         of struct __res_state.
31256         * resolv/res_send.c (__libc_res_nsend): Likewise.
31257         (get_nsaddr): New function.
31258         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
31259         statp directly.
31261 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
31263         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
31264         -D_POSIX_C_SOURCE=199506L.
31266         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
31268         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
31269         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
31270         Do not mention otherwise.
31271         [POSIX] (_XOPEN_VERSION): Do not expect.
31272         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
31273         [POSIX] (_POSIX2_C_BIND): Likewise.
31274         [POSIX] (_POSIX2_VERSION): Likewise.
31275         [POSIX] (_XOPEN_XPG2): Likewise.
31276         [POSIX] (_XOPEN_XPG3): Likewise.
31277         [POSIX] (_XOPEN_XPG4): Likewise.
31278         [POSIX] (_XOPEN_UNIX): Likewise.
31279         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
31280         [POSIX] (_POSIX_BARRIERS): Likewise.
31281         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
31282         [POSIX] (_POSIX_CPUTIME): Likewise.
31283         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
31284         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
31285         [POSIX] (_POSIX_SHELL): Likewise.
31286         [POSIX] (_POSIX_SPAWN): Likewise.
31287         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
31288         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
31289         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
31290         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
31291         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
31292         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
31293         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
31294         [POSIX] (_XBS5_LP64_OFF64): Likewise.
31295         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
31296         [POSIX] (_POSIX_TIMEOUTS): Likewise.
31297         [POSIX] (_POSIX2_PBS): Likewise.
31298         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
31299         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
31300         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
31301         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
31302         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
31303         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
31304         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
31305         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
31306         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
31307         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
31308         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
31309         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
31310         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
31311         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
31312         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
31313         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
31314         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
31315         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
31316         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
31317         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
31318         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
31319         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
31320         [POSIX] (_SC_2_C_BIND): Likewise.
31321         [POSIX] (_SC_2_C_VERSION): Likewise.
31322         [POSIX] (_SC_2_PBS): Likewise.
31323         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
31324         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
31325         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
31326         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
31327         [POSIX] (_SC_2_PBS_TRACK): Likewise.
31328         [POSIX] (_SC_ATEXIT_MAX): Likewise.
31329         [POSIX] (_SC_BARRIERS): Likewise.
31330         [POSIX] (_SC_BASE): Likewise.
31331         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
31332         [POSIX] (_SC_DEVICE_IO): Likewise.
31333         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
31334         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
31335         [POSIX] (_SC_FD_MGMT): Likewise.
31336         [POSIX] (_SC_FIFO): Likewise.
31337         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
31338         [POSIX] (_SC_FILE_LOCKING): Likewise.
31339         [POSIX] (_SC_FILE_SYSTEM): Likewise.
31340         [POSIX] (_SC_IOV_MAX): Likewise.
31341         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
31342         [POSIX] (_SC_NETWORKING): Likewise.
31343         [POSIX] (_SC_PAGE_SIZE): Likewise.
31344         [POSIX] (_SC_PASS_MAX): Likewise.
31345         [POSIX] (_SC_PIPE): Likewise.
31346         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
31347         [POSIX] (_SC_REGEXP): Likewise.
31348         [POSIX] (_SC_SHELL): Likewise.
31349         [POSIX] (_SC_SIGNALS): Likewise.
31350         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
31351         [POSIX] (_SC_SPIN_LOCKS): Likewise.
31352         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
31353         [POSIX] (_SC_USER_GROUPS): Likewise.
31354         [POSIX] (_SC_USER_GROUPS_R): Likewise.
31355         [POSIX] (_SC_STREAMS): Likewise.
31356         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
31357         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
31358         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
31359         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
31360         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
31361         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
31362         [POSIX] (_PC_FILESIZEBITS): Likewise.
31363         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
31364         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
31365         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
31366         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
31367         [POSIX] (uid_t): Likewise.
31368         [POSIX] (gid_t): Likewise.
31369         [POSIX] (off_t): Likewise.
31370         [POSIX] (pid_t): Likewise.
31371         [POSIX] (cuserid): Allow.
31372         (_SC_2_CHAR_TERM): Require constant.
31373         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
31374         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
31375         variable.
31377 2015-05-20  Roland McGrath  <roland@hack.frob.com>
31379         * sysdeps/nacl/pthread-pids.h: New file.
31380         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
31381         (create_thread): Use __nacl_get_tid to initialize PD->tid.
31383         * nptl/pthread-pids.h: New file.
31384         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
31385         * nptl/nptl-init.c: Include <pthread-pids.h>.
31386         (__pthread_initialize_minimal_internal):
31387         Call __pthread_initialize_pids instead of set_tid_address syscall.
31389         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
31390         * sysdeps/posix/usleep.c: ... here.
31392 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31394         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
31395         call_pselect6 object.
31396         [$(subdir) = io]: Remove call_sync_file_range object.
31397         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
31398         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
31399         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
31400         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
31402 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
31404         * math/s_cproj.c: Add include "math_private.h".
31405         * math/s_cprojf.c: Likewise.
31406         * math/s_cprojl.c: Likewise.
31408 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
31410         [BZ #18244]
31411         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
31412         high mantissa bit when testing whether P is a NaN.
31413         * math/libm-test.inc (remainder_test_data): Add more tests.
31414         (remquo_test_data): Likewise.
31416         [BZ #18049]
31417         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
31418         below -32, return the argument, with underflow if subnormal.
31419         * math/auto-libm-test-in: Add more tests of atanh.
31420         * math/auto-libm-test-out: Regenerated.
31422 2015-05-19  Roland McGrath  <roland@hack.frob.com>
31424         [BZ #18434]
31425         * nptl/tst-sem15.c: New file.
31426         * nptl/Makefile (tests): Add it.
31427         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
31428         s/<</>>/ to fix typo in EOVERFLOW check.
31429         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
31431 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31433         * manual/strings.texi (envz_remove): Fix typo in safety
31434         annotations.
31436 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
31437             Steve Ellcey  <sellcey@imgtec.com>
31439         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
31440         in order to avoid strict alias warnings.
31441         (iruserok_af): Ditto for ra.
31443 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
31445         [BZ #17581]
31446         * malloc/hooks.c
31447         (magicbyte): Convert to a function and avoid returning 0x01.
31448         (mem2mem_check): Avoid using a length byte equal to the magic byte.
31449         (mem2chunk_check): Fix unsigned comparisons to zero.
31450         Hoist defs of sz and magic.
31452 2015-05-19  Richard Henderson  <rth@redhat.com>
31454         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
31456         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31458 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31460         [BZ #16159]
31461         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
31462         * malloc/arena.c (arena_lock): Check if arena is corrupt.
31463         (reused_arena): Find a non-corrupt arena.
31464         (heap_trim): Pass arena to unlink.
31465         * malloc/hooks.c (malloc_check_get_size): Pass arena to
31466         malloc_printerr.
31467         (top_check): Likewise.
31468         (free_check): Likewise.
31469         (realloc_check): Likewise.
31470         * malloc/malloc.c (malloc_printerr): Add arena argument.
31471         (unlink): Likewise.
31472         (munmap_chunk): Adjust.
31473         (ARENA_CORRUPTION_BIT): New macro.
31474         (arena_is_corrupt): Likewise.
31475         (set_arena_corrupt): Likewise.
31476         (sysmalloc): Use mmap if there are no usable arenas.
31477         (_int_malloc): Likewise.
31478         (__libc_malloc): Don't fail if arena_get returns NULL.
31479         (_mid_memalign): Likewise.
31480         (__libc_calloc): Likewise.
31481         (__libc_realloc): Adjust for additional argument to
31482         malloc_printerr.
31483         (_int_free): Likewise.
31484         (malloc_consolidate): Likewise.
31485         (_int_realloc): Likewise.
31486         (_int_memalign): Don't touch corrupt arenas.
31487         * malloc/tst-malloc-backtrace.c: New test case.
31489         * Makefile (summarize-tests): Fix return value on success.
31491         * manual/string.texi (Envz Functions): Add envz_remove.
31493 2015-05-18  Roland McGrath  <roland@hack.frob.com>
31495         * sysdeps/posix/opendir.c: Include <stdbool.h>.
31496         (invalid_name): New function, broken out of ...
31497         (__opendirat): ... here.  Call it.
31498         (need_isdir_precheck): New function, broken out of ...
31499         (__opendirat): ... here.  Call it.
31500         Use __fxstatat64, not __xstatat64.
31501         (opendir_oflags): New function, broken out of ...
31502         (__opendirat): ... here.  Call it.
31503         (opendir_tail): New function, broken out of ...
31504         (__opendirat): ... here.  Call it.
31505         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
31506         opendir_tail, rather than punting to __opendirat.
31507         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
31509 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31511         * .gitignore: Ignore generated *.pyc.
31513 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
31515         * include/stdio.h: Define __need_wint_t.
31516         * test-skeleton.c: Avoid `for' loop initial declaration.
31517         * nptl/tst-initializers1.c: Use test-skeleton.c.
31519 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31521         [BZ #18418]
31522         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
31524 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
31526         [BZ #16352]
31527         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
31528         (__ieee754_atanh): Force underflow exception for results with
31529         small absolute value.
31530         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
31531         (__ieee754_atanhf): Force underflow exception for results with
31532         small absolute value.
31533         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
31534         (__ieee754_atanh): Force underflow exception for results with
31535         small absolute value.
31536         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
31537         (__ieee754_atanhf): Force underflow exception for results with
31538         small absolute value.
31539         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
31540         (__ieee754_atanhl): Force underflow exception for results with
31541         small absolute value.
31542         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
31543         (__ieee754_atanhl): Force underflow exception for results with
31544         small absolute value.
31545         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
31546         (__ieee754_atanhl): Force underflow exception for results with
31547         small absolute value.
31548         * math/auto-libm-test-in: Do not allow missing underflow
31549         exceptions from atanh.
31550         * math/auto-libm-test-out: Regenerated.
31552         [BZ #18221]
31553         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
31554         2**-28 as threshold for returning x or +/- 1/x.
31555         * math/auto-libm-test-in: Add more tests of tan.
31556         * math/auto-libm-test-out: Regenerated.
31558         [BZ #18220]
31559         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31560         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
31561         * math/auto-libm-test-in: Add another test of lgamma.
31562         * math/auto-libm-test-out: Regenerated.
31564 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
31566         * stdio-common/printf_fp.c (___printf_fp): Use abs.
31567         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
31568         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
31569         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
31570         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
31571         (ADD2A): Use fabs.  (SUB2A): Use fabs.
31572         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
31573         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
31574         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
31575         (log1): Use fabs.  (my_log2): Use fabs.
31576         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
31577         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
31578         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
31579         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
31580         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
31581         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
31582         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
31583         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
31584         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
31585         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
31586         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
31588 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
31590         [BZ #18217]
31591         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
31592         as threshold for returning 1 - x.
31593         * math/auto-libm-test-in: Add more tests of erfc.
31594         * math/auto-libm-test-out: Regenerated.
31596 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
31598         [BZ #18196]
31599         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
31600         threshold for large arguments.
31601         * math/auto-libm-test-in: Add another test of atan.
31602         * math/auto-libm-test-out: Regenerated.
31604         [BZ #16339]
31605         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
31606         (__log1p): Force underflow exception for results with small
31607         absolute value.
31608         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
31609         (__log1pf): Force underflow exception for results with small
31610         absolute value.
31611         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
31612         (__log1p): Force underflow exception for results with small
31613         absolute value.
31614         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
31615         (__log1pf): Force underflow exception for results with small
31616         absolute value.
31617         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
31618         (__log1pl): Force underflow exception for results with small
31619         absolute value.
31620         * math/auto-libm-test-in: Do not allow missing underflow
31621         exceptions from log1p.
31622         * math/auto-libm-test-out: Regenerated.
31624 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
31625             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31627         [BZ #16704]
31628         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
31630 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
31632         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
31633         (libmvec): New variable.
31634         * configure.ac: Added option for mathvec build.
31635         * configure: Regenerated.
31636         * mathvec/Depend: New file.
31637         * mathvec/Makefile: New file.
31638         * shlib-versions: Added libmvec.
31639         * math/Makefile: Added rule for libm.so installation.
31641         * bits/math-vector.h: New file.
31642         * bits/libm-simd-decl-stubs.h: New header.
31643         * math/Makefile (headers): Added new header
31644         libm-simd-decl-stubs.h.
31645         * math/math.h (__MATHCALL_VEC): New macro.
31647         * math/gen-libm-have-vector-test.sh: Script generates series of macros
31648         for conditions in testing functions.
31649         * math/Makefile: Added call of libm-have-vector-test.sh.
31650         * math/libm-test.inc (HAVE_VECTOR): New macros.
31652         * math/libm-test.inc: START refactored.
31653         * math/test-double.c (TEST_MATHVEC): Add define.
31654         * math/test-float.c: Likewise.
31655         * math/test-idouble.c: Likewise.
31656         * math/test-ifloat.c: Likewise.
31657         * math/test-ildoubl.c: Likewise.
31658         * math/test-ldouble.c: Likewise.
31659         * sysdeps/generic/math-tests-arch.h
31660         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
31661         architecture check.
31663         * math/test-double.c (FUNC_TEST): New macro.
31664         * math/test-float.c: Likewise.
31665         * math/test-idouble.c: Likewise.
31666         * math/test-ifloat.c: Likewise.
31667         * math/test-ildoubl.c: Likewise.
31668         * math/test-ldouble.c: Likewise.
31669         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
31671 2015-05-13  Roland McGrath  <roland@hack.frob.com>
31673         * sysdeps/nacl/fdopendir.c: New file.
31675         * dirent/scandir-tail.c: New file.
31676         * dirent/scandir64-tail.c: New file.
31677         * dirent/Makefile (routines): Add them.
31678         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
31679         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
31680         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
31681         [!SCANDIR] (SCANDIR_TAIL): New macro.
31682         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
31683         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
31684         (SCANDIRAT): Macro removed.
31685         (SCANDIR_TAIL): New macro.
31686         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
31687         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
31688         (SCANDIRAT): Just call __opendirat and __scandir_tail.
31689         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
31690         (READDIR): Macro removed.
31691         (SCANDIR_TAIL): New macro.
31692         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
31693         (SCANDIR_TAIL): New macro.
31695         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
31696         * dirent/scandir-cancel.c: ... to this new file.
31697         * dirent/Makefile (routines): Add it.
31698         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
31699         * sysdeps/unix/sysv/linux/i386/scandir64.c
31700         (SKIP_SCANDIR_CANCEL): Macro removed.
31701         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
31703         * dirent/tst-scandir.c: New file.
31704         * dirent/tst-scandir64.c: New file.
31705         * dirent/Makefile (tests): Add them.
31707 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
31709         [BZ #18409]
31710         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
31712 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31714         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
31715         list.
31717 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
31719         * benchtests/bench-strcoll.c: New benchmark.
31720         * benchtests/Makefile: Generate locales and run benchmark.
31721         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
31722         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
31723         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
31724         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
31725         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
31726         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
31727         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
31728         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
31729         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
31730         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
31731         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
31732         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
31733         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
31734         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
31735         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
31736         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
31737         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
31738         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
31739         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
31740         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
31741         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
31742         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
31743         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
31744         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
31746 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
31748         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
31749         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31751 2015-05-12  Roland McGrath  <roland@hack.frob.com>
31753         * posix/uname-values.h: New file.
31754         * posix/uname.c: Include that instead of <config-name.h>.
31755         * sysdeps/nacl/uname-values.h: New file.
31756         * sysdeps/arm/nacl/uname-values.h: New file.
31758 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
31760         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
31761         splitting into fields.
31763 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
31765         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
31766         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
31767         * locale/localeinfo.h: Add enum collation_encoding_type.
31768         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
31769         * programs/ld-collate.c (collate_output): Add encoding type info.
31770         * string/strcoll_l.c (STRDIFF): New function.
31771         * (STRCOLL): Use STRDIFF to skip over equal prefix.
31772         * wcsmbs/wcscoll_l.c: Define STRDIFF.
31774 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
31776         [BZ #18397]
31777         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
31778         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
31779         <fpu_control.h> instead of <math/fpu_control.c>.
31780         * sysdeps/mips/mips32/fpu/Makefile: New file.
31782 2015-05-11  Andreas Schwab  <schwab@suse.de>
31784         [BZ #18007]
31785         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
31786         nss_endgrent.
31787         (_nss_compat_endgrent): Call nss_endgrent.
31788         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
31789         nss_endpwent.
31790         (_nss_compat_endpwent): Call nss_endpwent.
31791         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
31792         needent, call nss_setspent only if non-zero.
31793         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
31794         (internal_endspent): Don't call nss_endspent.
31795         (_nss_compat_endspent): Call nss_endspent.
31796         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
31797         Remove.  All uses removed.
31798         (internal_setent): Remove parameter stayopen, add parameter
31799         stream.  Use it instead of global variable.
31800         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
31801         (internal_endent, internal_getent): Add parameter stream.  Use it
31802         instead of global variable.
31803         (CONCAT(_nss_files_end,ENTNAME))
31804         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
31805         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
31806         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
31807         uses removed.
31808         (internal_setent, internal_endent): Add parameter stream.  Use it
31809         instead of global variable.
31810         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
31811         stream.
31812         (get_next_alias): Add parameter stream.
31813         (_nss_files_getaliasent_r): Pass global stream.
31814         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
31815         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
31816         (_nss_files_gethostbyname4_r): Pass local stream to
31817         internal_setent, internal_getent and internal_endent.  Remove
31818         locking.
31820 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31822         * tst-strfmon1.c (tests): Update expected currency symbol.
31824 2015-05-08  Roland McGrath  <roland@hack.frob.com>
31826         * sysdeps/nacl/gethostname.c: New file.
31828 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
31830         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
31831         and sinh.
31832         * math/auto-libm-test-out: Regenerated.
31833         * sysdeps/i386/fpu/libm-test-ulps: Update.
31834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31836 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
31838         [BZ #18125]
31839         * stdlib/tst-setcontext3.c: New file.
31840         * stdlib/tst-setcontext3.sh: New file.
31841         * stdlib/Makefile (tests): Add tst-setcontext3.
31842         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
31843         to verify test program created output file.
31844         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
31845         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
31846         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
31847         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
31849 2015-05-06  Roland McGrath  <roland@hack.frob.com>
31851         [BZ #18383]
31852         * elf/tst-tlsalign.c: New file.
31853         * elf/tst-tlsalign-static.c: New file.
31854         * elf/tst-tlsalign-lib.c: New file.
31855         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
31856         (tests-static): Add tst-tlsalign-static.
31857         (modules-names): Add tst-tlsalign-lib.
31858         (test-xfail-tst-tlsalign): New variable.
31859         (test-xfail-tst-tlsalign-static): New variable.
31861         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
31862         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
31864 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
31866         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
31867         csqrt, erfc, sin and sincos.
31868         * math/auto-libm-test-out: Regenerated.
31869         * sysdeps/i386/fpu/libm-test-ulps: Update.
31870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31872 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31874         * sysdeps/aarch64/libm-test-ulps: Update.
31876 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
31878         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
31879         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
31880         * math/auto-libm-test-out: Regenerated.
31881         * sysdeps/i386/fpu/libm-test-ulps: Update.
31882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31884 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
31886         [BZ #18265]
31887         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
31888         (wcsncpy): Likewise.
31890 2015-05-05  Florian Weimer  <fweimer@redhat.com>
31892         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
31893         Assume __ASSUME_FALLOCATE is always true.
31894         * sysdeps/unix/sysv/linux/posix_fallocate64.c
31895         (__posix_fallocate64_l64): Likewise.
31896         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
31897         (posix_fallocate): Likewise.
31898         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
31899         (__posix_fallocate64_l64): Likewise.
31900         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31901         [!__ASSUME_FALLOCATE]: Add comment.
31903 2015-05-05  Florian Weimer  <fweimer@redhat.com>
31905         * sysdeps/unix/sysv/linux/i386/Makefile
31906         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
31907         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
31908         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
31909         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31910         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31911         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
31912         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
31914 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
31916         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
31917         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
31918         tgamma.
31919         * math/auto-libm-test-out: Regenerated.
31920         * sysdeps/i386/fpu/libm-test-ulps: Update.
31921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31923 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
31925         * math/auto-libm-test-in: Add more tests of tgamma.
31926         * math/auto-libm-test-out: Regenerated.
31927         * sysdeps/i386/fpu/libm-test-ulps: Update.
31928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31930         * math/auto-libm-test-in: Add more tests of tanh.
31931         * math/auto-libm-test-out: Regenerated.
31932         * sysdeps/i386/fpu/libm-test-ulps: Update.
31933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31935         * math/auto-libm-test-in: Add more tests of tan.
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         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
31941         * math/auto-libm-test-out: Regenerated.
31942         * sysdeps/i386/fpu/libm-test-ulps: Update.
31943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31945         * math/auto-libm-test-in: Add another test of pow.
31946         * math/auto-libm-test-out: Regenerated.
31947         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31949         * math/auto-libm-test-in: Add more tests of lgamma.
31950         * math/auto-libm-test-out: Regenerated.
31951         * sysdeps/i386/fpu/libm-test-ulps: Update.
31952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31954         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
31955         log1p.
31956         * math/auto-libm-test-out: Regenerated.
31957         * sysdeps/i386/fpu/libm-test-ulps: Update.
31958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31960 2015-05-01  Mark Wielaard  <mjw@redhat.com>
31962         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
31963         Elf64_Chdr structs and ELFCOMPRESS constants.
31965 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
31967         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
31968         expm1.
31969         * math/auto-libm-test-out: Regenerated.
31970         * sysdeps/i386/fpu/libm-test-ulps: Update.
31971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31973         * math/auto-libm-test-in: Add more tests of erf and erfc.
31974         * math/auto-libm-test-out: Regenerated.
31975         * sysdeps/i386/fpu/libm-test-ulps: Update.
31976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31978 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31980         * config.h.in (HAVE_AARCH64_BE): Add.
31982 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
31984         * math/auto-libm-test-in: Add more tests of csqrt.
31985         * math/auto-libm-test-out: Regenerated.
31986         * sysdeps/i386/fpu/libm-test-ulps: Update.
31987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31989         * math/auto-libm-test-in: Add more tests of cosh and sinh.
31990         * math/auto-libm-test-out: Regenerated.
31991         * sysdeps/i386/fpu/libm-test-ulps: Update.
31992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31994         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
31996 2015-04-29  Roland McGrath  <roland@hack.frob.com>
31998         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
31999         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
32001         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
32002         (euidaccess, eaccess): Define as weak aliases.
32004         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
32005         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
32006         but __suseconds_t is often 'long int' so some sources assume that
32007         type is being used (e.g. they use %ld to print tv_usec).
32009 2015-04-29  Florian Weimer  <fweimer@redhat.com>
32011         [BZ #18007]
32012         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
32013         (CVE-2014-8121)
32014         * nss/tst-nss-getpwent.c: New file.
32015         * nss/Makefile (tests): Add new test.
32017 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
32019         [BZ #18346]
32020         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
32021         exponents less than 48 as cases where high part of mantissa needs
32022         examining to determine whether argument is integral.
32023         * math/libm-test.inc (round_test_data): Add more tests.
32025 2015-04-28  Mark Wielaard  <mjw@redhat.com>
32027         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
32029 2015-04-27  David S. Miller  <davem@davemloft.net>
32031         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
32032         __tls_get_addr.
32033         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
32035 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
32037         [BZ #18333]
32038         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
32040 2015-04-27  Florian Weimer  <fweimer@redhat.com>
32042         [BZ #18333]
32043         * time/tzset.c (parse_tzname): Return error on memory allocation
32044         failure.
32045         * test-skeleton.c (struct temp_name_list): Change type of name
32046         member to non-const.
32047         (add_temp_file): Create a copy of the file name.
32048         (delete_temp_files): Deallocate memory.
32049         (create_temp_file): Add comment.
32051 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32053         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
32054         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
32056 2015-04-24  Roland McGrath  <roland@hack.frob.com>
32058         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
32059         * sysdeps/arm/configure: Regenerated.
32061 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32063         [BZ #17715]
32064         * time/tzfile.c (__tzfile_read): Check for large values of
32065         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
32066         * time/tzset.c (__tzstring_len): New function, based on the old
32067         __tzstring function.
32068         (__tzstring): Call __tzstring_len.
32069         (parse_tzname): New helper function extracted from
32070         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
32071         the input string.
32072         (parse_offset): New helper function extracted from
32073         __tzset_parse_tz.  Replace switch with fallthrough with
32074         initialization before sscanf.
32075         (parse_rule): Likewise.
32076         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
32077         new-style function definition.
32078         * timezone/Makefile (tests): Add tst-tzset.
32079         (tst-tzset.out): Dependencies on time zone files.
32080         (tst-tzset-ENV): Set TZDIR.
32081         (testdata/XT%): Copy crafted time zone files.
32082         * timezone/README: Mention crafted time zone files.
32083         * timezone/testdata/XT1, timezone/testdata/XT2,
32084         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
32085         files.
32086         * timezone/tst-tzset.c: New test.
32088 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32090         * Makeconfig (+gccwarn): Remove -Winline.
32092 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32094         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
32096 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32098         * NEWS: Mention sysconf() cache information support for s390.
32099         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
32101 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
32103         * math/k_casinh.c (__kernel_casinh): Use __copysign.
32104         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
32105         (__nearbyint): Likewise.
32106         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
32107         (copysignl): Likewise.
32109 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
32111         [BZ #18287]
32112         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
32113         based on padding.  (CVE-2015-1781)
32115 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32117         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
32118         libc-vdso.h.
32119         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
32120         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
32121         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
32122         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32123         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32124         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
32125         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
32126         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32127         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32128         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
32129         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
32130         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32131         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
32132         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
32133         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32134         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
32135         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
32136         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
32137         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
32138         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
32139         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
32140         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
32141         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
32143 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
32145         * stdlib/setenv.c (__add_to_environ):
32146         Dump core quickly if setenv (..., NULL, ...) is called.
32147         This time, do it the right way, and pacify GCC with a pragma.
32149 2015-04-17  Roland McGrath  <roland@hack.frob.com>
32151         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
32152         IMAP->l_prev cannot be null, and #if out the code for the contrary
32153         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
32154         believe that NS (&_dl_ns[NSID]) could point outside the array.
32156         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
32157         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
32158         before using NSID as an index.
32160 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
32162         [BZ #17825]
32163         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
32164         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
32165         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32167 2015-04-17  Roland McGrath  <roland@hack.frob.com>
32169         Add preliminary port to Google Native Client on ARM.
32170         * abi-tags (.*-.*-nacl.*): New entry.
32171         * sysdeps/arm/nacl: New directory.
32172         * sysdeps/nacl: New directory.
32174 2015-04-16  David S. Miller  <davem@davemloft.net>
32176         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
32177         lowlevellock-futex.h
32179 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
32181         * sysdeps/tile/configure.ac: New file.
32182         * sysdeps/tile/configure: Regenerated.
32184 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32186         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
32187         conditionals for weak_alias and libc_hidden_weak.
32188         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
32189         libc_hidden_weak and weak_alias.
32190         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
32191         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
32192         and weak_alias for static one.
32194 2015-04-15  David S. Miller  <davem@davemloft.net>
32196         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32198 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32200         [BZ #18206]
32201         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
32202           Use signed comparision instead of substraction to avoid
32203           overflow bug.
32204         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
32205           Take the sign of ret.
32206         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
32207           Do not expect precise return values. Only the sign matters.
32208         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
32209         * wcsmbs/test-wcsncmp.c: New File.
32210         * string/test-strncmp.c: Add wcsncmp support.
32212 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32214         [BZ #6792]
32215         * math/w_log1p.c: New file.
32216         * math/w_log1pf.c: Likewise.
32217         * math/w_log1pl.c: Likewise.
32218         * math/Makefile (libm-calls): Add w_log1p.
32219         * math/s_log1pl.c (log1pl): Remove weak_alias.
32220         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
32221         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
32222         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
32223         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
32224         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
32225         [NO_LONG_DOUBLE] (log1pl): Likewise.
32226         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
32227         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
32228         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
32229         (log1p): Remove long_double_symbol.
32230         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
32231         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
32232         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
32233         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
32234         remove weak_alias for corresponding log1p function.
32235         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
32236         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
32237         * sysdeps/ia64/fpu/w_log1p.c: New file.
32238         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
32239         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
32240         * math/libm-test.inc (log1p_test_data): Add errno expectations.
32242 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
32244         [BZ #18247]
32245         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
32246         decimal exponent by 1.
32247         * stdlib/tst-strtod-round-data: Add more tests.
32248         * stdlib/tst-strtod-round.c (tests): Regenerated.
32250 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
32252         * math/auto-libm-test-in: Add more tests of clog and clog10.
32253         * math/auto-libm-test-out: Regenerated.
32254         * sysdeps/i386/fpu/libm-test-ulps: Update.
32255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32257 2015-04-09  Roland McGrath  <roland@hack.frob.com>
32259         * Makeconfig (module-cppflags): Exclude all .v.i files.
32260         (skip-module-cppflags): Variable removed.
32262         * configure.ac (libc_config_ok): Initialize before reading
32263         preconfigure scripts, not after.
32264         * configure: Regenerated.
32266         * test-skeleton.c (TIMEOUT): Move #define to top level.
32267         (main): Grok environment variable TEST_DIRECT.  If set, print
32268         test expectation details into that file and then behave as if
32269         given --direct.
32271 2015-04-09  Florian Weimer  <fweimer@redhat.com>
32273         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
32274         warning on 32-bit.
32276 2015-04-08  David S. Miller  <davem@davemloft.net>
32278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32280 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
32282         * math/auto-libm-test-in: Add more tests of atanh.
32283         * math/auto-libm-test-out: Regenerated.
32284         * sysdeps/i386/fpu/libm-test-ulps: Update.
32285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32287         * math/auto-libm-test-in: Add more tests of atan.
32288         * math/auto-libm-test-out: Regenerated.
32289         * sysdeps/i386/fpu/libm-test-ulps: Update.
32290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32292 2015-04-08  Florian Weimer  <fweimer@redhat.com>
32294         * elf/pldd.c (main): Rewrite to use struct
32295         scratch_buffer instead of extend_alloca.
32296         * elf/pldd-xx.c (find_maps): Likewise.
32297         * grp/initgroups.c: Include <scratch_buffer.h> instead of
32298         <alloca.h>.
32299         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
32300         scratch_buffer instead of extend_alloca.
32301         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
32302         grp/compat-initgroups.c.
32303         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
32304         Rewrite to use struct scratch_buffer instead of extend_alloca.
32305         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
32306         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32308 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
32310         * math/auto-libm-test-in: Add more tests of cbrt.
32311         * math/auto-libm-test-out: Regenerated.
32312         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32314         * math/auto-libm-test-in: Add more tests of cabs.
32315         * math/auto-libm-test-out: Regenerated.
32316         * sysdeps/i386/fpu/libm-test-ulps: Update.
32317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32319         [BZ #18210]
32320         [BZ #18211]
32321         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
32322         (__ieee754_atan2): Set FE_TONEAREST mode for internal
32323         computations.
32324         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
32325         clog10.
32326         * math/auto-libm-test-out: Regenerated.
32327         * sysdeps/i386/fpu/libm-test-ulps: Update.
32328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32330         [BZ #18197]
32331         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
32332         (atan): Set FE_TONEAREST mode for internal computations.
32333         * math/auto-libm-test-in: Add more tests of atan.
32334         * math/auto-libm-test-out: Regenerated.
32336 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
32338         [BZ #17930]
32339         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
32341 2015-04-07  Florian Weimer  <fweimer@redhat.com>
32343         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
32345 2015-04-07  Florian Weimer  <fweimer@redhat.com>
32347         * include/scratch_buffer.h: New file.
32348         * malloc/scratch_buffer_grow.c: Likewise.
32349         * malloc/scratch_buffer_grow_preserve.c: Likewise.
32350         * malloc/scratch_buffer_set_array_size.c: Likewise.
32351         * malloc/tst-scratch_buffer.c: Likewise.
32352         * malloc/Makefile (routines): Add scratch_buffer_grow.
32353         (tests): Add test case.
32354         * malloc/Versions (GLIBC_PRIVATE): Export
32355         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
32356         __libc_scratch_buffer_set_array_size.
32358 2015-04-06  Richard Henderson  <rth@redhat.com>
32360         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
32361         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32363         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
32364         unsigned int before printing.
32366 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32368         [BZ #17596]
32369         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
32370         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32372 2015-04-02  Florian Weimer  <fweimer@redhat.com>
32374         * include/libc-internal.h (libc_max_align_t): Define.
32376 2015-04-02  Andreas Schwab  <schwab@suse.de>
32378         [BZ #16850]
32379         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
32381 2015-04-02  Mel Gorman  <mgorman@suse.de>
32383         [BZ #17195]
32384         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
32385         as well as the main arena.
32387 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32389         [BZ #18185]
32390         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
32391         sharing L2 cache to 2 for Silvermont/Knights Landing.
32393 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32395         [BZ #17711]
32396         * config.make.in (have-protected-data): New.
32397         * configure.ac: Check linker support for protected data symbol.
32398         * configure: Regenerated.
32399         * elf/Makefile (modules-names): Add tst-protected1moda and
32400         tst-protected1modb if $(have-protected-data) is yes.
32401         (tests): Add tst-protected1a and tst-protected1b if
32402         $(have-protected-data) is yes.
32403         ($(objpfx)tst-protected1a): New.
32404         ($(objpfx)tst-protected1b): Likewise.
32405         (tst-protected1modb.so-no-z-defs): Likewise.
32406         * elf/tst-protected1a.c: New file.
32407         * elf/tst-protected1b.c: Likewise.
32408         * elf/tst-protected1mod.h: Likewise.
32409         * elf/tst-protected1moda.c: Likewise.
32410         * elf/tst-protected1modb.c: Likewise.
32412 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32414         [BZ #17711]
32415         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
32416         indicates it is called from do_lookup_x on relocation against
32417         protected data, skip the data definion in the executable from
32418         copy reloc.
32419         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
32420         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
32421         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
32422         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
32423         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
32424         otherwise to 0.
32425         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
32426         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
32427         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
32428         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
32429         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
32430         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
32432 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
32434         * sysdeps/nptl/pthread.h: Remove duplicate definition of
32435         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
32437 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
32439         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
32440         THREAD_SETMEM_NC.
32441         * sysdeps/x86_64/nptl/tls.h: Ditto.
32443 2015-03-27  Roland McGrath  <roland@hack.frob.com>
32445         * dlfcn/tststatic.c (main): Converted to ...
32446         (do_test): ... this.
32447         (TEST_FUNCTION): New macro.
32448         Include test-skeleton.c.
32450 2015-03-26  Alan Modra  <amodra@gmail.com>
32452         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
32453         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
32454         zero for undefined weak.
32455         (elf_machine_plt_conflict): Similarly.
32457 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
32459         * math/auto-libm-test-in: Add more tests of acosh, asinh and
32460         atanh.
32461         * math/auto-libm-test-out: Regenerated.
32462         * sysdeps/i386/fpu/libm-test-ulps: Update.
32463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32465         * math/auto-libm-test-in: Add another test of asin.
32466         * math/auto-libm-test-out: Regenerated.
32467         * sysdeps/i386/fpu/libm-test-ulps: Update.
32468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32470         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
32471         Remove macro.
32472         (LLL_EBX_REG): Likewise.
32473         (LLL_ENTER_KERNEL): Likewise.
32475         * math/auto-libm-test-in: Add more tests of asin.
32476         * math/auto-libm-test-out: Regenerated.
32477         * sysdeps/i386/fpu/libm-test-ulps: Update.
32478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32480         [BZ #18138]
32481         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
32482         libc_do_syscall_args): New structure.
32483         (INTERNAL_SYSCALL_MAIN_0): New macro.
32484         (INTERNAL_SYSCALL_MAIN_1): Likewise.
32485         (INTERNAL_SYSCALL_MAIN_2): Likewise.
32486         (INTERNAL_SYSCALL_MAIN_3): Likewise.
32487         (INTERNAL_SYSCALL_MAIN_4): Likewise.
32488         (INTERNAL_SYSCALL_MAIN_5): Likewise.
32489         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
32490         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
32491         Replace conditional definitions by conditional definitions of ....
32492         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
32493         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
32494         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
32495         (libpthread-sysdep_routines): Add libc-do-syscall.
32496         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
32497         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
32498         to __NR_futex not 240.
32500 2015-03-25  Alan Modra  <amodra@gmail.com>
32502         * NEWS: Advertise TLS optimization.
32503         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
32504         (DT_PPC_NUM): Increment.
32505         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
32506         (CHECK_STATIC_TLS): Use here.
32507         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
32508         TLS descriptors.
32509         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32510         * sysdeps/powerpc/dl-tls.c: New file.
32511         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
32512         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
32513         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
32514         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
32515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
32516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
32517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
32519 2015-03-25  Alan Modra  <amodra@gmail.com>
32521         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
32522         for overlapping .opd entries" to "support...".
32523         * sysdeps/powerpc/powerpc64/configure: Regenerate
32525 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
32527         * math/auto-libm-test-in: Add more tests of acos.
32528         * math/auto-libm-test-out: Regenerated.
32529         * sysdeps/i386/fpu/libm-test-ulps: Update.
32530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32532         * math/auto-libm-test-in: Add more tests of expm1.
32533         * math/auto-libm-test-out: Regenerated.
32534         * sysdeps/i386/fpu/libm-test-ulps: Update.
32535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32537 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
32539         * math/auto-libm-test-in: Add more tests of cosh and sinh.
32540         * math/auto-libm-test-out: Regenerated.
32541         * sysdeps/i386/fpu/libm-test-ulps: Update.
32542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32544         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32547         * math/auto-libm-test-in: Add more tests of log2.
32548         * math/auto-libm-test-out: Regenerated.
32549         * sysdeps/i386/fpu/libm-test-ulps: Update.
32550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32552 2015-03-23  Roland McGrath  <roland@hack.frob.com>
32554         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
32555         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
32556         _IO_IS_APPENDING bit in READ_WRITE instead.
32558 2015-03-23  Florian Weimer  <fweimer@redhat.com>
32560         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
32561         (__determine_cpumask_size): Replace extend_alloca with a
32562         variable-length array.  Do not treat res == 0 as an error.
32564 2015-03-23  Florian Weimer  <fweimer@redhat.com>
32566         [BZ #18100]
32567         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
32568         and integer overflow.
32569         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
32570         (main): Add integer overflow tests.
32571         * manual/pattern.texi (Calling Wordexp): Document additional use
32572         for WRDE_SYNTAX.
32574 2015-03-23  Alan Modra  <amodra@gmail.com>
32576         * config.h.in: Remove HAVE_ASM_PPC_REL16.
32577         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
32578         and false branch of conditional.
32579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32580         Likewise.
32582 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
32584         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
32585         libc-modules.h
32586         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
32587         unused declaration of _hurd_intr_rpc_msg_in_trap.
32588         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
32589         defined instead of whether it is non-zero.
32590         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
32591         input constraint instead of both input and output constraint.  Use ecx
32592         clobber instead of %ecx.
32593         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
32594         mutex_unlock): Use a statement expression instead of an expression list.
32595         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
32596         type to vm_size_t instead of vm_address_t.
32597         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
32598         defined instead of whether it is non-zero.
32599         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
32600         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
32601         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
32602         comparisons with mapaddr.
32603         * nscd/nscd-client.h: Include <time.h>.
32604         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
32605         9th parameter to __vm_region instead of int.
32606         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
32607         * scripts/check-local-headers.sh (exclude): Add device/,
32608         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
32609         cthreads.h.
32611 2015-03-19  Roland McGrath  <roland@hack.frob.com>
32613         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
32614         to account for alignment padding.
32615         * sysdeps/arm/memmove.S: Likewise.
32617 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
32619         * sysdeps/unix/sysv/linux/generic/README: New file.
32621 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
32623         [BZ #18138]
32624         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
32625         (futex_abstimed_wait)
32626         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
32627         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
32628         of lll_futex_timed_wait.
32630 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
32632         [BZ #17542]
32633         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
32635 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
32637         [BZ #17090]
32638         [BZ #17620]
32639         [BZ #17621]
32640         [BZ #17628]
32641         * NEWS: Update.
32642         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
32643         entries with Static TLS too.  Skip entries past the end of the
32644         allocated DTV, from Alan Modra.
32645         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
32646         Static TLS DTV entry set up from...
32647         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
32648         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
32649         * nptl/allocatestack.c (init_one_static_tls): ... and here...
32650         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
32651         for Static TLS.
32652         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
32653         that the slot we find is associated with the given map before
32654         using its generation count.
32655         * nptl_db/db_info.c: Include ldsodefs.h.
32656         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
32657         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
32658         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
32659         (link_map::l_tls_offset): New struct field.
32660         (dtv_t::counter): Likewise.
32661         (rtld_global): New struct.
32662         (_rtld_global): New rtld variable.
32663         (dl_tls_dtv_slotinfo_list): New rtld global field.
32664         (dtv_slotinfo_list): New struct.
32665         (dtv_slotinfo): Likewise.
32666         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
32667         (td_lookup): Rename to...
32668         (td_mod_lookup): ... this.  Use new mod parameter instead of
32669         LIBPTHREAD_SO.
32670         * nptl_db/td_thr_tlsbase.c: Include link.h.
32671         (dtv_slotinfo_list, dtv_slotinfo): New functions.
32672         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
32673         addresses even if the DTV is out of date or missing them.
32674         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
32675         index zero-length arrays.
32676         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
32677         (td_lookup): Make it a macro implemented in terms of...
32678         (td_mod_lookup): ... this declaration.
32679         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
32680         (DB_MAIN_VARIABLE): Likewise.
32682 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32684         [BZ #18134]
32685         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
32687 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
32689         * stdlib/setenv.c (__add_to_environ): Revert previous change.
32691 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
32693         [BZ #18128]
32694         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
32695         (atomic_add, atomic_increment_and_test)
32696         (atomic_decrement_and_test): Fix 64-bit arithmetic.
32698 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
32700         * stdlib/setenv.c (__add_to_environ):
32701         Dump core quickly if setenv (..., NULL, ...) is called.
32703 2015-03-13  Roland McGrath  <roland@hack.frob.com>
32705         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
32706         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
32707         all the necessary asm magic in one place.
32708         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
32709         using those.
32711 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
32713         [BZ #14906]
32714         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
32715         traced file mtime. Use consistent log message.
32716         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
32717         (register_traced_file): Call install_watches. Always set mtime.
32718         (invalidate_cache): Iterate over all trace files. Call install_watches.
32719         (inotify_check_files): Don't inline. Handle watching parent
32720         directories and configuration file movement in and out.
32721         (handle_inotify_events): New function.
32722         (main_loop_poll): Call handle_inotify_events.
32723         (main_loop_epoll): Likewise.
32724         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
32725         (struct traced_file): Use array of inotify fds. Add parent directory,
32726         and basename.
32727         (struct database_dyn): Remove unused file_mtime.
32728         (init_traced_file): New inline function.
32729         (define_traced_file): New macro.
32730         * nss/nss_db/db-init.c: Use define_traced_file.
32731         (_nss_db_init): Use init_traced_file.
32732         * nss/nss_files/files-init.c: Use define_traced_file.
32733         (_nss_files_init): Use init_traced_file.
32735 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
32737         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
32738         [_LIBC]: Do not include <stdlib.h>.
32739         [!_LIBC] (abort): Remove declaration.
32740         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
32741         _FP_STATIC_ASSERT instead of conditionally calling abort.
32742         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
32743         (_FP_EXTEND_CNAN): Likewise.
32744         (FP_TRUNC): Likewise.
32745         (__FP_CLZ): Likewise.
32746         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
32748 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
32750         * manual/string.texi (XPG basename): Fix prototype.
32752 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32754         [BZ #18080]
32755         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
32756         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
32757         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
32758         (__setcontext): Likewise.
32759         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
32760         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
32761         Call rt_sigprocmask syscall one time to set new signal mask
32762         and retrieve the current signal mask instead of two calls.
32763         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
32764         (__swapcontext): Likewise.
32765         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
32766         * stdlib/tst-setcontext2.c: New file.
32768 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32770         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32772 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
32774         [BZ #18093]
32775         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
32776         the wrong size.
32778 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32780         [BZ #18043]
32781         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
32783 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32785         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
32786         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
32787         Remove define.
32788         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
32789         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
32790         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
32791         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
32792         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
32793         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
32794         define.
32795         * nptl_db/td_symbol_list.c (td_lookup): Remove
32796         HAVE_ASM_GLOBAL_DOT_NAME code.
32797         * sysdeps/powerpc/powerpc64/configure.ac: Remove
32798         HAVE_ASM_GLOBAL_DOT_NAME check.
32799         * sysdeps/powerpc/powerpc64/configure: Regenerate.
32800         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
32801         (DOT_LABEL): Remove define.
32802         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
32803         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
32804         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
32805         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
32806         (__TLS_GET_ADDR): Likewise.
32807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
32808         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
32810 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
32812         [BZ #18111]
32813         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
32814         (_FPU_SETCW): Initialize cw from fpsr before storing.
32815         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
32816         (fesetexceptflag): Rewrite using fpu_control.h.
32817         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
32819 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
32821         [BZ #18110]
32822         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
32823         asms.
32824         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
32826 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
32828         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
32829         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
32830         abort.
32831         (_FP_FMA): Likewise.
32832         (_FP_DIV): Likewise.
32834 2015-03-10  Roland McGrath  <roland@hack.frob.com>
32836         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
32837         with 0 in that case.
32838         * Makefile (summarize-tests): New canned sequence, factored out of
32839         commands for targets tests and xtests.  Display summary lines that
32840         don't start with PASS: or XFAIL: rather than ones that do start with
32841         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
32842         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
32843         do start with ERROR: or FAIL:.
32844         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
32845         (except for [$(build-shared) = yes]).
32846         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
32847         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
32848         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
32849         * nptl/Makefile: Revert 2015-03-04 changes.
32850         [$(CXX) empty] (tests-unsupported): New variable.
32851         * debug/Makefile: Likewise.
32853         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
32854         gnulib file.  Replace __attribute with __attribute__ throughout.
32856 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
32858         * sysdeps/hppa/fpu/libm-test-ulps: Update.
32860 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
32862         [BZ #18104]
32863         * math/auto-libm-test-in: Add another test of pow.
32864         * math/auto-libm-test-out: Regenerated.
32866 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32868         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
32869         $(config-cflags-nofma).
32871 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
32873         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
32874         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
32875         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
32876         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
32877         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
32878         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
32879         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
32880         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
32881         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
32882         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
32883         Add comment on closing #endif.
32885 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32887         * posix/wordexp.c (CHAR_IN_SET): New macro.
32888         (parse_param): Use it.
32890 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32892         * sysdeps/powerpc/fpu/libm-test-ulps: update.
32894 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32896         [BZ #18043]
32897         * posix/wordexp.c (parse_param): Fix buffer overflow.
32898         * posix/wordexp-test.c (test_case): Add test case.
32900 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32902         [BZ #18042]
32903         * posix/wordexp.c (parse_backtick): Fix off-by-one.
32904         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
32906 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32908         [BZ #18043]
32909         * posix/wordexp-test.c (test_case): Add test for BZ #18043
32910         (do_bz18043): Delete.
32911         (at_page_end): New.
32912         (testit): Refactor to have words at the edge of unreadable page.
32914 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32916         [BZ #16734]
32917         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
32918         Cleanup read-only streams as well.
32919         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
32921 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32923         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
32924         <bits/libc-lockP.h>
32926 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
32928         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
32929         on [__KERNEL__].
32930         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
32931         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
32932         * soft-fp/op-common.h (_FP_DECL): Likewise.
32934 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
32936         * elf/ifuncdep2.c (global): Replace
32937         __attribute__((visibility("protected"))) with
32938         asm (".protected global").
32939         * elf/ifuncmod1.c (global): Likewise.
32940         * elf/ifuncmod5.c (global): Likewise.
32942 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
32944         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
32945         <asm/sfp-machine.h> instead of <sfp-machine.h>.
32947 2015-03-06  Roland McGrath  <roland@hack.frob.com>
32949         * manual/install.texi (Configuring and compiling):
32950         Document test-wrapper-env-only.
32951         * INSTALL: Regenerated.
32953 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32955         [BZ #18043]
32956         * posix/wordexp.c (parse_param): Fix buffer overflow.
32957         * posix/wordexp-test.c (do_bz18043): Add test case.
32959 2015-03-06  Vincent Bernat  <vincent@bernat.im>
32961         * time/tst-strptime2.c (do_test): Ensure failing tests are
32962         reported correctly.
32963         * time/tst-strptime3.c (do_test): Likewise.
32965 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
32967         Fix aio_error thread-safety.
32968         * sysdeps/pthread/aio_error.c: New file
32969         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
32970         synchronization.
32972 2015-03-06  Florian Weimer  <fweimer@redhat.com>
32974         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
32975         (group_number, vfprintf): Use it.
32976         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
32977         (JUMP, REF): Use it.
32978         (WORK_BUFFER_SIZE): New enum constant.
32979         (process_arg, vfprintf): Use it.
32981 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
32983         * manual/errno.texi (Error Messages): Complete example function
32984         by adding missing #define.
32985         (program_invocation_name): Add statement indicating GNU
32986         extension and reference which header file declares the variable.
32987         (program_invocation_short_name): Likewise.
32989 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
32991         * manual/errno.texi (Error Messages): Delete strerror ISO C89
32992         compatibility note.
32994 2015-03-05  Roland McGrath  <roland@hack.frob.com>
32996         * Makeconfig (test-wrapper-env-only): New variable.
32997         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
32998         then use that with $(test-wrapper-env-only) rather than using
32999         $(test-wrapper-env) $(run-program-env) $($*-ENV).
33001 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
33003         [BZ #18082]
33004         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
33005         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
33006         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
33007         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
33008         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
33009         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
33010         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
33011         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
33012         Likewise.
33013         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
33014         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
33015         Likewise.
33016         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
33017         Likewise.
33018         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
33019         Likewise.
33020         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
33021         Likewise.
33022         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
33023         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
33024         Likewise.
33025         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
33026         Likewise.
33027         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
33028         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
33030 2015-03-04  Roland McGrath  <roland@hack.frob.com>
33032         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
33033         (ETH_ALEN): New macro.
33034         (struct ether_addr): Use it for length of ether_addr_octet.
33036         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
33037         (setdb): Don't call __nss_configure_lookup for "rpc".
33038         (do_test): Don't call test_rpc.
33039         (output_rpcent, test_rpc): Functions moved ...
33040         * sunrpc/test-rpcent.c: ... to this new file.
33041         * sunrpc/Makefile (tests): Add it.
33043         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
33044         __xpg_sigpause.
33045         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
33046         * nptl/tst-signal6.c: Likewise.
33047         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
33048         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
33050         * configure.ac (libc_cv_cxx_link_ok): New check.
33051         Reset CXX to empty if it fails to link.
33052         * configure: Regenerated.
33053         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
33054         bug-atexit3-lib only if $(CXX) is nonempty.
33055         * nptl/Makefile (tests): Likewise for tst-cancel24.
33056         (tests, tests-static): Likewise for tst-cancel24-static.
33057         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
33058         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
33059         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
33060         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
33062 2015-03-04  Andreas Schwab  <schwab@suse.de>
33064         [BZ #17631]
33065         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
33066         for non-GCC compilers.
33067         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
33068         Likewise.
33070 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33072         [BZ #17776]
33073         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
33074         integer before bitwise and assembly operations.
33075         (feclearexcept): Likewise.
33076         * math/test-fenvinline.c: New file.
33077         * math/Makefile: Add test-fenvinline test.
33079 2015-03-03  Alan Modra  <amodra@gmail.com>
33081         [BZ #16512]
33082         * scripts/localplt.awk: Strip off symbol version.
33083         * NEWS: Mention bug fix.
33085 2015-03-02  Roland McGrath  <roland@hack.frob.com>
33087         * sysdeps/pthread/timer_routines.c
33088         (timer_free_list, thread_free_list, thread_active_list): Make static.
33090 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
33092         [BZ #17779]
33093         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33094         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33095         Undefine.
33096         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33097         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33098         Likewise.
33099         * sysdeps/unix/sysv/linux/sh/kernel-features.h
33100         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33101         Likewise.
33103 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33105         [BZ #18036]
33106         * posix/fnmatch_loop.c (END): Detect invalid pattern.
33107         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
33109 2015-03-02  Andreas Schwab  <schwab@suse.de>
33111         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
33112         variable name.
33114 2015-03-02  Florian Weimer  <fweimer@redhat.com>
33116         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
33117         Return error status.
33119 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
33121         [BZ #15969]
33122         * locale/findlocale.c (_nl_find_locale): Introduce const
33123         version of loc_name and drop unsafe type casts.
33125 2015-02-27  Roland McGrath  <roland@hack.frob.com>
33127         * dlfcn/tststatic2.c (main): Converted to ...
33128         (do_test): ... this.
33129         (TEST_FUNCTION): New macro.
33130         Include test-skeleton.c.
33132 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
33134         [BZ #17711]
33135         * elf/Makefile (tests): Add vismain only if PIE is enabled.
33136         (tests-pie): Add vismain.
33137         (CFLAGS-vismain.c): New.
33138         * elf/vismain.c: Add comments for PIE requirement.
33140 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
33142         [BZ #18046]
33143         [BZ #18047]
33144         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
33145         0x1p-56L as threshold for just returning the argument.
33146         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
33147         0x1p-32L as threshold for just returning the argument.
33148         * math/auto-libm-test-in: Add more tests of atanh.
33149         * math/auto-libm-test-out: Regenerated.
33150         * sysdeps/i386/fpu/libm-test-ulps: Update.
33151         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
33153 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
33155         * string/bcopy.c (bcopy): Call memmove for performance.
33157 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
33159         * string/bzero.c (__bzero): Call memset for performance.
33161 2015-02-27  John David Anglin  <dave.anglin@bell.net>
33163         [BZ #18068]
33164         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
33165         to 00100000.
33167 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
33169         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
33171 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
33173         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
33174         (__kernel_standard): Use CSTR macro when setting exc.name.
33175         * sysdeps/ieee754/Makefile [$(subdir) = math]
33176         (CFLAGS-k_standard.c): Remove variable.
33178         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
33179         setting p and q from "else if" to "else".
33180         (qzero): Likewise.
33181         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
33182         (qone): Likewise.
33183         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
33184         (qzerof): Likewise.
33185         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
33186         (qonef): Likewise.
33187         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
33188         (qzero): Likewise.
33189         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
33190         (qone): Likewise.
33192         [BZ #18038]
33193         [BZ #18039]
33194         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
33195         return pi/2 for arguments below 0x1p-113L.
33196         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
33197         return pi/2 for arguments below 0x1p-106L.
33198         * math/auto-libm-test-in: Add more tests of acos.
33199         * math/auto-libm-test-out: Regenerated.
33201         [BZ #16351]
33202         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
33203         (MO): New macro.
33204         (__ieee754_asin): Force underflow exception for results with small
33205         absolute value.
33206         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
33207         (MO): New macro.
33208         (__ieee754_asinf): Force underflow exception for results with
33209         small absolute value.
33210         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
33211         (__ieee754_asin): Force underflow exception for results with small
33212         absolute value.
33213         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
33214         (__ieee754_asinf): Force underflow exception for results with
33215         small absolute value.
33216         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
33217         (__ieee754_asinl): Force underflow exception for results with
33218         small absolute value.
33219         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
33220         (__ieee754_asinl): Force underflow exception for results with
33221         small absolute value.
33222         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
33223         (__ieee754_asinl): Force underflow exception for results with
33224         small absolute value.
33225         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
33226         Include <math.h>.
33227         * math/auto-libm-test-in: Do not mark underflow exceptions as
33228         possibly missing for bug 16351.
33229         * math/auto-libm-test-out: Regenerated.
33231         [BZ #18030]
33232         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
33233         of power of 2 down when low part has opposite sign.
33234         * math/libm-test.inc (logb_test_data): Add more tests.
33236 2015-02-26  Andreas Schwab  <schwab@suse.de>
33238         [BZ #18032]
33239         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
33240         over collating symbol inside a bracket expression.  Minor cleanup.
33241         * posix/tst-fnmatch3.c (do_test): Add test case.
33243 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
33245         [BZ #18029]
33246         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
33247         Adjust exponent of power of 2 down when low part has opposite
33248         sign.
33249         * math/libm-test.inc (ilogb_test_data): Add more tests.
33251 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
33253         [BZ #15969]
33254         * locale/findlocale.c (_nl_find_locale): Fix constness error in
33255         the previous change.
33257         [BZ #15969]
33258         * locale/findlocale.c (_nl_find_locale): Retry archive search
33259         after alias expansion.
33261 2015-02-25  Roland McGrath  <roland@hack.frob.com>
33263         * iconv/tst-iconv3.c (main): Converted to ...
33264         (do_test): ... this.
33265         (TEST_FUNCTION): New macro.
33266         Include test-skeleton.c.
33268         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
33269         (convert): Make function static.
33270         (test_unalign): Likewise.  Add const to argument pointee types.
33271         (main): Replace with static function do_test.
33272         Print "Succeeded." only if RET is zero.
33273         (TEST_FUNCTION): New macro.
33274         Include test-skeleton.c.
33276         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
33277         returns a null pointer.
33279 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33281         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
33282         to __memcpy_ppc only for static builds.
33284 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
33286         [BZ #18020]
33287         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
33288         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
33289         * math/auto-libm-test-in: Add more tests of asinh.
33290         * math/auto-libm-test-out: Regenerated.
33291         * sysdeps/i386/fpu/libm-test-ulps: Update.
33292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33294 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
33296         [BZ #15850]
33297         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
33298         and ip6_mtuinfo definitions here.
33299         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
33300         in this define too.  Update comment.
33302 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
33304         * elf/sprof.c (load_shobj): Tweak error message to match others.
33306 2015-02-24  Kevin Easton  <kevin@guarana.org>
33308         [BZ #16145] (partial fix)
33309         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
33310         to reduce lock contention.
33312 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
33314         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
33315         (struct timex): Update time comment.
33316         (ADJ_SETOFFSET): Define.
33318 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
33320         [BZ #18019]
33321         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33322         2**56 not 2**28 as threshold for log (2x) formula.
33323         * math/auto-libm-test-in: Add more tests of acosh.
33324         * math/auto-libm-test-out: Regenerated.
33325         * sysdeps/i386/fpu/libm-test-ulps: Update.
33326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33328 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
33330         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
33331         parenthesis around the buf assignment.
33332         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
33334 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
33336         [BZ #16783]
33337         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
33338         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
33339         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
33340         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
33341         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
33342         * math/libm-test.inc (scalb_test_data): Add more tests.
33344 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33346         [BZ #17916]
33347         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
33348         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
33350 2015-02-24  Eric Rannaud  <e@nanocritical.com>
33352         [BZ #17523]
33353         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
33354         * io/bits/fcntl2.h (open): Use it.
33355         (openat): Likewise.
33356         * io/open.c (__libc_open): Likewise.
33357         * io/open64.c (__libc_open64): Likewise.
33358         * io/open64_2.c (__open64_2): Likewise.
33359         * io/open_2.c (__open_2): Likewise.
33360         * io/openat.c (__openat): Likewise.
33361         * io/openat64.c (__openat64): Likewise.
33362         * io/openat64_2.c (__openat64_2): Likewise.
33363         * io/openat_2.c (__openat_2): Likewise.
33364         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
33365         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
33366         * sysdeps/posix/open64.c (__libc_open64): Likewise.
33367         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
33368         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
33369         (__open_nocancel): Likewise.
33370         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
33371         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
33372         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
33374 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33376         [BZ #14841]
33377         * resolv/gethnamaddr.c (getanswer): Skip logging if
33378         RES_USE_DNSSEC is set.
33379         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33381 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
33383         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
33385 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
33387         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
33388         201304L, for Unicode 7.
33390 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
33392         [BZ #17836]
33393         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
33394         shared library.  Add gmon-start.os otherwise.
33395         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
33396         $(objpfx)gmon-start.os if builing shared library.
33397         ($(objpfx)g$(static-start-installed-name)): Likewise.
33399 2015-02-23  Andreas Schwab  <schwab@suse.de>
33401         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
33403 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33405         [BZ #17269]
33406         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
33407         (enlarge_userbuf): Likewise.
33409 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
33411         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
33412         * math/atest-exp.c (TIMEOUT): Adjust to 200.
33413         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
33414         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
33416 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
33418         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
33419         expression inside statement expression.
33421 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33423         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
33424         <sysdeps/nptl/lowlevellock.h> and remove macros and
33425         functions that are now defined there.
33426         (SYS_futex): Remove.
33427         (lll_compare_and_swap): Remove.
33428         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
33430 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
33432         [BZ #17999]
33433         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
33434         instead of scandirat.
33435         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
33436         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
33437         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
33438         __scandirat.
33439         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
33440         (__scandirat): Declare.  Use libc_hidden_proto.
33441         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
33442         Remove variable.
33443         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33445 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
33447         [BZ #15319]
33448         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
33449         (MO): New macro.
33450         (__ieee754_atan2): For results with small absolute value, force
33451         underflow exception and remove excess range and precision from
33452         return value.
33453         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
33454         (MO): New macro.
33455         (__ieee754_atan2f): For results with small absolute value, force
33456         underflow exception and remove excess range and precision from
33457         return value.
33458         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
33459         (MO): New macro.
33460         (__atan): For results with small absolute value, force underflow
33461         exception and remove excess range and precision from return value.
33462         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
33463         (MO): New macro.
33464         (__atanf): For results with small absolute value, force underflow
33465         exception and remove excess range and precision from return value.
33466         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
33467         <math.h>.
33468         (__ieee754_atan2): Force underflow exception for results with
33469         small absolute value.
33470         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
33471         <math_private.h>.
33472         (atan): Force underflow exception for results with small absolute
33473         value.
33474         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
33475         (__atanf): Force underflow exception for results with small
33476         absolute value.
33477         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
33478         <math.h>.
33479         (__atanl): Force underflow exception for results with small
33480         absolute value.
33481         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
33482         (__atanl): Force underflow exception for results with small
33483         absolute value.
33484         * sysdeps/x86/fpu/bits/mathinline.h
33485         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
33486         (__ieee754_atan2): Only define inline for long double.
33487         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
33488         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
33489         * math/auto-libm-test-in: Do not mark underflow exceptions as
33490         possibly missing for bug 15319.  Add more tests of atan2.
33491         * math/auto-libm-test-out: Regenerated.
33492         * math/libm-test.inc (casin_test_data): Do not mark underflow
33493         exceptions as possibly missing for bug 15319.
33494         (casinh_test_data): Likewise.
33495         * sysdeps/i386/fpu/libm-test-ulps: Update.
33497 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
33499         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
33500         * sysdeps/mips/bits/endian.h: Fix comments.
33502 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
33504         [BZ #17996]
33505         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
33506         (hdestroy_r): Likewise.
33507         (hsearch_r): Likewise.
33508         (__hcreate_r): Declare and use libc_hidden_proto.
33509         (__hdestroy_r): Likewise.
33510         (__hsearch_r): Likewise.
33511         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
33512         (hcreate): Call __hcreate_r instead of hcreate_r.
33513         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
33514         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
33515         as weak alias of __hcreate_r.
33516         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
33517         __hdestroy_r.
33518         (hsearch_r): Rename to __hsearch_r and define as weak alias of
33519         __hsearch_r.
33520         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
33521         Remove variable.
33522         (test-xfail-XPG4/search.h/linknamespace): Likewise.
33523         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33524         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33525         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33527 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33529         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
33530         arena_lock into a single arena_get.
33532 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
33534         * dl-reloc.c: Inlucde libc-internal.h.
33535         (_dl_try_allocate_static_tls): Call ALIGN_UP.
33536         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
33537         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
33538         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
33539         (grow_heap): Likewise.
33540         * malloc/malloc.c: Include libc-internal.h.
33541         (do_check_malloc): Call powerof2.
33542         (sysmalloc): Use pagesize. Call ALIGN_UP.
33543         (systrim): Use pagesize.
33544         (mremap_chunk): Use pagesize. Call ALIGN_UP.
33545         (__libc_valloc): Use pagesize.
33546         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
33548 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
33550         [BZ #17991]
33551         * include/sys/resource.h (__getrlimit64): Declare.  Use
33552         libc_hidden_proto.
33553         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
33554         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
33555         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
33556         getrlimit64.
33557         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
33558         __getrlimit64.
33559         [!getrlimit64] (getrlimit64): Define as weak alias of
33560         __getrlimit64.  Use libc_hidden_weak.
33561         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
33562         using __getrlimit64 not __new_getrlimit64.
33563         (__GI_getrlimit64): Likewise.
33564         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
33565         Likewise.
33566         (__GI_getrlimit64): Likewise.
33567         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
33568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
33569         (getrlimit): Add __getrlimit64 alias.
33570         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
33571         Likewise.
33572         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
33573         Remove variable.
33574         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33575         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33577 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
33579         * libio/fileops.c: Add missing sys/mman.h
33580         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
33582 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
33584         * manual/math.texi (Errors in Math Functions): Clarify goals
33585         regarding inexact and underflow exceptions.
33587 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
33589         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
33590         * sysdeps/mips/memset.S: Ditto.
33592 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
33594         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
33596 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
33598         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
33599         (__v1longjmp): Remove versioned symbol.
33600         (__v1siglongjmp): Remove alias and versioned symbol.
33601         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
33602         (__v2siglongjmp): Likewise.
33604 2015-02-16  Torvald Riegel  <triegel@redhat.com>
33606         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
33608 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
33610         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
33612 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
33614         [BZ #17987]
33615         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
33616         zero result does not depend on the sign resulting from
33617         subtraction.
33618         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33619         Likewise.
33620         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33621         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33622         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33623         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33624         * math/libm-test.inc (remquo_test_data): Add more tests.
33626 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
33628         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
33629         Problem reported by J William Piggott.
33631 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
33633         [BZ #17978]
33634         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
33635         products 4 * y and 2 * y where those would overflow.
33636         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33637         Likewise.
33638         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33639         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33640         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33641         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33642         * math/libm-test.inc (remquo_test_data): Add more tests.
33644         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
33646         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
33647         [defined _COMPILING_NEWLIB].
33648         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
33649         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
33651         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
33652         [!defined __mips_isa_rev || __mips_isa_rev < 6].
33654 2015-02-16  Torvald Riegel  <triegel@redhat.com>
33656         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
33657         acquired.
33659 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
33661         [BZ #17792]
33662         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
33663         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
33664         HOST_STACK_END_ADDR): Likewise.
33666 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
33668         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
33669         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
33670         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
33672 2015-02-13  Roland McGrath  <roland@hack.frob.com>
33674         * sysdeps/generic/c++-types.data: New file.
33675         * sysdeps/generic/ld.abilist: New file.
33676         * sysdeps/generic/libBrokenLocale.abilist: New file.
33677         * sysdeps/generic/libanl.abilist: New file.
33678         * sysdeps/generic/libc.abilist: New file.
33679         * sysdeps/generic/libcrypt.abilist: New file.
33680         * sysdeps/generic/libdl.abilist: New file.
33681         * sysdeps/generic/libm.abilist: New file.
33682         * sysdeps/generic/libpthread.abilist: New file.
33683         * sysdeps/generic/libresolv.abilist: New file.
33684         * sysdeps/generic/librt.abilist: New file.
33686 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
33688         [BZ #17569]
33689         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33690         Compute absolute value of x as modified by fmod, not original
33691         value of x.
33692         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
33693         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
33694         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
33695         RUN_TEST_ffI_f1_mod8.
33696         (remquo_test_data): Add more tests.
33698 2015-02-13  Roland McGrath  <roland@hack.frob.com>
33700         * sysdeps/init_array/pt-crti.S: New file.
33702 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
33704         [BZ #17967]
33705         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
33706         __builtin_fmaf instead of relying on contraction of a * b + c.
33708 2015-02-12  J William Piggott  <elseifthen@gmx.com>
33710         [BZ #17969]
33711         * manual/time.texi: correct the zoneinfo path in the TZ Variable
33712         node.
33714 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
33716         [BZ #17964]
33717         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
33718         __builtin_fma instead of relying on contraction of a * b + c.
33720 2015-02-12  Roland McGrath  <roland@hack.frob.com>
33722         * Makeconfig (ASFLAGS): Add -Werror=undef.
33723         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
33724         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
33725         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
33727         * Makeconfig (after-link): New variable.
33728         (+link-pie, +link-pie-tests): Use it.
33729         (+link-static, +link-static-tests): Likewise.
33730         (+link, +link-tests): Likewise.
33731         * Makerules (build-module, build-module-asneeded): Likewise.
33732         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
33733         Likewise.
33734         * elf/Makefile ($(objpfx)ld.so): Likewise.
33736 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
33738         [BZ #17965]
33739         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
33740         both struct timeval and struct timespec.
33742 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
33744         [BZ #16560]
33745         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33746         and redefine.
33747         (__ieee754_exp2l): Do not multiply small fractional parts by
33748         M_LN2l.
33749         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
33750         small argument.
33751         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33752         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
33753         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
33754         * math/auto-libm-test-in: Add more tests of exp2.
33755         * math/auto-libm-test-out: Regenerated.
33757 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33759         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
33760         unaligned path.
33762 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33764         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
33765         little endian.
33767 2015-02-12  Andreas Schwab  <schwab@suse.de>
33769         [BZ #15790]
33770         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
33771         Filter out elision flags from value returned in kind.
33772         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
33773         * nptl/tst-pthread-mutexattr.c: New file.
33775 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33777         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
33778         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
33779         into gnu-gnu, and update comment to refer to abi-tags.
33781 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
33783         [BZ #15467]
33784         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
33785         (__sincos): Set errno to EDOM for infinite argument.
33786         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
33787         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
33788         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
33789         (__sincosl): Set errno to EDOM for infinite argument.
33790         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
33791         (__sincosl): Set errno to EDOM for infinite argument.
33792         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
33793         (__sincosl): Set errno to EDOM for infinite argument.
33794         * math/libm-test.inc (sincos_test_data): Test errno setting.
33796 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
33798         * string/strxfrm_l.c: Remove #define STRCMP.
33799         * string/strcoll_l.c: Remove #define STRLEN.
33800         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
33801         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
33803 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
33805         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
33806         * sysdeps/mips/mips32/sfp-machine.h: ... here.
33807         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
33808         * sysdeps/mips/mips64/Makefile: ... here.
33809         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
33810         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
33811         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
33812         * sysdeps/mips/mips64/sfp-machine.h: ... here.
33813         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
33814         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
33815         * sysdeps/mips/mips64/n64/Implies: Likewise.
33817 2015-02-10  Roland McGrath  <roland@hack.frob.com>
33819         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
33820         <sys/time.h>, <string.h>, and <errno.h>.
33821         (dest_offset, dest_address, value, zero): Remove unused variables.
33822         (ldouble): Remove typedef.
33823         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
33824         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
33825         1).  Fix code style.
33826         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
33827         (check): Function removed.
33828         (CHECK): New macro.
33829         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
33830         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
33831         Don't call set_sigaction_FP and remove_sigaction_FP here.
33832         (ldouble_test): Just use 'long double' as macro argument, no need for
33833         the 'ldouble' typedef.
33834         (do_test): Set up SIGFPE handler at start, using plain signal rather
33835         than sigaction.  Fix code style.
33837 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
33839         [BZ #17949]
33840         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
33841         jump label.
33843 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33845         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
33846         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33848         * sysdeps/powerpc/configure.ac: Remove file.
33849         * sysdeps/powerpc/configure: Likewise.
33851         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
33852         [sysdep_routines]: Remove wordcopy-power6 object.
33853         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
33854         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
33855         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
33856         (__memmove_ppc32): Likewise.
33857         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
33858         file.
33859         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
33860         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
33861         Remove preprocessor.
33863         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
33864         [sysdep_routines]: Remove wide chars objects.
33865         [wcsmbs]: New rule for wide char objects.
33867         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33868         Remove wordcopy-power6 obejct.
33869         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
33870         Use local call for wordcopy and memcpy symbols.
33871         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
33872         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
33873         implementation for loader.
33874         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
33876         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33877         Remove wordcopy-power7 object.
33878         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
33879         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
33880         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
33881         (_wordcopy_fwd_dest_aligned): Likewise.
33882         (_wordcopy_bwd_aligned): Likewise.
33883         (_wordcopy_bwd_dest_aligned): Likewise.
33885         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
33886         Rewrite to call __memmove_ppc instead of include default
33887         implementation.
33889         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33890         Remove wide chars objects.
33891         [wcsmbs]: New rule for wide char objects.
33893 2015-02-09  Andreas Schwab  <schwab@suse.de>
33895         [BZ #17912]
33896         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33897         in terms of __O_DIRECTORY.
33899 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33901         * time/getdate.c: Include <stdbool.h>.
33902         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
33903         call PTR_MANGLE.
33904         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
33905         PTR_DEMANGLE.
33907 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
33909         Add ersatz _Static_assert on older C hosts
33910         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
33911         pre-C11 C platform that is not known to support _Static_assert.
33913 2015-02-07  Richard Braun  <rbraun@sceen.net>
33915         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
33916         sigstate.
33917         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
33919 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33921         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
33922         priority against unexistent AIO_PRIO_DELTA_MAX.
33923         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
33924         instead of int.
33925         * misc/fchflags.c (fchflags): Likewise.
33926         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
33927         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
33928         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
33929         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
33930         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
33931         Declare macros.
33932         [__USE_MISC] (chflags, fchflags): Declare functions.
33933         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
33934         EINVAL when nfds is greater than FD_SETSIZE.
33935         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
33936         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
33937         45.
33938         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
33939         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
33940         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
33941         MACH_RCV_TIMED_OUT.
33942         * hurd/hurd/signal.h (_hurd_self_sigstate,
33943         _hurd_critical_section_lock, _hurd_critical_section_unlock):
33944         Explicit casts from void *.
33945         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
33946         * abi-tags: Rename gnu-gnu os into gnu.
33948         [BZ #4719]
33949         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
33950         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
33951         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
33952         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
33953         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
33954         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
33956         [BZ #17944]
33957         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
33958         duplicates ADDR->sun_path with sockaddr LEN limitation.
33959         * sysdeps/mach/hurd/connect.c: Include <string.h>
33960         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
33961         * sysdeps/mach/hurd/sendmsg.c: Likewise.
33962         * sysdeps/mach/hurd/sendto.c: Likewise.
33963         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
33964         implementing it by hand.
33966 2015-02-06  Roland McGrath  <roland@hack.frob.com>
33968         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
33969         Use sfi_breg on ldr.
33970         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
33971         Likewise.
33973         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
33974         it's defined.
33975         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
33976         Test SIGSETXID only if it's defined.
33978         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
33980         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
33981         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
33983         * nptl/tst-align2.c: Moved ...
33984         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
33985         * nptl/Makefile (tests): Remove tst-align2.
33986         * sysdeps/unix/sysv/linux/Makefile
33987         [$(subdir) = nptl] (tests): Add tst-align-clone.
33988         * nptl/tst-getpid1.c: Moved ...
33989         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
33990         * nptl/tst-getpid2.c: Moved ...
33991         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
33992         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
33993         * sysdeps/unix/sysv/linux/Makefile
33994         [$(subdir) = nptl] (tests): ... here.
33995         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
33996         * sysdeps/unix/sysv/linux/Makefile
33997         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
33999         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
34000         Drop trailing \n from perror argument.  Use return rather than exit.
34002         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
34003         on [SA_SIGINFO].
34004         * nptl/tst-cancel21.c (do_test): Likewise.
34005         * debug/tst-backtrace6.c: Include <signal.h> first thing.
34006         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
34007         [!SA_SIGINFO]: Make it a stub test.
34009         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
34010         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
34012         * posix/tst-getlogin.c: Move to ...
34013         * login/tst-getlogin.c: ... here.
34014         * posix/Makefile (tests): Move tst-getlogin to ...
34015         * login/Makefile (tests): ... here.
34017         * libio/tst-atime.c (do_test): Move local variables SV and E
34018         inside [ST_NOATIME] conditional.
34020         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
34022         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
34024         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
34025         (wait_code): New function replaces macro.
34026         Call nanosleep rather than syscall.
34028         * nptl/pt-system.c: Rewritten.  Put everything under
34029         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34030         Use IFUNC to redirect when possible.
34032         * nptl/pt-longjmp.c: Rewritten.  Put everything under
34033         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34034         Use IFUNC to redirect when possible.
34036         * nptl/pt-fork.c: Rewritten.  Put everything under
34037         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34038         Use IFUNC to redirect when possible.
34039         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
34041         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
34042         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
34043         unconditionally nowadays.  This included the only reference to
34044         __vdso_clock_gettime that appears outside libc proper.
34045         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
34046         Remove version set (containing only __vdso_clock_gettime).
34047         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
34048         Add attribute_hidden.
34049         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
34050         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
34051         libc_hidden_data_def.
34052         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34053         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34055         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
34056         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
34057         setrpcent, and getrpcport to ...
34058         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
34059         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
34060         getrpcbynumber_r, and getrpcent_r to ...
34061         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
34062         * inet/getrpcbyname.c: Moved ...
34063         * sunrpc/getrpcbyname.c: ... here.
34064         * inet/getrpcbyname_r.c: Moved ...
34065         * sunrpc/getrpcbyname_r.c: ... here.
34066         * inet/getrpcbynumber.c: Moved ...
34067         * sunrpc/getrpcbynumber.c: ... here.
34068         * inet/getrpcbynumber_r.c: Moved ...
34069         * sunrpc/getrpcbynumber_r.c: ... here.
34070         * inet/getrpcent.c: Moved ...
34071         * sunrpc/getrpcent.c: ... here.
34072         * inet/getrpcent_r.c: Moved ...
34073         * sunrpc/getrpcent_r.c: ... here.
34074         * inet/Makefile (routines): Move those to ...
34075         * sunrpc/Makefile (routines): ... here.
34076         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
34077         the $(subdirs) list.
34078         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
34079         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
34080         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
34081         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
34083         * elf/Makefile (routines): Include $(all-dl-routines), not just
34084         $(dl-routines).
34085         (rtld-routines): Likewise.  Use = rather than :=.
34086         * sysdeps/aarch64/Makefile [$(subdir) = elf]
34087         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
34088         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
34089         * sysdeps/arm/Makefile: Likewise.
34090         * sysdeps/i386/Makefile: Likewise.
34091         * sysdeps/x86_64/Makefile: Likewise.
34092         * sysdeps/hppa/Makefile [$(subdir) = elf]
34093         (sysdep_routines, sysdep-rtld-routines): Don't add
34094         $(sysdep-dl-routines) to these.
34095         * sysdeps/ia64/Makefile: Likewise.
34096         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
34097         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
34098         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
34099         Don't add dl-static to these; sysdep-dl-routines alone is enough.
34100         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
34101         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
34102         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
34103         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
34104         * sysdeps/powerpc/Makefile [$(subdir) = elf]
34105         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
34106         these; sysdep-dl-routines alone is enough.
34108 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
34110         [BZ #17932]
34111         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
34112         where multiplication results in zero and third argument is finite
34113         and nonzero.
34114         * math/auto-libm-test-in: Add more tests of fma.
34115         * math/auto-libm-test-out: Regenerated.
34117         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
34118         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
34119         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
34120         (_FP_CMP_EQ): Likewise.
34121         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
34123         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
34124         extra argument CHECK_NAN.  Redefine as wrapper around
34125         _FP_EXTEND_CNAN.
34127 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
34129         * version.h (RELEASE): Set to "stable".
34130         (VERSION): Set to "2.21"
34131         * include/features.h (__GLIBC_MINOR__): Set to 21.
34133         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
34135 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34136             Paul Eggert  <eggert@cs.ucla.edu>
34138         [BZ #16618]
34139         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
34140         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
34141         size in bytes. Store needed elements in wpmax. Use needed size
34142         in bytes for extend_alloca.
34144 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
34146         * manual/install.texi: Latest tested versions are GCC 4.9.2,
34147         binutls 2.25, and texinfo 5.2.
34148         * INSTALL: Regenerate.
34149         * sysdeps/nios2/configure: Regenerate.
34150         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
34151         * manual/contrib.texi: Update.
34152         * po/be.po: Update.
34153         * po/bg.po: Update.
34154         * po/ca.po: Update.
34155         * po/cs.po: Update.
34156         * po/da.po: Update.
34157         * po/de.po: Update.
34158         * po/el.po: Update.
34159         * po/eo.po: Update.
34160         * po/es.po: Update.
34161         * po/fi.po: Update.
34162         * po/fr.po: Update.
34163         * po/gl.po: Update.
34164         * po/hr.po: Update.
34165         * po/hu.po: Update.
34166         * po/ia.po: Update.
34167         * po/id.po: Update.
34168         * po/it.po: Update.
34169         * po/ja.po: Update.
34170         * po/ko.po: Update.
34171         * po/lt.po: Update.
34172         * po/nb.po: Update.
34173         * po/nl.po: Update.
34174         * po/pl.po: Update.
34175         * po/pt_BR.po: Update.
34176         * po/ru.po: Update.
34177         * po/rw.po: Update.
34178         * po/sk.po: Update.
34179         * po/sl.po: Update.
34180         * po/sv.po: Update.
34181         * po/tr.po: Update.
34182         * po/uk.po: Update.
34183         * po/vi.po: Update.
34184         * po/zh_CN.po: Update.
34185         * po/zh_TW.po: Update.
34187         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
34188         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
34189         * sysdeps/hppa/dl-irel.h: Remove #warning.
34190         * sysdeps/hppa/entry.h: Provide prototype for
34191         __canonicalize_funcptr_for_compare and cast argument.
34192         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
34193         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
34194         * sysdeps/hppa/sotruss-lib.c: New file.
34195         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
34196         (atomic_compare_and_exchange_val_acq): Use __typeof__.
34197         (atomic_compare_and_exchange_bool_acq): Likewise.
34198         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
34199         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
34201         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
34202         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
34203         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
34205 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
34207         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
34208         called function in non-PIC case.
34210 2015-01-31  David S. Miller  <davem@davemloft.net>
34212         * sysdeps/sparc/sparc32/bits/atomic.h
34213         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
34214         unlock not after it.
34215         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
34216         volatile register usage warnings from the compiler.
34218         * sysdeps/sparc/nptl/sem_init.c: Delete.
34219         * sysdeps/sparc/nptl/sem_post.c: Delete.
34220         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
34221         * sysdeps/sparc/nptl/sem_wait.c: Delete.
34222         * sysdeps/sparc/sparc32/sem_init.c: New file.
34223         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
34224         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
34225         padding explicitly initialized.
34226         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
34227         padding for in-semaphore spinlock.
34228         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
34229         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
34230         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
34231         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
34232         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
34233         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
34234         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
34235         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
34236         version.
34237         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
34238         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
34240 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
34242         [BZ #17801]
34243         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34244         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
34245         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
34246         New.
34247         (index_AVX_Fast_Unaligned_Load): Likewise.
34248         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
34249         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
34250         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
34251         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
34252         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
34253         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
34254         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
34255         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
34256         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
34258 2015-01-29  Andreas Schwab  <schwab@suse.de>
34260         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
34262 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
34264         [BZ #17892]
34265         * nscd/nscd_stat.c (send_stats): Initialize DATA.
34267 2015-01-28  Martin Sebor  <msebor@redhat.com>
34269         * math/README.libm-test: Clarify. Add "How to read the test output."
34271 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
34273         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
34274         Define to 0.
34276 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
34278         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
34279         (__HAVE_64B_ATOMICS): Define to 0.
34281 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34283         [BZ #17885]
34284         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
34285         value to set as new flag.
34287         [BZ #16576]
34288         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
34289         and use _ARCH_PPCSQ instead.
34290         (__ieee754_sqrt): Likewise.
34291         (__ieee754_sqrtf): Likewise.
34292         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
34293         _ARCH_PPCSQ is defined.
34294         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
34295         fsqrt instruction.
34296         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
34297         _ARCH_PPCSQ is defined.
34298         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
34299         fsqrts instruction.
34300         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
34302 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34304         * iconv/loop.c: Suppress array out of bound warning caused by GCC
34305         bug (GCC BZ #64739).
34307 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
34309         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
34310         Mark _retval as used.
34311         (lll_futex_wake_unlock): Likewise.
34312         (lll_futex_timed_wait_requeue_pi): Likewise.
34314         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
34315         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
34316         register variables.
34318         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
34319         libm_hidden_def.
34321         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
34322         (__bswap_64): Mark as __always_inline.
34324 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
34326         [BZ #15378]
34327         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
34328         when none of the search directories exist.
34330 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34332         [BZ #17869]
34333         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
34334         power8 in .machine directive.
34336         [BZ #17868]
34337         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
34338         set dependency from opd value.
34340 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
34342         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34343         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
34344         architecture.
34346 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
34348         [BZ #17870]
34349         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
34350         with uint64_t.
34351         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
34352         (uint64_t) 1.
34353         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
34354         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
34355         Replace 1UL with (uint64_t) 1.
34356         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
34357         int with uint64_t.
34359 2015-01-23  Roland McGrath  <roland@hack.frob.com>
34361         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
34362         (if_freenameindex): Likewise.
34364         * resource/getrlimit64.c: Add missing libc_hidden_def.
34366 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
34368         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
34369         __label__.
34370         (_FP_FMA): Likewise.
34371         (_FP_TO_INT_ROUND): Likewise.
34372         (_FP_FROM_INT): Likewise.
34374 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34376         [BZ #16418]
34377         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34378         Make code racy and cancel safe.
34380 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
34382         * sysdeps/arm/unwind-resume.h: Fix copyright year.
34383         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
34384         attribution.
34386         * pwd/tst-getpw.c: Rewrite.
34388         [BZ #17702]
34389         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
34390         (modules-names): Add moddummy1 and moddummy2.
34391         ($(objpfx)tst-rec-dlopen): Define.
34392         * dlfcn/moddummy1.c: New file.
34393         * dlfcn/moddummy2.c: New file.
34394         * dlfcn/tst-rec-dlopen.c: New file.
34395         * elf/dl-cache.c (_dl_load_cache_lookup):
34396         Return char*. Copy result with alloca/strcpy/strdup.
34397         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
34398         returns char*. Free cached. If not saving realname
34399         free cached.
34400         * elf/dl-open.c (dl_open_worker): Do not assert that
34401         _r_debug->r_state is RT_CONSISTENT.
34402         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
34403         returns char*.
34405 2015-01-21  Torvald Riegel  <triegel@redhat.com>
34406             Carlos O'Donell  <carlos@redhat.com>
34408         [BZ #12674]
34409         * nptl/sem_waitcommon.c: New file.
34410         * nptl/sem_wait.c: Include sem_waitcommon.c.
34411         (__sem_wait_cleanup, do_futex_wait): Remove.
34412         (__new_sem_wait): Adapt.
34413         (__new_sem_trywait): New function.
34414         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
34415         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
34416         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
34417         (sem_timedwait): Adapt.
34418         * nptl/sem_post.c (__new_sem_post): Adapt.
34419         (futex_wake): New function.
34420         (__old_sem_post): Add release MO fence.
34421         * nptl/sem_open.c (sem_open): Adapt.
34422         * nptl/sem_init.c (__new_sem_init): Adapt.
34423         (futex_private_if_supported): New function.
34424         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
34425         (__old_sem_getvalue): Add using previous code.
34426         * sysdeps/nptl/internaltypes.h: Adapt.
34427         * nptl/tst-sem13.c (do_test): Adapt.
34428         * nptl/tst-sem11.c (main): Adapt.
34429         * nptl/sem_trywait.c: Remove.
34430         * nptl/DESIGN-sem.txt: Remove.
34431         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
34432         (gen-as-const-headers): Remove structsem.sym.
34433         * nptl/structsem.sym: Remove.
34434         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
34435         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
34436         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
34437         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
34438         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
34439         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
34440         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
34441         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
34442         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
34443         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
34444         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
34445         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
34446         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
34447         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
34448         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
34449         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
34450         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
34451         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
34452         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
34453         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
34454         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
34455         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
34457 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
34459         * INSTALL: Regenerated.
34461         * po/libc.pot: Regenerated.
34463 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
34464             Sandra Loosemore  <sandra@codesourcery.com>
34465             Andrew Jenner  <andrew@codesourcery.com>
34466             Joseph Myers  <joseph@codesourcery.com>
34467             Nathan Sidwell  <nathan@codesourcery.com>
34469         * NEWS: Mention new Nios II port.
34470         * sysdeps/nios2/Implies: New file.
34471         * sysdeps/nios2/Makefile: New file.
34472         * sysdeps/nios2/Subdirs: New file.
34473         * sysdeps/nios2/Versions: New file.
34474         * sysdeps/nios2/__longjmp.S: New file.
34475         * sysdeps/nios2/abort-instr.h: New file.
34476         * sysdeps/nios2/backtrace.c: New file.
34477         * sysdeps/nios2/bits/endian.h: New file.
34478         * sysdeps/nios2/bits/fenv.h: New file.
34479         * sysdeps/nios2/bits/link.h: New file.
34480         * sysdeps/nios2/bits/setjmp.h: New file.
34481         * sysdeps/nios2/bsd-_setjmp.S: New file.
34482         * sysdeps/nios2/bsd-setjmp.S: New file.
34483         * sysdeps/nios2/configure: New generated file.
34484         * sysdeps/nios2/configure.ac: New file.
34485         * sysdeps/nios2/crti.S: New file.
34486         * sysdeps/nios2/crtn.S: New file.
34487         * sysdeps/nios2/dl-init.c: New file.
34488         * sysdeps/nios2/dl-machine.h: New file.
34489         * sysdeps/nios2/dl-sysdep.h: New file.
34490         * sysdeps/nios2/dl-tls.h: New file.
34491         * sysdeps/nios2/dl-trampoline.S: New file.
34492         * sysdeps/nios2/gccframe.h: New file.
34493         * sysdeps/nios2/gmp-mparam.h: New file.
34494         * sysdeps/nios2/jmpbuf-offsets.h: New file.
34495         * sysdeps/nios2/jmpbuf-unwind.h: New file.
34496         * sysdeps/nios2/ldsodefs.h: New file.
34497         * sysdeps/nios2/libc-tls.c: New file.
34498         * sysdeps/nios2/libm-test-ulps: New file.
34499         * sysdeps/nios2/machine-gmon.h: New file.
34500         * sysdeps/nios2/math-tests.h: New file.
34501         * sysdeps/nios2/math_private.h: New file.
34502         * sysdeps/nios2/memusage.h: New file.
34503         * sysdeps/nios2/nptl/Makefile: New file.
34504         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
34505         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
34506         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
34507         * sysdeps/nios2/nptl/pthreaddef.h: New file.
34508         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
34509         * sysdeps/nios2/nptl/tls.h: New file.
34510         * sysdeps/nios2/preconfigure: New file.
34511         * sysdeps/nios2/s_fma.c: New file.
34512         * sysdeps/nios2/s_fmaf.c: New file.
34513         * sysdeps/nios2/setjmp.S: New file.
34514         * sysdeps/nios2/sfp-machine.h: New file.
34515         * sysdeps/nios2/sotruss-lib.c: New file.
34516         * sysdeps/nios2/stackguard-macros.h: New file.
34517         * sysdeps/nios2/stackinfo.h: New file.
34518         * sysdeps/nios2/start.S: New file.
34519         * sysdeps/nios2/sysdep.h: New file.
34520         * sysdeps/nios2/tls-macros.h: New file.
34521         * sysdeps/nios2/tst-audit.h: New file.
34522         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
34523         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
34524         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
34525         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
34526         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
34527         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
34528         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
34529         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
34530         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
34531         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
34532         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
34533         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
34534         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
34535         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
34536         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
34537         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
34538         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
34539         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
34540         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
34541         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
34542         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
34543         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
34544         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
34545         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
34546         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
34547         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
34548         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
34549         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
34550         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
34551         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
34552         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
34553         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
34554         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
34555         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
34556         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
34557         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
34558         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
34559         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
34560         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
34561         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
34562         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
34563         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
34564         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
34565         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
34567 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34569         [BZ #17844]
34570         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
34571         (getutent): Use weak_alias in non SHARED case
34572         and default_symbol_version in SHARED case.
34573         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
34574         (getutent_r, pututline): Likewise.
34575         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
34576         (getutid): Likewise.
34577         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
34578         (getutid_r): Likewise.
34579         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
34580         (getutline): Likewise.
34581         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
34582         (getutline_r): Likewise.
34583         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
34584         (updwtmp): Likewise.
34586 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34588         [BZ #17848]
34589         * sysdeps/s390/s390-32/memcmp.S
34590         (memcmp_g5): Rename to __memcmp_g5.
34591         * sysdeps/s390/s390-32/memcpy.S
34592         (memcpy_g5): Rename to __memcpy_g5.
34593         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34594         (memcpy_mvcle) Rename to __memcpy_mvcle.
34595         * sysdeps/s390/s390-32/memset.S
34596         (memset_g5): Rename to __memset_g5.
34597         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34598         (IFUNC_RESOLVE): Prefix ifunc-resolve function
34599         and use prefixed functions.
34600         * sysdeps/s390/s390-32/multiarch/memcmp.S
34601         (memcmp_z196): Rename to __memcmp_z196.
34602         (memcmp_z10): Rename to __memcmp_z10.
34603         (memcmp): Set alias to __memcmp_g5.
34604         (bcmp): Set alias to __memcmp_g5.
34605         * sysdeps/s390/s390-32/multiarch/memcpy.S
34606         (memcpy_z196): Rename to __memcpy_z196.
34607         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34608         (memcpy_z10): Rename to __memcpy_z10.
34609         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34610         (memcpy): Set alias to __memcpy_g5.
34611         * sysdeps/s390/s390-32/multiarch/memset.S
34612         (memset_z196): Rename to __memset_z196.
34613         Jump to __memset_mvcle instead of memset_mvcle.
34614         (memset_z10): Rename to __memset_z10.
34615         Jump to __memset_mvcle instead of memset_mvcle.
34616         (memset_mvcle) Rename to __memset_mvcle.
34617         (memset): Set alias to __memset_g5.
34618         * sysdeps/s390/s390-64/memcmp.S
34619         (memcmp_z900): Rename to __memcmp_z900.
34620         * sysdeps/s390/s390-64/memcpy.S
34621         (memcpy_z900): Rename to __memcpy_z900.
34622         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34623         (memcpy_mvcle) Rename to __memcpy_mvcle.
34624         * sysdeps/s390/s390-64/memset.S
34625         (memset_z900): Rename to __memset_z900.
34626         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
34627         (IFUNC_RESOLVE): Prefix ifunc-resolve function
34628         and use prefixed functions.
34629         * sysdeps/s390/s390-64/multiarch/memcmp.S
34630         (memcmp_z196): Rename to __memcmp_z196.
34631         (memcmp_z10): Rename to __memcmp_z10.
34632         (memcmp): Set alias to __memcmp_z900.
34633         (bcmp): Set alias to __memcmp_z900.
34634         * sysdeps/s390/s390-64/multiarch/memcpy.S
34635         (memcpy_z196): Rename to __memcpy_z196.
34636         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34637         (memcpy_z10): Rename to __memcpy_z10.
34638         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34639         (memcpy): Set alias to __memcpy_z900.
34640         * sysdeps/s390/s390-64/multiarch/memset.S
34641         (memset_z196): Rename to __memset_z196.
34642         Jump to __memset_mvcle instead of memset_mvcle.
34643         (memset_z10): Rename to __memset_z10.
34644         Jump to __memset_mvcle instead of memset_mvcle.
34645         (memset_mvcle) Rename to __memset_mvcle.
34646         (memset): Set alias to __memset_z900.
34648 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
34650         [BZ #17748]
34651         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
34652         __fesetenv instead of fesetenv.
34654 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34656         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
34657         macro.
34659 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34661         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
34662         regression on LE.
34664         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
34665         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
34666         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34667         strncmp-power8 object.
34668         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34669         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
34670         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
34671         * NEWS: Update.
34673 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34674             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34676         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
34677         trailing byte check.
34679 2015-01-13  David S. Miller  <davem@davemloft.net>
34681         * include/signal.h (__sigreturn): Guard with __USE_MISC.
34683 2015-01-13  Roland McGrath  <roland@hack.frob.com>
34685         * login/logout.c (logout): Use memset rather than bzero.
34686         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
34687         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
34688         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
34689         (_gethtbyaddr): Likewise.
34690         * locale/programs/simple-hash.c (bcopy): Macro removed.
34692 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34694         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34695         Add strcmp-power8 object.
34696         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34697         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
34698         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
34699         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
34700         __strcmp_power8 implementation.
34701         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
34702         * NEWS: Update.
34704         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34705         Add strncpy-power8 and stpncpy-power8 objects.
34706         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34707         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
34708         implementations.
34709         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
34710         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
34711         __stpncpy_power8 implementation.
34712         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
34713         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
34714         __strncpy_power8 implementation.
34715         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
34716         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
34717         * NEWS: Update.
34719         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
34720         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
34721         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
34723         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34724         strncat-power8 object.
34725         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
34726         __strcat_power8 implementation.
34727         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34728         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
34729         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
34730         optimized strcat for power8.
34732         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34733         strcpy-power8 and stpcpy-power8 objects.
34734         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34735         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
34736         implementations.
34737         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
34738         multiarch stpcpy implementation for POWER8.
34739         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
34740         multiarch strcpy implementation for POWER8.
34741         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
34742         __strcpy_power8 function.
34743         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
34744         stpcpy for POWER8.
34745         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
34746         strcpy for POWER8.
34747         * NEWS: Update.
34749 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
34751         [BZ #16009]
34752         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
34753         weights and rules. Use do_xfrm_cached if data fits in cache,
34754         do_xfrm otherwise.  Moved former main loop to...
34755         * (do_xfrm_cached): New function.
34756         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
34757         find_idx, find_position and stack_push.
34758         * (find_idx): New function.
34759         * (find_position): Likewise.
34760         * localedata/sort-test.sh: Added test run for do_xfrm.
34761         * localedata/xfrm-test.c (main): Added command line option
34762         -nocache to run the test with strings that are too large for
34763         the STRXFRM cache.
34765 2015-01-13  Torvald Riegel  <triegel@redhat.com>
34767         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
34768         variable to lll_futex_wake call, not the value itself.
34770 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
34772         [BZ #17803]
34773         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
34774         twom64.  Adjust value to 0x1p-64L.
34775         (__scalblnl): Only return standard underflowing result for K <=
34776         -64 not K <= -63; adjust exponent for underflowing result by 64
34777         not 63.
34778         * math/libm-test.inc (scalbn_test_data): Add more tests.
34779         (scalbln_test_data): Likewise.
34781         [BZ #17834]
34782         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
34783         0x1p63L.
34784         (__scalblnl): Get new exponent of adjusted subnormal value from ES
34785         not HX.
34786         * math/libm-test.inc (scalbn_test_data): Add more tests.
34787         (scalbln_test_data): Likewise.
34789 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34790             Stefani Seibold  <stefani@seibold.net>
34792         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
34793         (sysdep_routines): Add dl-vdso here, ...
34794         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
34795         (sysdep_routines): ... not here.
34796         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
34797         fallback when vDSO is not presented.
34798         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
34799         Define with libc_hidden_proto/libc_hidden_data_def definitions.
34800         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
34801         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
34802         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
34803         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
34804         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
34805         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
34806         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
34807         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
34808         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
34809         fallback configurable symbol when vDSO is not available.
34810         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
34811         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
34812         be able to redefine fallback symbol when vDSO is not available.
34813         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
34814         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
34816 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34818         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
34819         (TLS_INIT_TP): Add tm_capable initialization.
34820         (TLS_DEFINE_INIT_TP): Likewise.
34821         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
34822         TCB.
34823         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
34824         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
34825         calculation.
34826         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
34827         transactoion is lock elision is built and TCB tm_capable is set.
34828         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
34829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34830         (INTERNAL_SYSCALL_NCS): Likewise.
34831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34832         (INTERNAL_SYSCALL_NCS): Likewise.
34833         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
34835         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
34836         for powerpc.
34837         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34838         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
34839         and remove it for 32 bits case.
34840         [pthread_rwlock_t] (__rwelision): New field for lock elision.
34841         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
34842         initialization.
34843         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
34844         Disable lock elision with rdlocks if elision is not available.
34846         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
34847         (sysdep_routines): Add lock elision objects.
34848         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34849         [pthread_mutex_t] (__spins): Rework to add lock elision field.
34850         [pthread_mutex_t] (__elision): Add field.
34851         [__PTHREAD_SPINS]: Adjust to init lock elision field.
34852         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
34853         elision definitions for powerpc.
34854         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
34855         implementation of lock elision for powerpc.
34856         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
34857         implementation of timed lock elision for powerpc.
34858         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
34859         implementation of trylock with lock elision for powerpc.
34860         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
34861         implementaion of unlock for lock elision for powerpc.
34862         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
34863         automatic enable lock elision for mutexes.
34864         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
34865         transaction execution definitions for powerpc.
34866         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
34867         definitions.
34868         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
34869         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
34870         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
34871         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
34872         * NEWS: Update.
34874 2015-01-09  Roland McGrath  <roland@hack.frob.com>
34876         * sysdeps/posix/shm-directory.c: Use <> rather than ""
34877         for #include of <shm-directory.h>.
34879 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
34881         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
34882         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
34884 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
34886         [BZ #17791]
34887         * NEWS: Mention bug fix.
34888         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
34889         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
34890         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
34892 2015-01-09  Torvald Riegel <triegel@redhat.com>
34894         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
34896 2015-01-09  Torvald Riegel <triegel@redhat.com>
34898         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
34900 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34902         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
34903         pointer and cast to uintptr_t.
34905 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34907         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
34908         removed.
34909         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
34911 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34913         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
34914         of 0.
34916 2015-01-08  Roland McGrath  <roland@hack.frob.com>
34918         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
34919         <nptl/pthreadP.h> instead.
34920         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
34922         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
34923         already defined.
34924         [__SIGRTMIN] (init): Function removed.
34925         [__SIGRTMIN] (initialized): Variable removed.
34926         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
34927         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
34928         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
34929         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
34930         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
34931         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
34932         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
34933         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
34934         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
34935         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
34936         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
34937         * sysdeps/nptl/allocrtsig.c: New file.
34938         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
34939         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
34940         * sysdeps/generic/testrtsig.h: File removed.
34942         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
34943         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
34945         * nptl/nptl-init.c (pthread_functions): Conditionalize
34946         .ptr__nptl_setxid initialization on [SIGSETXID].
34948         * sysdeps/nptl/sys/procfs.h: New file.
34949         * nptl_db/Makefile (headers): Add it.
34950         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
34952         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
34953         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
34954         * nptl/pthread_attr_setaffinity.c: Include it.
34955         * nptl/pthread_setattr_default_np.c: Likewise.
34956         * nptl/check-cpuset.h: New file.
34958 2015-01-08  Richard Henderson  <rth@redhat.com>
34960         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
34961         (CFLAGS-tst-execstack-prog.c): Likewise.
34962         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
34964 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
34965             Sandra Loosemore  <sandra@codesourcery.com>
34966             Andrew Jenner  <andrew@codesourcery.com>
34967             Joseph Myers  <joseph@codesourcery.com>
34968             Nathan Sidwell  <nathan@codesourcery.com>
34970         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
34971         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
34972         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
34973         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
34974         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
34975         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
34976         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
34977         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
34978         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
34979         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
34980         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
34981         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
34982         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
34983         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
34984         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
34985         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
34986         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
34988 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34990         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
34991         timespec struct member in syscall macro.
34992         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
34993         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
34994         first timeval struct member in syscall macro.
34995         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
34997 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
34999         [BZ #17748]
35000         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
35001         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
35002         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
35003         __feupdateenv and define as weak alias of __feupdateenv.  Use
35004         libm_hidden_weak.
35005         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
35006         libm_hidden_def.
35007         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
35008         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
35009         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
35010         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
35011         libm_hidden_def.
35012         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
35013         __feupdateenv and define as weak alias of __feupdateenv.  Use
35014         libm_hidden_weak.
35015         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
35016         libm_hidden_def.
35017         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
35018         __feupdateenv and define as weak alias of __feupdateenv.  Use
35019         libm_hidden_weak.
35020         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
35021         libm_hidden_def.
35022         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35023         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
35024         (__feupdateenv): Likewise.
35025         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
35026         __feupdateenv and define as weak alias of __feupdateenv.  Use
35027         libm_hidden_weak.
35028         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35029         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
35030         libm_hidden_def.
35031         * sysdeps/tile/math_private.h (__feupdateenv): New inline
35032         function.
35033         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
35034         libm_hidden_def.
35035         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
35036         __feupdateenv instead of feupdateenv.
35037         (default_libc_feupdateenv_test): Likewise.
35038         (libc_feresetround_ctx): Likewise.
35040 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35042         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
35043         prototype.
35045 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
35047         * posix/regcomp.c (parse_bracket_exp): Initialize type to
35048         COLL_SYM in a couple of places to avoid uninitialized variable
35049         wanings on tilegx gcc 4.8.2.
35051 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
35053         * sysdeps/aarch64/strcpy.S: New file.
35054         * sysdeps/aarch64/stpcpy.S: New file.
35055         * NEWS: Updated.
35057 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
35059         * sysdeps/aarch64/strrchr.S: New file.
35060         * NEWS: Updated.
35062 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
35064         [BZ #17658]
35065         * stdlib/setenv.c: Fix memory leak when setting large,
35066         duplicate string.
35068 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
35070         [BZ #17273]
35071         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
35072         and tabs from buffer before parsing fstab entry.
35073         * misc/tst-mntent.c (main): Add test for mount entry with
35074         trailing spaces and tabs.
35076 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
35078         [BZ #17748]
35079         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
35080         * math/fesetround.c (fesetround): Rename to __fesetround and
35081         define as weak alias of __fesetround.  Use libm_hidden_weak.
35082         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
35083         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
35084         * sysdeps/arm/fesetround.c (fesetround): Likewise.
35085         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
35086         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
35087         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
35088         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
35089         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
35090         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
35091         __fesetround_inline.
35092         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
35093         __fesetround_inline instead of __fesetround.
35094         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
35095         __fesetround and define as weak alias of __fesetround.  Use
35096         libm_hidden_weak.  Call __fesetround_inline instead of
35097         __fesetround.
35098         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
35099         __fesetround and define as weak alias of __fesetround.  Use
35100         libm_hidden_weak.
35101         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
35102         Likewise.
35103         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
35104         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35105         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
35106         * sysdeps/tile/math_private.h (__fesetround): New inline function.
35107         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
35108         __fesetround and define as weak alias of __fesetround.  Use
35109         libm_hidden_weak.
35110         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
35111         __fesetround instead of fesetround.
35112         (default_libc_feholdexcept_setround): Likewise.
35113         (libc_feholdsetround_ctx): Likewise.
35114         (libc_feholdsetround_noex_ctx): Likewise.
35116         [BZ #17748]
35117         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
35118         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
35119         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
35120         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
35121         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35122         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
35123         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35124         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
35125         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35126         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35127         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35128         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35129         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35130         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35131         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
35132         libm_hidden_def.
35133         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
35134         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
35135         Likewise.
35136         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35137         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35138         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35139         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35140         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
35141         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
35142         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
35143         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
35144         __fesetenv instead of fesetenv.
35145         (libc_feresetround_noex_ctx): Likewise.
35146         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
35147         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
35148         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
35149         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
35150         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
35151         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
35152         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35153         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
35154         (__feupdateenv): Likewise.
35155         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35156         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35157         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35158         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
35160 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
35162         [BZ #17806]
35163         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
35164         addresses have been freed.
35166 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
35168         * resolv/res_init.c (__res_vinit): Improve comments about nserv
35169         and nservall.
35171 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
35173         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
35174         Clean up check_pf allocation pattern. addresses
35176 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35178         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
35179         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
35180         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
35181         * nptl/pthread_exit.c (__pthread_exit): Likewise.
35182         * nptl/pthread_join.c (pthread_join): Likewise.
35183         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
35184         * sysdeps/posix/waitid.c (__waitid): Likewise.
35185         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
35186         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
35187         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
35188         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
35189         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
35190         Likewise.
35191         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
35192         (__libc_pread64): Likewise.
35193         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
35194         (__libc_pwrite): Likewise.
35195         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
35196         (__libc_pwrite64): Likewsie.
35197         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
35198         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
35199         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
35200         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
35201         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
35202         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
35203         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
35204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
35205         Likewise.
35206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35207         (__libc_pread64): Likewise.
35208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
35209         Likewise.
35210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35211         (__libc_pwrite64): Likewise.
35212         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
35213         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
35214         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
35215         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
35216         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
35217         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
35218         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
35219         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
35220         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
35221         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
35222         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
35223         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
35224         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
35225         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
35226         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
35227         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
35228         Likewise.
35230 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
35232         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
35233         (CFLAGS-test-double.c): Likewise.
35234         (CFLAGS-test-ldouble.c): Likewise.
35235         (CPPFLAGS-test-ifloat.c): Likewise.
35236         (CPPFLAGS-test-idouble.c): Likewise.
35237         (CPPFLAGS-test-ildoubl.c): Likewise.
35238         (CFLAGS-test-test-fenv.c): Remove variable.
35239         (CFLAGS-test-misc.c): Likewise.
35241 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
35243         [BZ #17797]
35244         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
35245         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
35246         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
35247         CLOCKS_PER_SEC == 1000000.
35248         * time/clocktest.c (main): Replace %ld with %jd and cast to
35249         intmax_t.
35251 2015-01-05  Roland McGrath  <roland@hack.frob.com>
35253         * sysdeps/generic/unwind-resume.h: New file.
35254         * sysdeps/gnu/unwind-resume.c: Include it.
35255         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
35256         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
35257         argument list.
35258         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
35259         global rather than static.
35260         (_Unwind_Resume): Update user.
35261         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
35262         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
35263         rather than static.  Add __attribute__ ((cold)).
35264         (_Unwind_Resume, __gcc_personality_v0): Update callers.
35265         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
35266         * sysdeps/arm/arm-unwind-resume.S: New file.
35267         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
35268         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
35269         * sysdeps/arm/Makefile [$(subdir) = csu]
35270         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
35271         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
35272         Add rt-arm-unwind-resume.
35273         [$(subdir) = nptl]
35274         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35275         Add pt-arm-unwind-resume.
35276         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
35277         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
35279 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35281         [BZ #17748]
35282         * include/fenv.h (__feholdexcept): Declare.  Use
35283         libm_hidden_proto.
35284         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
35285         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
35286         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35287         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
35288         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
35289         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
35290         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
35291         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35292         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
35293         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
35294         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35295         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
35296         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
35297         (feholdexcept): Likewise.
35298         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35299         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35300         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35301         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35302         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
35303         __feholdexcept instead of feholdexcept.
35304         (default_libc_feholdexcept_setround): Likewise.
35306 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35308         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
35309         to avoid using stl/str to align destination.
35311 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35313         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
35315 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35317         [BZ #17796]
35318         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
35319         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
35320         Define as weak alias not strong alias.
35322 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35324         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
35325         bltzal with addiupc.
35326         (RTLD_START): Ditto.
35328 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
35330         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
35331         for __vdso_* functions in declarations.
35332         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
35333         definitions.
35334         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
35335         INTERNAL_VSYSCALL): Use struct return types to check for error.
35337         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
35338         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
35339         function with cast from llround().
35340         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
35341         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
35342         Define.
35344 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35346         [BZ #17793]
35347         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
35348         Define as weak alias not strong alias.
35350         [BZ #17635]
35351         * ctype/ctype-c99.c: New file.  isblank implementation moved from
35352         ...
35353         * ctype/ctype-extn.c: ... here.
35354         (__isblank_l): Move to ...
35355         * ctype/ctype-c99_l.c: ... here.  New file.
35356         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
35357         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
35358         Remove variable.
35359         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
35360         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
35361         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
35362         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
35363         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
35365         [BZ #17777]
35366         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
35367         (posix_fadvise64): Define as weak alias not strong alias.
35368         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35369         (posix_fallocate64): Likewise.
35370         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
35371         Remove variable.
35372         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
35373         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
35374         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
35375         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
35376         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
35378 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
35380         [BZ #16191]
35381         * NEWS: Mention bug fix.
35382         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
35383         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
35384         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
35385         (HOST_STACK_END_ADDR): Likewise.
35387 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
35389         [BZ #17748]
35390         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
35391         * math/fegetround.c (fegetround): Rename to __fegetround and
35392         define as weak alias of __fegetround.  Use libm_hidden_weak.
35393         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
35394         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
35395         * sysdeps/arm/fegetround.c (fegetround): Likewise.
35396         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
35397         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
35398         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
35399         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
35400         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
35401         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
35402         Undefine after rather than before function definition; use
35403         parentheses around function name in definition.
35404         (__fegetround): Also undefine macro after function definition.
35405         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
35406         __fegetround and define as weak alias of __fegetround.  Use
35407         libm_hidden_weak.  Do not undefine as macro.
35408         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
35409         Likewise.
35410         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
35411         __fegetround and define as weak alias of __fegetround.  Use
35412         libm_hidden_weak.
35413         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35414         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
35415         * sysdeps/tile/math_private.h (__fegetround): New inline function.
35416         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
35417         __fegetround and define as weak alias of __fegetround.  Use
35418         libm_hidden_weak.
35419         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
35420         __fegetround instead of fegetround.
35422         [BZ #17782]
35423         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
35424         Condition macro definition on [__USE_MISC].
35426         [BZ #17781]
35427         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
35428         (struct sigaction): Change type of sa_flags field to int.
35430         [BZ #17780]
35431         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
35432         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
35433         __glibc_reserved0.
35435         * nptl/version.c (banner): Use single year in copyright notice.
35437         * NEWS: Update copyright dates.
35438         * catgets/gencat.c (print_version): Likewise.
35439         * csu/version.c (banner): Likewise.
35440         * debug/catchsegv.sh: Likewise.
35441         * debug/pcprofiledump.c (print_version): Likewise.
35442         * debug/xtrace.sh (do_version): Likewise.
35443         * elf/ldconfig.c (print_version): Likewise.
35444         * elf/ldd.bash.in: Likewise.
35445         * elf/pldd.c (print_version): Likewise.
35446         * elf/sotruss.sh: Likewise.
35447         * elf/sprof.c (print_version): Likewise.
35448         * iconv/iconv_prog.c (print_version): Likewise.
35449         * iconv/iconvconfig.c (print_version): Likewise.
35450         * locale/programs/locale.c (print_version): Likewise.
35451         * locale/programs/localedef.c (print_version): Likewise.
35452         * login/programs/pt_chown.c (print_version): Likewise.
35453         * malloc/memusage.sh (do_version): Likewise.
35454         * malloc/memusagestat.c (print_version): Likewise.
35455         * malloc/mtrace.pl: Likewise.
35456         * manual/libc.texinfo: Likewise.
35457         * nptl/version.c (banner): Likewise.
35458         * nscd/nscd.c (print_version): Likewise.
35459         * nss/getent.c (print_version): Likewise.
35460         * nss/makedb.c (print_version): Likewise.
35461         * posix/getconf.c (main): Likewise.
35462         * scripts/test-installation.pl: Likewise.
35463         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
35465 2015-01-02  Will Newton  <will.newton@linaro.org>
35467         * sysdeps/arm/armv7/configure: Removed.
35468         * sysdeps/arm/armv7/configure.ac: Likewise.
35470 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
35472         * All files with FSF copyright notices: Update copyright dates
35473         using scripts/update-copyrights.
35474         * intl/plural.c: Regenerated.
35475         * locale/programs/charmap-kw.h: Likewise.
35476         * locale/programs/locfile-kw.h: Likewise.
35478 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35480         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
35482 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
35484         [BZ #17748]
35485         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
35486         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
35487         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
35488         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
35489         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35490         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
35491         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35492         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
35493         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35494         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35495         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35496         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35497         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35498         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35499         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
35500         libm_hidden_def.
35501         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
35502         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
35503         Likewise.
35504         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35505         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35506         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35507         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35508         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
35509         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
35510         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
35511         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
35512         __fegetenv instead of fegetenv.
35513         (libc_feholdsetround_noex_ctx): Likewise.
35515 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
35517         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
35518         (Elf_MIPS_ABIFlags_v0): New structure.
35519         (EF_MIPS_FP64): Define.
35520         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
35521         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
35522         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
35523         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
35524         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
35525         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
35526         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
35527         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
35528         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
35529         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
35530         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
35531         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
35532         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
35533         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
35534         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
35535         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
35536         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
35537         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
35538         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
35539         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
35540         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
35541         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
35542         field.
35543         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
35544         EF_MIPS_FP64.
35545         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
35546         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
35547         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
35548         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
35549         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
35550         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
35551         * sysdeps/mips/tst-abi-interlink.c: Likewise.
35552         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
35553         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
35554         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
35555         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
35556         record the current FP ABI extension.
35557         (mips-mode-switch): Define to show if kernel headers support mode
35558         switching.
35559         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
35560         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
35561         supported SYSV ABI version to 3.
35562         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
35563         feature.
35565 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35566             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35568         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
35569         path.
35570         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
35572 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
35574         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
35575         __fegetround and redefine to call __fegetround.  Remove condition
35576         on [!__NO_MATH_INLINES].
35577         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
35578         function.
35579         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
35580         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
35581         Remove macro.
35582         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
35583         instead of <fenv_libc.h>.
35584         (__llrintl): Call fegetround instead of __fegetround.
35585         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
35586         instead of <fenv_libc.h>.
35587         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35588         (__lrintl): Call fegetround instead of __fegetround.
35589         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
35590         instead of <fenv_libc.h>.
35591         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35592         (__rintl): Call fegetround instead of __fegetround.
35594 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35596         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
35597         arrays.
35599 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
35601         [BZ #17775]
35602         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
35603         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
35604         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
35606 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
35608         * sysdeps/i386/tls-macros.h: Include <features.h>.
35609         (TLS_LE): Use non-PIC version for GCC >= 5.0.
35610         (TLS_IE): Likewise.
35611         (TLS_LD): Likewise.
35612         (TLS_GD): Likewise.
35613         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
35614         define for GCC >= 5.0.
35616 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
35618         * math/test-fenv.c (test_single_exception, set_single_exc,
35619         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
35620         feexcp_mask_test, feenable_test, fe_single_test): Add
35621         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
35622         case where they are not used.
35623         * math/libm-test.inc: Likewise.
35624         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
35625         unused in the absence of FP rounding/exception support.
35626         * stdio-common/tst-printf-round.c: Likewise.
35627         * stdlib/tst-strtod-round.c: Likewise.
35628         * stdlib/tst-strtod-underflow.c: Likewise.
35630 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
35632         [BZ #17723]
35633         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
35634         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
35635         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35636         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35637         libm_hidden_weak.
35638         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
35639         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
35640         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
35641         libm_hidden_def.
35642         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35643         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35644         libm_hidden_weak.
35645         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
35646         Likewise.
35647         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
35648         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35649         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35650         libm_hidden_weak.
35651         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
35652         libm_hidden_def.
35653         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
35654         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
35655         (__feraiseexcept): Likewise.
35656         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35657         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35658         libm_hidden_weak.
35659         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
35660         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
35661         libm_hidden_def.
35662         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
35663         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
35664         Use libm_hidden_def.
35665         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
35666         libm_hidden_def.
35667         (feraiseexcept): Define as weak not strong alias.  Use
35668         libm_hidden_weak.
35669         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
35670         New inline function.  Factored out of ...
35671         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
35672         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
35673         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
35674         feraiseexcept.
35675         * math/w_acos.c (__acos): Likewise.
35676         * math/w_asin.c (__asin): Likewise.
35677         * math/w_ilogb.c (__ilogb): Likewise.
35678         * math/w_j0.c (y0): Likewise.
35679         * math/w_j1.c (y1): Likewise.
35680         * math/w_jn.c (yn): Likewise.
35681         * math/w_log.c (__log): Likewise.
35682         * math/w_log10.c (__log10): Likewise.
35683         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
35684         * sysdeps/aarch64/fpu/math_private.h
35685         (libc_feupdateenv_test_aarch64): Likewise.
35686         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
35687         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
35688         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
35689         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
35690         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
35691         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
35692         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
35693         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35694         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35695         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35697 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
35699         [BZ #17732]
35700         * io/test-utime.c (main): Replace %ld with %jd and cast to
35701         intmax_t.
35702         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
35703         * nptl/tst-mutex5.c: Include <stdint.h>.
35704         (do_test): Replace %ld with %jd and cast to intmax_t.
35705         * posix/tst-regex.c (run_test): Likewise.
35706         (run_test_backwards): Likewise.
35707         * rt/tst-clock.c: Include <stdint.h>.
35708         (clock_test): Replace %ld with %jd and cast to intmax_t.
35709         * rt/tst-cpuclock1.c: Include <stdint.h>.
35710         (do_test): Replace %lu with %ju and cast to uintmax_t.
35711         * rt/tst-cpuclock2.c: Include <stdint.h>.
35712         (do_test): Replace %lu with %ju and cast to uintmax_t.
35713         * rt/tst-mqueue1.c: Include <stdint.h>.
35714         (check_attrs): Replace %ld with %jd and cast to intmax_t.
35715         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
35716         intmax_t.
35717         * rt/tst-mqueue4.c (do_test): Likewise.
35718         * rt/tst-timer4.c: Include <stdint.h>.
35719         (check_ts): Replace %ld with %jd and cast to intmax_t.
35720         (do_test): Likewise.
35721         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
35722         and cast to intmax_t.
35723         * sysdeps/pthread/tst-timer.c (main): Likewise.
35724         * time/clocktest.c (main): Likewise.
35725         * time/tst-posixtz.c (do_test): Likewise.
35726         * timezone/tst-timezone.c (main): Likewise.
35728 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
35729             H.J. Lu  <hongjiu.lu@intel.com>
35731         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
35732         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35733         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
35734         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
35735         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
35736         version if bit_Fast_Unaligned_Load is set.
35737         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35738         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35739         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35740         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35741         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35742         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35743         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35744         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
35745         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
35746         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
35747         to 4.
35748         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
35749         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
35750         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
35751         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
35753 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
35755         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
35756         instead of #if to avoid a Wundef warning.
35757         * stdlib/tst-limits.c (do_test): Likewise.
35759         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
35760         parallel other exception macros.
35761         (fegetenv): Convert from macro to extern inline so that it applies
35762         retroactively to inline functions already seen by the compiler.
35763         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
35765         * posix/Makefile (before-compile): Use $(objpfx) for
35766         posix-conf-vars-def.h.
35768 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35770         * posix/getconf.c (main): Use size_t for type of I.
35771         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
35772         NSPEC.
35774         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
35775         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
35776         * posix/posix-envs.def: Likewise.
35777         * sysdeps/posix/sysconf.c: Likewise.
35778         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
35779         (specs): Remove array.
35780         * scripts/gen-posix-conf-vars.awk: Support generation of specs
35781         array.
35783         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
35784         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
35785         (__sysconf): Use CONF_IS_* macros.
35787         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
35788         ($(objpfx)posix-conf-vars-def.h): New target.
35789         * posix/posix-conf-vars.list: New file.
35790         * posix/posix-conf-vars.h: New file.
35791         * posix/confstr.c: Include posix-conf-vars.h.
35792         (confstr): Use CONF_IS_* macros.
35793         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
35794         CONF_IS_* macros.
35795         * scripts/gen-posix-conf-vars.awk: New file.
35797 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
35799         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
35800         fegetround): Add no-op macros to avoid linknamespace issues.
35802         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
35803         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
35805         * sysdeps/unix/sysv/linux/tile/sysdep.h
35806         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
35807         assembly-specific section to avoid a redefinition warning.
35809         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
35810         long before casting to pointer to avoid a cast warning.
35812 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
35814         * sysdeps/tile/tilegx/Implies: New file.
35816 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
35818         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
35820 2014-12-23  Florian Weimer  <fweimer@redhat.com>
35822         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
35824 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35826         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
35827         not define.
35828         * sysdeps/unix/sysv/linux/utimes.c: Do not include
35829         <kernel-features.h>.
35830         (__utimes) [__NR_utimes]: Make code unconditional.
35831         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
35832         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35833         (__ASSUME_UTIMES): Do not undefine.
35834         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35835         (__ASSUME_UTIMES): Likewise.
35836         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35837         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
35838         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
35839         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
35841 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
35843         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
35845 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
35847         [BZ #17747]
35848         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
35849         alias to weak alias for j0l, y0l.
35850         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
35851         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
35853         [BZ #17746]
35854         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
35855         conversion.
35857 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
35859         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
35860         to zero if not already defined.
35862 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35864         [BZ #17724]
35865         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
35866         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
35867         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
35868         (char *) casts added.
35869         * sysdeps/ieee754/k_standardf.c: New file.
35870         * sysdeps/ieee754/k_standardl.c: Likewise.
35871         * math/Makefile (libm-support): Remove k_standard.
35872         (libm-calls): Add k_standard.
35874 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35876         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
35877         Optimize to avoid an unnecessary FPCR read.
35879 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35881         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
35882         Optimize to reduce FPCR/FPSR accesses.
35884 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35886         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
35887         Call libc_fetestexcept_aarch64.
35889 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35891         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
35892         Call libc_fesetround_aarch64.
35894 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35896         [BZ #17733]
35897         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
35898         (__bind): Do not define as weak alias.
35899         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
35900         define.
35901         (__getsockname): Do not define as weak alias.
35903 2014-12-22  Will Newton  <will.newton@linaro.org>
35905         * manual/install.texi: Document that we require bison 2.7
35906         or above.
35907         * INSTALL: Regenerate.
35908         * configure.ac: Use AC_CHECK_PROG_VER instead of
35909         AC_PATH_PROG when checking for bison and check for
35910         version 2.7 or above.
35911         * configure: Regenerate.
35913 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
35915         [BZ #17745]
35916         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
35917         * sysdeps/tile/ffsll.c (ffsll): To here.
35919         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
35921 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
35923         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
35924         if not defined.
35925         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
35926         definition.
35927         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
35928         hidden ___tls_get_addr.
35929         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
35930         hidden __tls_get_addr.
35931         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
35932         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
35933         Likewise.
35935 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
35937         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
35938         _dl_init call.
35940 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
35942         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
35943         from "call _dl_init@PLT".
35944         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
35946 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
35948         * manual/search.texi: (Array Sort Function): Clarify stable sorting
35949         guarantees.
35951 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
35953         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
35955 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
35957         [BZ #17744]
35958         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
35959         strnlen.
35961 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
35963         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
35964         of multu on MIPSr6.
35965         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
35966         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
35967         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
35968         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
35969         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
35971 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
35973         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
35974         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
35975         (PTR_SUBU): Use subu for mips32r6/mips64r6.
35976         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
35977         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
35978         mips32r6/mips64r6.
35979         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
35981 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
35983         * string/strncat.c (STRNCAT): Simplify implementation.
35985 2014-12-19  David S. Miller  <davem@davemloft.net>
35987         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
35988         access the quad as both a long double and as a series of 4 words.
35990         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
35991         link_map->l_info array access.
35993 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
35995         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
35997         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
35998         * math/atest-exp2.c (TIMEOUT): Likewise.
35999         * math/atest-sincos.c (TIMEOUT): Likewise.
36001 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36003         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
36004         -Wno-error with -fno-builtin-lround.
36006 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36008         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
36009         Contains futex constants and functions moved over from ...
36010         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
36011         <lowlevellock-futex.h>.
36012         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
36013         (lll_timedwait_tid): Add comments and parentheses around macro
36014         arguments.
36016 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36018         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
36019         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
36020         (__lll_private_flag): Remove.
36021         (lll_futex_wait): Likewise.
36022         (lll_futex_timed_wait): Likewise.
36023         (lll_futex_wake): Likewise.
36024         (lll_futex_requeue): Likewise.
36025         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
36026         (__lll_timedwait_tid): Spell out argument names.
36027         (lll_timedwait_tid): Add comments and parentheses around macro
36028         arguments.
36029         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
36030         LLL_SHARED and LLL_PRIVATE usable from assembly code.
36032 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36034         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
36035         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
36036         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36037         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
36038         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
36039         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
36040         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
36041         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
36042         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
36043         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
36044         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
36045         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
36046         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
36047         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
36048         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
36049         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
36050         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
36051         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
36052         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
36054 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36056         * sysdeps/x86_64/x32/Makefile: New file.
36058 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36060         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
36061         1L with (mp_limb_t) 1.
36063 2014-12-17  Roland McGrath  <roland@hack.frob.com>
36065         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
36066         * nptl/libc_pthread_init.c: ... here.
36067         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
36068         * nptl/register-atfork.c: ... here.
36070         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
36071         Use pthread_sigmask rather than INTERNAL_SYSCALL.
36072         Use assert_perror to check its return value.
36073         (__gai_create_helper_thread): Likewise.
36075         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
36077         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
36079 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
36081         [BZ #17725]
36082         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
36083         __profil_counter.
36084         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
36085         Likewise.
36086         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
36087         Likewise.
36088         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
36089         Likewise.
36090         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
36091         (profil_counter): Likewise.
36092         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
36093         (profil_counter): Likewise.
36094         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
36095         Likewise.
36096         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
36097         Likewise.
36098         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
36099         (profil_counter): Likewise.
36100         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
36101         Likewise.
36102         [!__profil_counter] (profil_counter): Define as weak alias of
36103         __profil_counter.
36104         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
36105         (profil_counter): Rename to __profil_counter.
36106         [!__profil_counter] (profil_counter): Define as weak alias of
36107         __profil_counter.
36108         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
36109         (profil_counter): Rename to __profil_counter.
36110         [!__profil_counter] (profil_counter): Define as weak alias of
36111         __profil_counter.
36112         * sysdeps/posix/profil.c: Update comment referring to
36113         profil_counter.
36114         (__profil): Use __profil_counter instead of profil_counter.
36115         * sysdeps/posix/sprofil.c (profil_counter): Rename to
36116         __profil_counter.  Use __profil_counter_ushort and
36117         __profil_counter_uint in definitions.
36118         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
36119         instead of profil_counter_uint and profil_counter_ushort.
36121         [BZ #17722]
36122         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
36123         define as weak alias of __inet_makeaddr.
36124         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
36125         as weak alias of __inet_addr.
36126         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
36127         as weak alias of __inet_pton.  Use libc_hidden_weak.
36128         * include/arpa/inet.h (__inet_pton): Declare.  Use
36129         libc_hidden_proto.
36130         (inet_makeaddr): Don't use libc_hidden_proto.
36131         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
36132         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
36133         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
36134         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
36135         Remove variable.
36136         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
36137         (test-xfail-POSIX/time.h/linknamespace): Likewise.
36139 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
36141         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
36143 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36145         * stdio-common/bug-vfprintf-nargs.c (do_test):
36146         Cast value to intptr_t to avoid format warning
36147         for usage with PRIdPTR printing macro.
36149 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36151         * libio/tst-widetext.c (do_test):
36152         Use format type %td instead of %Zd for ptrdiff_t
36153         in order to avoid format warning.
36155 2014-12-17  Andreas Schwab  <schwab@suse.de>
36157         * nscd/mem.c (gc): Add size_t cast to match printf format.
36159 2014-12-16  Roland McGrath  <roland@hack.frob.com>
36161         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
36162         (init): Apply PTR_MANGLE to pointers before storing them.
36163         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
36164         before using them.
36166 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
36168         [BZ #17719]
36169         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
36170         define as weak alias of __memrchr.
36171         (__memrchr): Do not define as strong alias of memrchr.
36172         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
36173         Remove variable.
36174         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
36175         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
36176         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
36178         [BZ #17717]
36179         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
36180         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
36181         (if_indextoname): Rename to __if_indextoname and define as weak
36182         alias of __if_indextoname.  Use libc_hidden_weak.
36183         (if_freenameindex): Rename to __if_freenameindex and define as
36184         weak alias of __if_freenameindex.
36185         (if_nameindex): Rename to __if_nameindex and define as weak alias
36186         of __if_nameindex.
36187         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
36188         __if_nametoindex and define as weak alias of __if_nametoindex.
36189         Use libc_hidden_weak.
36190         (if_freenameindex): Rename to __if_freenameindex and define as
36191         weak alias of __if_freenameindex.
36192         (if_nameindex): Rename to __if_nameindex and define as weak alias
36193         of __if_nameindex.
36194         (if_indextoname): Rename to __if_indextoname and define as weak
36195         alias of __if_indextoname.  Use libc_hidden_weak.
36196         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
36197         __if_nametoindex and define as weak alias of __if_nametoindex.
36198         Use libc_hidden_weak.
36199         (if_freenameindex): Rename to __if_freenameindex and define as
36200         weak alias of __if_freenameindex.  Use libc_hidden_weak.
36201         (if_nameindex_netlink): Use __if_freenameindex instead of
36202         if_freenameindex.
36203         (if_nameindex): Rename to __if_nameindex and define as weak alias
36204         of __if_nameindex.  Use libc_hidden_weak.
36205         (if_indextoname): Rename to __if_indextoname and define as weak
36206         alias of __if_indextoname.  Use libc_hidden_weak.
36207         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
36208         libc_hidden_proto.
36209         [!_ISOMAC] (__if_freenameindex): Likewise.
36210         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
36211         if_nametoindex.
36212         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
36213         variable.
36214         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
36215         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
36216         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
36217         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
36218         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
36219         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
36220         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
36222         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
36223         Remove variable.
36224         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
36225         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
36227 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36229         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
36230         subscript above bounds'
36232         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
36233         bounds.
36235 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
36237         * libio/tst-fopenloc.c: Use test-skeleton.c.
36239         * stdlib/tst-bsearch.c: Use test-skeleton.c.
36240         (entry): Rename to ITEM.
36241         (do_test, comp): Adjust.
36243         * stdio-common/tst-fseek.c: Use test-skeleton.c.
36245 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36247         * string/tester.c: Include <libc-internal.h>.
36248         (test_memset): Ignore -Wmemset-transposed-args.
36250 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36252         * misc/tst-mntent2.c (do_test): Fix warning.
36254 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36256         * elf/tst-unique4lib.cc(a): Mark as used.
36258 2014-12-16  Florian Weimer  <fweimer@redhat.com>
36260         [BZ #17630]
36261         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
36262         names.
36264 2014-12-16  Allan McRae  <allan@archlinux.org>
36266         * stdio-common/Makefile (tests): Re-add bug26.
36268 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
36270         [BZ #17657]
36271         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
36272         static array.
36274 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
36276         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
36277         (__lll_lock_wait): Likewise.
36278         (__lll_timedlock_wait): Likewise.
36279         (__lll_timedwait_tid): Likewise.
36280         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
36281         (__lll_robust_timedlock_wait): Likewise.
36282         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
36283         (lll_cond_trylock): Likewise.
36284         (__lll_lock): Likewise.
36285         (__lll_robust_lock): Likewise.
36286         (__lll_cond_lock): Likewise.
36287         (lll_robust_cond_lock): Likewise.
36288         (__lll_timedlock): Likewise.
36289         (__lll_robust_timedlock): Likewise.
36290         (__lll_unlock): Likewise.
36291         (__lll_robust_unlock): Likewise.
36292         (lll_wait_tid): Likewise.
36293         (lll_timedwait_tid): Likewise.
36295 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36297         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
36299 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36301         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
36303 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
36305         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
36306         * stdio-common/tst-sprintf.c: Likewise.
36308 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36310         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
36312 2014-12-15  Jeff Law  <law@redhat.com>
36314         [BZ #16617]
36315         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
36316         on the heap.  (CVE-2012-3406)
36317         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
36318         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
36319         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
36321 2014-12-15  Will Newton  <will.newton@linaro.org>
36323         * manual/install.texi: Bump required version of texinfo
36324         to 4.7 from 4.5.
36325         * INSTALL: Regenerated.
36326         * configure.ac: Check for makeinfo version 4.7 and above.
36327         * configure: Regenerated.
36329 2014-12-12  Roland McGrath  <roland@hack.frob.com>
36331         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
36332         PREFIX, string constant to insert between directory and name.
36333         * sysdeps/posix/shm_open.c: Update caller.
36334         * sysdeps/posix/shm_unlink.c: Likewise.
36335         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
36336         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
36337         (SEM_SHM_PREFIX): New macro.
36338         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
36339         [$(have-thread-library) = no].
36340         * nptl/Makefile (libpthread-routines): Add shm-directory.
36341         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
36342         * sysdeps/nptl/shm-directory.h: New file.
36343         * sysdeps/posix/shm-directory.c
36344         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
36345         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
36346         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
36347         INTERNAL_SYSCALL.
36348         (__where_is_shmfs): Function removed.
36349         (mountpoint, defaultmount, defaultdir, __namedsem_once):
36350         Variables removed.
36351         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
36352         Use SHM_GET_NAME.
36353         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
36355         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
36356         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
36357         unconditional for use inside libpthread.
36358         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
36360 2014-12-12  Roland McGrath  <roland@hack.frob.com>
36362         * nptl/pthread_getaffinity.c: New file.
36363         * nptl/pthread_setaffinity.c: New file.
36364         * nptl/pthread_getname.c: New file.
36365         * nptl/pthread_setname.c: New file.
36367         * nptl/pthread_create.c (START_THREAD_DEFN)
36368         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
36370 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36371             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36373         * resolv/res_send.c (send_vc): Disable warning resplen may
36374         be used uninitialized.
36376 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36378         * nptl/tst-mutex6.c
36379         (ATTR_NULL): New define checks ATTR against NULL.
36380         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
36381         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
36383 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
36385         [BZ #17581]
36386         * malloc/hooks.c
36387         (mem2mem_check): Revert my previous change.
36388         (malloc_check_get_size): Revert my previous change.
36389         (mem2chunk_check): Revert my previous change.
36391 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36393         * sysdeps/posix/shm-directory.c: New file.
36394         * sysdeps/posix/shm-directory.h: New file.
36395         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
36396         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
36397         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
36398         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
36399         Transmute EPERM to EACCES.
36400         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
36401         from ...
36402         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
36403         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
36405 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36407         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
36408         pointer and cast to uintptr_t.
36409         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
36410         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
36411         Add cast to avoid warning.
36412         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
36414 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
36416         * nptl/semaphore.h: Move to ...
36417         * sysdeps/pthread/semaphore.h: ... here.
36418         * Makefile (installed-headers): Change nptl/semaphore.h to
36419         sysdeps/pthread/semaphore.h.
36421 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36423         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
36424         generated error format strings.
36426         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
36427         -Wformat-extra-args warnings for scanf formats.
36428         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
36429         test of zero-length format (duh).
36430         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
36431         corner-case scanf format test.
36432         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
36433         generated fprintf format string.
36434         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
36435         corner-case sprintf format tests.
36436         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
36437         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
36438         -Wformat-extra-args warnings throughout.
36439         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
36440         (CFLAGS-scanf4.c): Likewise.
36441         (CFLAGS-scanf7.c): Likewise.
36442         (CFLAGS-tst-sprintf.c): Likewise.
36443         (CFLAGS-tst-printf.c): Likewise.
36444         (CFLAGS-tst-printfsz.c): Likewise.
36446 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
36448         * include/cpio.h: New file.
36449         * include/fmtmsg.h: Likewise.
36451         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
36452         corresponding format argument to size_t.
36453         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
36454         arguments.
36455         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
36456         corresponding format argument to size_t.
36457         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
36458         arguments.
36459         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
36460         corresponding format argument to size_t.
36461         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
36462         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
36463         (CFLAGS-tst-mbswcs2.c): Likewise.
36464         (CFLAGS-tst-mbswcs3.c): Likewise.
36465         (CFLAGS-tst-mbswcs4.c): Likewise.
36466         (CFLAGS-tst-mbswcs5.c): Likewise.
36467         (CFLAGS-tst-trans.c): Likewise.
36469 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36471         * posix/regexbug1.c (main): Use "%s" format with regerror results,
36472         rather than assuming they won't contain any '%'s.
36474 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
36476         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
36477         inhibit_loop_to_libcall to avoid recursive calls.
36478         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
36479         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
36481 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
36483         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
36484         prototype.
36486 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
36488         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
36489         integer value instead of boolean.
36491 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
36493         * malloc/malloc.c: Fix powerof2 check.
36495 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36497         * locale/programs/locfile.h (maybe_swap_uint32):
36498         Remove inline and add unused attribute.
36500 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36502         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
36503         Truncating assembler expression to a .long expression.
36505 2014-12-11  Andreas Schwab  <schwab@suse.de>
36507         * elf/rtld.c (struct map_args): Constify str member.
36508         (do_preload): Constify fname argument.
36510 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36512         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
36513         constants definition.
36515 2014-12-11  Andreas Schwab  <schwab@suse.de>
36517         [BZ #16657]
36518         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
36519         FORCE_ELISION instead of DO_ELISION.
36520         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
36521         Remove.
36522         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
36523         Likewise.
36525         * iconvdata/gconv-modules: Remove duplicate entry.
36527 2014-12-11  Will Newton  <will.newton@linaro.org>
36529         Merge gettext 0.19.3 into intl/.
36531         This involves a number of cosmetic changes to comments
36532         and ANSI function definitions and prototypes throughout
36533         all the files. The gettext copyright header is used but
36534         with the date ranges taken from the glibc copy.
36536         * NEWS: Add gettext merge to 2.21.
36537         * intl/bindtextdom.c: Switch to gettext copyright.
36538         Use ANSI definitions and prototypes.
36539         Use gl_* locking primitives rather than __libc_* ones.
36540         Use __builtin_expect rather than __glibc_likely/unlikely.
36541         * intl/dcgettext.c: Switch to gettext copyright.
36542         Use ANSI definitions and prototypes.
36543         * intl/dcigettext.c: Switch to gettext copyright.
36544         Use ANSI definitions and prototypes.
36545         (INTDIV0_RAISES_SIGFPE): New define.
36546         Use gl_* locking primitives rather than __libc_* ones.
36547         Include eval-plural.h instead of plural-eval.c.
36548         Use __builtin_expect rather than __glibc_likely/unlikely.
36549         * intl/dcngettext.c: Switch to gettext copyright.
36550         Use ANSI definitions and prototypes.
36551         * intl/dgettext.c: Likewise.
36552         * intl/dngettext.c: Likewise.
36553         * intl/plural-eval.c: Renamed to...
36554         * intl/eval-plural.h: ...this.
36555         * intl/explodename.c: Switch to gettext copyright.
36556         Use ANSI definitions and prototypes.
36557         (_nl_explode_name): Use strchr instead of __rawmemchr.
36558         * intl/finddomain.c: Switch to gettext copyright.
36559         Use ANSI definitions and prototypes.
36560         Use gl_* locking primitives rather than __libc_* ones.
36561         (_nl_find_domain): Use malloc rather than alloca for
36562         allocation of temporary locale name.
36563         * intl/gettext.c: Switch to gettext copyright.
36564         Use ANSI definitions and prototypes.
36565         * intl/gettextP.h: Switch to gettext copyright.
36566         Use ANSI definitions and prototypes.
36567         Use gl_* locking primitives rather than __libc_* ones.
36568         * intl/gmo.h: Switch to gettext copyright.
36569         (struct sysdep_string): Move struct segment_pair outside of
36570         struct definition.
36571         * intl/hash-string.c: Use ANSI definitions and prototypes.
36572         * intl/hash-string.h: Switch to gettext copyright.
36573         Use ANSI definitions and prototypes.
36574         * intl/l10nflist.c: Switch to gettext copyright.
36575         Use ANSI definitions and prototypes.
36576         (_nl_normalize_codeset): Avoid integer overflow.
36577         * intl/loadinfo.h: Switch to gettext copyright.
36578         Use ANSI definitions and prototypes.
36579         (LIBINTL_DLL_EXPORTED): New define.
36580         (PATH_SEPARATOR): New define.
36581         * intl/loadmsgcat.c: Switch to gettext copyright.
36582         * intl/localealias.c: Switch to gettext copyright.
36583         Use ANSI definitions and prototypes.
36584         (_nl_expand_alias): Use PATH_SEPARATOR.
36585         * intl/ngettext.c: Switch to gettext copyright.
36586         Use ANSI definitions and prototypes.
36587         * intl/plural-exp.c: Likewise.
36588         * intl/plural-exp.h: Switch to gettext copyright.
36589         Use ANSI definitions and prototypes.
36590         (struct expression): Move definition of enum operator outside
36591         of struct definition.
36592         * intl/plural.c: Regenerate.
36593         * intl/plural.y: Switch to gettext copyright.
36594         Use ANSI definitions and prototypes.
36595         Port to bison 3.0.
36596         * intl/textdomain.c: Switch to gettext copyright.
36597         Use ANSI definitions and prototypes.
36598         Use gl_* locking primitives rather than __libc_* ones.
36600 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
36602         * debug/warning-nop.c: Add used atrribute.
36604 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36606         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
36608         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
36609         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
36610         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
36612 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36613             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36615         [BZ #17634]
36616         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
36617         Undefine after defining function.  Define as weak alias of
36618         __wcschr.  Use libc_hidden_weak.
36619         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
36620         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
36621         (libc_hidden_def): Also define __GI___wcschr alias.
36622         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
36623         __wcschr and define as weak alias of __wcschr.
36624         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
36625         __wcschr.
36626         [!WCSCHR] (DEFAULT_WCSCHR): Define.
36627         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
36628         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
36629         libc_hidden_weak.  Do not use libc_hidden_def.
36630         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
36631         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
36632         __GI___wcschr alias.
36633         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
36634         [IS_IN (libc)] (wcschr): Define as macro expanding to
36635         __redirect_wcschr.
36636         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
36637         [IS_IN (libc)] (__wcschr_power6): Likewise.
36638         [IS_IN (libc)] (__wcschr_power7): Likewise.
36639         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
36640         instead of wcschr.
36641         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
36642         __libc_wcschr.
36643         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
36644         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
36645         __wcschr and define as weak alias of __wcschr.  Use
36646         libc_hidden_builtin_def.
36647         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
36648         as weak alias of __wcschr.  Use libc_hidden_weak.
36649         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
36650         wcschr.
36651         * time/era.c (_nl_init_era_entries): Likewise.
36652         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
36653         variable.
36654         (test-xfail-XPG3/time.h/linknamespace): Likewise.
36655         (test-xfail-XPG4/time.h/linknamespace): Likewise.
36657 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36659         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
36660         format for long int variable.
36662 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
36664         [BZ #10672]
36665         * manual/search.texi: (Array Sort Function): Remove claim how to make
36666         qsort stable.
36668 2014-12-10  Andreas Schwab  <schwab@suse.de>
36670         [BZ #12847]
36671         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
36672         user-controlled locks.
36674 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
36676         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
36677         register.
36679 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36681         * configure.ac (--disable-werror): New configure option.
36682         (enable_werror): New AC_SUBST.
36683         * configure: Regenerated.
36684         * config.make.in (enable-werror): New variable.
36685         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
36686         -Wno-error=undef.
36687         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
36688         * manual/install.texi (Configuring and compiling): Document
36689         --disable-werror.
36690         * INSTALL: Regenerated.
36691         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
36692         (CFLAGS-tst-chk2.c): Likewise.
36693         (CFLAGS-tst-chk3.c): Likewise.
36694         (CFLAGS-tst-chk4.cc): Likewise.
36695         (CFLAGS-tst-chk5.cc): Likewise.
36696         (CFLAGS-tst-chk6.cc): Likewise.
36697         (CFLAGS-tst-lfschk1.c): Likewise.
36698         (CFLAGS-tst-lfschk2.c): Likewise.
36699         (CFLAGS-tst-lfschk3.c): Likewise.
36700         (CFLAGS-tst-lfschk4.cc): Likewise.
36701         (CFLAGS-tst-lfschk5.cc): Likewise.
36702         (CFLAGS-tst-lfschk6.cc): Likewise.
36704         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
36705         (main): Disable -Wdeprecated-declarations around calls to
36706         register_printf_function.
36708         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
36709         (do_test): Disable -Wdiv-by-zero around some calls to
36710         fwrite_unlocked and fread_unlocked.
36712         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
36713         (DIAG_POP_NEEDS_COMMENT): Likewise.
36714         (_DIAG_STR1): Likewise.
36715         (_DIAG_STR): Likewise.
36716         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
36717         * stdio-common/bug21.c: Include <libc-internal.h>.
36718         (do_test): Disable -Wformat around call to sscanf.
36719         * stdio-common/scanf14.c: Include <libc-internal.h>.
36720         (main): Disable -Wformat around some calls to scanf functions.
36722 2014-12-09  Torvald Riegel  <triegel@redhat.com>
36724         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
36726 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36728         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
36729         stack variable alignment.
36731 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
36733         [BZ #17682]
36734         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
36735         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
36736         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
36737         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
36738         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
36739         __getrlimit instead of getrlimit.
36740         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
36741         __gettimeofday instead of gettimeofday.
36742         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36743         Likewise.
36744         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
36745         Likewise.
36746         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36747         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
36748         Remove variable.
36749         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
36750         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
36752 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36754         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
36755         for wide-character tests.
36757 2014-12-04  Roland McGrath  <roland@hack.frob.com>
36759         * io/openat64.c: #include <libc-internal.h>
36760         (__openat64): Prototypify.  Use ignore_value on MODE.
36761         * io/openat.c: Likewise.
36762         * misc/reboot.c: #include <libc-internal.h>
36763         (reboot): Prototypify.  Use ignore_value on HOWTO.
36764         * misc/ptrace.c: #include <libc-internal.h>
36765         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
36767 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
36769         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
36770         XPG4, UNIX98 and XOPEN2K.
36771         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
36772         Remove variable.
36773         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
36775 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36777         * libio/fileops.c: Use ISO C style for function definitions.
36778         * libio/iofopen.c: Likewise.
36779         * libio/wfileops.c: Likewise.
36781         [BZ #17653]
36782         * libio/fileops.c (_IO_new_file_underflow): Unset cached
36783         offset on EOF.
36784         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
36785         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
36786         (fgets_func): Function pointer to fgets and fgetws.
36787         (do_ftell_test): Add test to verify ftell value after read
36788         EOF.
36789         (do_test): Set fgets_func.
36791         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
36792         O_TRUNC flag for w and w+ modes.
36793         (do_rewind_test): Likewise.
36794         (do_ftell_test): Likewise.
36795         (do_write_test): Likewise.
36797         [BZ #17647]
36798         * libio/fileops.c (do_ftell): Seek only when there are
36799         unflushed writes.
36800         * libio/wfileops.c (do_ftell_wide): Likewise.
36801         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
36802         test case.
36803         (do_one_test): Call it.
36805 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
36807         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
36808         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
36809         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
36810         Remove variable.
36811         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
36812         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
36813         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
36815 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
36817         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
36818         Remove variable.
36819         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
36821         [BZ #17668]
36822         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
36823         as weak alias of __getifaddrs.  Use libc_hidden_weak.
36824         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36825         __freeifaddrs.  Use libc_hidden_weak.
36826         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
36827         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
36828         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36829         __freeifaddrs.  Use libc_hidden_weak.
36830         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
36831         __getifaddrs and define as weak alias of __getifaddrs.  Use
36832         libc_hidden_weak.
36833         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36834         __freeifaddrs.  Use libc_hidden_weak.
36835         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
36836         Remove variable.
36837         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
36838         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
36840 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
36842         [BZ #17601]
36843         * sysdeps/mips/start.S (__start): Use indirect jump to call
36844         __libc_start_main.
36846 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
36848         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
36850         * nptl/tst-mutex1.c: Include <stdbool.h>.
36851         [!ATTR] (ATTR_NULL): New macro.
36852         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
36853         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
36854         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
36856         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
36857         to char *.
36859         [BZ #17665]
36860         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
36861         Change conditional to [__USE_MISC].
36863         [BZ #17664]
36864         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
36865         fgets_unlocked.
36866         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
36867         __fgets_unlocked.
36868         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
36869         fgets_unlocked.
36870         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
36871         Remove variable.
36872         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
36873         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
36874         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
36875         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
36876         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
36877         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
36878         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
36879         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
36880         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
36882         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
36884 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36886         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36887         Remove strpbrk objects.
36888         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36889         (__libc_ifunc_impl_list): Remove strpbrk implementation.
36890         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
36891         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
36892         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
36893         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
36895         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36896         Remove strcspn objects.
36897         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36898         (__libc_ifunc_impl_list): Remove strcspn implementation.
36899         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
36900         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
36901         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
36902         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
36904         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36905         Remove strspn objetcs.
36906         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36907         (__libc_ifunc_impl_list): Remove strspn implementation.
36908         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
36909         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
36910         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
36911         * sysdeps/powerpc/powerpc64/strspn.S: New file.
36913 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
36915         [BZ #17581]
36916         * malloc/hooks.c
36917         (mem2mem_check): Add a terminator to the chain of checking blocks.
36918         (malloc_check_get_size): Use it here.
36919         (mem2chunk_check): Ditto.
36921 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36923         * sysdeps/powerpc/powerpc64/strtok.S: New file.
36924         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
36926 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
36928         * bits/ioctl-types.h: Indent preprocessor directives correctly.
36930         * nptl/nptl-init.c: Include libc-internal.h.
36931         (__pthread_initialize_minimal_internal): Use ROUND_UP.
36933         * elf/ldconfig.c (search_dir): Expand comment.
36935 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
36937         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
36938         variable.
36939         (linknamespace-symlist-stdlibs-tests): Likewise.
36940         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
36941         instead of $(objpfx)symlist-stdlibs.
36942         (linknamespace-libs-isoc): New variable.
36943         (linknamespace-libs): Use $(linknamespace-libs-isoc).
36944         (linknamespace-libs-ISO): New variable.
36945         (linknamespace-libs-ISO99): Likewise.
36946         (linknamespace-libs-ISO11): Likewise.
36947         (linknamespace-libs-XPG3): Likewise.
36948         (linknamespace-libs-XPG4): Likewise.
36949         (linknamespace-libs-POSIX): Likewise.
36950         (linknamespace-libs-UNIX98): Likewise.
36951         (linknamespace-libs-XOPEN2K): Likewise.
36952         (linknamespace-libs-POSIX2008): Likewise.
36953         (linknamespace-libs-XOPEN2K8): Likewise.
36954         ($(objpfx)symlist-stdlibs): Replace by
36955         $(linknamespace-symlist-stdlibs-tests).  Use
36956         $(linknamespace-libs-$*) as set of libraries.
36957         ($(linknamespace-header-tests)): Update dependencies.  Use
36958         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
36959         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
36960         * conform/linknamespace.pl: Remove comment about considering
36961         definitions of symbols from irrelevant libraries.
36963 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
36965         [BZ #13862]
36966         * elf/dl-tls.c: Include <atomic.h>.
36967         (oom): Remove #ifdef SHARED/#endif.
36968         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
36969         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
36970         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
36971         big enough.
36972         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
36973         * nptl/Makefile (tests): Add tst-stack4.
36974         (modules-names): Add tst-stack4mod.
36975         ($(objpfx)tst-stack4): New.
36976         (tst-stack4mod.sos): Likewise.
36977         ($(objpfx)tst-stack4.out): Likewise.
36978         ($(tst-stack4mod.sos)): Likewise.
36979         (clean): Likewise.
36980         * nptl/tst-stack4.c: New file.
36981         * nptl/tst-stack4mod.c: Likewise.
36983 2014-11-27  J. Brown  <jb999@gmx.de>
36985         * sysdeps/x86/bits/string.h: Add recent CPUs.
36987 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
36989         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
36990         sigblock.
36992         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
36993         feof.
36995         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
36996         variable.
36998 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
37000         * nscd/connections.c: Include libc-internal.h because of macro
37001         usage ignore_value.
37003 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37005         * string/bits/string3.h (__warn_memset_zero_len): Don't
37006         declare for gcc newer than 5.0.
37007         (memset): Don't test for zero-length __LEN for gcc newer than
37008         5.0.
37010 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
37012         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
37013         size_t for %zu format.
37015         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
37016         difference, not %ju.
37018 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
37020         * include/libc-internal.h (ignore_value): New macro.
37021         * nscd/connections.c (restart): Wrap calls to setuid and setgid
37022         with ignore_value.
37024         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
37025         definition.
37027         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
37028         pthread_cleanup_push to void *.
37030         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
37031         Undefine.
37033         [BZ #16619]
37034         [BZ #16740]
37035         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
37036         instead of 1L << 52.
37038         * libio/bug-rewind.c (do_test): Check fwscanf return values.
37039         * libio/bug-rewind2.c (do_test): Likewise.
37041         * debug/test-stpcpy_chk-ifunc.c: Remove file.
37042         * debug/test-strcpy_chk-ifunc.c: Likewise.
37043         * wcsmbs/test-wcschr-ifunc.c: Likewise.
37044         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37045         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37046         * wcsmbs/test-wcslen-ifunc.c: Likewise.
37047         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37048         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37049         * Rules [$(multi-arch) = no] (tests): Do not filter out
37050         $(tests-ifunc).
37051         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
37052         * debug/Makefile (tests-ifunc): Remove variable.
37053         (tests): Do not add $(tests-ifunc).
37054         * wcsmbs/Makefile (tests-ifunc): Remove variable.
37055         (tests): Do not add $(tests-ifunc).
37056         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
37057         [TEST_IFUNC]: Remove conditionals.
37058         * string/test-string.h (TEST_IFUNC): Remove macro.
37059         [TEST_IFUNC]: Remove conditionals.
37061         * string/test-strchr.c [!WIDE] (L): New macro.
37062         [WIDE] (L): Likewise.
37063         (check1): Use CHAR instead of char.  Use L on string and character
37064         constants.
37066 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
37068         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
37069         tests.
37070         * sysdeps/powerpc/bits/atomic.h
37071         (__arch_atomic_exchange_and_add_32_acq): Add definition.
37072         (__arch_atomic_exchange_and_add_32_rel): Likewise.
37073         (atomic_exchange_and_add_acq): Likewise.
37074         (atomic_exchange_and_add_rel): Likewise.
37075         * sysdeps/powerpc/powerpc32/bits/atomic.h
37076         (__arch_atomic_exchange_and_add_64_acq): Add definition.
37077         (__arch_atomic_exchange_and_add_64_rel): Likewise.
37078         * sysdeps/powerpc/powerpc64/bits/atomic.h
37079         (__arch_atomic_exchange_and_add_64_acq): Add definition.
37080         (__arch_atomic_exchange_and_add_64_rel): Likewise.
37082 2014-11-26  Torvald Riegel  <triegel@redhat.com>
37084         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
37085         Change synchronization of __sched_fifo_min_prio and
37086         __sched_fifo_max_prio.
37087         * nptl/pthread_mutexattr_getprioceiling.c
37088         (pthread_mutexattr_getprioceiling): Likewise.
37089         * nptl/pthread_mutexattr_setprioceiling.c
37090         (pthread_mutexattr_setprioceiling): Likewise.
37091         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
37092         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
37093         Likewise.
37095 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
37097         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
37098         void.
37100 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
37102         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
37103         third argument const.
37105 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
37107         fnmatch: work around GCC compiler warning bug with uninit var
37108         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
37109         This works around a bug with x86-64 GCC 4.9.2 and earlier
37110         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
37111         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
37112         used uninitialized in this function [-Wmaybe-uninitialized]".
37114 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
37116         * posix/bug-regex31.c (main): Return RES not 0.
37118 2014-11-25  Anton Blanchard <anton@samba.org>
37120         * sysdeps/powerpc/bits/atomic.h
37121         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
37123 2014-11-24  Sterling Augustine  <saugustine@google.com>
37125         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
37127 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
37129         [BZ #17608]
37130         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
37132 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
37134         [BZ #17633]
37135         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
37136         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
37137         variable.
37138         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
37139         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
37141 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
37143         * string/strncpy.c (strncpy): Improve performance by using memset.
37145 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
37147         * string/strcpy.c (strcpy):
37148         Improve performance by using strlen and memcpy.
37150 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
37152         * string/strcoll_l.c (get_next_seq): __always_inline.
37153         * string/strcoll_l.c (do_compare): __always_inline.
37155 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37157         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
37158         defined.
37159         * include/mqueue.h: Likewise.
37160         * include/stdlib.h: Likewise.
37162         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
37163         (get_null_defines): Adjust.
37164         * sunrpc/Makefile: Adjust comment.
37165         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
37166         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
37167         (CFLAGS-interp.c): Likewise.
37168         (CFLAGS-ldconfig.c): Likewise.
37169         (CPPFLAGS-.os): Likewise.
37170         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37171         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
37172         * extra-modules.mk (extra-modules.mk): Likewise.
37173         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
37174         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
37175         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
37176         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
37177         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
37178         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
37179         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
37180         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
37181         * iconvdata/Makefile (CPPFLAGS): Likewise.
37182         (cpp-srcs-left): Add libof for all iconvdata routines.
37183         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
37184         * include/assert.h: Likewise.
37185         * include/ctype.h: Likewise.
37186         * include/errno.h: Likewise.
37187         * include/libc-symbols.h: Likewise.
37188         * include/math.h: Likewise.
37189         * include/netdb.h: Likewise.
37190         * include/resolv.h: Likewise.
37191         * include/stdio.h: Likewise.
37192         * include/stdlib.h: Likewise.
37193         * include/string.h: Likewise.
37194         * include/sys/stat.h: Likewise.
37195         * include/wctype.h: Likewise.
37196         * intl/l10nflist.c: Likewise.
37197         * libidn/idn-stub.c: Likewise.
37198         * libio/libioP.h: Likewise.
37199         * nptl/libc_multiple_threads.c: Likewise.
37200         * nptl/pthreadP.h: Likewise.
37201         * posix/regex_internal.h: Likewise.
37202         * resolv/res_hconf.c: Likewise.
37203         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
37204         * sysdeps/arm/memmove.S: Likewise.
37205         * sysdeps/arm/sysdep.h: Likewise.
37206         * sysdeps/generic/_itoa.h: Likewise.
37207         * sysdeps/generic/symbol-hacks.h: Likewise.
37208         * sysdeps/gnu/errlist.awk: Likewise.
37209         * sysdeps/gnu/errlist.c: Likewise.
37210         * sysdeps/i386/i586/memcpy.S: Likewise.
37211         * sysdeps/i386/i586/memset.S: Likewise.
37212         * sysdeps/i386/i686/memcpy.S: Likewise.
37213         * sysdeps/i386/i686/memmove.S: Likewise.
37214         * sysdeps/i386/i686/mempcpy.S: Likewise.
37215         * sysdeps/i386/i686/memset.S: Likewise.
37216         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37217         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37218         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
37219         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
37220         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37221         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37222         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
37223         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37224         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37225         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37226         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37227         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37228         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37229         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37230         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37231         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37232         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
37233         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
37234         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
37235         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37236         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37237         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37238         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37239         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37240         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37241         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37242         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
37243         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37244         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
37245         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37246         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37247         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37248         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37249         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37250         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37251         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
37252         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37253         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37254         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37255         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37256         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37257         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37258         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37259         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37260         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37261         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37262         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
37263         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
37264         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37265         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37266         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37267         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
37268         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
37269         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37270         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37271         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
37272         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37273         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
37274         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
37275         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37276         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37277         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37278         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
37279         * sysdeps/nptl/bits/libc-lock.h: Likewise.
37280         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
37281         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
37282         * sysdeps/posix/closedir.c: Likewise.
37283         * sysdeps/posix/opendir.c: Likewise.
37284         * sysdeps/posix/readdir.c: Likewise.
37285         * sysdeps/posix/rewinddir.c: Likewise.
37286         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
37287         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
37288         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
37289         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37290         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37291         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
37292         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
37293         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
37294         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
37295         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
37296         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
37297         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
37298         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
37299         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
37300         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
37301         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
37302         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
37303         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
37304         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
37305         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
37306         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
37307         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
37308         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
37309         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
37310         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
37311         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
37312         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
37313         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
37314         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
37315         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
37316         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
37317         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
37318         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
37319         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
37320         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
37321         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
37322         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37323         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37324         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
37325         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
37326         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
37327         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
37328         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
37329         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
37330         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
37331         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
37332         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
37333         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
37334         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
37335         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
37336         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
37337         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
37338         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
37339         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
37340         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
37341         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
37342         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
37343         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
37344         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
37345         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
37346         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
37347         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
37348         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
37349         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
37350         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
37351         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
37352         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
37353         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
37354         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
37355         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
37356         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
37357         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
37358         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
37359         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
37360         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
37361         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
37362         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
37363         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
37364         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
37365         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
37366         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
37367         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
37368         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
37369         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
37370         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
37371         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
37372         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
37373         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37374         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37375         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37376         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
37377         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
37378         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
37379         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37380         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37381         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
37382         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37383         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37384         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
37385         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
37386         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37387         * sysdeps/unix/alpha/sysdep.S: Likewise.
37388         * sysdeps/unix/alpha/sysdep.h: Likewise.
37389         * sysdeps/unix/make-syscalls.sh: Likewise.
37390         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37391         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37392         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37393         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
37394         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37395         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
37396         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
37397         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37398         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37399         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
37400         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37401         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37402         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37403         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
37404         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37405         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37406         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37407         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
37408         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
37409         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37410         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
37411         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37412         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37413         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37414         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37415         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37416         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
37418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
37419         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
37420         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37421         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37422         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37423         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37424         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
37425         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37426         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37427         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37428         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
37429         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
37430         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37431         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37432         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37433         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
37434         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37435         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37436         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37437         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37438         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37439         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37440         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37441         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37442         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37443         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37444         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
37445         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37446         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37447         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37448         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
37449         * sysdeps/x86_64/memcpy.S: Likewise.
37450         * sysdeps/x86_64/memmove.c: Likewise.
37451         * sysdeps/x86_64/memset.S: Likewise.
37452         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
37453         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37454         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
37455         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
37456         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
37457         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37458         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37459         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37460         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37461         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37462         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37463         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37464         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
37465         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37466         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37467         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
37468         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37469         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37470         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
37471         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37472         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
37473         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37474         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
37475         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
37476         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37477         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37478         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37479         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
37480         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37481         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37482         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
37483         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37484         * sysdeps/x86_64/strcmp.S: Likewise.
37486         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
37488         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
37489         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
37490         * elf/rtld-Rules: Likewise.
37491         * elf/setup-vdso.h: Likewise.
37492         * include/assert.h: Likewise.
37493         * include/bits/stdlib-float.h: Likewise.
37494         * include/errno.h: Likewise.
37495         * include/sys/stat.h: Likewise.
37496         * include/unistd.h: Likewise.
37497         * sysdeps/aarch64/setjmp.S: Likewise.
37498         * sysdeps/alpha/setjmp.S: Likewise.
37499         * sysdeps/arm/__longjmp.S: Likewise.
37500         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
37501         * sysdeps/arm/setjmp.S: Likewise.
37502         * sysdeps/arm/sysdep.h: Likewise.
37503         * sysdeps/generic/_itoa.h: Likewise.
37504         * sysdeps/generic/dl-sysdep.h: Likewise.
37505         * sysdeps/generic/ldsodefs.h: Likewise.
37506         * sysdeps/i386/dl-tls.h: Likewise.
37507         * sysdeps/i386/setjmp.S: Likewise.
37508         * sysdeps/m68k/setjmp.c: Likewise.
37509         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
37510         * sysdeps/mach/hurd/opendir.c: Likewise.
37511         * sysdeps/posix/getcwd.c: Likewise.
37512         * sysdeps/posix/opendir.c: Likewise.
37513         * sysdeps/posix/profil.c: Likewise.
37514         * sysdeps/powerpc/dl-procinfo.h: Likewise.
37515         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37516         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37517         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
37518         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37519         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
37520         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
37521         * sysdeps/s390/dl-tls.h: Likewise.
37522         * sysdeps/s390/s390-32/setjmp.S: Likewise.
37523         * sysdeps/s390/s390-64/setjmp.S: Likewise.
37524         * sysdeps/sh/sh3/setjmp.S: Likewise.
37525         * sysdeps/sh/sh4/setjmp.S: Likewise.
37526         * sysdeps/unix/alpha/sysdep.h: Likewise.
37527         * sysdeps/unix/arm/sysdep.S: Likewise.
37528         * sysdeps/unix/i386/sysdep.S: Likewise.
37529         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37530         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
37531         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37532         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37533         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37534         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
37535         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
37536         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37537         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
37538         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
37539         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
37540         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37541         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37544         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37545         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37546         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37547         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37548         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37549         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37550         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37551         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37552         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37553         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37554         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37555         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37556         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37557         * sysdeps/x86_64/setjmp.S: Likewise.
37559         * include/math.h: Use IS_IN instead of IS_IN_libm.
37560         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
37561         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37562         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37563         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
37564         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37565         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37566         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37567         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37568         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37569         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37570         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
37571         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
37572         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
37573         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
37574         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
37575         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
37576         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
37577         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
37578         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
37579         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
37580         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
37581         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
37582         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
37583         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
37584         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
37585         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
37586         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
37587         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
37588         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
37589         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
37590         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
37591         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
37592         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
37593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
37594         Likewise.
37595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
37596         Likewise.
37597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
37598         Likewise.
37599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
37600         Likewise.
37601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
37602         Likewise.
37603         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
37604         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
37605         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
37606         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37607         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37608         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
37610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
37611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
37612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
37613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
37614         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
37615         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
37616         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
37617         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
37618         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37619         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
37620         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
37621         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37622         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
37623         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
37624         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
37625         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
37626         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
37627         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
37628         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37629         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
37631         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
37632         * nptl/pthreadP.h: Likewise.
37633         * nptl_db/structs.def: Likewise.
37634         * sysdeps/arm/sysdep.h: Likewise.
37635         * sysdeps/nptl/bits/libc-lock.h: Likewise.
37636         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
37637         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
37638         * sysdeps/unix/alpha/sysdep.h: Likewise.
37639         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37640         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37641         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37642         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37643         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37644         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37645         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37646         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37647         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37648         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37649         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37650         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37651         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37652         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
37654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
37655         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37656         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37657         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37658         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37659         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37660         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37661         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37662         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37663         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
37664         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37666         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
37667         * nptl/pthreadP.h: Likewise.
37668         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37669         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37670         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37671         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37672         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37673         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37674         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37675         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37676         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37677         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37678         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37679         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
37681         Likewise.
37682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
37683         Likewise.
37684         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37685         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37686         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37687         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37688         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37689         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37690         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37691         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37693         * dlfcn/dladdr.c: Use IS_IN.
37694         * dlfcn/dladdr1.c: Likewise.
37695         * dlfcn/dlclose.c: Likewise.
37696         * dlfcn/dlerror.c: Likewise.
37697         * dlfcn/dlinfo.c: Likewise.
37698         * dlfcn/dlmopen.c: Likewise.
37699         * dlfcn/dlopen.c: Likewise.
37700         * dlfcn/dlsym.c: Likewise.
37701         * dlfcn/dlvsym.c: Likewise.
37703         * include/ifaddrs.h: Use IS_IN.
37704         * inet/check_pf.c: Likewise.
37705         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37706         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
37708         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
37709         IS_IN_ldconfig.
37710         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
37711         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
37713         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
37714         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
37715         IS_IN (libc).
37717         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
37719         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
37720         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37721         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
37722         * include/libc-symbols.h (IS_IN_LIB): New macro.
37723         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
37724         * include/netdb.h: Likewise.
37725         * include/stap-probe.h: Remove all uses of IN_LIB.
37727         * Makeconfig (module-cppflags-real): Define MODULE_NAME
37728         instead of IN_MODULE.
37729         * include/libc-symbols.h (IN_MODULE): Define using
37730         MODULE_NAME.
37731         (PASTE_NAME, PASTE_NAME1): New macros.
37732         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
37733         of IN_LIB.
37734         (STAP_PROBE_ASM): Likewise.
37736 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37738         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
37739         __mach_init in dlopened libc.
37741 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
37743         * sysdeps/arm/preconfigure.ac: Delete EABI check.
37744         * sysdeps/arm/preconfigure: Regenerate.
37746 2014-11-21  Roland McGrath  <roland@hack.frob.com>
37748         * nptl/pthread_create.c (__pthread_create_2_1): Set
37749         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
37750         when copying values from IATTR into PD.
37752 2014-11-21  Will Newton  <will.newton@linaro.org>
37753             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
37755         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
37756         Refactor inline-asm.  Also add comment.
37758         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
37759         ElfW macro instead of hardcoded Elf64 types.
37760         (la_aarch64_gnu_pltenter): Likewise.
37761         * sysdeps/aarch64/dl-machine.h
37762         (elf_machine_runtime_setup): Use ElfW(Addr).
37764         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
37765         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
37766         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
37767         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
37768         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
37769         (R_AARCH64_TLS_DTPMOD64): Rename to ..
37770         (R_AARCH64_TLS_DTPMOD): This.
37771         (R_AARCH64_TLS_DTPREL64): Rename to ...
37772         (R_AARCH64_TLS_DTPREL): This.
37773         (R_AARCH64_TLS_TPREL64): Rename to ...
37774         (R_AARCH64_TLS_TPREL): This.
37775         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
37776         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
37777         R_AARCH64_TLS_TPREL64.
37778         (elf_machine_rela): Likewise.
37780 2014-11-21  Torvald Riegel  <triegel@redhat.com>
37782         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
37783         by setting it to 0.  64b atomics are not supported currently.
37785 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37787         [BZ #16469]
37788         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
37789         search domain names.
37791 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37793         [BZ #16469]
37794         * NEWS: Update.
37795         * resolv/res_query.c (__libc_res_nquerydomain): Retain
37796         trailing dot.
37797         * posix/tst-getaddrinfo5.c: New.
37798         * posix/Makefile (tests): Add it.
37800 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37802         [BZ #14498]
37803         * NEWS: Fixed.
37804         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
37805         after parsing line but before break_if_match.
37806         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
37807         if there is a protocol mismatch.
37809 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
37811         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
37812         because the potential race is on the user-supplied stream.
37814 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37816         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
37817         string literal if not passed a buffer.
37818         * manual/job.texi (ctermid): Update reasoning, note deviation
37819         from posix, suggest mtasurace when not passed a buffer, for
37820         future non-preliminary safety notes.
37822 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37824         * manual/users.texi (cuserid): Fix MT-Safety note for the case
37825         of not passing it a buffer.
37826         Reported by Peng Haitao.
37828 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37830         * manual/Makefile ($(objpfx)stamp-summary): Require
37831         check-safety.sh to pass.
37832         * manual/check-safety.sh: Wish for verification that every
37833         @deftypefn and @deftypefun is followed by a @safety remark.
37835 2014-11-20  Roland McGrath  <roland@hack.frob.com>
37837         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
37839         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
37840         PTHREAD_CANCEL_ASYNCHRONOUS.
37841         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
37842         send SIGCANCEL.
37844         * nptl/default-sched.h: New file.
37845         * sysdeps/unix/sysv/linux/default-sched.h: New file.
37846         * nptl/pthread_create.c: Include it.
37847         (__pthread_create_2_1): Use collect_default_sched instead of making
37848         Linux syscalls here directly.
37850 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37852         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
37853         __pthread_once): Use C11 atomics.
37855 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37857         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
37859 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37861         * include/atomic.h (__atomic_link_error, __atomic_check_size,
37862         atomic_thread_fence_acquire, atomic_thread_fence_release,
37863         atomic_thread_fence_seq_cst, atomic_load_relaxed,
37864         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
37865         atomic_compare_exchange_weak_relaxed,
37866         atomic_compare_exchange_weak_acquire,
37867         atomic_compare_exchange_weak_release,
37868         atomic_exchange_acquire, atomic_exchange_release,
37869         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
37870         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
37871         atomic_fetch_and_acquire,
37872         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
37874 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37876         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
37877         USE_ATOMIC_COMPILER_BUILTINS): Define.
37878         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
37879         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37880         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
37881         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37882         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
37883         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37884         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
37885         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37886         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
37887         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37888         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
37889         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37890         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
37891         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37892         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
37893         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37894         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
37895         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37896         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
37897         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37898         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
37899         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37900         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
37901         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37902         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
37903         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37904         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
37905         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37906         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
37907         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37908         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
37909         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37910         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
37911         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37912         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
37913         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37914         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
37915         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37916         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
37917         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37919 2014-11-19  Roland McGrath  <roland@hack.frob.com>
37921         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
37922         the sched_priority value here.  It was already checked when the user
37923         called pthread_attr_setschedparam.
37925         * nptl/tst-bad-schedattr.c: New file.
37926         * nptl/Makefile (tests): Add it.
37928 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
37929             Florian Weimer  <fweimer@redhat.com>
37930             Joseph Myers  <joseph@codesourcery.com>
37931             Adam Conrad  <adconrad@0c3.net>
37932             Andreas Schwab  <schwab@suse.de>
37933             Brooks  <bmoses@google.com>
37935         [BZ #17625]
37936         * wordexp-test.c (__dso_handle): Add prototype.
37937         (__register_atfork): Likewise.
37938         (__app_register_atfork): New function.
37939         (registered_forks): New global.
37940         (register_fork): New function.
37941         (test_case): Add 3 new tests for WRDE_CMDSUB.
37942         (main): Call __app_register_atfork.
37943         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
37944         fork count is non-zero fail the test.
37945         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
37946         is set.
37947         (parse_dollars): Remove check for WRDE_NOCMD.
37948         (parse_dquote): Likewise.
37950 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37952         * Makeconfig (built-modules): List non-library modules to be
37953         built.
37954         (module-cppflags): Include libc-modules.h for
37955         everything except shlib-versions.v.i.
37956         (CPPFLAGS): Use it.
37957         (before-compile): Add libc-modules.h.
37958         ($(common-objpfx)libc-modules.h,
37959         $(common-objpfx)libc-modules.stmp): New targets.
37960         (common-generated): Add libc-modules.h and libc-modules.stmp.
37961         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
37962         * include/libc-symbols.h: Don't include libc-modules.h.
37963         * include/libc-modules.h: Remove file.
37964         * scripts/gen-libc-modules.awk: New script to generate
37965         libc-modules.h.
37966         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
37967         Depend on libc-modules.stmp.
37969         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
37971         * Makeconfig (in-module): Get value of libof set for the
37972         translation unit.
37973         (CPPFLAGS): Use $(in-module).
37974         * Makerules: Don't suffix routine names for nonlib.
37975         * include/libc-modules.h: New file.
37976         * include/libc-symbols.h: Include libc-modules.h
37977         (IS_IN): New macro to replace IS_IN_* macros.
37978         * elf/Makefile: Set libof-* for each routine.
37979         * elf/rtld-Rules: Likewise.
37980         * extra-modules.mk: Likewise.
37981         * iconv/Makefile: Likewise.
37982         * iconvdata/Makefile: Likewise.
37983         * locale/Makefile: Likewise.
37984         * malloc/Makefile: Likewise.
37985         * nss/Makefile: Likewise.
37986         * sysdeps/gnu/Makefile: Likewise.
37987         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
37988         * sysdeps/unix/sysv/linux/Makefile: Likewise.
37989         * sysdeps/s390/s390-64/Makefile: Likewise.
37990         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
37991         CPPFLAGS for nscd instead of nonlib.
37993 2014-11-18  Roland McGrath  <roland@hack.frob.com>
37995         * nptl/createthread.c: New file.
37997         * nptl/createthread.c: Moved ...
37998         * sysdeps/unix/sysv/linux/createthread.c: ... here.
38000         * nptl/createthread.c: Add proper top-line comment.
38001         (do_clone): Folded into ...
38002         (create_thread): ... here.  Take new arguments STOPPED_START and
38003         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
38004         increment __nptl_threads, do event-reporting logic, do
38005         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
38006         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
38007         resource cleanup if sched_setaffinity or sched_setscheduler fails,
38008         just send SIGCANCEL.
38009         * nptl/pthread_create.c: Forward-declare create_thread before
38010         including createthread.c.
38011         (start_thread): Use new macro START_THREAD_DEFN to replace defining
38012         declaration, and new macro START_THREAD_SELF to replace argument.
38013         Remove return statement.
38014         (report_thread_creation): New function.
38015         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
38016         synchronization logic, and __nptl_nthreads increment here, around
38017         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
38018         PD->parent_cancelhandling here, before create_thread.  When
38019         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
38020         __deallocate_stack, and ENOMEM translation here.
38022 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
38024         [BZ #17616]
38025         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
38026         (mptwo): Rename to __mptwo.
38027         (__inv): Use __mptwo instead of mptwo.
38028         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
38029         (mptwo): Rename to __mptwo.
38030         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
38031         of mpone and __mptwo instead of mptwo.
38032         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
38033         instead of mpone.
38034         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38035         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
38036         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
38037         of mpone and __mptwo instead of mptwo.
38038         (__mpranred): Use __mpone instead of mpone.
38039         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
38040         variable.
38041         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
38042         (test-xfail-ISO99/math.h/linknamespace): Likewise.
38043         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
38044         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
38045         (test-xfail-ISO11/math.h/linknamespace): Likewise.
38046         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
38047         (test-xfail-XPG3/math.h/linknamespace): Likewise.
38048         (test-xfail-XPG4/math.h/linknamespace): Likewise.
38049         (test-xfail-POSIX/math.h/linknamespace): Likewise.
38050         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
38051         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
38052         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
38053         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
38054         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
38055         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
38056         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
38057         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
38058         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
38059         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
38061 2014-11-18  Tom de Vries  <tom@codesoucery.com>
38063         * manual/signal.texi (Primitives Interrupted by Signals): In section,
38064         replace BSD Handler xref with BSD Signal Handling.
38066 2014-11-17  Richard Henderson  <rth@redhat.com>
38068         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
38069         (_FP_PACK_RAW_2): Remove.
38070         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
38071         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
38072         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
38073         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
38074         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
38075         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
38076         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
38077         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
38078         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
38079         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
38080         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
38081         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
38082         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
38083         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
38084         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
38085         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
38087 2014-11-14  Roland McGrath  <roland@hack.frob.com>
38089         * signal/signal.h [__USE_MISC]
38090         (struct sigvec): Remove type.
38091         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
38092         (sigvec): Remove declaration.
38093         * sysdeps/posix/sigvec.c: Moved ...
38094         * signal/sigvec.c: ... here, replacing old file.
38095         (struct sigvec): New type, copied from old signal.h definition.
38096         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
38097         (__sigvec): Convert definition to prototype.
38098         (sigvec): Replace weak_alias with compat_symbol.
38099         * signal/Versions (libc: GLIBC_2.21): New version set.
38100         * include/signal.h: Remove __sigvec declaration.
38101         * sysdeps/unix/bsd/sigvec.c: Remove file.
38102         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
38103         * manual/signal.texi (BSD Handler): Remove subsection.
38104         Move siginterrupt up to ...
38105         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
38106         (Blocking in BSD): Fold subsection into its parent.
38107         * NEWS: Mention sigvec removal.
38109 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
38111         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
38112         (DLA_FMS): Make definition conditional only on [__FMA4__].
38113         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
38114         definition.
38116         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
38117         Make definition conditional only on [PROF].
38118         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
38119         definition.
38120         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
38121         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
38123         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
38124         !__GNUC__].
38125         * include/signal.h (__sigpause): Move declaration above call to
38126         libc_hidden_proto.
38127         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
38128         variable.
38129         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
38130         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
38132 2014-11-14  David S. Miller  <davem@davemloft.net>
38134         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
38135         Define before including <string/memcpy.c> and <string/mempcpy.c>.
38137 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
38139         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
38140         * configure: Regenerated.
38141         * manual/install.texi (Tools for Compilation): Document a
38142         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
38143         compiler verified to work.
38144         * INSTALL: Regenerated.
38146         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
38147         redeclare with asm name.
38148         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
38149         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
38150         including <string.h>.
38151         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38152         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
38153         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38154         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
38155         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38156         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
38157         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38159 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
38161         * stdlib/strtol.c (__strtol): Use prototype definition.
38163         [BZ #17594]
38164         * stdlib/strtol.c (SYM__): New macro.
38165         (SYM__1): Likewise.
38166         (__strtol): Likewise.
38167         (strtol): Rename to __strtol and define as weak alias of
38168         __strtol.  Use libc_hidden_weak.
38170 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38172         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
38173         Use numbered labels in inline assembly.
38175 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38177         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
38178         Add setjmp LIBC_PROBE.
38179         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
38180         Likewise.
38181         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
38182         Add longjmp, longjmp_target LIBC_PROBE.
38183         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
38184         Likewise.
38186 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38188         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
38189         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
38190         to get rid of unused variable warning.
38192 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38194         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
38195         Check for unwind_backtrace ==  NULL only in SHARED case.
38196         (__backchain_backtrace): Compile only in SHARED case.
38197         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
38198         Likewise.
38199         (__backchain_backtrace): Declare as static.
38201 2014-11-12  Roland McGrath  <roland@hack.frob.com>
38203         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
38204         (__libc_multiple_threads_ptr): Variable moved ...
38205         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
38207 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
38209         * conform/GlibcConform.pm: New file.
38210         * conform/conformtest.pl: Use GlibcConform module.
38211         * conform/linknamespace.pl: New file.
38212         * conform/list-header-symbols.pl: Likewise.
38213         * conform/Makefile (linknamespace-symlists-base): New variable.
38214         (linknamespace-symlists-tests): Likewise.
38215         (linknamespace-header-base): Likewise.
38216         (linknamespace-header-tests): Likewise.
38217         (tests-special): Add new tests.
38218         ($(linknamespace-symlists-tests)): New rule.
38219         (linknamespace-libs): New variable.
38220         ($(objpfx)symlist-stdlibs): New rule.
38221         ($(linknamespace-header-tests)): Likewise.
38222         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
38223         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
38224         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
38225         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
38226         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
38227         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
38228         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
38229         (test-xfail-ISO/math.h/linknamespace): Likewise.
38230         (test-xfail-ISO/signal.h/linknamespace): Likewise.
38231         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
38232         (test-xfail-ISO/time.h/linknamespace): Likewise.
38233         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
38234         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
38235         (test-xfail-ISO99/math.h/linknamespace): Likewise.
38236         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
38237         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
38238         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
38239         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
38240         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
38241         (test-xfail-ISO11/math.h/linknamespace): Likewise.
38242         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
38243         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
38244         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
38245         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
38246         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
38247         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
38248         (test-xfail-XPG3/math.h/linknamespace): Likewise.
38249         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
38250         (test-xfail-XPG3/search.h/linknamespace): Likewise.
38251         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
38252         (test-xfail-XPG3/time.h/linknamespace): Likewise.
38253         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
38254         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
38255         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
38256         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
38257         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
38258         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
38259         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
38260         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
38261         (test-xfail-XPG4/math.h/linknamespace): Likewise.
38262         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
38263         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
38264         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
38265         (test-xfail-XPG4/search.h/linknamespace): Likewise.
38266         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
38267         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
38268         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
38269         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
38270         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
38271         (test-xfail-XPG4/time.h/linknamespace): Likewise.
38272         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
38273         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
38274         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
38275         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
38276         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
38277         (test-xfail-POSIX/math.h/linknamespace): Likewise.
38278         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
38279         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
38280         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
38281         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
38282         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
38283         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
38284         (test-xfail-POSIX/time.h/linknamespace): Likewise.
38285         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
38286         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
38287         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
38288         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
38289         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
38290         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
38291         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
38292         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
38293         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
38294         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
38295         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
38296         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
38297         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
38298         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
38299         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
38300         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
38301         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
38302         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
38303         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
38304         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
38305         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
38306         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
38307         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
38308         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
38309         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
38310         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
38311         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
38312         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
38313         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
38314         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
38315         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
38316         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
38317         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
38318         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
38319         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
38320         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
38321         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
38322         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
38323         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
38324         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
38325         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
38326         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
38327         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
38328         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
38329         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
38330         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
38331         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
38332         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
38333         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
38334         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
38335         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
38336         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
38337         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
38338         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
38339         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
38340         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
38341         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
38342         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
38343         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
38344         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
38345         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
38346         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
38347         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
38348         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
38349         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
38350         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
38351         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
38352         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
38353         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
38354         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
38355         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
38356         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
38357         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
38358         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
38359         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
38360         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
38361         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
38362         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
38363         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
38364         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
38365         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
38366         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
38367         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
38368         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
38369         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
38370         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
38371         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
38372         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
38373         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
38374         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
38375         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
38376         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
38377         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
38378         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
38379         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
38380         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
38381         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
38382         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
38384         [BZ #17589]
38385         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
38386         of fgets_unlocked.
38388         [BZ #17585]
38389         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
38390         (memmem): Rename to __memmem and define as weak alias of
38391         __memmem.  Use libc_hidden_weak.
38392         (__memmem): Use libc_hidden_def.
38393         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
38394         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
38395         memmem.
38397         [BZ #17582]
38398         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
38399         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
38400         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
38401         and define as weak alias of __fgets_unlocked.  Use
38402         libc_hidden_weak.
38403         (__fgets_unlocked): Use libc_hidden_def.
38404         * include/stdio.h (__fgets_unlocked): Declare.  Use
38405         libc_hidden_proto.
38406         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
38407         __fgets_unlocked instead of fgets_unlocked.
38408         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
38409         (GET_NPROCS_CONF_PARSER): Likewise.
38410         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
38411         (GET_NPROCS_CONF_PARSER): Likewise.
38413         [BZ #17574]
38414         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
38415         weak alias of __wmemset.  Use libc_hidden_weak.
38416         (__wmemset): Use libc_hidden_def.
38417         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
38418         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
38419         of wmemset.
38421         [BZ #17573]
38422         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
38423         with asm name __mempcpy.
38424         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
38426         [BZ #17572]
38427         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
38428         and define as weak alias of __rawmemchr.
38429         (__rawmemchr): Do not define as strong alias of rawmemchr.
38431         [BZ #17571]
38432         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
38433         alias of __qsort_r.
38434         (qsort): Call __qsort_r instead of qsort_r.
38435         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
38436         (__qsort_r): Declare.  Call libc_hidden_proto.
38437         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
38438         instead of qsort_r.
38439         * nscd/gai.c (__qsort_r): Define to qsort_r.
38440         * posix/tst-rfc3484.c (__qsort_r): Likewise.
38441         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
38442         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
38444         [BZ #17570]
38445         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
38446         define as weak alias of __malloc_info.
38448         [BZ #17584]
38449         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
38450         as weak alias of __rewinddir.  Don't use libc_hidden_def.
38451         (__rewinddir): Use libc_hidden_def.
38452         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
38453         as weak alias of __rewinddir.  Don't use libc_hidden_def.
38454         (__rewinddir): Use libc_hidden_def.
38455         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
38456         weak alias of __rewinddir.  Don't use libc_hidden_def.
38457         (__rewinddir): Use libc_hidden_def.
38458         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
38459         (__rewinddir): Use libc_hidden_proto.
38460         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
38461         rewinddir.
38462         (__getcwd): Use __rewinddir instead of rewinddir.
38464         [BZ #17583]
38465         * libio/fileno.c (fileno): Rename to __fileno and define as weak
38466         alias of __fileno.  Use libc_hidden_weak.
38467         (__fileno): Use libc_hidden_def.
38468         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
38469         * libio/ftello.c (ftello): Rename to __ftello and define as weak
38470         alias of __ftello.
38471         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
38472         __ftello.
38473         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
38474         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
38475         libc_hidden_def.
38476         (fread_unlocked): Don't use libc_hidden_ver.
38477         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
38478         and define as weak alias of __fread_unlocked.  Don't use
38479         libc_hidden_def.
38480         (__fread_unlocked): Use libc_hidden_def.
38481         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
38482         (ftello): Don't use libc_hidden_proto.
38483         (__ftello): Declare.  Use libc_hidden_proto.
38484         (fread_unlocked): Don't use libc_hidden_proto.
38485         (__fread_unlocked): Declare.  Use libc_hidden_proto.
38486         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
38487         and __ftello instead of fileno, fread_unlocked and ftello.
38489 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38491         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
38492         GOT12.
38493         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
38494         Likewise.
38495         (_dl_start_user): Likewise.
38496         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
38498 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
38499             Siddhesh Poyarekar  <siddhesh@redhat.com>
38501         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
38502         Move argv and envp down instead of moving argc up.
38503         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
38505 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
38507         [BZ #17506]
38508         * test-skeleton.c (main): Return successful if one of
38509         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
38510         * string/tst-strcoll-overflow.c: Define expected status.
38512 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
38514         [BZ #17475]
38515         * locale/iso-639.def: Define Bhili and Tulu language codes.
38517 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
38519         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
38521 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
38523         [BZ #17555]
38524         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
38526 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
38528         * configure.ac: Updated check of minimal required version to
38529         2.22.
38530         * manual/install.texi (Tools for Compilation): Updated version
38531         number.
38532         * configure: Regenerated.
38533         * INSTALL: Likewise.
38535 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
38537         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
38538         __tls_get_addr.
38540 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
38542         * include/sys/wait.h (__libc_waitpid): Remove declaration.
38543         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
38544         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38545         libc_hidden_weak.
38546         (waitpid): Define as alias of __waitpid.
38547         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
38548         __waitpid.
38549         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38550         libc_hidden_weak.
38551         (waitpid): Define as alias of __waitpid.
38552         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
38553         __libc_waitpid alias.
38554         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
38555         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
38556         Likewise.
38557         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
38558         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
38559         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
38560         alias.
38561         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
38562         __waitpid.
38563         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38564         libc_hidden_weak.
38565         (waitpid): Define as alias of __waitpid.
38567 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
38569         * manual/llio.texi: Add comment that write safety has been
38570         fixed in Linux.
38572         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
38573         (localplt-build-dso): Add elf/ld.so.
38574         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
38575         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
38576         and free for ld.so.
38577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
38578         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
38579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
38580         Likewise.
38581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38582         Likewise.
38583         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
38584         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
38585         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
38586         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
38587         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
38588         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
38589         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
38590         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
38591         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
38592         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
38593         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
38595 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
38597         [BZ #14132]
38598         * include/libc-symbols.h (INTUSE): Remove macro.
38599         (INTDEF): Likewise.
38600         (INTVARDEF): Likewise.
38601         (_INTVARDEF): Likewise.
38602         (INTDEF2): Likewise.
38603         (INTVARDEF2): Likewise.
38604         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
38605         rtld_hidden_def instead of INTVARDEF.
38606         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
38607         (_dl_starting_up_internal): Remove declaration.
38608         (_dl_starting_up): Use rtld_hidden_proto.
38609         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
38610         declaration.
38611         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
38612         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
38613         _dl_starting_up.
38614         * elf/dl-writev.h (_dl_writev): Likewise.
38615         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
38616         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
38617         _dl_starting_up_internal.
38619 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38621         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
38622         test-skeleton.c.
38624 2014-11-05  Will Newton  <will.newton@linaro.org>
38626         * benchtests/Makefile: (bench-malloc): Add malloc thread
38627         scalability benchmark.
38628         * benchtests/bench-malloc-threads.c: New file.
38630 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
38632         * sysdeps/aarch64/strchrnul.S: New file.
38634 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38636         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
38637         definition.
38638         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38639         Likewise.
38640         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38641         Likewise.
38642         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38643         Likewise.
38644         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38645         Likewise.
38646         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38647         Likewise.
38649 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
38651         * catgets/test-gencat.c: Use test-skeleton.c.
38652         * catgets/tst-catgets.c: Likewise.
38653         * csu/tst-empty.c: Likewise.
38654         * elf/tst-audit2.c: Likewise.
38655         * elf/tst-global1.c: Likewise.
38656         * elf/tst-pathopt.c: Likewise.
38657         * elf/tst-piemod1.c: Likewise.
38658         * elf/tst-tls10.c: Likewise.
38659         * elf/tst-tls11.c: Likewise.
38660         * elf/tst-tls12.c: Likewise.
38661         * gnulib/tst-gcc.c: Likewise.
38662         * iconvdata/tst-e2big.c: Likewise.
38663         * iconvdata/tst-loading.c: Likewise.
38664         * iconv/tst-iconv1.c: Likewise.
38665         * iconv/tst-iconv2.c: Likewise.
38666         * inet/test-inet6_opt.c: Likewise.
38667         * inet/tst-gethnm.c: Likewise.
38668         * inet/tst-network.c: Likewise.
38669         * inet/tst-ntoa.c: Likewise.
38670         * intl/tst-codeset.c: Likewise.
38671         * intl/tst-gettext2.c: Likewise.
38672         * intl/tst-gettext3.c: Likewise.
38673         * intl/tst-ngettext.c: Likewise.
38674         * intl/tst-translit.c: Likewise.
38675         * io/test-stat.c: Likewise.
38676         * libio/test-fmemopen.c: Likewise.
38677         * libio/tst-freopen.c: Likewise.
38678         * libio/tst-sscanf.c: Likewise.
38679         * libio/tst-ungetwc1.c: Likewise.
38680         * libio/tst-ungetwc2.c: Likewise.
38681         * libio/tst-widetext.c: Likewise.
38682         * localedata/tst-ctype.c: Likewise.
38683         * localedata/tst-digits.c: Likewise.
38684         * localedata/tst-leaks.c: Likewise.
38685         * localedata/tst-mbswcs1.c: Likewise.
38686         * localedata/tst-mbswcs2.c: Likewise.
38687         * localedata/tst-mbswcs3.c: Likewise.
38688         * localedata/tst-mbswcs4.c: Likewise.
38689         * localedata/tst-mbswcs5.c: Likewise.
38690         * localedata/tst-setlocale.c: Likewise.
38691         * localedata/tst-trans.c: Likewise.
38692         * localedata/tst-wctype.c: Likewise.
38693         * localedata/tst-xlocale1.c: Likewise.
38694         * login/tst-grantpt.c: Likewise.
38695         * malloc/tst-calloc.c: Likewise.
38696         * malloc/tst-malloc.c: Likewise.
38697         * malloc/tst-mallocstate.c: Likewise.
38698         * malloc/tst-mcheck.c: Likewise.
38699         * malloc/tst-mtrace.c: Likewise.
38700         * malloc/tst-obstack.c: Likewise.
38701         * math/atest-exp2.c: Likewise.
38702         * math/atest-exp.c: Likewise.
38703         * math/atest-sincos.c: Likewise.
38704         * math/test-matherr.c: Likewise.
38705         * math/test-misc.c: Likewise.
38706         * math/test-powl.c: Likewise.
38707         * math/tst-definitions.c: Likewise.
38708         * misc/tst-dirname.c: Likewise.
38709         * misc/tst-efgcvt.c: Likewise.
38710         * misc/tst-fdset.c: Likewise.
38711         * misc/tst-hsearch.c: Likewise.
38712         * misc/tst-mntent2.c: Likewise.
38713         * nptl/tst-sem7.c: Likewise.
38714         * nptl/tst-sem8.c: Likewise.
38715         * nptl/tst-sem9.c: Likewise.
38716         * nss/test-netdb.c: Likewise.
38717         * posix/tst-fnmatch.c: Likewise.
38718         * posix/tst-getlogin.c: Likewise.
38719         * posix/tst-gnuglob.c: Likewise.
38720         * posix/tst-mmap.c: Likewise.
38721         * pwd/tst-getpw.c: Likewise.
38722         * resolv/tst-inet_ntop.c: Likewise.
38723         * rt/tst-timer.c: Likewise.
38724         * stdio-common/test-fseek.c: Likewise.
38725         * stdio-common/test-popen.c: Likewise.
38726         * stdio-common/test-vfprintf.c: Likewise.
38727         * stdio-common/tst-cookie.c: Likewise.
38728         * stdio-common/tst-fileno.c: Likewise.
38729         * stdio-common/tst-gets.c: Likewise.
38730         * stdio-common/tst-obprintf.c: Likewise.
38731         * stdio-common/tst-perror.c: Likewise.
38732         * stdio-common/tst-sprintf2.c: Likewise.
38733         * stdio-common/tst-sprintf3.c: Likewise.
38734         * stdio-common/tst-sprintf.c: Likewise.
38735         * stdio-common/tst-swprintf.c: Likewise.
38736         * stdio-common/tst-tmpnam.c: Likewise.
38737         * stdio-common/tst-unbputc.c: Likewise.
38738         * stdio-common/tst-wc-printf.c: Likewise.
38739         * stdlib/tst-environ.c: Likewise.
38740         * stdlib/tst-fmtmsg.c: Likewise.
38741         * stdlib/tst-limits.c: Likewise.
38742         * stdlib/tst-rand48-2.c: Likewise.
38743         * stdlib/tst-rand48.c: Likewise.
38744         * stdlib/tst-random2.c: Likewise.
38745         * stdlib/tst-random.c: Likewise.
38746         * stdlib/tst-strtol.c: Likewise.
38747         * stdlib/tst-strtoll.c: Likewise.
38748         * stdlib/tst-tls-atexit.c: Likewise.
38749         * stdlib/tst-xpg-basename.c: Likewise.
38750         * string/test-ffs.c: Likewise.
38751         * string/tst-bswap.c: Likewise.
38752         * string/tst-inlcall.c: Likewise.
38753         * string/tst-strtok.c: Likewise.
38754         * string/tst-strxfrm.c: Likewise.
38755         * sysdeps/x86_64/tst-audit10.c: Likewise.
38756         * sysdeps/x86_64/tst-audit3.c: Likewise.
38757         * sysdeps/x86_64/tst-audit4.c: Likewise.
38758         * sysdeps/x86_64/tst-audit5.c: Likewise.
38759         * time/tst-ftime_l.c: Likewise.
38760         * time/tst-getdate.c: Likewise.
38761         * time/tst-mktime3.c: Likewise.
38762         * time/tst-mktime.c: Likewise.
38763         * time/tst-posixtz.c: Likewise.
38764         * time/tst-strptime2.c: Likewise.
38765         * time/tst-strptime3.c: Likewise.
38766         * wcsmbs/tst-btowc.c: Likewise.
38767         * wcsmbs/tst-mbrtowc.c: Likewise.
38768         * wcsmbs/tst-mbsrtowcs.c: Likewise.
38769         * wcsmbs/tst-wchar-h.c: Likewise.
38770         * wcsmbs/tst-wcpncpy.c: Likewise.
38771         * wcsmbs/tst-wcrtomb.c: Likewise.
38772         * wcsmbs/tst-wcsnlen.c: Likewise.
38773         * wcsmbs/tst-wcstof.c: Likewise.
38775 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
38777         [BZ #14132]
38778         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
38779         INTDEF.
38780         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
38781         declaration.
38782         (_dl_mcount): Use rtld_hidden_proto.
38783         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
38784         _dl_mcount.
38785         * elf/rtld.c (_rtld_global_ro): Likewise.
38787         [BZ #14132]
38788         * elf/dl-init.c (_dl_init): Don't use INTDEF.
38789         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
38790         of _dl_init_internal.
38791         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
38792         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
38793         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
38794         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
38795         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
38796         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
38797         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
38798         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
38799         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
38800         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
38801         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
38802         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
38803         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38804         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38805         * sysdeps/tile/dl-start.S (_start): Likewise.
38806         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
38807         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
38809         [BZ #14132]
38810         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
38811         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
38812         (rtld_progname): Make macro definition unconditional.
38813         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
38814         INTDEF.
38815         (dlmopen_doit): Do not use INTUSE with _dl_argv.
38816         (dl_main): Likewise.
38817         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38818         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
38819         instead of _dl_argv_internal.
38820         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38821         __GI__dl_argv instead of INTUSE(_dl_argv).
38822         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
38823         __GI__dl_argv instead of _dl_argv_internal.
38825         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
38826         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
38827         macro.
38828         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
38829         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
38830         New macro.
38831         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
38832         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
38833         macro.
38834         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
38835         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
38837 2014-11-04  Andreas Schwab  <schwab@suse.de>
38839         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
38841 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38843         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
38844         mtvsrd instruction in binary form.
38846 2014-11-03  Andreas Schwab  <schwab@suse.de>
38848         [BZ #17522]
38849         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
38850         for less than MB_LEN_MAX use a local buffer of that size.
38851         * libio/tst-fputws.c: New file.
38852         * libio/Makefile (tests): Add tst-fputws.
38854 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
38856         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
38857         the size of the fpu_fr.fpu_dregs[] array.
38859 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
38861         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
38862         (__nanosleep): Do not define as alias.
38863         (nanosleep): Define as alias of __nanosleep.
38864         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
38865         __libc_nanosleep name.
38867 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
38869         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
38870         install.texi in comment.
38872 2014-10-31  Torvald Riegel  <triegel@redhat.com>
38874         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
38875         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
38876         ... add here and use lwsync or sync ...
38877         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
38878         ... and add here using lwsync.
38880 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
38882         * elf/dl-machine-reject-phdr.h: New file.
38883         * elf/dl-load.c: #include that.
38884         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
38885         if that returned true.
38887 2014-10-31  Roland McGrath  <roland@hack.frob.com>
38889         [BZ #17496]
38890         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
38891         gen-as-const-headers chunk.  Add a big scare comment after the last
38892         safe place to touch before-compile.
38894 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
38896         * manual/install.texi (Tools for Compilation): Update autoconf
38897         version requirements.
38898         * INSTALL: Regenerated.
38900         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
38901         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
38902         (__libc_pselect): Likewise.
38904         [BZ #14138]
38905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
38906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38910 2014-10-31  Torvald Riegel  <triegel@redhat.com>
38912         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
38913         correct barrier instruction.
38914         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
38915         Likewise.
38916         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
38917         Likewise.
38919 2014-10-30  Roland McGrath  <roland@hack.frob.com>
38921         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
38922         after defining inlines.  Instead, just use parens to defeat macro
38923         expansion of __isctype in its declaration.
38925 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
38927         * include/sys/uio.h (__libc_readv): Remove declaration.
38928         (__libc_writev): Likewise.
38929         * misc/readv.c (__libc_readv): Rename to __readv.
38930         (__readv): Do not define as alias.
38931         (readv): Define as alias of __readv.
38932         * misc/writev.c (__libc_writev): Rename to __writev.
38933         (__writev): Do not define as alias.
38934         (writev): Define as alias of __writev.
38935         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
38936         (__readv): Do not define as alias.
38937         (readv): Define unconditionally as alias of __readv.
38938         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
38939         (__writev): Do not define as alias.
38940         (writev): Define unconditionally as alias of __writev.
38941         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
38942         name.
38943         (writev): Do not define __libc_writev name.
38945 2014-10-30  Roland McGrath  <roland@hack.frob.com>
38947         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
38948         (convert_charseq): New function, broken out of ...
38949         (use_from_charmap): ... here.  Call it.
38950         (use_to_charmap): Use convert_charseq and free instead of duplicating
38951         its code with a variable-length stack struct.
38953 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
38955         * include/fcntl.h (__libc_creat): Remove declaration.
38956         * io/creat.c (__libc_creat): Rename to creat.
38957         (creat): Do not define as alias.
38958         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
38959         of creat instead of __libc_creat.
38960         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
38961         to creat.
38962         (creat): Do not define as alias.
38963         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
38964         __libc_creat.
38965         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
38966         __libc_creat name.
38967         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
38968         Likewise.
38970 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
38972         * manual/llio.texi: Add comments discussing why write() may be
38973         considered MT-unsafe on Linux.
38975 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
38977         * dl-load.c (local_strdup): Remove.
38978         (expand_dynamic_string_token): Use __strdup.
38979         (decompose_rpath): Likewise.
38980         (_dl_map_object): Likewise.
38982 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
38984         [BZ #14132]
38985         * sysdeps/generic/unwind-dw2-fde.c
38986         (__register_frame_info_bases_internal): Do not declare.
38987         (__register_frame_info_table_bases_internal): Likewise.
38988         (__deregister_frame_info_bases_internal): Likewise.
38989         (__register_frame_info_bases): Declare and use hidden_proto before
38990         definition.  Use hidden_def instead of INTDEF.
38991         (__register_frame_info_table_bases): Likewise.
38992         (__deregister_frame_info_bases): Likewise.
38993         (__register_frame_info): Do not use INTUSE.
38994         (__register_frame): Likewise.
38995         (__register_frame_info_table): Likewise.
38996         (__register_frame_table): Likewise.
38997         (__deregister_frame_info): Likewise.
38998         (__deregister_frame): Likewise.
39000 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
39002         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39003         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
39004         not undefine.
39005         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
39006         Likewise.
39007         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
39008         Likewise.
39010 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
39012         [BZ #14138]
39013         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
39014         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
39015         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
39016         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
39017         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
39018         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
39019         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
39020         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
39021         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
39022         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
39023         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
39024         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
39025         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
39026         syscall.
39027         (setfsuid): Likewise.
39028         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
39029         (setfsuid): Likewise.
39030         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
39031         (setfsuid): Likewise.
39032         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
39033         Likewise.
39034         (setfsuid): Likewise.
39035         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
39036         (setfsuid): Likewise.
39037         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
39038         Likewise.
39039         (setfsuid): Likewise.
39041 2014-10-27  Andreas Schwab  <schwab@suse.de>
39043         [BZ #17501]
39044         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
39045         check for Slow_SSE4_2 feature bit.
39046         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
39047         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
39048         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
39049         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
39051 2014-10-24  Roland McGrath  <roland@hack.frob.com>
39053         * configure.ac: Validate compiler version with a empirical test of
39054         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
39055         $CC -v output.
39056         * configure: Regenerated.
39058         * inet/htons.c (htons): Prototypify.
39059         * inet/htonl.c (htonl): Likewise.
39061 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39063         * string/strncat.c (strncat): Improve performance by using strlen.
39065 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39067         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
39069 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39071         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
39072         Call libc_fetestexcept_aarch64.
39074 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39076         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
39077         Call libc_feholdexcept_aarch64.
39079 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39081         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
39082         Call get_rounding_mode.
39084 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39086         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
39087         Simplify logic.
39089 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39091         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
39092         Simplify logic.
39094 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
39096         [BZ #14138]
39097         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
39098         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
39099         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
39100         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
39101         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
39102         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
39103         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
39104         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
39105         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
39106         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
39107         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39108         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
39109         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
39110         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
39111         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
39112         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
39113         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
39114         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
39115         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
39116         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
39117         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
39118         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
39119         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
39120         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
39121         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
39122         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
39123         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
39124         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
39125         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
39126         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
39127         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
39128         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
39129         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
39130         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
39131         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
39132         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
39133         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
39134         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
39135         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
39136         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
39137         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
39138         syscall.
39139         (geteuid): Likewise.
39140         (getgid): Likewise.
39141         (getuid): Likewise.
39142         (getresgid): Likewise.
39143         (getresuid): Likewise.
39144         (getgroups): Likewise.
39145         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
39146         (geteuid): Likewise.
39147         (getgid): Likewise.
39148         (getuid): Likewise.
39149         (getresgid): Likewise.
39150         (getresuid): Likewise.
39151         (getgroups): Likewise.
39152         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
39153         (geteuid): Likewise.
39154         (getgid): Likewise.
39155         (getuid): Likewise.
39156         (getresgid): Likewise.
39157         (getresuid): Likewise.
39158         (getgroups): Likewise.
39159         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
39160         Likewise.
39161         (geteuid): Likewise.
39162         (getgid): Likewise.
39163         (getuid): Likewise.
39164         (getresgid): Likewise.
39165         (getresuid): Likewise.
39166         (getgroups): Likewise.
39167         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
39168         (geteuid): Likewise.
39169         (getgid): Likewise.
39170         (getuid): Likewise.
39171         (getresgid): Likewise.
39172         (getresuid): Likewise.
39173         (getgroups): Likewise.
39174         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
39175         Likewise.
39176         (geteuid): Likewise.
39177         (getgid): Likewise.
39178         (getuid): Likewise.
39179         (getgroups): Likewise.
39181         [BZ #14138]
39182         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
39183         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
39184         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
39185         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39186         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
39187         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
39188         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
39189         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
39190         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
39191         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
39192         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
39193         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
39194         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
39195         __chown.
39196         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
39197         (lchown): Likewise.
39198         (fchown): Likewise.
39199         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
39200         Likewise.
39201         (lchown): Likewise.
39202         (fchown): Likewise.
39203         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
39204         (lchown): Likewise.
39205         (fchown): Likewise.
39206         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
39207         Likewise.
39208         (lchown): Likewise.
39209         (fchown): Likewise.
39211 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39213         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
39214         Simplify logic.
39216 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39218         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
39219         Cleanup logic.
39221 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39223         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
39224         Remove unused include.
39226 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39228         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
39229         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
39230         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
39231         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
39233 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
39234             Helge Deller <deller@gmx.de>
39236         [BZ #17508]
39237         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
39238         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
39239         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
39241 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
39243         [BZ #14132]
39244         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
39245         Remove macro definition.
39246         (__ashrdi3_v_glibc20): Likewise.
39247         (__lshrdi3_v_glibc20): Likewise.
39248         (__cmpdi2_v_glibc20): Likewise.
39249         (__ucmpdi2_v_glibc20): Likewise.
39250         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
39251         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39252         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39253         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39254         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39255         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
39257 2014-10-22  Roland McGrath  <roland@hack.frob.com>
39259         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
39260         old GNU extension [0] syntax.
39261         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
39262         alloca rather than an array member with variable length.
39263         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
39264         * nscd/nscd.c (invalidate_db): New function, broken out of ...
39265         (parse_opt): ... here.  Likewise use alloca there.
39266         Validate the -i argument before checking for rootness.
39267         (send_shutdown): New function, broken out of ...
39268         (parse_opt): ... here.
39270 2014-10-22  Roland McGrath  <roland@hack.frob.com>
39272         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
39273         macro to get at the _rt_local_ro field.
39274         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
39275         ([PIC] case) or _dl_hwcap ([!PIC] case).
39276         * sysdeps/arm/setjmp.S: Likewise.
39278         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
39279         * sysdeps/arm/configure.ac: New check to define it.
39280         * sysdeps/arm/configure: Regenerated.
39281         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
39282         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
39283         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
39284         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
39285         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
39286         Use move/movt pair instead of a load.
39287         (LDST_GLOBAL): Macro removed.
39288         (LDR_GLOBAL): New macro replaces it.
39289         (LDR_HIDDEN): New macro.
39290         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
39291         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
39293         * setjmp/tst-setjmp-static.c: New file.
39294         * setjmp/Makefile (tests): Add it.
39295         (tests-static): New variable.
39297 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
39299         [BZ #17485]
39300         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
39302 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
39304         [BZ #14132]
39305         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
39307 2014-10-21  Roland McGrath  <roland@hack.frob.com>
39309         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
39311 2014-10-20  Roland McGrath  <roland@hack.frob.com>
39313         * io/fts.c (dirent_not_directory): New function.
39314         (fts_build): Call it.
39316 2014-10-20  Roland McGrath  <roland@hack.frob.com>
39318         * nptl/version.c (__nptl_main): Use normal __write rather than
39319         INTERNAL_SYSCALL.
39320         (banner): Update copyright years.
39322         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
39323         gettimeofday.
39324         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39325         * nptl/pthread_cond_timedwait.c: Likewise.
39326         * nptl/pthread_mutex_timedlock.c: Likewise.
39327         * nptl/sem_timedwait.c: Likewise.
39329         * sysdeps/nptl/bits/libc-lock.h
39330         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
39331         (__libc_lock_init_recursive): Return void, not 0.
39332         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
39333         (__libc_rwlock_init): Likewise.
39334         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
39336 2014-10-20  Torvald Riegel  <triegel@redhat.com>
39338         [BZ #15215]
39339         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
39340         (__pthread_once_slow): ... here.
39341         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
39342         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
39344 2014-10-20  Torvald Riegel  <triegel@redhat.com>
39346         [BZ #15215]
39347         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
39348         __PTHREAD_ONCE_FORK_GEN_INCR): New.
39349         * sysdeps/nptl/fork.c (__libc_fork): Use them.
39350         * nptl/pthread_once.c (__pthread_once): Likewise.
39351         Update comments.
39353 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
39355         [BZ #14138]
39356         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
39357         name.
39358         (writev): Use __libc_writev as strong name.
39359         * sysdeps/unix/sysv/linux/readv.c: Remove file.
39360         * sysdeps/unix/sysv/linux/writev.c: Likewise.
39362 2014-10-17  Roland McGrath  <roland@hack.frob.com>
39364         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
39366         * sysdeps/i386/nptl/tls.h
39367         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
39368         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
39369         New macros.
39370         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
39371         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
39372         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
39373         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
39374         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
39375         Call CHECK_THREAD_SYSINFO instead of doing an assert.
39377         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
39378         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
39379         on [__NR_futex].
39380         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
39381         broken out of ...
39382         (__pthread_mutex_init): ... here.  Call it.
39383         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
39384         Conditionalize PI cases on [__NR_futex].
39385         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
39386         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
39387         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
39389         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
39390         conditional on [SIGSETXID].
39391         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
39392         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
39393         is defined.  Likewise for SIGSETXID.
39394         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
39395         Conditionalize definitions on [SIGSETXID].
39396         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
39397         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
39398         unblocking on [SIGCANCEL].
39400         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
39401         [__NR_set_robust_list].
39403 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39405         * string/strcoll_l.c (get_next_seq): Fix up formatting.
39406         (do_compare): Likewise.
39408 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
39410         [BZ #15884]
39411         * string/strcoll_l.c: Don't include stdio.h.
39412         (coll_seq): Remove members idxarr and rulearr.
39413         (get_next_seq_cached): Remove function.
39414         (get_next_seq): Likewise.
39415         (get_next_seq_nocache): Rename to get_next_seq.
39416         (do_compare): Remove function.
39417         (do_compare_nocache): Rename to do_compare.
39418         (STRCOLL): Remove weight and rules cache.
39420 2014-10-16  Roland McGrath  <roland@hack.frob.com>
39422         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
39423         * sysdeps/arm/sfp-machine.h: ... to here.
39424         * sysdeps/arm/Implies: Remove arm/soft-fp.
39426 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
39428         * conform/data/sys/utsname.h-data (*_t): Allow.
39429         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
39430         [POSIX] (WEXITED): Do not expect constant.
39431         [POSIX] (WSTOPPED): Likewise.
39432         [POSIX] (WNOHANG): Likewise.
39433         [POSIX] (WNOWAIT): Likewise.
39434         [POSIX] (siginfo_t): Do not expect type or elements.
39435         [POSIX] (pid_t): Do not expect type.
39436         [POSIX] (signal.h): Do not allow header.
39437         [POSIX] (sys/resource.h): Likewise.
39438         [POSIX] (si_*): Do not allow pattern.
39439         [POSIX] (W*): Likewise.
39440         [POSIX] (P_*): Likewise.
39441         [POSIX] (BUS_*): Likewise.
39442         [POSIX] (CLD_*): Likewise.
39443         [POSIX] (FPE_*): Likewise.
39444         [POSIX] (ILL_*): Likewise.
39445         [POSIX] (POLL_*): Likewise.
39446         [POSIX] (SEGV_*): Likewise.
39447         [POSIX] (SI_*): Likewise.
39448         [POSIX] (TRAP_*): Likewise.
39449         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
39450         variable.
39452 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
39454         [BZ #12926]
39455         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
39456         infinite loop when __recvmsg returns 0.
39458 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
39460         * CANCEL-FCT-WAIVE: Remove file.
39461         * CANCEL-FILE-WAIVE: Likewise.
39463         [BZ #14132]
39464         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
39465         instead of INTVARDEF.
39466         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
39467         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
39468         rtld_hidden_data_def instead of INTVARDEF.
39469         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
39470         * elf/dl-deps.c (expand_dst): Likewise.
39471         * elf/dl-load.c (_dl_dst_count): Likewise.
39472         (_dl_dst_substitute): Likewise.
39473         (decompose_rpath): Likewise.
39474         (_dl_init_paths): Likewise.
39475         (open_path): Likewise.
39476         (_dl_map_object): Likewise.
39477         * elf/rtld.c (dl_main): Likewise.
39478         (process_dl_audit): Likewise.
39479         (process_envvars): Likewise.
39480         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
39481         Remove declaration.
39482         (__libc_enable_secure): Use rtld_hidden_proto.
39484 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39486         * elf/dl-load.c
39487         (add_path): New function broken out of _dl_rtld_di_serinfo.
39488         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
39490 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
39492         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
39493         parentheses around macro arguments.
39494         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
39495         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
39496         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
39497         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
39498         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
39499         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
39500         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
39501         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
39502         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
39503         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
39504         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
39505         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
39506         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
39507         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
39508         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
39509         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
39510         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
39511         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
39512         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
39513         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
39514         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
39515         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
39516         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
39517         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
39518         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
39519         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
39520         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
39521         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
39522         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
39523         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
39524         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
39525         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
39526         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
39527         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
39528         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
39529         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
39530         Likewise.
39531         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
39532         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
39533         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
39534         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
39535         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
39536         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
39537         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
39538         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
39539         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
39540         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
39541         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
39542         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
39543         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
39544         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
39545         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
39546         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
39547         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
39548         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
39549         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
39550         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
39551         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
39552         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
39553         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
39554         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
39555         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
39556         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
39557         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
39558         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
39559         (_FP_FRAC_SRS_1): Likewise.
39560         (_FP_FRAC_CLZ_1): Likewise.
39561         (_FP_MUL_MEAT_1_imm): Likewise.
39562         (_FP_MUL_MEAT_1_wide): Likewise.
39563         (_FP_MUL_MEAT_1_hard): Likewise.
39564         (_FP_SQRT_MEAT_1): Likewise.
39565         (_FP_FRAC_ASSEMBLE_1): Likewise.
39566         (_FP_FRAC_DISASSEMBLE_1): Likewise.
39567         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
39568         (__FP_CLZ_2): Likewise.
39569         (_FP_MUL_MEAT_2_wide): Likewise.
39570         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
39571         (_FP_MUL_MEAT_2_gmp): Likewise.
39572         (_FP_MUL_MEAT_2_120_240_double): Likewise.
39573         (_FP_SQRT_MEAT_2): Likewise.
39574         (_FP_FRAC_ASSEMBLE_2): Likewise.
39575         (_FP_FRAC_DISASSEMBLE_2): Likewise.
39576         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
39577         (_FP_FRAC_CLZ_4): Likewise.
39578         (_FP_MUL_MEAT_4_wide): Likewise.
39579         (_FP_MUL_MEAT_4_gmp): Likewise.
39580         (_FP_SQRT_MEAT_4): Likewise.
39581         (_FP_FRAC_ASSEMBLE_4): Likewise.
39582         (_FP_FRAC_DISASSEMBLE_4): Likewise.
39583         * soft-fp/op-common.h (_FP_CMP): Likewise.
39584         (_FP_CMP_EQ): Likewise.
39585         (_FP_CMP_UNORD): Likewise.
39586         (_FP_TO_INT): Likewise.
39587         (_FP_FROM_INT): Likewise.
39588         [!__FP_CLZ] (__FP_CLZ): Likewise.
39589         (_FP_DIV_HELP_imm): Likewise.
39590         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
39591         Likewise.
39592         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
39593         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
39594         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
39595         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
39596         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
39597         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
39598         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
39599         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
39600         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
39601         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
39602         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
39603         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
39604         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
39605         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
39606         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
39607         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
39608         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
39609         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
39610         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
39611         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
39612         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
39613         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
39614         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
39615         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
39616         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
39617         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
39618         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
39619         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
39620         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
39621         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
39622         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
39623         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
39624         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
39625         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
39626         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
39627         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
39628         (FP_UNPACK_RAW_SP): Likewise.
39629         (FP_PACK_RAW_S): Likewise.
39630         (FP_PACK_RAW_SP): Likewise.
39631         (FP_UNPACK_S): Likewise.
39632         (FP_UNPACK_SP): Likewise.
39633         (FP_UNPACK_SEMIRAW_S): Likewise.
39634         (FP_UNPACK_SEMIRAW_SP): Likewise.
39635         (FP_PACK_S): Likewise.
39636         (FP_PACK_SP): Likewise.
39637         (FP_PACK_SEMIRAW_S): Likewise.
39638         (FP_PACK_SEMIRAW_SP): Likewise.
39639         (_FP_SQRT_MEAT_S): Likewise.
39640         (FP_CMP_S): Likewise.
39641         (FP_CMP_EQ_S): Likewise.
39642         (FP_CMP_UNORD_S): Likewise.
39643         (FP_TO_INT_S): Likewise.
39644         (FP_FROM_INT_S): Likewise.
39646         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
39648         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
39649         (FP_EX_INVALID_IMZ): Likewise.
39650         (FP_EX_INVALID_IMZ_FMA): Likewise.
39651         (FP_EX_INVALID_ISI): Likewise.
39652         (FP_EX_INVALID_ZDZ): Likewise.
39653         (FP_EX_INVALID_IDI): Likewise.
39654         (FP_EX_INVALID_SQRT): Likewise.
39655         (FP_EX_INVALID_CVI): Likewise.
39656         (FP_EX_INVALID_VC): Likewise.
39657         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
39658         "invalid" exceptions.
39659         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
39660         (_FP_ADD_INTERNAL): Likewise.
39661         (_FP_MUL): Likewise.
39662         (_FP_FMA): Likewise.
39663         (_FP_DIV): Likewise.
39664         (_FP_CMP_CHECK_NAN): Likewise.
39665         (_FP_SQRT): Likewise.
39666         (_FP_TO_INT): Likewise.
39667         (FP_EXTEND): Likewise.
39669 2014-10-09  Allan McRae  <allan@archlinux.org>
39671         * po/fr.po: Update French translation from translation project.
39673 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
39675         [BZ #14132]
39676         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
39677         of INTDEF.
39678         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
39679         (__cxa_atexit): Use libc_hidden_proto.
39680         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
39682         [BZ #14132]
39683         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
39684         declaration.
39685         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
39686         [!_ISOMAC] (__iswspace_l_internal): Likewise.
39687         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
39688         [!_ISOMAC] (__iswctype_internal): Likewise.
39689         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
39690         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
39691         alias.
39692         (fcntl): Remove __fcntl_internal alias.
39693         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
39694         __connect_internal alias.
39695         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
39696         Likewise.
39698         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
39699         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
39700         FP_DENORM_ZERO.
39701         (_FP_CHECK_FLUSH_ZERO): New macro.
39702         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
39703         (_FP_CMP): Likewise.
39704         (_FP_CMP_EQ): Likewise.
39705         (_FP_TO_INT): Do not set inexact for subnormal arguments if
39706         FP_DENORM_ZERO.
39707         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
39708         (FP_TRUNC): Likewise.
39710         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
39711         treated as invalid conversion, not as normal exponent.
39713         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
39714         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
39715         (_FP_CMP_EQ): Likewise.
39716         (_FP_CMP_UNORD): Likewise.
39717         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
39718         (FP_CMP_EQ_D): Likewise.
39719         (FP_CMP_UNORD_D): Likewise.
39720         * soft-fp/extended.h (FP_CMP_E): Likewise.
39721         (FP_CMP_EQ_E): Likewise.
39722         (FP_CMP_UNORD_E): Likewise.
39723         * soft-fp/quad.h (FP_CMP_Q): Likewise.
39724         (FP_CMP_EQ_Q): Likewise.
39725         (FP_CMP_UNORD_Q): Likewise.
39726         * soft-fp/single.h (FP_CMP_S): Likewise.
39727         (FP_CMP_EQ_S): Likewise.
39728         (FP_CMP_UNORD_S): Likewise.
39729         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
39730         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
39731         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
39732         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
39733         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
39734         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
39735         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
39736         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
39737         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
39738         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
39739         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
39740         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
39741         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
39742         to FP_CMP_Q.
39743         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
39744         FP_CMP_Q.
39745         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
39746         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
39747         FP_CMP_EQ_Q.
39748         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
39749         FP_CMP_Q.
39750         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
39751         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
39752         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
39753         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
39754         FP_CMP_EQ_Q.
39755         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
39756         FP_CMP_Q.
39757         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
39758         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
39759         FP_CMP_EQ_Q.
39760         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
39761         FP_CMP_Q.
39762         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
39763         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
39764         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
39765         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
39766         FP_CMP_EQ_Q.
39768         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
39769         a subnormal result, set the underflow exception if trapping on
39770         underflow is enabled.
39771         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
39772         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
39773         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
39774         redefine to 0.
39775         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
39776         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
39777         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
39778         * soft-fp/extendxftf2.c (__extendxftf2): Use
39779         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
39781         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
39782         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
39783         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39784         FP_HANDLE_EXCEPTIONS.
39785         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
39786         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39787         FP_HANDLE_EXCEPTIONS.
39788         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
39789         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39790         FP_HANDLE_EXCEPTIONS.
39791         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
39792         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39793         FP_HANDLE_EXCEPTIONS.
39795 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
39797         [BZ #14132]
39798         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
39799         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
39800         use INTUSE.
39801         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
39802         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
39803         Remove alias.
39804         (__adjtimex): Define using libc_hidden_ver.
39805         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
39806         Remove declaration.
39807         (ntp_gettime): Call __adjtimex directly.
39808         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
39809         Remove declaration.
39810         (ntp_gettimex): Call __adjtimex directly.
39811         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
39812         __adjtimex_internal alias.
39814 2014-10-08  Roland McGrath  <roland@hack.frob.com>
39816         [BZ #17460]
39817         * nscd/nscd.c (more_help): Rewrite list of tables collection
39818         using xstrdup and asprintf.
39820         * nscd/nscd_conf.c: Remove local xstrdup declaration.
39822 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39823             Roland McGrath  <roland@hack.frob.com>
39825         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
39826         (do_lookup_unique): ... local function 'enter' here; update callers.
39828 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
39830         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
39831         compat_symbol calls on [SHARED].
39832         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
39833         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
39834         Remove.
39835         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39836         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
39837         (oldsetrlimit): Remove.
39838         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
39840         (lchown): New syscall entry.
39841         (oldsetrlimit): Remove.
39842         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39843         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
39844         (oldsetrlimit): Remove.
39845         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39847         [BZ #14138]
39848         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
39849         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
39850         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
39851         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
39852         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
39853         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
39854         (fchown): Likewise.
39855         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
39856         (fchown): Likewise.
39857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
39858         Likewise.
39860 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39862         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
39863         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
39864         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
39865         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
39866         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
39867         Likewise.
39868         (__old_sem_post): Likewise.
39870 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
39872         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
39873         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
39874         HAVE_CLOCK_GETTIME_VSYSCALL macros.
39875         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
39876         Use INLINE_VSYSCALL macro.
39877         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
39878         __vdso_clock_gettime.
39879         * sysdeps/unix/sysv/linux/tile/init-first.c
39880         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
39881         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
39882         __vdso_clock_gettime.
39884         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
39885         to set up frame more cleanly.
39887         * sysdeps/tile/memcmp.c: New file.
39889         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
39891         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
39892         * sysdeps/tile/tilegx/strcasestr.c: New file.
39893         * sysdeps/tile/tilegx/strnlen.c: New file.
39894         * sysdeps/tile/tilegx/strstr.c: New file.
39896         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
39898 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
39900         * nptl/tst-setuid3.c: Write errors to stdout.
39902 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39904         * elf/dl-deps.c
39905         (preload): New functions broken out of _dl_map_object_deps.
39906         (_dl_map_object_deps):  Remove a nested function. Update call sites.
39908 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
39910         [BZ #14138]
39911         * sysdeps/unix/sysv/linux/execve.c: Remove file.
39912         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
39914 2014-10-01  Steve Ellcey  <sellcey@mips.com>
39916         * sysdeps/mips/strcmp.S: New.
39918 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
39920         [BZ #14138]
39921         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
39922         (linkat): Likewise.
39923         (mkdirat): Likewise.
39924         (readlinkat): Likewise.
39925         (renameat): Likewise.
39926         (symlinkat): Likewise.
39927         (unlinkat): Likewise.
39928         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
39929         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
39930         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
39931         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
39932         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
39933         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
39934         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
39936 2014-09-30  Will Newton  <will.newton@linaro.org>
39938         * math/math.h: Define long double math functions if
39939         _LIBC_TEST is defined.
39940         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
39942         * localedata/Makefile: Move assignment to tests-special
39943         into an ifdef testing run-built-tests.
39944         * timezone/Makefile: Likewise.
39946 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
39948         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
39949         with $(BASH) not $(SHELL).
39951 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
39952             Matthew LeGendre  <legendre1@llnl.gov>
39954         [BZ #17411]
39955         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
39956         l_reloc_result.
39958 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39960         * stdio-common/printf_fp.c
39961         (hack_digit): New function, broken out of ...
39962         (__printf_fp): ... local function here.  Update call sites.
39963         hack_digit now takes an additional parameter that is a pointer
39964         to a struct of the referenced locals.  Those locals moved inside
39965         the struct and references updated.
39967 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
39969         * aclocal.m4: Require autoconf 2.69.
39970         * configure: Regenerated.
39971         * sysdeps/aarch64/configure: Likewise.
39972         * sysdeps/alpha/configure: Likewise.
39973         * sysdeps/arm/armv7/configure: Likewise.
39974         * sysdeps/arm/configure: Likewise.
39975         * sysdeps/ia64/configure: Likewise.
39976         * sysdeps/mach/configure: Likewise.
39977         * sysdeps/mips/configure: Likewise.
39978         * sysdeps/s390/configure: Likewise.
39979         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
39980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
39982         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
39983         file.
39984         * sysdeps/ia64/configure.ac: Likewise.
39986 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
39988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
39989         specify symbol version for ld.so.  Do not include entry for
39990         libpthread.
39991         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39992         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
39993         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39995         [BZ #14171]
39996         * Makeconfig [$(build-shared) = yes]
39997         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
39998         makefiles.
39999         [$(build-shared) = yes && $(soversions.mk-done) = t]
40000         ($(common-objpfx)gnu/lib-names.h): Remove rule.
40001         [$(build-shared) = yes && $(soversions.mk-done) = t]
40002         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
40003         to Makerules.
40004         [$(build-shared) = yes && $(soversions.mk-done) = t]
40005         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
40006         here.
40007         [$(build-shared) = yes && $(soversions.mk-done) = t]
40008         (common-generated): Don't append gnu/lib-names.h and
40009         gnu/lib-names.stmp here.
40010         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
40011         (lib-names-h-abi): New variable.
40012         [$(build-shared) = yes && $(soversions.mk-done) = t]
40013         (lib-names-stmp-abi): Likewise.
40014         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40015         abi-variants] (before-compile): Append
40016         $(common-objpfx)$(lib-names-h-abi).
40017         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40018         abi-variants] (common-generated): Append gnu/lib-names.h.
40019         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40020         abi-variants] (install-others-nosubdir): Depend on
40021         $(inst_includedir)/$(lib-names-h-abi).
40022         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40023         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
40024         [$(build-shared) = yes && $(soversions.mk-done) = t]
40025         ($(common-objpfx)$(lib-names-h-abi)): New rule.
40026         [$(build-shared) = yes && $(soversions.mk-done) = t]
40027         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
40028         [$(build-shared) = yes && $(soversions.mk-done) = t]
40029         (common-generated): Append $(lib-names-h-abi) and
40030         $(lib-names-stmp-abi).
40031         * scripts/lib-names.awk: Do not handle multi being set.
40032         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
40033         Remove variable.
40034         (abi-lp64_be-ld-soname): Likewise.
40035         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
40036         Likewise.
40037         (abi-hard-ld-soname): Likewise.
40038         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
40039         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
40040         Remove variable.
40041         (abi-o32_hard-ld-soname): Likewise.
40042         (abi-o32_soft_2008-ld-soname): Likewise.
40043         (abi-o32_hard_2008-ld-soname): Likewise.
40044         (abi-n32_soft-ld-soname): Likewise.
40045         (abi-n32_hard-ld-soname): Likewise.
40046         (abi-n32_soft_2008-ld-soname): Likewise.
40047         (abi-n32_hard_2008-ld-soname): Likewise.
40048         (abi-n64_soft-ld-soname): Likewise.
40049         (abi-n64_hard-ld-soname): Likewise.
40050         (abi-n64_soft_2008-ld-soname): Likewise.
40051         (abi-n64_hard_2008-ld-soname): Likewise.
40052         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
40053         Likewise.
40054         (abi-64-v2-ld-soname): Likewise.
40055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
40056         ld.so entries.
40057         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
40058         variable.
40059         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
40060         entry.
40061         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
40062         variable.
40063         (abi-64-ld-soname): Likewise.
40064         (abi-x32-ld-soname): Likewise.
40065         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
40066         entry.
40067         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40069 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
40071         [BZ #14138]
40072         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
40073         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
40074         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
40075         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
40076         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
40077         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
40078         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
40079         syscall entry for GLIBC_2.2 symbol version.
40080         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
40081         Likewise.
40082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
40083         (setrlimit): Likewise.
40084         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
40085         Likewise.
40087 2014-09-23  Will Newton  <will.newton@linaro.org>
40089         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
40090         _LINUX_ARM_SYSDEP_H include guard too.
40091         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
40092         define.
40094 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
40096         * sysdeps/unix/sysv/linux/eventfd.c:
40097         Make first argument unsigned.
40098         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
40099         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
40101 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
40103         [BZ #16852]
40104         * socket/recvmmsg.c (recvmmsg): Drop const argument.
40105         * socket/sys/socket.h: Likewise.
40106         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
40108 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40110         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
40112 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
40114         * time/tst-ftime.c: New test.
40115         * time/Makefile (tests): Add tst-ftime.
40117 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
40119         * soft-fp/extended.h: Fix comment formatting.
40120         * soft-fp/op-1.h: Likewise.
40121         * soft-fp/op-2.h: Likewise.
40122         * soft-fp/op-4.h: Likewise.
40123         * soft-fp/op-8.h: Likewise.
40124         * soft-fp/op-common.h: Likewise.
40125         * soft-fp/soft-fp.h: Likewise.
40127         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
40129 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
40131         [BZ #6652]
40132         * Makeconfig (soversions-default-setname): Remove variable.
40133         ($(common-objpfx)soversions.i): Don't pass default_setname to
40134         soversions.awk.
40135         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
40136         oldest_abi to abi-versions.awk.
40137         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
40138         * config.make.in (oldest-abi): Remove variable.
40139         * configure.ac (--enable-oldest-abi): Remove configure option.
40140         * configure: Regenerated.
40141         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
40142         text.
40143         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
40144         * scripts/soversions.awk: Do not handle default_setname variable.
40145         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
40146         variable.
40147         * sysdeps/mach/hurd/configure: Regenerated.
40148         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
40149         variable.
40150         * sysdeps/unix/sysv/linux/configure: Regenerated.
40152 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40154         * elf/Makefile (CFLAGS-interp.c): Remove.
40155         ($(elf-objpfx)runtime-linker.h): Generate header with linker
40156         path string.
40157         * elf/interp.c: Include generated runtime-linker.h
40159         * Makerules (lib%.so): Don't include $(+interp) in
40160         prerequisites.
40161         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
40162         * dlfcn/eval.c: Remove file.
40164         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
40165         macros.
40167         [BZ #17266]
40168         * misc/sys/cdefs.h: Define __extern_always_inline for clang
40169         4.2 and newer.
40171         [BZ #17370]
40172         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
40174 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40175             Jakub Jelinek  <jakub@redhat.com>
40177         [BZ #17266]
40178         * libio/stdio.h: Check definition of __fortify_function
40179         instead of __extern_always_inline to include bits/stdio2.h.
40180         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
40181         check if __extern_always_inline is defined.
40182         [__USE_MISC || __USE_XOPEN]: Likewise.
40183         [__USE_ISOC99] Likewise.
40184         * misc/sys/cdefs.h (__fortify_function): Define only if
40185         __extern_always_inline is defined.
40186         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
40187         __extern_always_inline and __extern_inline only for g++-4.3
40188         and newer or a compatible gcc.
40190 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
40192         [BZ #17371]
40193         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40194         last change to handle zero prefix length.
40196 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40198         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
40199         _SC_REGEX_VERSION.
40201         * posix/getconf.c (vars): Add _POSIX_IPV6 and
40202         _POSIX_RAW_SOCKETS.
40204 2014-09-13  Allan McRae  <allan@archlinux.org>
40206         * po/ru.po: Update Russian translation from translation project.
40208 2014-09-12  Roland McGrath  <roland@hack.frob.com>
40210         * locale/programs/locale.c (show_locale_vars): Inline local function
40211         into its sole call site.  Clean up some style nits.
40212         (print_item): New function, broken out of ...
40213         (show_info): ... local function here.  Clean up style nits.
40215         * locale/programs/ld-ctype.c (set_one_default): New function, broken
40216         out of ...
40217         (set_class_defaults): ... local function set_default here.
40218         Define set_default as a macro locally to pass constant parameters.
40219         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
40220         rather than a shared local.
40222         * stdlib/rpmatch.c (try): New function, broken out of ...
40223         (rpmatch): ... local function here.  Also, prototypify definition.
40225 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
40227         * scripts/soversions.awk: Do not handle configuration names.
40228         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
40229         vendor and os variables to soversions.awk.
40230         * configure.ac: Do not modify gnu-* host_os.
40231         * configure: Regenerated
40232         * shlib-versions: Remove first column with configuration names.
40233         * nptl/shlib-versions: Likewise.
40234         * nptl_db/shlib-versions: Likewise.
40235         * sysdeps/hppa/shlib-versions: Likewise.
40236         * sysdeps/m68k/shlib-versions: Likewise.
40237         * sysdeps/mach/hurd/shlib-versions: Likewise.
40238         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
40239         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
40240         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
40241         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
40242         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
40243         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
40244         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
40245         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
40246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
40247         Likewise.
40248         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40249         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
40250         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
40251         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
40252         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
40253         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
40254         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
40255         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
40258         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
40259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
40260         Regenerated.
40261         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
40262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
40263         Condition symbol version definitions on [HAVE_ELFV2_ABI].
40265         * shlib-versions: Remove OS-specific entries.  Moved to files in
40266         sysdeps.
40267         * sysdeps/mach/hurd/shlib-versions: New file.
40268         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
40270         * nptl/shlib-versions: Remove architecture-specific entries.
40271         Moved to files in sysdeps.
40272         * shlib-versions: Likewise.
40273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
40274         file.
40275         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40276         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
40277         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
40278         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
40280         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
40281         (UDP_NO_CHECK6_RX): Likewise.
40283 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40285         * sysdeps/posix/sysconf.c (__sysconf): Spell
40286         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
40288 2014-08-12  Florian Weimer  <fweimer@redhat.com>
40290         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
40291         loading.
40292         * iconv/Versions (__gconv_transliterate): Export for use from
40293         gconv modules.
40294         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
40295         (struct __gconv_trans_data, __gconv_trans_fct,
40296         __gconv_trans_context_fct, __gconv_trans_query_fct,
40297         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
40298         definitions.
40299         (struct __gconv_step_data): Remove __trans member.
40300         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
40301         longer hidden.  Remove unused trans_data argument.
40302         * iconv/gconv_int.h (struct trans_struct): Remove definition.
40303         (__gconv_translit_find): Remove declaration.
40304         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
40305         prototype.
40306         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
40307         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
40308         trans_data argument.  Add hidden definition.
40309         (__gconv_translit_find): Remove.
40310         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
40311         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
40312         * iconv/skeleton.c: Remove transliteration initialization.
40313         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
40314         __gconv_step_data initialization.
40315         * libio/iofwide.c (__libio_translit_): Remove.
40316         (_IO_fwide): Adjust struct __gconv_step_data initialization.
40317         * wcsmbs/btowc.c (__btowc): Likewise.
40318         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
40319         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
40320         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
40321         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
40322         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
40323         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
40324         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
40325         * wcsmbs/wctob.c (wctob): Likewise.
40327 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40329         [BZ #16194]
40330         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
40331         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
40332         register usage.
40333         * sysdeps/x86/Makefile: Adjust.
40335 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40336             Roland McGrath  <roland@hack.frob.com>
40338         * locale/weight.h: Add include guard.
40339         (findidx): Make static rather than auto; take new parameters
40340         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
40341         * locale/weightwc.h: Likewise.
40342         * posix/fnmatch_loop.c
40343         (FCT): Change type of EXTRA from int32_t to wint_t.
40344         Don't include either header inside the function.
40345         Call FINDIDX rather than findidx, and pass new arguments.
40346         #undef FINDIDX at the end of the file.
40347         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
40348         FINDIDX before including fnmatch_loop.c for the non-wide version.
40349         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
40350         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
40351         for the wide version.
40352         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
40353         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
40354         Pass new arguments to findidx.
40355         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
40356         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
40357         Don't #include it inside the function.  Pass new arguments to findidx.
40358         * posix/regex_internal.h
40359         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
40360         (re_string_elem_size_at): Don't #include it inside the function.
40361         Pass new arguments to findidx.
40362         * string/strcoll_l.c: #include WEIGHT_H at top level.
40363         (get_next_seq): Don't #include it inside the function.
40364         Pass new arguments to findidx.
40365         (get_next_seq_nocache): Likewise.
40366         * string/strxfrm_l.c: #include WEIGHT_H at top level.
40367         (STRXFRM): Don't #include it inside the function.
40368         Pass new arguments to findidx.
40370 2014-09-11  Florian Weimer  <fweimer@redhat.com>
40372         [BZ #17344]
40373         * malloc/malloc.c (unlink): Turn asserts into a call to
40374         malloc_printerr.
40376 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
40378         [BZ #17370]
40379         * libio/wfileops (do_ftell_wide): Free OUT.
40381 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
40383         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
40385 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40387         [BZ #17363]
40388         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
40389         group if the current group is empty.
40391 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40393         * benchtests/bench-memset.c (test_main): Add more test from size
40394         from 32 to 512 bytes.
40395         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40396         Add POWER8 memset object.
40397         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40398         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
40399         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
40400         implementation.
40401         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
40402         Likewise.
40403         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
40404         multiarch POWER8 memset optimization.
40405         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
40406         POWER8 memset optimization.
40408         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40409         Remove bzero multiarch objects.
40410         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
40411         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
40412         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
40413         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
40414         Remove define.
40415         [__bzero]: Redefine to specific name.
40416         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
40417         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
40418         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
40419         define.
40420         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40421         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
40423 2014-09-10  Florian Weimer  <fweimer@redhat.com>
40425         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
40426         warnings into errors.
40428         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
40429         __cxa_thread_atexit_impl prototype.
40431 2014-09-09  Steve Ellcey  <sellcey@mips.com>
40433         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
40434         Fix capitalization of error message.
40436 2014-09-09  Steve Ellcey  <sellcey@mips.com>
40438         * sysdeps/mips/preconfigure: Modify ABI tests.
40440 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
40442         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
40444 2014-09-07  Roland McGrath  <roland@hack.frob.com>
40445             Carlos O'Donell  <carlos@systemhalted.org>
40447         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
40448         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
40449         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
40450         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
40451         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
40452         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
40453         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
40454         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
40455         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
40456         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
40457         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
40458         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
40459         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
40460         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
40461         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
40462         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
40463         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
40464         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
40465         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
40466         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
40467         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
40468         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
40469         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
40470         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
40471         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
40472         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
40473         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
40474         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
40475         Deconditionalize the code that was previously under [RESET_PID].
40476         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
40477         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
40478         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
40479         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
40480         include sysdep.h.
40482 2014-09-08  Allan McRae  <allan@archlinux.org>
40484         * version.h (RELEASE): Set to "development".
40485         (VERSION): Set to "2.20.90"
40487 2014-09-07  Allan McRae  <allan@archlinux.org
40489         * version.h (RELEASE): Set to "stable".
40490         (VERSION): Set to "2.20"
40491         * include/features.h (__GLIBC_MINOR__): Set to 20.
40493         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
40494         Liebler.
40496         * po/ko.po: Update Korean translation from translation project.
40498 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
40500         [BZ #17354]
40501         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
40502         macro for handling signed relocations.
40504 2014-09-03  Florian Weimer  <fweimer@redhat.com>
40506         [BZ #17325]
40507         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
40508         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
40509         assert.
40510         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
40511         * iconvdata/ibm935.c (BODY): Likewise.
40512         * iconvdata/ibm937.c (BODY): Likewise.
40513         * iconvdata/ibm939.c (BODY): Likewise.
40514         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
40515         assert.
40516         * iconvdata/Makefile (iconv-test.out): Pass module list to test
40517         script.
40518         * iconvdata/run-iconv-test.sh: New test loop for checking for
40519         decoder crashers.
40521 2014-09-02  Khem Raj  <raj.khem@gmail.com>
40523         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
40524         libm_hidden_ver.
40526 2014-09-01  Allan McRae  <allan@archlinux.org>
40528         * po/eo.po: Update Esperanto translation from translation project.
40530         * po/ca.po: Update Catalan translation from translation project.
40532 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40534         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
40535         __proc_dostop call.
40537 2014-08-27  Mark Wielaard  <mjw@redhat.com>
40539         [BZ #17319]
40540         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
40541         to call set_thread_area instead of hand written asm.
40542         (__NR_set_thread_area): Removed define.
40543         (TLS_FLAG_WRITABLE): Likewise.
40544         (__ASSUME_SET_THREAD_AREA): Remove check.
40545         (TLS_EBX_ARG): Remove define.
40546         (TLS_LOAD_EBX): Likewise.
40548 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40550         Simplify atomicity of socket creation in bind.
40552         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
40553         looking up the name after linking the file.
40555 2014-08-27  Allan McRae  <allan@archlinux.org>
40557         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40559 2014-08-26  Florian Weimer  <fweimer@redhat.com>
40561         [BZ #17187]
40562         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
40563         trans_compare, open_translit, __gconv_translit_find):
40564         Remove module loading code.
40566 2014-08-26  Allan McRae  <allan@archlinux.org>
40568         * po/vi.po: Update Vietnamese translation from translation project.
40570         * po/uk.po: Update Ukrainian translation from translation project.
40572         * po/fr.po: Update French translation from translation project.
40574         * po/ru.po: Update Russian translation from translation project.
40576         * po/pl.po: Update Polish translation from translation project.
40578         * po/cs.po: Update Czech translation from translation project.
40580         * po/de.po: Update German translation from translation project.
40582         * po/bg.po: Update Bulgarian translation from translation project.
40584         * po/sv.po: Update Sweedish translation from translation project.
40586         * po/nl.po: Update Dutch translation from translation project.
40588         * po/es.po: Update Spanish translation from translation project.
40590 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40592         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
40594         * catgets/Makefile (CPPFLAGS-gencat): Remove.
40595         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
40596         (CPPFLAGS-iconvconfig): Likewise.
40597         * timezone/Makefile (CPPFLAGS-zic): Likewise.
40599         * include/libc-symbols.h: Remove unnecessary check for
40600         NOT_IN_libc.
40601         * nptl/pthreadP.h: Likewise.
40602         * sysdeps/aarch64/setjmp.S: Likewise.
40603         * sysdeps/alpha/setjmp.S: Likewise.
40604         * sysdeps/arm/sysdep.h: Likewise.
40605         * sysdeps/i386/setjmp.S: Likewise.
40606         * sysdeps/m68k/setjmp.c: Likewise.
40607         * sysdeps/posix/getcwd.c: Likewise.
40608         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40609         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
40610         * sysdeps/s390/s390-32/setjmp.S: Likewise.
40611         * sysdeps/s390/s390-64/setjmp.S: Likewise.
40612         * sysdeps/sh/sh3/setjmp.S: Likewise.
40613         * sysdeps/sh/sh4/setjmp.S: Likewise.
40614         * sysdeps/unix/alpha/sysdep.h: Likewise.
40615         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40616         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40617         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
40618         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40621         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40622         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40623         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40624         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40625         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40626         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40627         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40628         * sysdeps/x86_64/setjmp.S: Likewise.
40630 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
40632         [BZ #17263]
40633         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
40634         <stdint.h>.
40635         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
40636         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
40638 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40640         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
40642         [BZ #17262]
40643         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
40644         and __x86_64__ when disabling x87 inline functions.
40646 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
40648         [BZ #17259]
40649         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
40650         asm statement with __cpuid_count.
40652 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
40654         * configure.ac: Change __ehdr_start code to dereference the struct.
40655         Run readelf on the output to look for relocations.
40656         * configure: Regenerated.
40658 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
40660         [BZ #17261]
40661         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
40662         value to 0.
40663         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
40665 2014-08-12  Roland McGrath  <roland@hack.frob.com>
40667         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
40669 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
40671         [BZ #16892]
40672         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
40673         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
40675 2014-08-12  Sean Anderson  <seanga2@gmail.com>
40677         * malloc/malloc.c: Fix typo in comment.
40679 2014-08-09  Allan McRae  <allan@archlinux.org>
40681         * Regenerate libc.po.
40683 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
40685         * intl/tst-gettext2.sh: Check every lang file for creation.
40687 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
40689         * sysdeps/aarch64/fpu/math_private.h
40690         (libc_feholdsetround_noex_aarch64_ctx): New function.
40692 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
40694         * sysdeps/arm/armv6/strcpy.S (strcpy):
40695         Fix performance issue in misaligned cases.
40697 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40699         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
40700         Move definition from termios.h.
40701         (struct termio): Likewise.
40702         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40703         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
40704         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
40705         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
40706         Likewise.
40707         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
40708         Move definition to ioctl-types.h
40709         (struct termio): Likewise.
40710         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40711         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
40712         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
40713         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
40714         Likewise.
40716 2014-08-05  Richard Henderson  <rth@redhat.com>
40718         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
40719         exceptions.
40720         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
40721         Add fraiseexcpt.
40722         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
40723         Use __feraiseexcept.
40724         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
40725         Protect libm symbols with IS_IN_libm.
40727         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
40729 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
40731         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
40733 2014-08-04  Will Newton  <will.newton@linaro.org>
40735         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
40736         file.
40738 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
40740         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
40741         variants for each function.
40743 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40745         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
40746         appended ...
40747         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
40748         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
40749         appended ...
40750         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
40751         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
40752         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
40753         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
40754         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
40755         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
40756         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
40757         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
40758         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
40759         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
40760         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
40761         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
40762         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
40763         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
40764         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
40765         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
40766         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
40767         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
40768         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
40769         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
40770         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
40771         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
40772         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
40773         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
40774         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
40775         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
40776         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
40777         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
40778         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
40779         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
40780         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
40781         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
40782         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
40783         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
40784         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
40785         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
40786         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
40787         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
40788         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
40789         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
40790         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
40791         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
40792         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
40793         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
40794         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
40795         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
40796         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
40797         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
40798         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
40799         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
40800         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
40801         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
40802         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
40803         Update #include.
40804         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
40805         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
40807 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40809         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
40810         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
40811         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
40812         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
40813         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
40814         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
40816 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40818         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
40819         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
40820         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40821         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
40823 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40825         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
40826         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
40827         (__libc_vfork): Define function under this name.
40828         (__vfork): Define as an alias.
40829         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
40830         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
40832 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40834         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
40835         that was previously under [RESET_PID].
40836         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
40838 2014-08-04  Andreas Schwab  <schwab@suse.de>
40840         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
40842 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
40844         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
40845         (main): Likewise.
40847 2014-08-01  Roland McGrath  <roland@hack.frob.com>
40849         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
40851 2014-08-01  Richard Henderon  <rth@redhat.com>
40853         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
40854         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
40855         typo in exact zero test.
40856         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40857         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40858         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40860 2014-08-01  Roland McGrath  <roland@hack.frob.com>
40862         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
40863         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
40864         * sysdeps/arm/sysdep.h: ... here.
40865         [!__ASSEMBLER__]: Include <stdint.h>.
40867 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40869         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
40870         (HAVE_WCTYPE_H): Likewise.
40871         (HAVE_ISWCTYPE): Likewise.
40872         (ENABLE_NLS): Likewise.
40873         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
40874         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
40876         * posix/regex_internal.c: Check if DEBUG is defined and is
40877         set.
40879         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
40880         (HAVE_MBSRTOWCS): Likewise.
40881         * posix/fnmatch.c: Include string.h unconditionally.
40883 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
40885         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
40886         reversal.
40888 2014-07-31  Roland McGrath  <roland@hack.frob.com>
40890         * sysdeps/generic/safe-fatal.h: New file.
40891         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
40892         * nptl/forward.c: Include it.
40893         (__pthread_unwind): Use __safe_fatal as default action, rather
40894         than a bogus use of INTERNAL_SYSCALL that could never work.
40896         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
40897         * configure.ac (libc_cv_builtin_trap): New test.
40898         * configure: Regenerated.
40899         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
40900         (ABORT_INSTRUCTION): Define using __builtin_trap.
40902         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
40903         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
40904         * sysdeps/nptl/nptl-signals.h: New file.
40905         * nptl/pthreadP.h: Include <nptl-signals.h>.
40907 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
40909         * sysdeps/s390/s390-64/utf16-utf32-z9.c
40910         (ONE_DIRECTION): Define.
40911         * sysdeps/s390/s390-64/utf8-utf16-z9.c
40912         (ONE_DIRECTION): Define.
40913         * sysdeps/s390/s390-64/utf8-utf32-z9.c
40914         (ONE_DIRECTION): Define.
40916 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
40918         * sysdeps/s390/Makefile: Delete file.
40919         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
40920         * sysdeps/s390/__longjmp.c: Delete file.
40921         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
40922         Remove fields __flags and __reserved.
40923         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
40924         and add versioning.
40925         * sysdeps/s390/rtld-__longjmp.c: Delete file.
40926         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
40927         * sysdeps/s390/rtld-setjmp.S: Likewise.
40928         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
40929         * sysdeps/s390/s390-32/__longjmp.c: ... here.
40930         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
40931         * sysdeps/s390/s390-32/setjmp.S: ... here.
40932         Add versioning.
40933         (__sigsetjmp): Remove setting __flags field.
40934         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
40935         * sysdeps/s390/s390-64/__longjmp.c: ... here.
40936         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
40937         * sysdeps/s390/s390-64/setjmp.S: ... here.
40938         Add versioning.
40939         (__sigsetjmp): Remove setting __flags field.
40940         * sysdeps/s390/setjmp.S: Delete file.
40941         * sysdeps/s390/sigjmp.c: Likewise.
40942         * sysdeps/s390/v1-longjmp.c: Likewise.
40943         * sysdeps/s390/v1-setjmp.h: Likewise.
40944         * sysdeps/s390/v1-sigjmp.c: Likewise.
40945         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
40946         Remove v1-longjmp_chk.
40947         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
40948         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
40949         Include debug/longjmp_chk.c and add versioning.
40950         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
40951         Include nptl/pt-longjmp.c and add versioning.
40952         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
40953         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
40954         Include __longjmp.c.
40955         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
40956         Move to ...
40957         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
40958         (__getcontext): Remove setting __flags field.
40959         Add versioning.
40960         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
40961         Don't restore upper high grps.
40962         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
40963         Likewise.
40964         (__swapcontext): Remove setting uc_flags field.
40965         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
40966         Delete file.
40967         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
40968         Include __longjmp.c.
40969         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
40970         Move to ...
40971         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
40972         (__getcontext): Remove setting __flags field.
40973         Add versioning.
40974         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
40975         (__swapcontext): Remove setting uc_flags field.
40976         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
40977         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
40978         Remove fields uc_high_gprs and __reserved.
40979         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
40980         New file with reverted content.
40981         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
40982         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
40983         Regenerated.
40984         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
40985         Regenerated.
40987 2014-07-31  Andreas Schwab  <schwab@suse.de>
40989         * config.h.in (HAVE_IFUNC): Define to 0.
40990         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
40991         definedness.
40993 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
40995         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40996         memmove-avx-unaligned, memcpy-avx-unaligned and
40997         mempcpy-avx-unaligned.
40998         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40999         Add tests for AVX memcpy functions.
41000         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
41001         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
41002         memcpy_chk.
41003         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
41004         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
41005         memmove_chk.
41006         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
41007         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
41008         mempcpy_chk.
41009         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
41010         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
41011         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
41013 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41015         [BZ #17213]
41016         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
41017         powerpc64le.
41019 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
41021         [BZ #16839]
41022         * manual/llio.texi: Add section about open file description locks.
41023         * manual/examples/ofdlocks.c: Example of open file description
41024         lock usage.
41025         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
41026         F_OFD_SETLK, and F_OFD_SETLKW.
41028 2014-07-23  Allan McRae  <allan@archlinux.org>
41030         * po/es.po: Update Spanish translation from translation project.
41032 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
41034         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
41036 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
41038         [BZ #17078]
41039         * sysdeps/arm/dl-machine.h (elf_machine_rela)
41040         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
41041         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
41043 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
41045         [BZ #17088]
41046         * math/fesetenv.c (__fesetenv)
41047         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
41048         * math/feupdateenv.c (__feupdateenv)
41049         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
41051         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
41052         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
41053         (__ASSUME_SOCKETCALL): Do not define.
41055         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
41056         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
41057         (__ASSUME_SOCKETCALL): Do not define.
41058         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
41059         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
41060         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41061         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
41062         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41063         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
41064         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41065         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41067         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
41068         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
41069         (__ASSUME_SOCKETCALL): Do not define.
41070         (__ASSUME_IPC64): Define unconditionally.
41071         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
41072         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41073         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
41074         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41075         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
41076         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41077         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
41078         Likewise.
41080         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
41081         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
41082         (__ASSUME_SOCKETCALL): Do not define.
41083         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
41084         (__ASSUME_FUTEX_LOCK_PI): Likewise.
41085         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41086         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
41087         (__ASSUME_REQUEUE_PI): Define unconditionally.
41088         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
41089         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
41090         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41091         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
41092         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41093         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41095         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
41096         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
41097         (__ASSUME_SOCKETCALL): Do not define.
41098         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
41099         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41100         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41101         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
41102         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41103         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41105         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
41106         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
41107         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41108         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
41109         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41110         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
41111         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41112         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
41113         (__ASSUME_GETCPU_SYSCALL): Likewise.
41115         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
41116         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
41117         cases for individual architectures.
41118         * sysdeps/gnu/configure: Regenerated.
41119         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
41120         LIBC_SLIBDIR_RTLDDIR.
41121         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
41122         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
41123         LIBC_SLIBDIR_RTLDDIR.
41124         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
41125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
41126         LIBC_SLIBDIR_RTLDDIR.
41127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
41128         Regenerated.
41129         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
41130         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
41131         file.
41132         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
41133         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
41134         file.
41135         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
41136         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
41137         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
41138         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
41140         * sysdeps/aarch64/shlib-versions: Move to ...
41141         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
41142         * sysdeps/alpha/shlib-versions: Move to ...
41143         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
41144         * sysdeps/arm/shlib-versions: Move to ...
41145         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
41146         * sysdeps/hppa/shlib-versions: Move all contents except for
41147         libgcc_s entry to ...
41148         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
41149         entry from ...
41150         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
41151         * sysdeps/ia64/shlib-versions: Move to ...
41152         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
41153         entry from ...
41154         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
41155         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
41156         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
41157         * sysdeps/microblaze/shlib-versions: Move to ...
41158         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
41159         * sysdeps/mips/shlib-versions: Move to ...
41160         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
41161         entry from ...
41162         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
41163         * sysdeps/tile/shlib-versions: Move to ...
41164         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
41165         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
41166         from ...
41167         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
41168         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
41169         entry from ...
41170         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
41172 2014-07-17  Will Newton  <will.newton@linaro.org>
41174         * sysdeps/arm/bits/atomic.h
41175         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
41176         (__arch_compare_and_exchange_bool_16_int): Likewise.
41177         (__arch_compare_and_exchange_bool_64_int): Likewise.
41179         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
41180         into an #else block.
41182 2014-07-16  Roland McGrath  <roland@hack.frob.com>
41184         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
41185         just Linux configurations.  Test empirically that the compiler sets
41186         __ARM_EABI__, rather than using the tuple to decide.
41187         * sysdeps/arm/preconfigure: Regenerated.
41188         * sysdeps/unix/sysv/linux/arm/configure: File removed.
41189         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
41190         contents appended ...
41191         * sysdeps/arm/configure.ac: ... here.
41192         * sysdeps/arm/configure: Regenerated.
41194 2014-07-15  Roland McGrath  <roland@hack.frob.com>
41196         * nptl/pthread_kill.c: New file.
41197         * nptl/pthread_sigmask.c: New file.
41198         * nptl/pthread_sigqueue.c: New file.
41200         * sysdeps/nptl/lowlevellock.h: New file.
41201         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
41202         * sysdeps/nptl/lowlevellock-futex.h: New file.
41204         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
41205         Remove dead declarations.
41207 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
41209         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
41210         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
41211         config-cflags-avx2.
41212         * sysdeps/x86_64/configure.ac: Likewise.
41213         * sysdeps/i386/configure: Regenerated.
41214         * sysdeps/x86_64/configure: Likewise.
41215         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41216         memset-avx2 only if config-cflags-avx2 is yes.
41217         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41218         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
41219         defined.
41220         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
41221         only if HAVE_AVX2_SUPPORT is defined.
41222         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41224 2014-07-14  Alan Modra  <amodra@gmail.com>
41226         [BZ #17153]
41227         * elf/elf.h (DT_PPC64_NUM): Correct value.
41228         * NEWS: Add to fixed bug list.
41230 2014-07-13  Jim Meyering  <meyering@fb.com>
41232         [BZ 17150]
41233         regex: don't deref NULL upon heap allocation failure
41234         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
41235         failure in one more place.
41236         To trigger the segfault, configure grep -with-included-regex,
41237         build it, and run these commands:
41238         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
41240 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
41242         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
41244 2014-07-11  Richard Henderson  <rth@redhat.com>
41246         * sysdeps/aarch64/libm-test-ulps: Update.
41248 2014-07-10  Florian Weimer  <fweimer@redhat.com>
41250         [BZ #17135]
41251         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
41252         * nptl/allocatestack.c (__nptl_setxid_error): New function.
41253         (__nptl_setxid): Initialize error member.  Call
41254         __nptl_setxid_error.
41255         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
41256         * nptl/descr.h (struct xid_command): Add error member.
41257         * nptl/tst-setuid3.c: New file.
41258         * nptl/Makefile (tests): Add it.
41260 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41262         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
41263         New define.
41264         (__lll_trylock): Use __lll_base_trylock.
41265         (__lll_cond_trylock): Likewise.
41267 2014-07-10  Roland McGrath  <roland@hack.frob.com>
41269         * nptl/pthread_create.c (start_thread): Use atomic_or and
41270         lll_futex_wake directly rather than lll_robust_dead.
41271         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
41272         (lll_robust_dead): Macro removed.
41273         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
41274         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
41275         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
41276         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41277         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41278         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
41279         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
41280         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41281         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
41282         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41283         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41284         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41285         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41286         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41287         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41289         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
41290         Use atomic_compare_and_exchange_val_acq directly rather than
41291         lll_robust_trylock.
41292         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
41293         (__lll_robust_trylock, lll_robust_trylock): Removed.
41294         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
41295         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
41296         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41297         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41298         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
41299         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
41300         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41301         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
41302         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41303         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41304         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41305         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41306         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41307         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41309 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41311         * manual/locale.texi (Locale Names): New section documenting
41312         locale name syntax.  Adjust menu and node chaining accordingly.
41313         (Choosing Locale): Reference Locale Names, Locale Categories.
41314         Mention setting LC_ALL=C.  Reflect that name syntax is now
41315         documented.
41316         (Locale Categories): New section title.  Reference Locale Names.
41317         LC_ALL is an environment variable, but not a category.
41318         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
41319         description, now in Locale Name.  Reference that section.  Locale
41320         name syntax is now documented.
41322 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41324         [BZ #17137]
41325         * locale/findlocale.c (name_present, valid_locale_name): New
41326         functions.
41327         (_nl_find_locale): Use the loc_name variable to store name
41328         candidates.  Call name_present and valid_locale_name to check and
41329         validate locale names.  Return an error if the locale is invalid.
41331 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41333         * locale/setlocale.c (setlocale): Use strdup for allocating
41334         composite name copy.
41336 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41338         Sync up with gnulib.
41339         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
41340         [!_LIBC && ENABLE_NLS]: Include gettext.h.
41341         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
41342         and _GL_ARG_NONNULL.
41343         [USE_UNLOCKED_IO]: Include unlocked-io.h.
41344         [!_LIBC]: Include code for Windows and Cygwin.
41345         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
41346         Include prototype for int strerror_r.
41347         [!_LIBC] (is_open): New function.
41348         (flush_stdout): New function.
41349         (print_errno_message): Use it.
41350         (error): Likewise.
41351         (error_at_line): Likewise.
41352         (error_tail) Add function attribute macros.  Use
41353         __builtin_expect.
41355         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
41357         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
41359         * io/ftw.c: Include sys/param.h unconditionally.
41361         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
41363         [BZ #17125]
41364         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
41365         libc_freeres_ptr.
41366         (freecache): New function to free CACHE on exit.
41368         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
41369         initialization.
41371 2014-07-09  David S. Miller  <davem@davemloft.net>
41373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41375         * sysdeps/sparc/nptl/internaltypes.h: Delete.
41376         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
41377         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
41378         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
41379         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
41380         * sysdeps/sparc/nptl/sem_init.c: Likewise.
41381         * sysdeps/sparc/nptl/sem_post.c: Likewise.
41382         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
41383         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
41384         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
41385         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
41386         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
41387         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
41389 2014-07-09  Andreas Schwab  <schwab@suse.de>
41391         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
41392         output.
41393         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
41394         (do_test): Likewise.
41396         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41398 2014-07-09  Will Newton  <will.newton@linaro.org>
41400         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
41401         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
41402         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
41403         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
41404         * sysdeps/hppa/start.S (_start): Likewise.
41406 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
41408         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
41410         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
41411         defined.
41413 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41415         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
41416         after checking that it is non-NULL.
41418         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
41420 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41422         * sysdeps/powerpc/memmove.c: Remove file.
41423         * sysdeps/powerpc/powerpc32/power4/memcopy.h
41424         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
41425         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
41426         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
41427         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
41428         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
41429         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
41430         string memmove instead of removed powerpc one.
41432         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41433         [weak_alias]: Fix compiler warning due trailing data.
41434         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
41435         [weak_alias]: Likewise.
41436         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
41437         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
41439         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41440         (__libc_ifunc_impl_list): Add memmove functions.
41442 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41444         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
41445         Remove code.
41446         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
41447         Likewise.
41448         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
41449         Likewise.
41450         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
41451         Likewise.
41452         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
41453         Likewise.
41454         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
41455         Likewise.
41456         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
41457         Likewise.
41458         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
41459         Likewise.
41460         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
41461         Likewise.
41462         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
41463         Likewise.
41464         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
41465         Likewise.
41466         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
41467         Likewise.
41468         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
41469         Likewise.
41470         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
41471         Likewise.
41472         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
41473         Likewise.
41474         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
41475         Likewise.
41476         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
41477         Likewise.
41479 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41481         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
41482         to avoid alignment traps in non-cacheable memory.
41483         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
41485         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
41486         multiarch objects.
41487         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
41488         file: multiarch power7 memmove.
41489         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
41490         multiarch default memmove.
41491         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
41492         multiarch memove for powerpc32/power4.
41494         * string/bcopy.c: Use full path to include memmove.c.
41495         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
41496         multiarch objects.
41497         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
41498         bcopy for powerpc64.
41499         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
41500         bcopy for powerpc64.
41501         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
41502         and memmove implementations.
41503         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
41504         optimized multiarch memmove for POWER7/powerpc64.
41505         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
41506         default multiarch memmove for powerpc64.
41507         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
41508         multiarch for powerpc64.
41509         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
41510         for POWER7/powerpc64.
41511         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
41512         memmove for POWER7/powerpc64.
41514         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
41515         glibc default one.
41517         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
41518         __ELF_NATIVE_CLASS equal to 64.
41520 2014-07-07  Roland McGrath  <roland@hack.frob.com>
41522         * sysdeps/nptl/lowlevellock.h: File removed.
41524         * NEWS: NPTL is no longer an add-on!
41525         * nptl/internaltypes.h: Moved ...
41526         * sysdeps/nptl/internaltypes.h: ... here.
41527         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
41528         * sysdeps/nptl/fork.c: Likewise.
41529         * sysdeps/nptl/gai_misc.h: Likewise.
41530         * sysdeps/nptl/librt-cancellation.c: Likewise.
41531         * sysdeps/nptl/jmp-unwind.c: Likewise.
41532         * sysdeps/nptl/setxid.h: Likewise.
41533         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
41534         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
41535         * sysdeps/unix/sysv/linux/arm/Implies: New file.
41536         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
41537         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
41538         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
41539         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
41540         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
41541         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
41542         * sysdeps/unix/sysv/linux/mips/Implies: New file.
41543         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
41544         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
41545         * sysdeps/unix/sysv/linux/sh/Implies: New file.
41546         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
41547         * sysdeps/unix/sysv/linux/tile/Implies: New file.
41548         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
41549         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
41550         * nptl/Makeconfig: Moved ...
41551         * sysdeps/nptl/Makeconfig: ... here.
41552         * nptl/configure: File removed.
41553         * nptl/ANNOUNCE: File removed.
41554         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
41555         * sysdeps/unix/sysv/linux/configure: Regenerated.
41557         * nptl/Makefile (routines): Add libc_pthread_init,
41558         libc_multiple_threads, register-atfork and unregister-atfork.
41559         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
41560         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
41561         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
41562         pthread-pi-defines.sym, structsem.sym.
41563         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
41564         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
41565         [$(subdir) = nptl] (tests): Add tst-setgetname.
41566         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
41567         * sysdeps/unix/sysv/linux/sigaction.c: Just include
41568         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
41569         [!LIBC_SIGACTION]: Remove aliases.
41570         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
41571         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
41572         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
41573         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
41574         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
41575         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
41576         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41577         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41578         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
41579         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
41580         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
41581         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
41582         __libc_allocate_rtsig_private.
41583         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
41584         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
41585         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
41586         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
41587         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
41588         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
41589         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
41590         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
41591         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
41592         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
41593         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
41594         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
41595         * nptl/internaltypes.h: ... here.
41596         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
41597         * sysdeps/nptl/jmp-unwind.c: ... here.
41598         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
41599         * nptl/libc-lowlevellock.c: ... here.
41600         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
41601         * nptl/libc_multiple_threads.c: ... here.
41602         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
41603         * nptl/libc_pthread_init.c: ... here.
41604         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
41605         * nptl/lowlevelbarrier.sym: ... here.
41606         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
41607         * nptl/lowlevelcond.sym: ... here.
41608         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
41609         * nptl/lowlevellock.c: ... here.
41610         * nptl/lowlevellock.h: Moved ...
41611         * sysdeps/nptl/lowlevellock.h: ... here.
41612         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
41613         * nptl/lowlevelrobustlock.c: ... here.
41614         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
41615         * nptl/lowlevelrobustlock.sym: ... here.
41616         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
41617         * nptl/lowlevelrwlock.sym: ... here.
41618         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
41619         * nptl/pt-fork.c: ... here.
41620         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
41621         * nptl/pthread-pi-defines.sym: ... here.
41622         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
41623         * nptl/pthread_attr_getaffinity.c: ... here.
41624         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
41625         * nptl/pthread_attr_setaffinity.c: ... here.
41626         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
41627         * nptl/pthread_mutex_cond_lock.c: ... here.
41628         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
41629         Update #include.
41630         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
41631         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
41632         * nptl/pthread_once.c: ... here, replacing old file.
41633         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
41634         * nptl/pthread_yield.c: ... here.
41635         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
41636         * nptl/register-atfork.c: ... here.
41637         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
41638         * nptl/sem_post.c: ... here.
41639         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
41640         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
41641         * nptl/sem_timedwait.c: ... here.
41642         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
41643         * nptl/sem_trywait.c: ... here.
41644         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
41645         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
41646         * nptl/sem_wait.c: ... here.
41647         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
41648         * nptl/structsem.sym: ... here.
41649         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
41650         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
41651         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
41652         * nptl/unregister-atfork.c: ... here.
41653         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
41654         * nptl/unwindbuf.sym: ... here.
41655         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
41656         * sysdeps/nptl/fork.c: ... here.
41657         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
41658         * sysdeps/nptl/fork.h: ... here.
41659         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
41660         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
41661         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
41662         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
41663         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
41664         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
41665         * sysdeps/unix/sysv/linux/getpid.c: ... here.
41666         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
41667         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
41668         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
41669         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
41670         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
41671         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
41672         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
41673         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
41674         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
41675         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
41676         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
41677         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
41678         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
41679         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
41680         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
41681         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
41682         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
41683         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
41684         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
41685         * sysdeps/unix/sysv/linux/raise.c: ... here.
41686         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
41687         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
41688         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
41689         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
41690         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
41691         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
41692         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
41693         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
41694         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
41695         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
41696         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
41697         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
41698         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
41699         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
41700         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
41702 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41704         * sysdeps/generic/memcopy.h: Add comment for
41705         MEMCPY_OK_FOR_FWD_MEMMOVE.
41707 2014-07-04  Will Newton  <will.newton@linaro.org>
41709         * string/memchr.c: Merge from gnulib.
41710         [_LIBC]: Remove conditionals.
41711         (__ptr_t): Remove define.
41712         (LONG_MAX_32_BITS): Likewise.
41713         (LONG_MAX): Likewise.
41714         (MEMCHR): Use ANSI prototype and optimize algorithm.
41716         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
41718 2014-07-03  Roland McGrath  <roland@hack.frob.com>
41720         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
41721         (lll_futex_timed_wait_bitset): Fix syscall argument count.
41723         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
41724         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
41725         in a bare environment with no <stdlib.h> installed.
41726         * sysdeps/nptl/configure: Regenerated.
41728         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
41730         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
41731         AC_EGREP_CPP for kernel header checks, so they only succeed if
41732         including <linux/version.h> actually works right.
41733         * sysdeps/unix/sysv/linux/configure: Regenerated.
41735         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
41736         value so it's not diagnosed as unused.
41738         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
41739         thing) with "ifeq ($(subdir),rt)".
41741 2014-07-03  Richard Henderson  <rth@redhat.com>
41743         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
41744         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
41745         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
41747         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
41748         (math_force_eval): New.
41750         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
41751         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
41753         * sysdeps/alpha/fpu/s_round.c: Remove file.
41754         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
41756         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
41757         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
41758         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
41759         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
41760         (_dl_start, print_statistics): Likewise.
41761         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
41762         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
41764         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41765         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41766         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41767         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41768         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41769         (HP_SMALL_TIMING_AVAIL): Define.
41770         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41771         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
41772         (HP_SMALL_TIMING_AVAIL): Define.
41773         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41774         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41776         * sysdeps/aarch64/hp-timing.h: New file.
41778         * sysdeps/generic/hp-timing.h: Remove dead comment.
41779         * sysdeps/generic/hp-timing-common.h: New file.
41780         * sysdeps/alpha/hp-timing.h: Include it.
41781         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
41782         * sysdeps/i386/i686/hp-timing.h: Likewise.
41783         * sysdeps/ia64/hp-timing.h: Likewise.
41784         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41785         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41786         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41787         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41788         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
41789         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
41790         (hp_timing_t): New.
41792         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
41793         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
41794         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
41795         * elf/rtld.c (_dl_start_final): Likewise.
41796         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
41797         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41798         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41799         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41800         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41801         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41802         (HP_TIMING_DIFF_INIT): Remove.
41803         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41804         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
41805         (HP_TIMING_DIFF_INIT): Remove.
41806         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41807         * sysdeps/i386/i686/hp-timing.c: Remove file.
41808         * sysdeps/x86_64/hp-timing.c: Remove file.
41809         * sysdeps/ia64/hp-timing.c: Remove file.
41810         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
41811         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
41812         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
41813         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
41815         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
41816         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
41817         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
41818         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41819         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41820         (HP_TIMING_ACCUM): Remove.
41821         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41822         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
41823         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41825         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
41826         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
41827         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
41828         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
41829         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
41830         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
41831         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
41832         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
41834         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
41836 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
41838         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
41840 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41842         Sync up with gettext.
41843         * intl/loadmsgcat.c: Define O_BINARY if not defined.
41844         [_MSC_VER]: Include malloc.h
41845         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
41846         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
41847         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
41848         TEMP_FAILURE_RETRY.  Cast return of alloca.
41849         [!_LIBC] Call gl_rwlock_init.
41850         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
41852 2014-07-02  Roland McGrath  <roland@hack.frob.com>
41854         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
41855         before checking its value.
41857 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41859         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
41861         * debug/memcpy_chk.c: Don't include pagecopy.h.
41862         * debug/mempcpy_chk.c: Likewise.
41863         * string/memcpy.c: Likewise.
41864         * string/memmove.c: Likewise.
41865         * sysdeps/powerpc/memmove.c: Likewise.
41866         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
41867         definition of PAGE_COPY_FWD_MAYBE here...
41868         * sysdeps/generic/pagecopy.h: ... from here.
41869         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
41871 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41872             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41874         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
41875         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
41876         optimizations.
41877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41878         (__libc_ifunc_impl_list): Likewise.
41879         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
41880         multiarch strcat for PPC64.
41881         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
41882         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
41884 2014-07-02  Roland McGrath  <roland@hack.frob.com>
41886         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
41888 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41890         * intl/loadmsgcat.c: Remove declaration of
41891         get_sysdep_segment_value.
41892         (get_sysdep_segment_value): Use ISO C style.
41893         (_nl_load_domain): Use ISO C style.  Get rid of redundant
41894         semicolon.  Fix typo and formatting in comment.
41895         (_nl_unload_domain): Use ISO C style.
41897         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
41899 2014-07-02  Will Newton  <will.newton@linaro.org>
41901         * malloc/obstack.c: Merge from gnulib master.
41902         [HAVE_CONFIG_H]: Remove conditional code.
41903         [!_LIBC]: Include config.h.
41904         [!ELIDE_CODE]: Don't include inttypes.h, include
41905         stdint.h unconditionally.
41906         (print_and_abort): Mark as _Noreturn.
41907         (_obstack_allocated_p): Mark as __attribute_pure__.
41908         (obstack_free): Rename to __obstack_free.
41909         [!__attribute__]: Remove conditional code.
41910         * malloc/obstack.h: Merge from gnulib master.
41911         [__cplusplus]: Move conditional down.
41912         [!__attribute_pure__]: Define __attribute_pure__ here
41913         if it is not already defined.
41914         (_obstack_memory_used): Mark as __attribute_pure__.
41915         [!__obstack_free]: Define as obstack_free.
41916         [__GNUC__]: Remove check for ancient NeXT gcc.
41918 2014-07-02  Will Newton  <will.newton@linaro.org>
41919             Paul Eggert  <eggert@cs.ucla.edu>
41921         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
41923 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41925         * resolv/gethnamaddr.c: Add comment warning that the file is
41926         not maintained.
41928 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
41930         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
41931         entries.
41933         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
41934         entry for aio_cancel and aio_cancel64.
41935         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
41936         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
41937         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
41938         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
41939         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
41940         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
41941         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
41942         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
41943         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
41944         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
41945         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
41946         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
41947         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
41949 2014-07-01  Roland McGrath  <roland@hack.frob.com>
41951         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
41952         * nptl/pthread_mutex_lock.c: Likewise.
41953         * nptl/pthread_mutex_timedlock.c: Likewise.
41954         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
41956 2014-07-01  Richard henderson  <rth@redhat.com>
41958         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
41959         (__isnan, __isnanl): Remove.
41960         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
41962         * sysdeps/alpha/fpu/libm-test-ulps: Update.
41964 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
41966         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41968 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
41970         * resolv/nss_dns/dns-host.c (getanswer_r)
41971         [MULTI_PTRS_ARE_ALIASES]: Remove code.
41973 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
41975         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41976         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
41977         undefine.
41978         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
41979         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
41981 2014-07-01  Roland McGrath <roland@hack.frob.com>
41983         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
41984         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
41986         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
41987         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
41989         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
41990         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
41991         ... here.
41992         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
41993         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
41995         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
41996         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
41997         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
41998         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
42000         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
42001         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
42002         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
42003         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
42004         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
42005         Moved ...
42006         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
42007         ... here.
42008         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
42009         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
42010         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
42011         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
42012         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
42013         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
42014         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
42015         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
42016         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
42017         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
42018         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
42019         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
42020         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
42021         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
42022         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
42023         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
42024         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
42025         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
42026         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
42027         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
42028         ... here.
42029         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
42030         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
42031         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
42032         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
42033         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
42034         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
42035         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
42036         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
42038 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
42040         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
42041         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
42042         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
42043         Add sysdep.
42045 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42047         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42049 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
42051         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
42052         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
42054         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42056         * sysdeps/arm/libm-test-ulps: Regenerated.
42058 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
42059             Roland McGrath <roland@hack.frob.com>
42061         * test-skeleton.c (signal_handler): Kill the whole process group
42062         before killing the child individually.
42063         (main): Report any failure on `setpgid'.
42065 2014-06-30  Roland McGrath  <roland@hack.frob.com>
42067         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
42068         from _TLS_H to _ARM_NPTL_TLS_H.
42069         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
42070         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
42072 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
42074         [BZ #16539]
42075         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
42076         (__expm1l): Return argument unchanged when small but not
42077         subnormal.
42079         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
42080         include macro name.
42081         (_FP_UNPACK_RAW_1_P): Likewise.
42082         (_FP_PACK_RAW_1): Likewise.
42083         (_FP_PACK_RAW_1_P): Likewise.
42084         (_FP_MUL_MEAT_1_wide): Likewise.
42085         (_FP_MUL_MEAT_DW_1_hard): Likewise.
42086         (_FP_MUL_MEAT_1_hard): Likewise.
42087         (_FP_DIV_MEAT_1_imm): Likewise.
42088         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
42089         (_FP_DIV_MEAT_1_udiv): Likewise.
42090         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
42091         (_FP_UNPACK_RAW_2): Likewise.
42092         (_FP_UNPACK_RAW_2_P): Likewise.
42093         (_FP_PACK_RAW_2): Likewise.
42094         (_FP_PACK_RAW_2_P): Likewise.
42095         (_FP_MUL_MEAT_DW_2_wide): Likewise.
42096         (_FP_MUL_MEAT_2_wide): Likewise.
42097         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
42098         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
42099         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
42100         (_FP_MUL_MEAT_2_gmp): Likewise.
42101         (_FP_DIV_MEAT_2_udiv): Likewise.
42102         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
42103         (_FP_FRAC_SRL_4): Likewise.
42104         (_FP_FRAC_SRST_4): Likewise.
42105         (_FP_FRAC_SRS_4): Likewise.
42106         (_FP_UNPACK_RAW_4): Likewise.
42107         (_FP_UNPACK_RAW_4_P): Likewise.
42108         (_FP_PACK_RAW_4): Likewise.
42109         (_FP_PACK_RAW_4_P): Likewise.
42110         (_FP_MUL_MEAT_DW_4_wide): Likewise.
42111         (_FP_MUL_MEAT_4_wide): Likewise.
42112         (_FP_MUL_MEAT_4_gmp): Likewise.
42113         (umul_ppppmnnn): Likewise.
42114         (_FP_DIV_MEAT_4_udiv): Likewise.
42115         (__FP_FRAC_ADD_4): Likewise.
42116         (__FP_FRAC_SUB_3): Likewise.
42117         (__FP_FRAC_SUB_4): Likewise.
42118         (__FP_FRAC_DEC_3): Likewise.
42119         (__FP_FRAC_DEC_4): Likewise.
42120         (__FP_FRAC_ADDI_4): Likewise.
42121         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
42122         (_FP_FRAC_SRL_8): Likewise.
42123         (_FP_FRAC_SRS_8): Likewise.
42125         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
42126         include macro name.
42127         (FP_UNPACK_RAW_EP): Likewise.
42128         (FP_PACK_RAW_E): Likewise.
42129         (FP_PACK_RAW_EP): Likewise.
42130         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
42131         (_FP_ISSIGNAN): Likewise.
42132         (_FP_ADD_INTERNAL): Likewise.
42133         (_FP_FMA): Likewise.
42134         (_FP_CMP): Likewise.
42135         (_FP_SQRT): Likewise.
42136         (_FP_TO_INT): Likewise.
42137         (_FP_FROM_INT): Likewise.
42138         (FP_EXTEND): Likewise.
42139         (_FP_DIV_MEAT_N_loop): Likewise.
42141 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
42143         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
42144         throughout.
42146 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
42148         [BZ #17097]
42149         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
42150         result with correct sign in case of exponents that produce
42151         overflow except for X very close to 1.
42153 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
42155         mktime: merge #if/#ifdef usage from glibc
42156         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
42157         as that works with both Glibc's and Gnulib's style.
42158         See thread starting at Siddhesh Poyarekar's bug report at:
42159         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
42161 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42163         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
42164         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
42165         * sysdeps/tile/tilegx/memmove.c: Remove file.
42167 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
42169         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
42170         abi-name definition.
42171         * scripts/soversions.awk: Do not handle or generate ABI lines.
42172         * shlib-versions: Remove ABI entries.
42173         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
42174         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
42176 2014-06-27  Roland McGrath  <roland@hack.frob.com>
42178         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
42179         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
42180         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
42181         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
42182         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
42183         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
42184         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
42185         Moved ...
42186         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
42187         ... here.
42188         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
42189         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
42190         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
42191         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
42192         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
42193         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
42194         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
42195         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
42196         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
42197         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
42198         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
42199         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
42200         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
42201         Moved ...
42202         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
42203         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
42204         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
42205         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
42206         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
42207         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
42208         Moved ...
42209         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
42210         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
42211         Moved ...
42212         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
42213         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
42214         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
42215         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
42216         Moved ...
42217         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
42218         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
42219         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
42220         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
42221         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
42222         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
42223         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
42224         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
42225         Moved ...
42226         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
42227         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
42228         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
42229         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
42230         Moved ...
42231         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
42232         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
42233         Moved ...
42234         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
42235         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
42236         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
42237         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
42238         Moved ...
42239         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
42240         ... here.
42241         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
42242         Identical file removed.
42243         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
42244         Moved ...
42245         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
42246         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
42247         Identical file removed.
42248         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
42249         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
42250         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
42251         Moved ...
42252         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
42253         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
42254         Identical file removed.
42255         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
42256         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
42257         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
42258         Identical file removed.
42259         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
42260         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
42261         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
42262         Identical file removed.
42263         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
42264         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
42265         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
42266         Identical file removed.
42267         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
42268         Moved ...
42269         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
42270         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
42271         Identical file removed.
42272         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
42273         Moved ...
42274         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
42275         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
42276         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
42277         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
42278         Identical file removed.
42279         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
42280         Moved ...
42281         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
42282         ... here.
42283         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
42284         Identical file removed.
42285         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
42286         Moved ...
42287         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
42288         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
42289         Identical file removed.
42290         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
42291         Moved ...
42292         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
42293         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
42294         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
42295         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
42296         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
42297         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
42298         Moved ...
42299         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
42300         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
42301         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
42303         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
42304         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
42305         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
42306         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
42307         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
42309 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
42311         [BZ #17092]
42312         * nscd/nscd.c (monitor_child): Return exit status of child
42313         instead of return value from wait syscall.
42315 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
42317         * configure.ac (libc_commonpagesize): Remove variable.
42318         (libc_relro_required): Likewise.
42319         (libc_cv_z_relro): Remove configure test.
42320         * configure: Regenerated.
42321         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
42322         variable.
42323         (libc_relro_required): Likewise.
42324         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
42325         (libc_relro_required): Likewise.
42326         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
42327         (libc_relro_required): Likewise.
42328         * sysdeps/arm/preconfigure: Regenerated.
42329         * sysdeps/ia64/preconfigure: Remove file.
42330         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
42331         variable.
42332         (libc_relro_required): Likewise.
42334         [BZ #16561]
42335         [BZ #16562]
42336         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
42337         (__ieee754_yn): Set FE_TONEAREST mode internally and then
42338         recompute overflowing results in original rounding mode.
42339         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
42340         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
42341         recompute overflowing results in original rounding mode.
42342         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
42343         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42344         recompute overflowing results in original rounding mode.
42345         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
42346         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42347         recompute overflowing results in original rounding mode.
42348         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
42349         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42350         recompute overflowing results in original rounding mode.
42351         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
42352         (libc_feholdsetround_ctx): New macro.
42353         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
42354         * sysdeps/i386/fpu/libm-test-ulps: Update.
42355         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
42357 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42359         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
42360         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
42361         corresponding .cpsetup call.
42363 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42365         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
42366         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
42367         * sysdeps/arm/Makefile [$(subdir) = csu]
42368         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
42369         (static-only-routines): Add aeabi_read_tp here.
42370         (shared-only-routines): Add libc-aeabi_read_tp here.
42371         (CFLAGS-libc-start.c): Add -fexceptions here.
42372         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
42373         (sysdep_routines, static-only-routines, shared-only-routines):
42374         Don't add to these here.
42375         (CFLAGS-libc-start.c): Likewise.
42377         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
42378         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
42379         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
42380         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
42381         * sysdeps/arm/Makefile [$(subdir) = rt]
42382         (librt-sysdep_routines, librt-shared-only-routines):
42383         Append rt-aeabi_unwind_cpp_pr1 here.
42384         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
42385         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
42386         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
42387         (libpthread-sysdep_routines, libpthread-shared-only-routines):
42388         Append nptl-aeabi_unwind_cpp_pr1 here.
42389         (tests): Filter out tst-cleanupx4 here.
42390         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
42391         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
42392         Don't do those here.
42394 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42396         * scripts/list-sources.sh: Do not handle ports specially.
42398 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42400         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
42401         * sysdeps/arm/feupdateenv.c: Likewise.
42403         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
42405 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42407         * manual/texinfo.tex: Update to version 2014-05-05.10 with
42408         trailing whitespace removed.
42409         * scripts/config.guess: Update to version 2014-03-23.
42410         * scripts/config.sub: Update to version 2014-05-01
42411         * scripts/install-sh: Update to version 2013-12-25.23.
42412         * scripts/move-if-change: Update from gnulib.
42414 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42416         * debug/memmove_chk.c: Remove pagecopy.h include.
42418 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
42420         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
42421         identical to gnulib mktime.
42423 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42425         * configure.ac: Do not test for machine being rs6000.  Do not test
42426         for powerpc*-*soft.
42427         * configure: Regenerated.
42429         [BZ #11505]
42430         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
42431         test.
42432         * configure: Regenerated.
42433         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
42434         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
42435         Remove configure test.
42436         * sysdeps/arm/configure: Regenerated.
42437         * sysdeps/nptl/configure.ac: Do not check
42438         libc_cv_asm_cfi_directives.
42439         * sysdeps/nptl/configure: Regenerated.
42440         * sysdeps/x86_64/nptl/configure.ac: Remove file.
42441         * sysdeps/x86_64/nptl/configure: Remove generated file.
42442         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
42443         unconditional.
42444         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
42446 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42448         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
42449         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
42450         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
42451         it is defined.
42453         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
42454         instead of whether it is defined.
42455         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
42456         * sysdeps/hppa/dl-machine.h: Likewise.
42457         * sysdeps/ia64/dl-machine.h: Likewise.
42458         * sysdeps/m68k/dl-machine.h: Likewise.
42459         * sysdeps/microblaze/dl-machine.h: Likewise.
42460         * sysdeps/mips/dl-machine.: Likewise.
42461         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42462         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42463         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42464         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42465         * sysdeps/sh/dl-machine.h: Likewise.
42466         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42467         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42468         * sysdeps/tile/dl-machine.h: Likewise.
42469         * sysdeps/x86_64/dl-machine.h: Likewise.
42471         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
42472         code.
42473         (verify_persistent_db): Likewise.
42475 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
42478         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
42479         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
42480         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
42481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42482         Moved ...
42483         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
42484         ... here.
42485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
42486         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
42487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
42488         Identical file removed.
42489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
42490         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
42491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
42492         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
42493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
42494         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
42495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
42496         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
42497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
42498         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
42499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42500         Moved ...
42501         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
42502         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
42503         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
42504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
42505         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
42506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42507         Moved ...
42508         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
42509         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
42510         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
42511         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
42512         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
42513         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
42514         Identical file removed.
42515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
42516         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
42517         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
42518         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
42519         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42520         Moved ...
42521         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
42522         ... here.
42523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
42524         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
42525         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
42526         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
42527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
42528         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
42529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
42530         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
42531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
42532         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
42533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42534         Moved ...
42535         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
42536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
42537         Moved ...
42538         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
42539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
42540         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
42541         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42542         Moved ...
42543         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
42544         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
42545         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
42547         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
42548         folded into ...
42549         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
42550         * sysdeps/unix/sysv/linux/s390/Versions
42551         (libpthread: GLIBC_2.19): New version set.
42552         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
42553         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
42554         (librt: GLIBC_2.3.3): New version set.
42555         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
42556         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
42557         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
42558         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
42559         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
42560         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
42561         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
42562         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
42563         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
42564         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
42565         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
42566         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
42567         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
42568         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
42569         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
42570         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
42571         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
42572         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
42573         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
42574         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
42575         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
42576         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
42577         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
42578         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
42579         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
42580         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
42581         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
42582         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
42583         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
42584         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
42585         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
42586         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
42587         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
42588         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
42589         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
42590         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
42591         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
42592         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
42593         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
42594         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
42595         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
42596         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
42597         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
42598         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
42599         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
42601         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
42602         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
42603         (__libc_vfork): Define the function under this name.
42604         [!NOT_IN_libc] (__vfork): Make this an alias.
42605         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
42606         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
42607         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
42608         (__libc_vfork): Define the function under this name.
42609         [!NOT_IN_libc] (__vfork): Make this an alias.
42610         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
42611         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
42612         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
42613         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
42614         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
42615         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42617         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
42618         code that was previously under [RESET_PID].
42619         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
42620         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
42621         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
42623         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
42624         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
42625         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
42626         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
42627         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
42628         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
42629         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
42630         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
42631         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
42632         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
42633         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
42634         Moved ...
42635         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
42636         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
42637         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
42638         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
42639         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
42640         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
42641         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
42642         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
42643         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
42644         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
42645         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
42646         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
42647         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
42648         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
42649         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
42650         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
42651         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
42652         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
42653         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
42654         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
42655         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
42656         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
42657         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
42658         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
42659         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
42660         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
42661         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
42662         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
42663         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
42665 2014-06-25  Roland McGrath  <roland@hack.frob.com>
42667         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
42668         that was previously under [RESET_PID].
42669         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
42671 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42673         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
42674         not undefine and redefine.
42675         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
42676         [O_CLOEXEC]: Make code unconditional.
42677         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
42678         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
42679         <kernel-features.h>.
42680         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
42681         conditional variable definition.
42682         (shm_open) [O_CLOEXEC]: Make code unconditional.
42683         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
42684         code.
42686         * configure.ac (USE_REGPARMS): Don't define here.
42687         * configure: Regenerated.
42688         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
42689         * sysdeps/i386/configure: Regenerated.
42691         * nptl/createthread.c: Don't include kernel-features.h.
42692         * nptl/pthread_cancel.c: Likewise.
42693         * nptl/pthread_condattr_setclock.c: Likewise.
42694         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
42695         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
42696         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
42697         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
42698         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
42699         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
42700         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
42701         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
42702         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
42703         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
42704         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
42705         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
42706         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
42707         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
42708         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
42709         * nscd/gai.c: Likewise.
42710         * nss/nss_db/db-open.c: Likewise.
42711         * sysdeps/generic/ldsodefs.h: Likewise.
42712         * sysdeps/sh/nptl/tls.h: Likewise.
42713         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
42714         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
42715         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
42716         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
42717         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
42718         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
42719         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
42720         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42721         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42722         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
42723         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
42724         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42725         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
42726         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
42727         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
42728         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
42729         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
42730         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
42731         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
42732         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
42733         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
42734         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
42735         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
42736         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
42737         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
42738         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
42739         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
42740         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
42741         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
42742         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
42743         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
42744         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
42745         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
42746         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42747         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42748         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
42749         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42750         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
42751         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
42752         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
42753         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
42754         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
42755         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
42756         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42757         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
42758         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
42759         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
42760         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
42761         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
42762         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
42763         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
42764         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
42765         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
42766         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
42767         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
42768         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
42769         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
42770         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
42771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
42772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
42773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
42774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
42775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
42776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
42777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
42778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
42779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
42780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
42781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
42782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
42783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
42784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
42785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
42786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
42791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
42792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
42793         * sysdeps/unix/sysv/linux/pread.c: Likewise.
42794         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
42795         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
42796         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
42797         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
42798         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
42799         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
42800         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
42801         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
42802         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
42803         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
42804         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
42805         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
42806         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
42807         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
42808         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
42809         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42810         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
42811         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
42812         * sysdeps/unix/sysv/linux/system.c: Likewise.
42813         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
42814         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
42815         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42816         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42817         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42818         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
42819         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
42821         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
42822         * configure: Regenerated.
42823         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
42825         * configure.ac (base_machine): Do not set specially for particular
42826         machines here.
42827         * configure: Regenerated.
42828         * sysdeps/powerpc/preconfigure: Move machine and base_machine
42829         settings from configure.ac.
42830         * sysdeps/i386/preconfigure: New file.
42831         * sysdeps/s390/preconfigure: Likewise.
42832         * sysdeps/sh/preconfigure: Likewise.
42833         * sysdeps/sparc/preconfigure: Likewise.
42835 2014-06-25  Roland McGrath  <roland@hack.frob.com>
42837         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
42838         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
42839         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
42840         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
42841         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
42842         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
42843         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
42844         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
42845         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
42846         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
42847         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
42848         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
42849         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
42850         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
42851         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
42852         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
42853         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
42854         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
42855         * sysdeps/sparc/sparc64/Makefile: ... appended here.
42857         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
42858         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
42859         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
42860         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
42861         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
42862         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
42863         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
42864         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
42865         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
42866         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
42867         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
42868         * sysdeps/sparc/sparc32/sem_post.c: ... here.
42869         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
42870         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
42871         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
42872         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
42873         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
42874         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
42875         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
42876         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
42877         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
42878         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
42879         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
42880         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
42881         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
42882         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
42883         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
42884         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
42885         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
42886         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
42887         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
42888         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
42889         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
42890         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
42891         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
42892         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
42893         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
42894         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
42896         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
42897         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
42898         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
42899         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
42900         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42901         Moved ...
42902         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
42903         ... here.
42904         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
42905         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
42906         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
42907         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
42908         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
42909         Moved ...
42910         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
42911         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
42912         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
42913         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
42914         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
42915         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
42916         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
42917         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42918         Moved ...
42919         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
42920         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42921         Moved ...
42922         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
42923         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
42924         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
42925         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42926         Moved ...
42927         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
42928         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
42929         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
42930         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
42931         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
42932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
42933         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
42934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
42935         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
42936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42937         Moved ...
42938         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
42939         ... here.
42940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
42941         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
42942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
42943         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
42944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
42945         Moved ...
42946         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
42947         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
42948         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
42949         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
42950         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
42951         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
42952         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
42953         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42954         Moved ...
42955         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
42956         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42957         Moved ...
42958         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
42959         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
42960         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
42961         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42962         Moved ...
42963         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
42964         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
42965         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
42966         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
42967         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
42969 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42971         * timezone/checktab.awk: Update from tzcode 2014e.
42972         * timezone/private.h: Likewise.
42973         * timezone/tzfile.h: Likewise.
42974         * timezone/zdump.c: Likewise.
42975         * timezone/zic.c: Likewise.
42977         * sysdeps/unix/sysv/linux/kernel-features.h
42978         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
42979         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
42980         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
42981         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
42982         Remove conditional code.
42984 2014-06-25  Will Newton  <will.newton@linaro.org>
42986         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
42987         (_dl_arm_cap_flags): Add HWCAP2 values.
42988         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
42989         (_DL_HWCAP_COUNT): Increase to 37.
42990         (_DL_HWCAP_LAST): New define.
42991         (_DL_HWCAP2_LAST): New define.
42992         (_dl_procinfo): Add support for printing
42993         AT_HWCAP2 entries.
42994         (_dl_string_hwcap): Use _dl_hwcap_string.
42996 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42998         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43000 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
43002         * README: Do not mention ports directory.
43004         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
43005         Remove macro.
43006         * sysdeps/unix/sysv/linux/futimes.c: Do not include
43007         <kernel-features.h>.
43008         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
43009         conditional variable definition.
43010         (__futimes): Update comment.
43011         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
43012         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
43014         [BZ #16560]
43015         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
43016         arguments close to 0.
43017         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
43018         Likewise.
43019         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
43020         Likewise.
43021         * math/auto-libm-test-in: Add more tests of exp10.
43022         * math/auto-libm-test-out: Regenerated.
43023         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43025         * sysdeps/unix/sysv/linux/kernel-features.h
43026         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
43027         * sysdeps/unix/sysv/linux/readv.c: Do not include
43028         <kernel-features.h>.
43029         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
43030         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
43031         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
43032         unconditional.
43033         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
43034         conditional code.
43035         * sysdeps/unix/sysv/linux/writev.c: Do not include
43036         <kernel-features.h>.
43037         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
43038         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
43039         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
43040         unconditional.
43041         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
43042         conditional code.
43044 2014-06-25  Will Newton  <will.newton@linaro.org>
43046         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
43047         comment changes throughout the file.  Remove checks
43048         for HAVE_*_H definitions that are not required.
43049         (__gen_tempname): Call abort if an unknown kind value is
43050         passed.
43052 2014-06-25  Andreas Schwab  <schwab@suse.de>
43054         [BZ #17086]
43055         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
43056         scalbln, scalblnf, scalblnl in libc.
43058 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43060         [BZ #17086]
43061         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
43062         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
43063         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
43065 2014-06-24  Roland McGrath  <roland@hack.frob.com>
43067         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
43068         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
43069         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
43070         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
43071         Update #include.
43072         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
43073         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
43074         Update #include.
43075         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
43076         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
43077         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
43078         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
43079         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
43080         * sysdeps/x86/bits/pthreadtypes.h: ... here.
43081         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
43082         * sysdeps/x86/bits/semaphore.h: ... here.
43083         * sysdeps/x86/nptl/elide.h: Moved ...
43084         * sysdeps/x86/elide.h: ... here.
43085         * sysdeps/x86_64/nptl/Implies: File removed.
43086         * sysdeps/i386/nptl/Implies: File removed.
43088 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
43090         [BZ #16539]
43091         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
43092         return the argument for normal arguments with exponent below -64.
43093         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43094         Likewise.
43095         * math/auto-libm-test-in: Add another test of expm1.
43096         * math/auto-libm-test-out: Regenerated.
43098         [BZ #16287]
43099         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
43100         calling __erfcl for arguments at least 16.
43101         * math/auto-libm-test-in: Add more tests of erf.
43102         * math/auto-libm-test-out: Regenerated.
43104         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
43105         individual architectures.
43106         * sysdeps/unix/sysv/linux/configure: Regenerated.
43107         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
43108         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
43109         * sysdeps/unix/sysv/linux/powerpc/configure.ac
43110         (ldd_rewrite_script): Define variable.
43111         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
43113         file.
43114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
43115         generated file.
43116         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
43117         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
43118         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
43119         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
43120         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
43121         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
43122         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
43123         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
43125 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43127         [BZ #17084]
43128         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
43129         Rename member __data.d to __data.__elision_data.
43131 2014-06-24  Wilco  <wdijkstr@arm.com>
43133         * NEWS: Add 16918 to fixed bug list.
43135 2014-06-24  Wilco  <wdijkstr@arm.com>
43137         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
43139 2014-06-24  Wilco  <wdijkstr@arm.com>
43141         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
43142         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
43143         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
43144         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
43145         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
43146         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
43147         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
43148         Use _FPU_MASK_RM.
43150 2014-06-24  Wilco  <wdijkstr@arm.com>
43152         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
43154 2014-06-24  Wilco  <wdijkstr@arm.com>
43156         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
43157         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
43158         * sysdeps/arm/fesetround.c (fesetround): Remove space.
43159         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
43161 2014-06-24  Wilco  <wdijkstr@arm.com>
43163         [BZ #16918]
43164         * sysdeps/arm/feupdateenv.c (feupdateenv):
43165         Rewrite to reduce FPSCR accesses and fix return value.
43167 2014-06-24  Wilco  <wdijkstr@arm.com>
43169         * sysdeps/arm/fclrexcpt.c (feclearexcept):
43170         Optimize to avoid unnecessary FPSCR writes.
43171         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
43172         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
43173         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
43174         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
43176 2014-06-24  Wilco  <wdijkstr@arm.com>
43178         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
43179         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
43180         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
43181         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
43182         Call libc_fetestexcept_vfp.
43183         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
43184         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
43185         __SOFTFP__ ifdef so that they can be built for softfp.
43187 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43189         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
43190         argument type signed char.
43192         * Makerules (check-abi): Dump diff of symlist if the test
43193         fails.
43195 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43197         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
43198         using abort.
43200         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
43201         Remove unused variable ST.
43203 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
43205         [BZ #16354]
43206         [BZ #17061]
43207         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
43208         small arguments before calling __expm1.
43209         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
43210         small arguments before calling __expm1f.
43211         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
43212         small arguments before calling __expm1l.
43213         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
43214         Likewise.
43215         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
43216         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
43217         spurious underflow for some cosh tests.
43218         * math/auto-libm-test-out: Regenerated.
43219         * sysdeps/i386/fpu/libm-test-ulps: Update.
43221         [BZ #17050]
43222         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
43223         (__ieee754_y1): Set errno if return value overflows.
43224         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
43225         (__ieee754_y1f): Set errno if return value overflows.
43226         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
43227         (__ieee754_y1l): Set errno if return value overflows.
43228         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
43229         (__ieee754_y1l): Set errno if return value overflows.
43230         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
43231         * math/auto-libm-test-out: Regenerated.
43233         * math/gen-auto-libm-tests.c: Document use of
43234         ignore-zero-inf-sign.
43235         (input_flag_type): Add value flag_ignore_zero_inf_sign.
43236         (input_flags): Add ignore-zero-inf-sign.
43237         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
43238         * math/gen-libm-test.pl (generate_testfile): Handle
43239         ignore-zero-inf-sign.
43240         * math/auto-libm-test-in: Mark some cpow tests with
43241         ignore-zero-inf-sign and some with xfail-rounding.
43242         * math/auto-libm-test-out: Regenerated.
43243         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
43244         * sysdeps/i386/fpu/libm-test-ulps: Update.
43245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43247         [BZ #16315]
43248         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
43249         overflowing or underflowing operations take place with sign of
43250         result.
43251         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43252         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43253         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
43254         (__ieee754_pow): Recompute overflowing and underflowing results in
43255         original rounding mode.
43256         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
43257         (__powl_helper): Allow negative argument X and scale negated value
43258         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
43259         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
43260         overflowing or underflowing operations take place with sign of
43261         result.
43262         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
43263         Include <math.h>.
43264         * math/auto-libm-test-in: Add more tests of pow.
43265         * math/auto-libm-test-out: Regenerated.
43266         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
43267         (pow_tonearest_test_data): Remove.
43268         (pow_test_tonearest): Likewise.
43269         (pow_towardzero_test_data): Likewise.
43270         (pow_test_towardzero): Likewise.
43271         (pow_downward_test_data): Likewise.
43272         (pow_test_downward): Likewise.
43273         (pow_upward_test_data): Likewise.
43274         (pow_test_upward): Likewise.
43275         (main): Don't call removed functions.
43276         * sysdeps/i386/fpu/libm-test-ulps: Update.
43277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43279 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
43282         Moved ...
43283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
43284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43285         Moved ...
43286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
43287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43288         Moved ...
43289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
43290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43291         Moved ...
43292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
43293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43294         File removed.
43295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43296         File removed.
43297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
43298         File removed.
43299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
43300         File removed.
43301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
43302         File removed.
43303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
43304         File removed.
43305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
43306         File removed.
43307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43308         File removed.
43309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
43310         File removed.
43311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43312         File removed.
43313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
43314         File removed.
43315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
43316         File removed.
43317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
43318         Moved ...
43319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
43320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
43321         Moved ...
43322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
43323         ... here.
43324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
43325         Moved ...
43326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
43327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
43328         Moved ...
43329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
43330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
43331         Moved ...
43332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
43333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
43334         Moved ...
43335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
43336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
43337         Moved ...
43338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
43339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
43340         Moved ...
43341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
43342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
43343         Moved ...
43344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
43345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
43346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
43347         ... here.
43348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
43349         Moved ...
43350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
43351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
43352         Moved ...
43353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
43354         ... here.
43355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
43356         Moved ...
43357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
43358         ... here.
43359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43360         Moved ...
43361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
43362         ... here.
43363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43364         Moved ...
43365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
43366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
43367         Moved ...
43368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
43369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
43370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
43371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
43372         Moved ...
43373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
43374         ... here.
43375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43376         Moved ...
43377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
43378         ... here.
43379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
43380         Moved ...
43381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
43382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43383         Moved ...
43384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
43385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
43386         Moved ...
43387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
43388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43389         Moved ...
43390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
43391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
43392         Moved ...
43393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
43394         ... here.
43395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43396         Moved ...
43397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
43398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
43399         Moved ...
43400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
43401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43402         Moved ...
43403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
43404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
43405         Moved ...
43406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
43407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
43408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
43409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
43410         Moved ...
43411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
43412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43413         Moved ...
43414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
43415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
43416         Moved ...
43417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
43418         ... here.
43419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43420         Moved ...
43421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
43422         ... here.
43423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
43424         Moved ...
43425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
43426         ... here.
43427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43428         Moved ...
43429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
43430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
43431         Moved ...
43432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
43433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43434         Moved ...
43435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
43436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
43437         Moved ...
43438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
43439         ... here.
43440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43441         Moved ...
43442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
43443         ... here.
43444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
43445         Moved ...
43446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
43447         ... here.
43448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43449         Moved ...
43450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
43451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43452         Moved ...
43453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
43455 2014-06-23  Will Newton  <will.newton@linaro.org>
43456             Wilco  <wdijkstr@arm.com>
43458         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
43459         implementation.  Include get-rounding-mode.h.
43460         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
43461         [!libc_feholdsetround_noex_ctx]: Define
43462         libc_feholdsetround_noex_ctx.
43463         [!libc_feholdsetround_noexf_ctx]: Define
43464         libc_feholdsetround_noexf_ctx.
43465         [!libc_feholdsetround_noexl_ctx]: Define
43466         libc_feholdsetround_noexl_ctx.
43467         (libc_feholdsetround_ctx): New function.
43468         (libc_feresetround_ctx): New function.
43469         (libc_feholdsetround_noex_ctx): New function.
43470         (libc_feresetround_noex_ctx): New function.
43472 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43474         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
43475         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
43476         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
43477         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
43478         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
43479         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
43481         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
43482         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
43483         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
43484         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
43485         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
43486         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
43487         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
43488         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
43489         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
43490         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
43491         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
43492         Moved ...
43493         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
43494         ... here.
43495         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
43496         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
43497         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
43498         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
43499         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
43500         Moved ...
43501         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
43502         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
43503         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
43504         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
43505         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
43506         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
43507         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
43508         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
43509         Moved ...
43510         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
43511         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
43512         Moved ...
43513         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
43514         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
43515         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
43516         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
43517         Moved ...
43518         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
43519         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
43520         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
43521         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
43522         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
43523         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
43524         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
43525         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
43526         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
43527         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
43528         Moved ...
43529         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
43530         ... here.
43531         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
43532         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
43533         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
43534         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
43535         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
43536         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
43537         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
43538         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
43539         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
43540         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
43541         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
43542         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
43543         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
43544         Moved ...
43545         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
43546         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
43547         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
43548         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
43549         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
43550         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
43551         Moved ...
43552         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
43553         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
43554         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
43555         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
43556         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
43558         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
43559         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
43560         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
43561         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
43562         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
43563         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
43564         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
43565         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
43566         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
43567         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
43568         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
43569         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
43570         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
43571         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
43572         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
43573         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
43574         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
43575         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
43576         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
43577         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
43578         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
43579         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
43580         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
43581         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
43582         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
43583         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
43584         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
43585         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
43587 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
43589         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
43590         (FALLOC_FL_COLLAPSE_RANGE): New macro.
43591         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
43592         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
43593         (IPV6_PMTUDISC_INTERFACE): Likewise.
43594         (IPV6_PMTUDISC_OMIT): Likewise.
43596 2014-06-23  Andreas Schwab  <schwab@suse.de>
43598         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
43599         Remove unused errout label.
43601 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43603         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
43604         macro: hardware supports Vector Crypto instructions.
43606 2014-06-23  Will Newton  <will.newton@linaro.org>
43608         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
43609         rather than __builtin_expect.
43611         * elf/dl-lookup.c (undefined_msg): Remove variable.
43612         (_dl_lookup_symbol_x): Replace undefined_msg with string
43613         literal.
43615         * elf/dl-lookup.c (do_lookup_unique): New function.
43616         (do_lookup_x): Move STB_GNU_UNIQUE handling code
43617         to a separate function.
43619 2014-06-23  Andreas Schwab  <schwab@suse.de>
43621         [BZ #17079]
43622         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
43623         before reading the next line.
43625 2014-06-23  Will Newton  <will.newton@linaro.org>
43627         * test-skeleton.c (signal_handler): Use printf and %m
43628         rather than perror.  Use printf rather than fprintf to
43629         stderr.  Use puts rather than fputs to stderr.
43630         (main): Likewise.
43632 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
43634         * nscd/nscd.c (thread_info_t): Remove typedef.
43635         (thread_info): Remove variable.
43637 2014-06-21  Allan McRae  <allan@archlinux.org>
43639         * NEWS: Mention CVE-2014-4043.
43641 2014-06-20  Roland McGrath  <roland@hack.frob.com>
43643         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
43644         * nptl/smp.h: ... here.
43646         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
43648         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
43649         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
43650         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
43651         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
43653         * nptl/allocatestack.c: Include <stack-aliasing.h>.
43654         * nptl/stack-aliasing.h: New file.
43655         * sysdeps/i386/i686/stack-aliasing.h: New file.
43656         * sysdeps/i386/i686/nptl/Makefile: File removed.
43657         * sysdeps/x86_64/stack-aliasing.h: New file.
43658         * sysdeps/x86_64/nptl/Makefile
43659         (CFLAGS-pthread_create.c): Variable removed.
43661         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
43662         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
43663         old file.
43664         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
43665         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
43666         old file.
43668 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
43670         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43671         (__ASSUME_SIGFRAME_V2): Remove macro.
43672         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
43673         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
43674         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
43675         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
43676         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
43677         Declare as function.  Remove conditional macro definitions.
43678         (__default_rt_sa_restorer): Likewise.
43679         (__default_sa_restorer_v1): Remove declaration.
43680         (__default_sa_restorer_v2): Likewise.
43681         (__default_rt_sa_restorer_v1): Likewise.
43682         (__default_rt_sa_restorer_v2): Likewise.
43683         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
43684         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
43685         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
43687 2014-06-20  Roland McGrath  <roland@hack.frob.com>
43689         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
43690         (libpthread-routines): Add sysdep.
43691         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
43692         * sysdeps/unix/sysv/linux/sparc/Versions
43693         (libpthread: GLIBC_2.3.3): New version set.
43694         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
43695         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
43696         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
43697         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
43698         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
43699         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
43700         Moved ...
43701         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
43702         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
43703         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
43704         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
43705         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
43706         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
43707         * sysdeps/sparc/nptl/sem_init.c: ... here.
43708         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
43709         * sysdeps/sparc/nptl/sem_post.c: ... here.
43710         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
43711         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
43712         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
43713         * sysdeps/sparc/nptl/sem_wait.c: ... here.
43714         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
43715         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
43716         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
43717         (libpthread-routines): Add cpu_relax.
43718         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
43719         File removed.
43720         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
43721         (librt: GLIBC_2.3.3): New version set.
43722         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
43723         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
43724         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
43725         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
43726         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
43727         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
43728         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
43729         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
43730         Moved ...
43731         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
43732         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
43733         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
43734         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
43735         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
43736         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
43737         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
43738         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
43739         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
43740         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
43741         Moved ...
43742         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
43743         Update #include.
43744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
43745         Moved ...
43746         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
43747         Update #include.
43748         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
43749         Moved ...
43750         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
43751         Update #include.
43752         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
43753         Moved ...
43754         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
43755         Update #include.
43756         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
43757         Moved ...
43758         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
43759         Update #include.
43760         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
43761         Moved ...
43762         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
43763         Update #include.
43764         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
43765         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
43766         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
43767         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
43768         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
43769         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
43770         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
43771         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
43772         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
43773         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
43774         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
43775         Moved ...
43776         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
43777         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
43778         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
43779         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
43780         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
43782 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43784         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
43785         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
43786         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
43787         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
43788         * nscd/nscd.c: Likewise.
43789         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
43790         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
43791         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
43792         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
43794         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
43795         <kernel-features.h>.
43796         (init_mq_netlink): Remove conditional have_sock_cloexec
43797         definitions.  Remove code conditional on have_sock_cloexec < 0.
43798         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
43799         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
43800         * sysdeps/unix/sysv/linux/opensock.c: Do not include
43801         <kernel-features.h>.
43802         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
43803         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
43805 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
43807         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43808         Add tests for memset_chk and memset.
43810         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
43811         with AVX2_Usable.
43813 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
43815         [BZ #16046]
43816         * elf/tst-dl-iter-static.c: New file.
43817         * elf/Makefile (tests-static): Add tst-dl-iter-static.
43819         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
43820         error.
43822 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43824         * sysdeps/unix/sysv/linux/kernel-features.h
43825         (__ASSUME_F_GETOWN_EX): Remove macro.
43826         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
43827         <kernel-features.h>.
43828         (miss_F_GETOWN_EX): Remove variable or macro.
43829         (do_fcntl): Do not check miss_F_GETOWN_EX.
43830         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
43832         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
43833         Remove macro.
43834         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
43835         [!__ASSUME_AT_RANDOM]: Remove conditional code.
43836         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
43838         * sysdeps/unix/sysv/linux/kernel-features.h
43839         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
43840         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
43841         [ADJ_OFFSET_SS_READ]: Make code unconditional.
43842         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
43844 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
43846         [BZ #17075]
43847         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
43848         Fix calculation of the symbol's value.
43849         * sysdeps/arm/tst-armtlsdescloc.c: New file.
43850         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
43851         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
43852         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
43853         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
43854         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
43855         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
43856         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
43857         (modules-names): Add `tst-armtlsdescmod',
43858         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
43859         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
43860         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
43861         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
43862         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
43863         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
43864         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
43865         ($(objpfx)tst-armtlsdescloc): New dependency.
43866         ($(objpfx)tst-armtlsdescextnow): Likewise.
43867         ($(objpfx)tst-armtlsdescextlazy): Likewise.
43868         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
43869         TLS scheme support.
43870         * sysdeps/arm/configure: Regenerate.
43872 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43874         * include/fcntl.h (__atfct_seterrno): Remove prototype.
43875         (__atfct_seterrno_2): Likewise.
43876         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
43877         <kernel-features.h>.
43878         (__ASSUME_ATFCTS): Do not undefine and redefine.
43879         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
43880         (__have_atfcts): Remove conditional definition.
43881         (__fxstatat([__NR_fstatat64]: Make code unconditional.
43882         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
43883         unreachable if [__ASSUME_ATFCTS].
43884         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
43885         not undefine and redefine.
43886         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
43887         <kernel-features.h>.
43888         (faccessat) [__NR_faccessat]: Make code unconditional.
43889         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
43890         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
43891         <kernel-features.h>.
43892         (fchmodat) [__NR_fchmodat]: Make code unconditional.
43893         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
43894         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
43895         <kernel-features.h>.
43896         (fchownat) [__NR_fchownat]: Make code unconditional.
43897         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
43898         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
43899         <kernel-features.h>.
43900         (futimesat) [__NR_futimesat]: Make code unconditional.
43901         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
43902         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
43903         <kernel-features.h>.
43904         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
43905         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43906         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
43907         <kernel-features.h>.
43908         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
43909         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
43910         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
43911         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
43912         <kernel-features.h>.
43913         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
43914         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43915         * sysdeps/unix/sysv/linux/linkat.c: Do not include
43916         <kernel-features.h>.
43917         (linkat) [__NR_linkat]: Make code unconditional.
43918         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43919         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
43920         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
43921         <kernel-features.h>.
43922         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
43923         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
43924         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
43925         <kernel-features.h>.
43926         (mkdirat) [__NR_mkdirat]: Make code unconditional.
43927         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
43928         * sysdeps/unix/sysv/linux/openat.c: Do not include
43929         <kernel-features.h>.
43930         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
43931         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
43932         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
43933         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
43934         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
43935         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
43936         <kernel-features.h>.
43937         (readlinkat) [__NR_readlinkat]: Make code unconditional.
43938         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
43939         result of INLINE_SYSCALL directly, not via int variable.
43940         * sysdeps/unix/sysv/linux/renameat.c: Do not include
43941         <kernel-features.h>.
43942         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
43943         (renameat) [__NR_renameat]: Make code unconditional.
43944         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
43945         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
43946         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
43947         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
43948         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
43949         (__ASSUME_ATFCTS): Do not undefine and redefine.
43950         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
43951         <kernel-features.h>.
43952         (symlinkat) [__NR_symlinkat]: Make code unconditional.
43953         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43954         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
43955         <kernel-features.h>.
43956         (unlinkat) [__NR_unlinkat]: Make code unconditional.
43957         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43958         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
43959         (__ASSUME_ATFCTS): Do not undefine and redefine.
43960         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
43961         <kernel-features.h>.
43962         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
43963         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43964         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
43965         <kernel-features.h>.
43966         (__xmknodat) [__NR_mknodat]: Make code unconditional.
43967         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
43969 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
43971         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
43973 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
43975         [BZ #17069]
43976         * posix/regcomp.c (parse_reg_exp): Deallocate partially
43977         constructed tree before returning error.
43978         * posix/bug-regexp36.c: Expand test case.
43980 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
43982         [BZ #6803]
43983         * math/libm-test.inc (scalbln_test_date):
43984         Add errno expectations.
43985         * math/w_scalblnf.c: New File.
43986         Add wrapper which checks for setting errno to ERANGE.
43987         Add weak_alias for corresponding scalbln function.
43988         * math/w_scalbln.c: Likewise.
43989         * math/w_scalblnl.c: Likewise.
43990         * math/Makefile (libm-calls): Add w_scalbln.
43991         * sysdeps/ieee754/flt-32/s_scalblnf.c:
43992         Remove weak_alias for corresponding scalbln function.
43993         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43994         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43995         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43996         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43997         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
43998         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
43999         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
44000         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
44001         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
44002         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
44003         Remove long_double_symbol for scalblnl function in libm, libc.
44004         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
44005         Add wrapper which checks for setting errno to ERANGE.
44006         Add long_double_symbol for scalblnl function in libm, libc.
44007         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
44008         Remove long_double_symbol for scalblnl in libm.
44009         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
44010         Add wrapper which checks for setting errno to ERANGE.
44011         Add long_double_symbol for scalblnl function in libm.
44012         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
44013         Do not use wrapper because of own implementation.
44015 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
44017         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
44018         3 bytes for __pad1 for x32.
44019         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
44021 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
44022             H.J. Lu  <hongjiu.lu@intel.com>
44024         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
44025         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
44026         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44027         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44028         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
44030 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
44032         [BZ #17069]
44033         * posix/regcomp.c (parse_expression): Deallocate partially
44034         constructed tree before returning error.
44035         * posix/Makefile.c (tests): Add bug-regex36.
44036         (generated): Add bug-regex36.mtrace.
44037         (tests-special): Add $(objpfx)bug-regex36-mem.out
44038         (bug-regex36-ENV): New variable.
44039         ($(objpfx)bug-regex36-mem.out): New rule.
44040         * posix/bug-regex36.c: New file.
44042 2014-06-19  Will Newton  <will.newton@linaro.org>
44044         * malloc/malloc.c (systrim): If extra is zero then return
44045         early.
44047 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44049         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
44051 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
44053         * sysdeps/aarch64/strchr.S: New file.
44055 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
44057         [BZ #17022]
44058         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
44059         from arguments -2 or below.
44060         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
44061         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
44063 2014-06-18  Andreas Schwab  <schwab@suse.de>
44065         [BZ #17062]
44066         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
44067         of a bracket expr not to run off the end of the string.
44068         * posix/Makefile (tests): Add tst-fnmatch3.
44069         * posix/tst-fnmatch3.c: New file.
44071 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
44073         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
44074         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44075         [$(cross-compiling) = no]: Likewise.
44076         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44077         [$(cross-compiling) = no]: Likewise.
44079 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
44081         [BZ #17031]
44082         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
44083         double, adjusted for any remainder from the high double.
44084         * math/libm-test.inc (nearbyint): Add tests.
44085         (rint): Likewise.
44087 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44089         * nptl/sysdeps/powerpc/Makefile: Moved ...
44090         * sysdeps/powerpc/nptl/Makefile: ... here.
44091         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
44092         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
44093         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
44094         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
44095         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
44096         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
44097         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
44098         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
44099         * nptl/sysdeps/powerpc/tls.h: Moved ...
44100         * sysdeps/powerpc/nptl/tls.h: ... here.
44102 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
44104         [BZ #16681]
44105         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
44106         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
44107         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
44108         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
44109         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
44110         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
44111         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
44112         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
44113         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
44115 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
44117         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
44119 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
44121         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
44122         defined operator.
44124         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
44125         $TIMEOUTFACTOR.
44127 2014-06-16  Florian Weimer  <fweimer@redhat.com>
44129         [BZ #17058]
44130         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
44131         non-executed part of the test.
44133 2014-06-16  Andreas Schwab  <schwab@suse.de>
44135         * string/bits/string2.h (strdup, strndup): Update feature guard.
44137 2014-06-14  David S. Miller  <davem@davemloft.net>
44139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44141 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
44143         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
44144         that was previously under [RESET_PID].
44145         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
44147         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
44148         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
44149         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
44150         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44151         (__libc_vfork): New strong alias.
44152         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
44154 2014-06-14 Andi Kleen  <ak@linux.intel.com>
44156         * sysdeps/generic/elide.h: New file.
44158 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44160         * Makefile (installed-headers): Adjust path of pthread.h header.
44162 2014-06-13  Roland McGrath  <roland@hack.frob.com>
44164         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
44165         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
44166         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
44167         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
44169         * nptl/sysdeps/s390/Makefile: Moved ...
44170         * sysdeps/s390/nptl/Makefile: ... here.
44171         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
44172         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
44173         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
44174         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
44175         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
44176         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
44177         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
44178         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
44179         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
44180         * sysdeps/s390/nptl/pthreaddef.h: ... here.
44181         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
44182         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
44183         * nptl/sysdeps/s390/tls.h: Moved ...
44184         * sysdeps/s390/nptl/tls.h: ... here.
44186         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
44187         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
44189 2014-06-13  David S. Miller  <davem@davemloft.net>
44191         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
44192         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
44193         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
44194         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
44195         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
44196         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
44197         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
44198         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
44199         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
44200         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
44201         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
44202         Remove RESET_PID cpp guards.
44203         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
44204         Remove RESET_PID cpp guards.
44205         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
44207 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
44209         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
44210         __sp to uintptr_t.
44212 2014-06-13  Andi Kleen  <ak@linux.intel.com>
44214         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
44215         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
44216         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
44217         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
44218         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
44219         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
44220         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
44221         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
44222         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
44223         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
44224         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
44225         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
44226         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
44227         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
44228         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
44229         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
44230         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
44231         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
44232         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
44233         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
44235         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
44236         (pthread_rwlock_rdlock): Add elision.
44237         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
44238         (pthread_rwlock_wrlock): Add elision.
44239         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
44240         (pthread_rwlock_trywrlock): Add elision.
44241         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
44242         (pthread_rwlock_tryrdlock): Add elision.
44243         * nptl/pthread_rwlock_unlock.c: Include elide.h.
44244         (pthread_rwlock_tryrdlock): Add elision unlock.
44245         * nptl/sysdeps/pthread/pthread.h:
44246         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
44247         (PTHREAD_RWLOCK_INITIALIZER,
44248         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
44249         Handle new elision field.
44250         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
44251         * sysdeps/arm/nptl/bits/pthreadtypes.h
44252         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44253         * sysdeps/sh/nptl/bits/pthreadtypes.h
44254         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44255         * sysdeps/tile/nptl/bits/pthreadtypes.h
44256         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44257         * sysdeps/a/nptl/bits/pthreadtypes.h
44258         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44259         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
44260         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44261         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
44262         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44263         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
44264         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44265         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
44266         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44267         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
44268         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44269         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
44270         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44271         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
44272         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44273         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
44274         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44275         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
44276         (elision_init): Set try_xbegin to zero when no RTM.
44277         * sysdeps/x86/nptl/bits/pthreadtypes.h
44278         (pthread_rwlock_t): Change __pad1 to __rwelision.
44279         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44281 2014-06-13  Andi Kleen  <ak@linux.intel.com>
44283         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
44284         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
44285         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
44286         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
44288 2014-06-13  Meador Inge  <meadori@codesourcery.com>
44290         [BZ #16996]
44291         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
44292         that the cached result has been set before returning it.
44294 2014-06-12  Roland McGrath  <roland@hack.frob.com>
44296         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
44297         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
44298         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
44299         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
44300         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
44301         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
44303         * nptl/sysdeps/sparc/Makefile: Moved ...
44304         * sysdeps/sparc/nptl/Makefile: ... here.
44305         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
44306         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
44307         * nptl/sysdeps/sparc/tls.h: Moved ...
44308         * sysdeps/sparc/nptl/tls.h: ... here.
44309         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
44310         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
44311         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
44312         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
44313         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
44314         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
44315         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
44316         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
44317         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
44318         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
44319         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
44320         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
44321         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
44322         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
44323         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
44324         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
44325         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
44326         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
44327         Update #include.
44328         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
44329         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
44330         Update #include.
44331         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
44332         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
44333         Update #include.
44334         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
44335         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
44336         Update #include.
44338         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
44340         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
44341         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
44343         * sysdeps/pthread/posix-timer.h: Include <list.h>.
44344         (struct list_links): Type removed.
44345         (struct thread_node, struct timer_node): Replace struct list_links
44346         with struct list_head.
44347         (list_unlink_ip): Likewise.
44348         * sysdeps/pthread/timer_routines.c
44349         (timer_free_list, thread_free_list, thread_active_list): Likewise.
44350         (list_append, list_insbefore): Likewise.
44351         (list_init): Function removed.
44352         (thread_init, init_module): Use INIT_LIST_HEAD instead.
44353         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
44354         * sysdeps/pthread/Makefile: ... here, new file.
44356         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
44357         * sysdeps/nptl/Implies: ... here.
44358         * sysdeps/unix/sysv/linux/Implies: Add nptl.
44359         * nptl/sysdeps/pthread/list.h: Moved ...
44360         * include/list.h: ... here.
44361         * nptl/sysdeps/pthread/createthread.c: Moved ...
44362         * nptl/createthread.c: ... here.
44363         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
44364         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
44365         * nptl/pt-longjmp.c: ... here.
44366         * nptl/sysdeps/pthread/Makefile: Moved ...
44367         * sysdeps/nptl/Makefile: ... here.
44368         * nptl/sysdeps/pthread/Subdirs: Moved ...
44369         * sysdeps/nptl/Subdirs: ... here.
44370         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
44371         * sysdeps/nptl/aio_misc.h: ... here.
44372         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
44373         * sysdeps/nptl/bits/libc-lock.h: ... here.
44374         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
44375         * sysdeps/nptl/bits/libc-lockP.h: ... here.
44376         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
44377         * sysdeps/nptl/bits/stdio-lock.h: ... here.
44378         * nptl/sysdeps/pthread/configure: Moved ...
44379         * sysdeps/nptl/configure: ... here.
44380         * nptl/sysdeps/pthread/configure.ac: Moved ...
44381         * sysdeps/nptl/configure.ac: ... here.
44382         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
44383         * sysdeps/nptl/gai_misc.h: ... here.
44384         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
44385         * sysdeps/nptl/librt-cancellation.c: ... here.
44386         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
44387         * sysdeps/nptl/malloc-machine.h: ... here.
44388         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
44389         * sysdeps/nptl/pthread-functions.h: ... here.
44390         * nptl/sysdeps/pthread/pthread.h: Moved ...
44391         * sysdeps/nptl/pthread.h: ... here.
44392         * nptl/sysdeps/pthread/setxid.h: Moved ...
44393         * sysdeps/nptl/setxid.h: ... here.
44394         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
44395         * sysdeps/nptl/sigfillset.c: ... here.
44396         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
44397         * sysdeps/nptl/tcb-offsets.h: ... here.
44398         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
44399         * sysdeps/nptl/tst-mqueue8x.c: ... here.
44400         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
44401         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
44402         * nptl/sysdeps/pthread/allocalim.h: Moved ...
44403         * sysdeps/pthread/allocalim.h: ... here.
44404         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
44405         * sysdeps/pthread/bits/sigthread.h: ... here.
44406         * nptl/sysdeps/pthread/flockfile.c: Moved ...
44407         * sysdeps/pthread/flockfile.c: ... here.
44408         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
44409         * sysdeps/pthread/ftrylockfile.c: ... here.
44410         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
44411         * sysdeps/pthread/funlockfile.c: ... here.
44412         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
44413         * sysdeps/pthread/posix-timer.h: ... here.
44414         * nptl/sysdeps/pthread/timer_create.c: Moved ...
44415         * sysdeps/pthread/timer_create.c: ... here.
44416         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
44417         * sysdeps/pthread/timer_delete.c: ... here.
44418         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
44419         * sysdeps/pthread/timer_getoverr.c: ... here.
44420         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
44421         * sysdeps/pthread/timer_gettime.c: ... here.
44422         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
44423         * sysdeps/pthread/timer_routines.c: ... here.
44424         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
44425         * sysdeps/pthread/timer_settime.c: ... here.
44426         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
44427         * sysdeps/pthread/tst-timer.c: ... here.
44428         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
44429         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
44431         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
44432         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
44434         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
44435         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
44436         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
44437         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
44438         Update #include target.
44439         * nptl/sysdeps/i386/i686/Makefile: Moved ...
44440         * sysdeps/i386/i686/nptl/Makefile: ... here.
44441         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
44442         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
44443         Update #include target.
44444         * nptl/sysdeps/i386/i686/tls.h: Moved ...
44445         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
44446         * nptl/sysdeps/i386/Makefile: Moved ...
44447         * sysdeps/i386/nptl/Makefile: ... here.
44448         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
44449         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
44450         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
44451         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
44452         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
44453         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
44454         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
44455         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
44456         * sysdeps/i386/nptl/pthreaddef.h: ... here.
44457         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
44458         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
44459         * nptl/sysdeps/i386/tls.h: Moved ...
44460         * sysdeps/i386/nptl/tls.h: ... here.
44462         * sysdeps/sh/Makefile [$(subdir) = csu]
44463         (gen-as-const-headers): Add tcb-offsets.sym.
44464         * nptl/sysdeps/sh/Makefile: File removed.
44465         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
44466         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
44467         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
44468         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
44469         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
44470         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
44471         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
44472         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
44473         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
44474         * sysdeps/sh/nptl/pthreaddef.h: ... here.
44475         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
44476         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
44477         * nptl/sysdeps/sh/tls.h: Moved ...
44478         * sysdeps/sh/nptl/tls.h: ... here.
44479         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
44480         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
44481         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
44482         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
44483         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
44484         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
44485         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
44486         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
44487         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
44488         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
44489         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
44490         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
44491         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
44492         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
44493         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
44494         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
44495         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
44496         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
44497         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
44498         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
44499         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
44500         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
44501         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
44502         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
44503         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
44504         Moved ...
44505         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
44506         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
44507         Moved ...
44508         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
44509         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
44510         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
44511         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
44512         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
44513         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
44514         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
44515         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
44516         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
44517         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
44518         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
44519         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
44520         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
44521         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
44522         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
44523         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
44524         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
44525         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
44526         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
44528 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
44530         * posix/spawn_faction_addopen.c: Include string.h.
44532 2014-06-11  Roland McGrath  <roland@hack.frob.com>
44534         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
44535         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
44536         * nptl/sysdeps/x86_64/Makefile: Moved ...
44537         * sysdeps/x86_64/nptl/Makefile: ... here.
44538         * nptl/sysdeps/x86_64/configure: Moved ...
44539         * sysdeps/x86_64/nptl/configure: ... here.
44540         * nptl/sysdeps/x86_64/configure.ac: Moved ...
44541         * sysdeps/x86_64/nptl/configure.ac: ... here.
44542         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
44543         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
44544         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
44545         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
44546         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
44547         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
44548         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
44549         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
44550         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
44551         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
44552         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
44553         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
44554         * nptl/sysdeps/x86_64/tls.h: Moved ...
44555         * sysdeps/x86_64/nptl/tls.h: ... here.
44556         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
44557         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
44558         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
44559         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
44561         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
44563 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44567 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
44569         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
44570         type.
44571         [POSIX] (off_t): Likewise.
44572         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
44573         [POSIX] (S_ISBLK): Require macro.
44574         [POSIX] (S_ISCHR): Likewise.
44575         [POSIX] (S_ISDIR): Likewise.
44576         [POSIX] (S_ISFIFO): Likewise.
44577         [POSIX] (S_ISREG): Likewise.
44578         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
44579         optional-macro.
44580         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
44581         type.
44582         [POSIX] (time_t): Likewise.
44583         [POSIX] (timer_t): Likewise.
44585 2014-06-11  Florian Weimer  <fweimer@redhat.com>
44587         [BZ #17048]
44588         * posix/spawn_int.h (struct __spawn_action): Make the path string
44589         non-const to support deallocation.
44590         * posix/spawn_faction_addopen.c
44591         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
44592         * posix/spawn_faction_destroy.c
44593         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
44594         path in all spawn_do_open actions.
44595         * posix/tst-spawn.c (do_test): Exercise the copy operation in
44596         posix_spawn_file_actions_addopen.
44598 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
44600         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
44601         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
44602         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
44603         conditional code always true.
44604         (__libc_vfork): New alias.
44606 2014-06-11  Roland McGrath  <roland@hack.frob.com>
44608         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44609         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
44611         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
44613         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44614         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
44616         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
44617         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
44619         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44620         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
44622 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44624         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
44625         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
44626         multiarch strcmp for PPC64.
44627         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
44628         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
44629         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
44630         multiarch optimizations.
44631         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44632         (__libc_ifunc_impl_list): Likewise.
44634 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44636         * benchtests/scripts/validate_benchout.py: New script.
44637         * benchtests/Makefile (bench-func): Call it.
44638         * benchtests/scripts/benchout.schema.json: New file.
44640 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
44642         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
44643         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
44644         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
44645         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
44646         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
44647         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
44648         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
44649         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
44650         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
44651         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
44652         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
44653         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
44654         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
44655         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
44656         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
44657         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
44658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
44659         Moved ...
44660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
44661         ... here.
44662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
44663         Moved ...
44664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
44665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
44666         Moved ...
44667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
44668         ... here.
44669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
44670         Moved ...
44671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
44672         ... here.
44673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
44674         Moved ...
44675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
44676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
44677         Moved ...
44678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
44679         ... here.
44680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
44681         Moved ...
44682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
44683         ... here.
44684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
44685         Moved ...
44686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
44687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
44688         Moved ...
44689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
44690         ... here.
44691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
44692         Moved ...
44693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
44694         ... here.
44695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
44696         Moved ...
44697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
44698         ... here.
44699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
44700         Moved ...
44701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
44702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
44703         Moved ...
44704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
44705         ... here.
44706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
44707         Moved ...
44708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
44709         ... here.
44710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
44711         Moved ...
44712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
44713         ... here.
44714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
44715         Moved ...
44716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
44717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
44718         Moved ...
44719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
44720         ... here.
44721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
44722         Moved ...
44723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
44724         ... here.
44725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
44726         Moved ...
44727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
44728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
44729         Moved ...
44730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
44731         ... here.
44732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
44733         Moved ...
44734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
44735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
44736         Moved ...
44737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
44738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
44739         Moved ...
44740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
44741         ... here.
44742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
44743         Moved ...
44744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
44745         ... here.
44746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
44747         Moved ...
44748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
44749         ... here.
44750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
44751         Moved ...
44752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
44753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
44754         Moved ...
44755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
44756         ... here.
44757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
44758         Moved ...
44759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
44760         ... here.
44761         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
44762         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
44763         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
44764         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
44765         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
44766         Moved ...
44767         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
44768         ... here.
44769         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
44770         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
44771         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
44772         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
44773         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
44774         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
44775         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
44776         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
44777         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
44778         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
44779         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
44780         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
44781         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
44782         Moved ...
44783         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
44784         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
44785         Moved ...
44786         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
44787         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
44788         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
44789         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
44790         Moved ...
44791         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
44792         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
44793         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
44794         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
44795         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
44796         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
44797         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
44799 2014-06-10  Wilco  <wdijkstr@arm.com>
44801         * math/test-fenv-return.c: New file.
44802         * math/Makefile: Add new test test-fenv-return.
44804 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
44806         [BZ #17042]
44807         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
44808         when x - 1 is zero.
44809         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
44810         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
44811         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
44812         0.0L for an argument of 1.0L.
44813         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
44814         Likewise.
44815         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
44816         value when x - 1 is zero.
44817         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
44818         * sysdeps/i386/fpu/libm-test-ulps: Update.
44819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44821 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
44823         [BZ #15119]
44824         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
44826 2014-06-09  Roland McGrath  <roland@hack.frob.com>
44828         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
44829         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
44831 2014-06-09  Roland McGrath  <roland@hack.frob.com>
44833         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44834         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
44836         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44837         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
44839         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44840         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
44842         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44843         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
44845         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
44846         if not already defined.
44847         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
44848         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
44849         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
44850         (TLS_INIT_TP): Use it.
44851         (TLS_DEFINE_INIT_TP): New macro.
44852         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
44854 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
44856         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
44857         constant.
44858         [POSIX] (IXANY): Likewise.
44859         [POSIX] (OLCUC): Likewise.
44860         [POSIX || POSIX2008] (CBAUD): Do not allow.
44861         [POSIX || POSIX2008] (DEFECHO): Likewise.
44862         [POSIX || POSIX2008] (ECHOCTL): Likewise.
44863         [POSIX || POSIX2008] (ECHOKE): Likewise.
44864         [POSIX || POSIX2008] (ECHOPRT): Likewise.
44865         [POSIX || POSIX2008] (EXTA): Likewise.
44866         [POSIX || POSIX2008] (EXTB): Likewise.
44867         [POSIX || POSIX2008] (FLUSHO): Likewise.
44868         [POSIX || POSIX2008] (LOBLK): Likewise.
44869         [POSIX || POSIX2008] (PENDIN): Likewise.
44870         [POSIX || POSIX2008] (SWTCH): Likewise.
44871         [POSIX || POSIX2008] (VDISCARD): Likewise.
44872         [POSIX || POSIX2008] (VDSUSP): Likewise.
44873         [POSIX || POSIX2008] (VLNEXT): Likewise.
44874         [POSIX || POSIX2008] (VREPRINT): Likewise.
44875         [POSIX || POSIX2008] (VSTATUS): Likewise.
44876         [POSIX || POSIX2008] (VWERASE): Likewise.
44877         (B*): Change to B[0123456789]*.
44878         * conform/data/time.h-data [POSIX || UNIX98]
44879         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
44880         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
44881         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
44882         [POSIX] (tm_*): Do not allow.
44884 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
44886         * Makefile (install): Don't set LANGUAGE.
44887         * Makefile.in (install): Likewise.
44888         * assert/Makefile (test-assert-ENV): Remove variable.
44889         (test-assert-perr-ENV): Likewise.
44890         * elf/Makefile (neededtest4-ENV): Likewise.
44891         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44892         [$(cross-compiling) = no]: Don't set LANGUAGE.
44893         * io/ftwtest-sh (LANG): Remove variable.
44894         * libio/Makefile (tst-widetext-ENV): Likewise.
44895         * manual/install.texi (Running make install): Don't refer to
44896         environment settings for make install.
44897         * INSTALL: Regenerated.
44898         * nptl/tst-tls6.sh: Don't set LANG.
44899         * posix/globtest.sh (LANG): Remove variable.
44900         * string/Makefile (tester-ENV): Likewise.
44901         (inl-tester-ENV): Likewise.
44902         (noinl-tester-ENV): Likewise.
44903         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44904         [$(cross-compiling) = no]: Don't set LANGUAGE.
44905         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
44906         without explicit environment settings.
44908 2014-06-06  Roland McGrath  <roland@hack.frob.com>
44910         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
44911         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
44912         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
44913         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
44915 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
44917         * crypt/crypt-private.h [DOS]: Add some includes taken from the
44918         other files in the crypt directory.
44919         * crypt/crypt.c: Remove duplicate includes.
44920         * crypt/crypt-entry.c: Likewise.
44921         * crypt/crypt_util.c: Likewise.
44923 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
44925         * Makeconfig (run-program-env): New variable.
44926         (run-program-prefix-before-env): Likewise.
44927         (run-program-prefix-after-env): Likewise.
44928         (run-program-prefix): Define in terms of new variables.
44929         (built-program-cmd-before-env): New variable.
44930         (built-program-cmd-after-env): Likewise.
44931         (built-program-cmd): Define in terms of new variables.
44932         (test-program-prefix-before-env): New variable.
44933         (test-program-prefix-after-env): Likewise.
44934         (test-program-prefix): Define in terms of new variables.
44935         (test-program-cmd-before-env): New variable.
44936         (test-program-cmd-after-env): Likewise.
44937         (test-program-cmd): Define in terms of new variables.
44938         * Rules (make-test-out): Use $(run-program-env).
44939         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
44940         (help): Do not mention environment variables.  Mention
44941         --timeoutfactor option.
44942         (timeoutfactor): New variable.
44943         (blacklist_exports): Remove function.
44944         (exports): Remove variable.
44945         (command): Do not include ${exports}.
44946         * manual/install.texi (Configuring and compiling): Do not mention
44947         test wrappers preserving environment variables.  Mention that last
44948         assignment to a variable must take precedence.
44949         * INSTALL: Regenerated.
44950         * benchtests/Makefile (run-bench): Use $(run-program-env).
44951         * catgets/Makefile ($(objpfx)test1.cat): Use
44952         $(built-program-cmd-before-env), $(run-program-env) and
44953         $(built-program-cmd-after-env).
44954         ($(objpfx)test2.cat): Do not specify environment variables
44955         explicitly.
44956         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
44957         $(run-program-env) and $(built-program-cmd-after-env).
44958         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
44959         $(run-program-env) and $(test-program-cmd-after-env).
44960         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
44961         explicitly.
44962         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
44963         run_program_env and test_program_cmd_after_env arguments.
44964         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
44965         * elf/tst-pathopt.sh: Use run_program_env argument.
44966         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
44967         $(test-wrapper-env) and $(run-program-env).
44968         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
44969         run_program_env arguments.
44970         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
44971         * intl/Makefile ($(objpfx)tst-gettext.out): Use
44972         $(test-program-prefix-before-env), $(run-program-env) and
44973         $(test-program-prefix-after-env).
44974         ($(objpfx)tst-gettext2.out): Likewise.
44975         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
44976         run_program_env and test_program_prefix_after_env arguments.
44977         * intl/tst-gettext2.sh: Likewise.
44978         * intl/tst-gettext4.sh: Do not set environment variables
44979         explicitly.
44980         * intl/tst-gettext6.sh: Likewise.
44981         * intl/tst-translit.sh: Likewise.
44982         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
44983         $(test-program-prefix-before-env), $(run-program-env) and
44984         $(test-program-prefix-after-env).
44985         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
44986         run_program_env and test_program_prefix_after_env arguments.
44987         * math/Makefile (run-regen-ulps): Use $(run-program-env).
44988         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
44989         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
44990         explicitly with each use of ${test_wrapper_env}.
44991         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
44992         $(test-program-prefix-before-env), $(run-program-env) and
44993         $(test-program-prefix-after-env).
44994         * posix/tst-getconf.sh: Do not set environment variables
44995         explicitly.
44996         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
44997         run_program_env and test_program_prefix_after_env arguments.
44998         * stdio-common/tst-printf.sh: Do not set environment variables
44999         explicitly.
45000         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
45001         $(test-program-prefix-before-env), $(run-program-env) and
45002         $(test-program-prefix-after-env).
45003         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
45004         run_program_env and test_program_prefix_after_env arguments.
45005         Split $test calls into $test_pre and $test.
45006         * timezone/Makefile (build-testdata): Use
45007         $(built-program-cmd-before-env), $(run-program-env) and
45008         $(built-program-cmd-after-env).
45010 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45012         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
45013         strlen for non SHARED builds.
45015 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45017         * nptl/allocatestack.c (check_list): Inlined function...
45018         (__reclaim_stacks): ... here.
45020 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
45022         [BZ #15698]
45023         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
45024         memory overrun.
45026 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
45028         * Rules (make-test-out): Include
45029         LOCPATH=$(common-objpfx)localedata in default environment.
45030         * debug/Makefile (tst-chk1-ENV): Remove variable.
45031         (tst-chk2-ENV): Likewise.
45032         (tst-chk3-ENV): Likewise.
45033         (tst-chk4-ENV): Likewise.
45034         (tst-chk5-ENV): Likewise.
45035         (tst-chk6-ENV): Likewise.
45036         (tst-lfschk1-ENV): Likewise.
45037         (tst-lfschk2-ENV): Likewise.
45038         (tst-lfschk3-ENV): Likewise.
45039         (tst-lfschk4-ENV): Likewise.
45040         (tst-lfschk5-ENV): Likewise.
45041         (tst-lfschk6-ENV): Likewise.
45042         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
45043         (tst-iconv7-ENV): Likewise.
45044         * intl/Makefile (LOCPATH-ENV): Likewise.
45045         (tst-codeset-ENV): Likewise.
45046         (tst-gettext3-ENV): Likewise.
45047         (tst-gettext5-ENV): Likewise.
45048         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
45049         (tst-fopenloc-ENV): Likewise.
45050         (tst-fgetws-ENV): Remove variable.
45051         (tst-ungetwc1-ENV): Likewise.
45052         (tst-ungetwc2-ENV): Likewise.
45053         (bug-ungetwc2-ENV): Likewise.
45054         (tst-swscanf-ENV): Likewise.
45055         (bug-ftell-ENV): Likewise.
45056         (tst-fgetwc-ENV): Likewise.
45057         (tst-fseek-ENV): Likewise.
45058         (tst-ftell-partial-wide-ENV): Likewise.
45059         (tst-ftell-active-handler-ENV): Likewise.
45060         (tst-ftell-append-ENV): Likewise.
45061         * posix/Makefile (tst-fnmatch-ENV): Likewise.
45062         (tst-regexloc-ENV): Likewise.
45063         (bug-regex1-ENV): Likewise.
45064         (tst-regex-ENV): Likewise.
45065         (tst-regex2-ENV): Likewise.
45066         (bug-regex5-ENV): Likewise.
45067         (bug-regex6-ENV): Likewise.
45068         (bug-regex17-ENV): Likewise.
45069         (bug-regex18-ENV): Likewise.
45070         (bug-regex19-ENV): Likewise.
45071         (bug-regex20-ENV): Likewise.
45072         (bug-regex22-ENV): Likewise.
45073         (bug-regex23-ENV): Likewise.
45074         (bug-regex25-ENV): Likewise.
45075         (bug-regex26-ENV): Likewise.
45076         (bug-regex30-ENV): Likewise.
45077         (bug-regex32-ENV): Likewise.
45078         (bug-regex33-ENV): Likewise.
45079         (bug-regex34-ENV): Likewise.
45080         (bug-regex35-ENV): Likewise.
45081         (tst-rxspencer-ENV): Likewise.
45082         (tst-rxspencer-no-utf8-ENV): Likewise.
45083         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
45084         (tst-sscanf-ENV): Likewise.
45085         (tst-swprintf-ENV): Likewise.
45086         (tst-swscanf-ENV): Likewise.
45087         (test-vfprintf-ENV): Likewise.
45088         (scanf13-ENV): Likewise.
45089         (bug14-ENV): Likewise.
45090         (tst-grouping-ENV): Likewise.
45091         * stdlib/Makefile (tst-strtod-ENV): Likewise.
45092         (tst-strtod3-ENV): Likewise.
45093         (tst-strtod4-ENV): Likewise.
45094         (tst-strtod5-ENV): Likewise.
45095         (testmb2-ENV): Likewise./
45096         * string/Makefile (tst-strxfrm-ENV): Likewise.
45097         (tst-strxfrm2-ENV): Likewise.
45098         (bug-strcoll1-ENV): Likewise.
45099         (test-strcasecmp-ENV): Likewise.
45100         (test-strncasecmp-ENV): Likewise.
45101         * time/Makefile (tst-strptime-ENV): Likewise.
45102         (tst-ftime_l-ENV): Likewise.
45103         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
45104         (tst-mbrtowc-ENV): Likewise.
45105         (tst-wcrtomb-ENV): Likewise.
45106         (tst-mbrtowc2-ENV): Likewise.
45107         (tst-c16c32-1-ENV): Likewise.
45108         (tst-mbsnrtowcs-ENV): Likewise.
45110 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
45112         * manual/resource.texi (How to get information about the memory
45113         subsystem?): Fix typo.
45114         Reported by Peon de la Parra Ivan <peon@keba.com>
45116 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
45118         [BZ #16882]
45119         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
45120         (pthread_spin_lock): Branch out of spin loop to proper location.
45121         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
45122         (pthread_spin_lock): Likewise.
45124         * nptl/tst-spin4.c: New test.
45125         * nptl/Makefile (tests): Add tst-spin4.
45127 2014-06-03  Andreas Schwab  <schwab@suse.de>
45129         [BZ #15946]
45130         * resolv/res_send.c (send_dg): Reload file descriptor after
45131         calling reopen.
45133 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
45135         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45137 2014-06-03  Richard Henderson  <rth@redhat.com>
45139         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
45140         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
45141         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
45142         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
45143         in the SAVE_PID block.
45144         (__libc_vfork): New alias.
45145         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
45147         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
45148         child in registers, not on the stack.  Remove RESET_PID conditionals.
45149         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
45151 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45153         * sysdeps/aarch64/libm-test-ulps: Regenerate.
45155 2014-06-03  Wilco  <wdijkstr@arm.com>
45157         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
45158         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
45159         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
45160         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
45161         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
45162         Likewise.
45164 2014-06-03  Wilco  <wdijkstr@arm.com>
45166         * sysdeps/aarch64/fpu/math_private.h
45167         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
45168         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
45169         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
45170         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
45171         Fix declarations.
45173 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45175         * crypt/crypt-private.h: Include ufc-crypt.h.
45176         (__b64_from_24bit): Declare extern.
45177         * crypt/crypt_util.c(__b64_from_24bit): New function.
45178         (b64t): New static const variable.
45179         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
45180         (b64t): Remove variable.
45181         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
45182         * crypt/sha256-crypt.c: Include crypt-private.h.
45183         (b64t): Remove variable.
45184         (__sha256_crypt_r): Remove b64_from_24bit and replace
45185         with __b64_from_24bit.
45186         * crypt/sha512-crypt.c: Likewise.
45188 2014-06-02  Roland McGrath  <roland@hack.frob.com>
45190         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
45191         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
45192         Label the code __libc_vfork rather than __vfork.
45193         [!NOT_IN_libc] (vfork): Define as weak alias.
45194         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
45195         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
45196         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
45198 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45200         * malloc/malloc.c (malloc_info): Fix format specifier for
45201         n_mmaps.
45203 2014-06-02  Wilco  <wdijkstr@arm.com>
45205         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
45206         FPCR write.
45208 2014-06-02  Wilco  <wdijkstr@arm.com>
45210         [BZ #17009]
45211         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
45212         Rewrite to reduce FPCR/FPSR accesses.
45214 2014-06-01  David S. Miller  <davem@davemloft.net>
45216         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45218 2014-05-31  David S. Miller  <davem@davemloft.net>
45220         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
45221         to occur in round to nearest mode when |x| >= 2.0
45223 2014-05-30  Richard Henderson  <rth@twiddle.net>
45225         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
45226         (PSEUDO_RET_NOERRNO): Remove.
45227         (ret): Don't redefine.
45228         (ret_NOERRNO): Define in terms of ret.
45229         (ret_ERRVAL): Likewise.
45231         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
45232         use of PSEUDO_RET; perform the error check directly.
45234 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
45236         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
45237         with __int128_t.
45239 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45241         * malloc/malloc (malloc_info): Fix formatting.
45243 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45244             Roland McGrath  <roland@hack.frob.com>
45246         * malloc/malloc (malloc_info): Also print mmapped statistics.
45248 2014-05-30  Roland McGrath  <roland@hack.frob.com>
45250         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
45251         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
45253 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
45255         * malloc/malloc.c (malloc_info): Inline mi_arena.
45257 2014-05-29  Richard Henderson  <rth@twiddle.net>
45259         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
45260         Remove comma before expanding ASM_ARGS_##nr.
45261         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
45262         Make _x0 a strict output; make _x8 a strict input; adjust expansion
45263         of ASM_ARGS_##nr.
45264         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
45265         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
45266         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
45267         (ASM_ARGS_1): Add leading comma.
45269         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
45270         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
45271         to __errno_location.
45272         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
45273         Remove the expected plt for __errno_location.
45275         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45276         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
45277         call to __read_tp.
45279         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45280         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
45281         it and break it down.
45282         (DOCARGS_0, DOCARGS_1): Do nothing.
45283         (DOCARGS_2): Update to store into the new stack frame.
45284         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
45285         (UNDOCARGS_1): Update to restore from the new stack frame.
45286         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
45287         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
45289         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45290         (SINGLE_THREAD_P): New parameter for result regno.
45291         (PSEUDO): Update to match; use cbz instead of beq.
45293         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45294         Use ENTRY to define the _nocancel entry point.  Share the syscall
45295         and syscall error check paths with the cancel path.
45296         (PSEUDO_END): New.
45298         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
45299         whitespace; tabs before and after asm mnemonics.
45301 2014-05-29  Eric Wong  <normalperson@yhbt.net>
45303         [BZ #15132]
45304         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45305         Call fstat64 or stat64 internally, depending on arguments passed.
45306         Replace stat buffer argument with file descriptor argument.
45307         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
45308         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
45309         Pass fd to __internal_statvfs instead of calling fstat64.
45310         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
45311         Pass fd to __internal_statvfs64 instead of calling fstat64.
45312         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
45313         Pass -1 to __internal_statvfs instead of calling stat64.
45314         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
45315         Pass -1 to __internal_statvfs64 instead of calling stat64.
45317 2014-05-28  Roland McGrath  <roland@hack.frob.com>
45319         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
45320         that was previously under [RESET_PID].
45321         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
45323         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
45324         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
45326 2014-05-27  Roland McGrath  <roland@hack.frob.com>
45328         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
45330         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
45331         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
45333 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
45335         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
45337 2014-05-27  Andreas Schwab  <schwab@suse.de>
45339         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
45340         TLS_INIT_TP macro.
45341         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
45342         * elf/rtld.c (init_tls, dl_main): Likewise.
45343         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
45344         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
45345         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
45346         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
45347         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
45348         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
45349         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
45350         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
45351         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
45352         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
45353         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
45354         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
45355         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
45356         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
45357         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
45358         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
45359         * sysdeps/generic/tls.h: Update description.
45361 2014-05-27  Will Newton  <will.newton@linaro.org>
45363         [BZ #16990]
45364         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
45365         and restore r2 rather than just restoring.
45367 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45369         [BZ #16724]
45370         * libio/tst-ftell-append.c: New test case.
45371         * libio/Makefile (tests): Add test case.
45372         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
45373         append mode.
45374         * libio/wfileops.c (do_ftell_wide): Likewise.
45376 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45380         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
45381         ...
45382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
45383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
45384         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
45385         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
45386         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
45387         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
45388         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
45389         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
45390         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
45391         Moved ...
45392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
45393         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
45394         Moved ...
45395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
45396         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
45397         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
45398         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
45399         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
45400         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
45401         ...
45402         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
45403         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
45404         Moved ...
45405         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
45406         here.
45407         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
45408         ...
45409         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
45410         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
45411         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
45413         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
45414         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
45415         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
45416         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
45418         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
45419         merge into ...
45420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
45421         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
45422         ...
45423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
45424         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
45425         ...
45426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
45427         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
45428         Moved ...
45429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
45430         here.
45431         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
45432         Moved ...
45433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
45434         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
45435         Moved ...
45436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
45438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
45439         conditional [RESET_PID].
45440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
45441         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
45442         removed.
45443         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
45444         removed.
45446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
45447         <tcb-offsets.h>.
45448         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45449         (__libc_vfork): New strong alias.
45450         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
45451         removed.
45452         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
45453         Removed.
45455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
45456         <tcb-offsets.h>.
45457         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
45458         (__libc_vfork): New strong alias.
45459         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
45460         removed.
45461         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
45462         removed.
45464 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
45466         * malloc/malloc.c (mi_arena): New function.
45467         (malloc_info): Remove nested function mi_arena. Call non-nosted
45468         function mi_arena.
45470 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45472         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
45473         by insrwi.
45474         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
45475         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
45476         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
45477         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
45478         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
45479         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
45480         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
45482 2014-05-26  Andreas Schwab  <schwab@suse.de>
45484         [BZ #16984]
45485         * locale/programs/repertoire.c (repertoire_read): Add slash
45486         between I18NPATH element and file name.
45487         * locale/programs/locfile.c (locfile_read): Likewise.
45489 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
45491         * nptl/pthread_mutexattr_settype.c
45492         (__pthread_mutexattr_settype):
45493         Disable lock elision for PTHREAD_MUTEX_NORMAL.
45495 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
45497         * nptl/tst-mutex5 (do_test):
45498         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
45500 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45502         * benchtests/README: Document 'init' directive.
45503         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
45504         BENCH_INIT.
45505         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
45506         (parse_file): Recognize 'init' directive.
45508 2014-05-26  Kyle McMartin  <kyle@redhat.com>
45510         [BZ #16796]
45511         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
45512         alignment of struct pthread.
45514 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45516         [BZ #16878]
45517         * nscd/netgroupcache.c (addgetnetgrentX): Look for
45518         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
45519         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
45520         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
45522 2014-05-25  Richard Henderson  <rth@twiddle.net>
45524         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45525         (SINGLE_THREAD_P_PIC): Remove.
45526         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
45527         (SINGLE_THREAD_P_PIC): Remove.
45529         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
45530         branch to syscall error ...
45531         (PSEUDO): ... here.
45532         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
45533         from __local_syscall_error to .Lsyscall_error.
45534         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
45535         (SYSCALL_ERROR): Update label name.
45537         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45538         Do not use DOARGS/UNDOARGS.
45539         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
45540         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
45541         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
45542         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
45543         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
45545         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
45546         block comment.
45548         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
45549         define if !NOT_IN_libc.
45550         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
45551         define with non-default symbol versions.
45553 2014-05-23  Richard Henderson  <rth@twiddle.net>
45555         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
45556         (vfork, __vfork): Define via compat_symbol.
45558         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
45559         [!HAVE_IFUNC] (vfork_compat): Remove.
45560         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
45562 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
45564         [BZ #16978]
45565         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
45566         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
45567         variable.
45569 2014-05-23  Richard Henderson  <rth@twiddle.net>
45571         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
45572         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
45573         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
45574         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
45576         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
45577         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
45578         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
45579         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
45580         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
45581         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
45582         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
45583         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
45584         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
45585         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
45586         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
45587         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
45588         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
45589         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
45590         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
45591         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
45592         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
45593         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
45594         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
45595         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
45596         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
45597         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
45598         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
45599         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
45600         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
45601         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
45602         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
45603         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
45604         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
45605         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
45606         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
45607         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
45608         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
45609         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
45610         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
45611         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
45612         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
45613         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
45614         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
45615         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
45616         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
45617         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
45618         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
45619         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
45620         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
45621         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
45622         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
45623         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
45624         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
45625         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
45626         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
45627         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
45628         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
45629         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
45630         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
45631         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
45633         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
45634         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
45635         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
45636         before exiting on error.
45637         (__libc_vfork): New strong alias.
45638         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
45639         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
45641         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
45642         that was previously under [RESET_PID].
45643         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
45645         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
45647 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
45649         [BZ #16977]
45650         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
45651         value when x - 1 is zero.
45652         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
45653         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
45654         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
45655         0.0L for an argument of 1.0L.
45656         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
45657         Likewise.
45658         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
45659         value when x - 1 is zero.
45660         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
45661         * sysdeps/i386/fpu/libm-test-ulps: Update.
45662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45664 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
45666         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
45667         alphasort and versionsort.
45669 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45671         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
45672         macro.
45673         [copysignf]: Likewise.
45675 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45677         * crypt/md5-crypt.c: Fix formatting.
45679 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45681         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
45682         (b64_from_24bit): New function.
45684 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45686         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
45687         libc_hidden_builtin_def to ifunc.
45688         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
45689         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
45691 2014-05-21  Roland McGrath  <roland@hack.frob.com>
45693         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
45694         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
45696 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
45698         * nscd/Depend (linuxthreads): Remove.
45699         (nptl): Add.
45700         * resolv/Depend (linuxthreads): Remove.
45701         * rt/Depend (linuxthreads): Remove.
45703         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
45704         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
45705         $(common-objpfx)elf/.
45706         (link-libc-before-gnulib): Likewise.
45707         (elfobjdir): Remove variable.
45708         * Makefile (install): Use $(elf-objpfx) instead of
45709         $(common-objpfx)elf/.
45710         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
45711         $(elfobjdir)/.
45712         (link-libc-deps): Likewise.
45713         ($(common-objpfx)libc.so): Likewise.
45714         ($(common-objpfx)linkobj/libc.so): Likewise.
45715         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
45716         instead of $(common-objpfx)elf/.
45717         (symbolic-link-list): Likewise.
45718         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
45719         [$(cross-compiling) = no]: Likewise.
45720         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
45721         $(elfobjdir)/.
45722         (static-gnulib-arch): Likewise.
45723         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
45724         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
45725         $(common-objpfx)elf/.
45727 2014-05-21  Richard Henderson  <rth@redhat.com>
45729         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45730         (SINGLE_THREAD_P): Use the correct width load.  Fold
45731         into the ldr offset.
45733         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
45734         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
45736 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
45738         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
45739         (libgcc_s_resume): Use __attribute_used__.
45740         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
45741         Likewise.
45743 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45745         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
45746         optimization when used with float constants.
45748         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45750 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
45752         [BZ #16915]
45753         * locale/nl_langinfo_l.c: Make direct reference to every
45754         _nl_current_CATEGORY symbol.
45755         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
45756         (tests-static): Add tst-langinfo-static.
45757         (tests-special): Add tst-langinfo-static.out.
45758         ($(objpfx)tst-langinfo.out): Redirect output.
45759         ($(objpfx)tst-langinfo-static.out): New.
45760         * localedata/tst-langinfo.sh: Send output to stdout.
45761         * localedata/tst-langinfo-static.c: New file.
45763         [BZ #16965]
45764         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
45765         when the shift amount is modulo the limb size.
45767 2014-05-20  Richard Henderson  <rth@redhat.com>
45769         [BZ #16967]
45770         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
45771         Change type of sa_flags from unsigned int to int.
45773         [BZ #16966]
45774         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
45776         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
45778 2014-05-20  Will Newton  <will.newton@linaro.org>
45780         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45781         Test the return value of the system call in the nocancel case.
45783 2014-05-20  Will Newton  <will.newton@linaro.org>
45784             Yvan Roux  <yvan.roux@linaro.org>
45786         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
45787         #include of asm/ptrace.h.
45788         (PTRACE_GET_THREAD_AREA): Remove #undef.
45789         (PTRACE_GETHBPREGS): Likewise.
45790         (PTRACE_SETHBPREGS): Likewise.
45791         (struct user_regs_struct): New structure.
45792         (struct user_fpsimd_struct): New structure.
45793         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
45794         #include of asm/ptrace.h and second #include of sys/user.h.
45795         (PTRACE_GET_THREAD_AREA): Remove #undef.
45796         (PTRACE_GETHBPREGS): Likewise.
45797         (PTRACE_SETHBPREGS): Likewise.
45798         (ELF_NGREG): Use new struct user_regs_struct.
45799         (elf_fpregset_t): Use new struct user_fpsimd_struct.
45801 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45803         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
45804         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
45806 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
45808         [BZ #16958]
45809         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
45810         membar to avoid block loads/stores to overlap previous stores.
45812 2014-05-17  Richard Henderson  <rth@redhat.com>
45814         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
45815         Create the __##syscall_name##_nocancel entry point.
45816         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
45817         Remove; let the sysdep-cancel.h code create it.
45819 2014-05-17  David S. Miller  <davem@davemloft.net>
45821         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
45822         Protect with __USE_GNU.
45823         (TIOCSET_TEMPT): Likewise.
45824         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45825         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
45826         these are already provided in bits/ioctl-types.h
45828 2014-05-16  Roland McGrath  <roland@hack.frob.com>
45830         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
45831         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
45833         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
45834         Use wait4 regardless of [__NR_waitpid].
45836 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
45838         PR libgcc/60166
45839         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
45840         (_FP_NANSIGN_Q): Set the quiet bit.
45842 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
45844         * benchtests/Makefile
45845         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
45846         not $(common-objpfx)math/libm.so.
45847         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
45848         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
45849         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
45850         $(common-objpfx)dlfcn/libdl.so.
45851         ($(objpfx)tst-audit8): Depend on $(libm), not
45852         $(common-objpfx)math/libm.so.
45853         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
45854         not $(common-objpfx)dlfcn/libdl.so.
45855         * math/Makefile
45856         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45857         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
45858         [$(build-shared) = yes].
45859         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
45860         $(common-objpfx)nptl/libpthread.so.
45861         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
45862         $(common-objpfx)math/libm.so$(libm.so-version) or
45863         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
45864         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
45865         $(common-objpfx)dlfcn/libdl.so.
45866         * setjmp/Makefile (link-libm): Remove variable.
45867         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
45868         * stdio-common/Makefile (link-libm): Remove variable.
45869         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
45870         * stdlib/Makefile (link-libm): Remove variable.
45871         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
45872         ($(objpfx)tst-strtod-round): Likewise.
45873         ($(objpfx)tst-tininess): Likewise.
45874         ($(objpfx)tst-strtod-underflow): Likewise.
45875         ($(objpfx)tst-strtod6): Likewise.
45876         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
45877         $(libdl), not $(common-objpfx)nptl/libpthread.so and
45878         $(common-objpfx)dlfcn/libdl.so.
45880 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45882         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
45883         BSD terminal modes definitions.
45885 2014-05-16  Roland McGrath  <roland@hack.frob.com>
45887         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
45888         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
45890         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
45891         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
45892         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
45893         Don't do #include_next.
45894         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
45895         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
45896         Don't do #include_next.
45897         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
45898         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
45899         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
45900         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
45902 2014-05-16  Allan McRae  <allan@archlinux.org>
45904         * po/sv.po: Update Swedish translation from translation project.
45906         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
45907         in sed expression.
45909 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
45911         [BZ #16917]
45912         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
45913         errno if the TIOCGPTN ioctl fails with an error different than
45914         EINVAL.
45915         * login/tst-ptsname.c: New file.
45916         * login/Makefile (tests): Add tst-ptsname.
45918         [BZ #16943]
45919         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
45920         and prlimit64.
45922 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45924         [BZ #16849]
45925         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
45926         herrno to return EAI_AGAIN.
45928 2014-05-14  Roland McGrath  <roland@hack.frob.com>
45930         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
45931         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
45932         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
45933         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
45934         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
45935         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
45936         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
45937         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
45938         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
45939         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
45940         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
45941         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
45942         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
45943         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
45944         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
45945         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
45946         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
45947         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
45948         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
45949         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
45950         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
45951         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
45952         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
45953         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
45954         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
45955         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
45956         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
45957         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
45958         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
45959         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
45960         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
45961         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
45962         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
45963         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
45964         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45965         Moved ...
45966         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
45967         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
45968         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
45969         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
45970         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
45971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
45972         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
45973         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
45974         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
45975         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
45976         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
45977         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
45978         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
45979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
45980         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
45981         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
45982         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
45983         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
45984         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
45985         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
45986         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
45987         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
45988         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
45989         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
45990         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
45991         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
45992         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
45993         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45994         Moved ...
45995         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
45996         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
45997         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
45998         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
45999         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
46000         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
46001         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
46002         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
46003         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
46004         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
46005         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
46006         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
46007         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
46008         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
46009         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
46010         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
46011         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
46012         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
46013         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
46014         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46015         Moved ...
46016         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
46017         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
46018         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
46020         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
46021         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
46022         (libpthread-sysdep_routines): Add elision-related stuff here instead.
46023         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
46024         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
46025         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
46026         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
46027         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
46028         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
46029         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
46030         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
46031         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
46032         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
46033         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
46034         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
46035         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
46036         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
46037         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
46038         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
46039         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
46040         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
46041         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
46042         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
46043         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
46044         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
46045         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
46046         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
46047         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
46048         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
46049         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
46050         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
46052         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
46053         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
46055         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
46056         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
46057         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
46058         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
46059         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
46060         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
46061         Moved ...
46062         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
46063         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
46064         Moved ...
46065         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
46066         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
46067         Moved ...
46068         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
46069         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
46070         Moved ...
46071         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
46072         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
46073         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
46074         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
46075         Moved ...
46076         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
46077         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
46078         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
46079         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
46080         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
46081         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
46082         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
46083         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
46084         Moved ...
46085         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
46086         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
46087         Moved ...
46088         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
46089         ... here.
46090         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
46091         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
46092         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
46093         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
46094         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
46095         Moved ...
46096         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
46097         ... here.
46098         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
46099         Moved ...
46100         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
46101         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
46102         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
46103         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
46104         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
46105         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
46106         Moved ...
46107         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
46108         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
46109         Moved ...
46110         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
46111         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
46112         Moved ...
46113         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
46114         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
46115         Moved ...
46116         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
46117         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
46118         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
46119         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
46120         Moved ...
46121         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
46122         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
46123         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
46124         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
46125         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
46126         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
46127         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
46128         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
46129         Moved ...
46130         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
46131         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
46132         Moved ...
46133         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
46134         ... here.
46135         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
46136         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
46137         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
46138         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
46139         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
46140         Moved ...
46141         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
46142         ... here.
46143         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
46144         Moved ...
46145         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
46146         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
46147         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
46148         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
46149         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
46150         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
46151         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
46152         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
46153         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
46154         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
46155         Moved ...
46156         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
46157         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
46158         Moved ...
46159         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
46160         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
46161         Moved ...
46162         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
46163         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
46164         Moved ...
46165         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
46166         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
46167         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
46168         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
46169         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
46170         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
46171         Moved ...
46172         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
46173         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
46174         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
46175         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
46176         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
46177         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
46178         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
46179         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
46180         Moved ...
46181         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
46182         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
46183         Moved ...
46184         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
46185         ... here.
46186         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
46187         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
46188         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
46189         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
46190         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
46191         Moved ...
46192         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
46193         ... here.
46194         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
46195         Moved ...
46196         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
46197         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
46198         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
46199         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
46200         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
46201         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
46202         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
46203         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
46204         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
46205         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
46206         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
46208         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
46209         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
46211         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
46212         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
46214         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
46215         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
46216         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
46217         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
46218         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
46219         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
46220         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
46221         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
46222         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
46223         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
46224         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
46225         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
46226         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
46227         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
46228         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
46229         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
46230         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
46231         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
46232         Moved ...
46233         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
46234         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
46235         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
46236         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
46237         Moved ...
46238         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
46239         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
46240         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
46241         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
46242         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
46243         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
46244         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
46245         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
46246         Moved ...
46247         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
46248         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
46249         Moved ...
46250         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
46251         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
46252         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
46253         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
46254         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
46255         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
46256         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
46257         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
46258         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
46259         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
46260         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
46261         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
46262         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
46263         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
46264         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
46265         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
46266         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
46268         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
46269         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
46270         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
46271         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
46272         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
46274         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
46275         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
46276         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
46277         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
46278         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
46279         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
46280         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
46281         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
46282         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
46283         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
46285         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
46286         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
46288         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
46289         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
46290         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
46291         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
46292         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
46293         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
46294         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
46295         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
46296         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
46297         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
46298         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
46299         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
46300         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
46301         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
46302         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
46303         Update #include.
46304         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
46305         Likewise.
46306         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
46307         Likewise.
46308         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
46309         Likewise.
46310         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
46311         Likewise.
46312         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
46313         Likewise.
46314         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
46315         Likewise.
46316         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
46317         Likewise.
46318         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
46319         Likewise.
46320         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
46321         Likewise.
46322         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
46323         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
46324         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
46325         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
46326         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
46327         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
46328         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
46329         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
46330         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
46331         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
46332         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
46333         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
46334         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
46335         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
46336         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
46338         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
46339         that was previously under [RESET_PID].
46340         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46341         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
46342         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
46344         * sysdeps/i386/nptl/Implies: New file.
46345         * sysdeps/x86_64/nptl/Implies: New file.
46346         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
46347         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
46348         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
46349         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
46351         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
46352         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46353         (__libc_vfork): New strong alias.
46354         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
46355         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
46357         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
46358         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46359         (__libc_vfork): New strong alias.
46360         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
46361         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
46363         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
46364         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46365         (__libc_vfork): New strong alias.
46366         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
46367         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
46368         * nptl/pt-vfork.c: New file.
46369         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
46370         (libpthread: GLIBC_2.20): New version set (empty).
46372 2014-05-14  Will Newton  <will.newton@linaro.org>
46374         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
46375         rather than #if.
46377 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
46379         [BZ #16564]
46380         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
46381         arguments with exponent 65 or above.
46382         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
46383         arguments 0x1p113L or above.
46384         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
46385         to arguments 0x1p107L or above.
46386         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
46387         positive arguments with exponent 65 or above.
46388         * math/auto-libm-test-in: Add more tests of log1p.
46389         * math/auto-libm-test-out: Regenerated.
46391         [BZ #16928]
46392         * math/s_cacos.c (__cacos): Ensure zero real part of result from
46393         non-finite arguments is +0.
46394         * math/s_cacosf.c (__cacosf): Likewise.
46395         * math/s_cacosl.c (__cacosl): Likewise.
46396         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
46397         * sysdeps/i386/fpu/libm-test-ulps: Update.
46398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46400         [BZ #16927]
46401         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
46402         value.
46403         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
46404         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
46405         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
46406         for explicit high bit of mantissa when testing for argument equal
46407         to 1.
46408         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
46409         * sysdeps/i386/fpu/libm-test-ulps: Update.
46410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46412         [BZ #16516]
46413         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
46414         (__erf): Scale by 16 instead of 8 in potentially underflowing
46415         case.  Ensure exception if result actually underflows.
46416         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
46417         (__erff): Scale by 16 instead of 8 in potentially underflowing
46418         case.  Ensure exception if result actually underflows.
46419         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
46420         (efx8): Remove variable.
46421         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46422         case.  Ensure exception if result actually underflows.
46423         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
46424         (efx8): Remove variable.
46425         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46426         case.  Ensure exception if result actually underflows.
46427         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
46428         (efx8): Remove variable.
46429         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46430         case.  Ensure exception if result actually underflows.
46431         * math/auto-libm-test-in: Add more tests of erf.
46432         * math/auto-libm-test-out: Regenerated.
46434 2014-05-14  Andreas Schwab  <schwab@suse.de>
46436         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
46437         Remove code conditionalized on USE___THREAD.
46439         * config.h.in (HAVE_PT_CHOWN): Define as 0.
46440         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
46441         not definedness.
46443 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
46445         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
46446         Define unconditionally.
46447         (__ASSUME_O_CLOEXEC): Likewise.
46448         (__ASSUME_SOCK_CLOEXEC): Likewise.
46449         (__ASSUME_IN_NONBLOCK): Likewise.
46450         (__ASSUME_PIPE2): Likewise.
46451         (__ASSUME_EVENTFD2): Likewise.
46452         (__ASSUME_SIGNALFD4): Likewise.
46453         (__ASSUME_DUP3): Likewise.
46454         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46455         (__ASSUME_DUP3): Do not define.
46456         (__ASSUME_EVENTFD2): Likewise.
46457         (__ASSUME_IN_NONBLOCK): Likewise.
46458         (__ASSUME_O_CLOEXEC): Likewise.
46459         (__ASSUME_PIPE2): Likewise.
46460         (__ASSUME_SIGNALFD4): Likewise.
46461         (__ASSUME_SOCK_CLOEXEC): Likewise.
46462         (__ASSUME_UTIMES): Undefine.
46463         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46464         (__ASSUME_UTIMES): Do not define.
46465         (__ASSUME_O_CLOEXEC): Likewise.
46466         (__ASSUME_SOCK_CLOEXEC): Likewise.
46467         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
46468         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
46469         0x020621].
46470         (__ASSUME_PIPE2): Likewise.
46471         (__ASSUME_EVENTFD2): Likewise.
46472         (__ASSUME_SIGNALFD4): Likewise.
46473         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
46474         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
46475         Do not define.
46476         (__ASSUME_EVENTFD2): Likewise.
46477         (__ASSUME_SIGNALFD4): Likewise.
46478         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
46479         (__ASSUME_32BITUIDS): Likewise.
46480         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46481         (__ASSUME_IPC64): Likewise.
46482         (__ASSUME_ST_INO_64_BIT): Likewise.
46483         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
46484         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
46485         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46486         (__ASSUME_UTIMES): Do not define.
46487         (__ASSUME_PSELECT): Likewise.
46488         (__ASSUME_PPOLL): Likewise.
46489         (__ASSUME_O_CLOEXEC): Likewise.
46490         (__ASSUME_SOCK_CLOEXEC): Likewise.
46491         (__ASSUME_IN_NONBLOCK): Likewise.
46492         (__ASSUME_PIPE2): Likewise.
46493         (__ASSUME_EVENTFD2): Likewise.
46494         (__ASSUME_SIGNALFD4): Likewise.
46495         (__ASSUME_DUP3): Likewise.
46496         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46497         (__ASSUME_UTIMES): Likewise.
46498         (__ASSUME_O_CLOEXEC): Likewise.
46499         (__ASSUME_SOCK_CLOEXEC): Likewise.
46500         (__ASSUME_IN_NONBLOCK): Likewise.
46501         (__ASSUME_PIPE2): Likewise.
46502         (__ASSUME_EVENTFD2): Likewise.
46503         (__ASSUME_SIGNALFD4): Likewise.
46504         (__ASSUME_DUP3): Likewise.
46505         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46506         (__ASSUME_UTIMES): Likewise.
46507         (__ASSUME_O_CLOEXEC): Likewise.
46508         (__ASSUME_SOCK_CLOEXEC): Likewise.
46509         (__ASSUME_IN_NONBLOCK): Likewise.
46510         (__ASSUME_PIPE2): Likewise.
46511         (__ASSUME_EVENTFD2): Likewise.
46512         (__ASSUME_SIGNALFD4): Likewise.
46513         (__ASSUME_DUP3): Likewise.
46514         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
46515         Likewise.
46516         (__ASSUME_UTIMES): Likewise.
46517         (__ASSUME_EVENTFD2): Likewise.
46518         (__ASSUME_SIGNALFD4): Likewise.
46519         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46520         (__ASSUME_O_CLOEXEC): Likewise.
46521         (__ASSUME_SOCK_CLOEXEC): Likewise.
46522         (__ASSUME_IN_NONBLOCK): Likewise.
46523         (__ASSUME_PIPE2): Likewise.
46524         (__ASSUME_EVENTFD2): Likewise.
46525         (__ASSUME_SIGNALFD4): Likewise.
46526         (__ASSUME_DUP3): Likewise.
46527         (__ASSUME_UTIMES): Undefine.
46529         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
46530         feclearexcept.  Remove symbol versioning code.
46531         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
46532         symbol versioning code.
46533         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
46534         symbol versioning code.
46535         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
46536         feupdateenv.  Remove symbol versioning code.
46537         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
46538         fegetexceptflag.  Remove symbol versioning code.
46539         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
46540         fesetexceptflag.  Remove symbol versioning code.
46541         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
46542         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
46543         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
46544         (__posix_fadvise64_l32): Remove prototype.
46545         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
46546         code.
46548 2014-05-13  Roland McGrath  <roland@hack.frob.com>
46550         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
46551         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
46552         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
46553         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
46555 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
46557         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
46558         current working directory
46560 2014-05-13  Roland McGrath  <roland@hack.frob.com>
46562         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
46563         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
46564         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
46565         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
46566         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
46567         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
46568         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
46569         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
46570         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
46571         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
46572         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
46573         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
46574         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
46575         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
46576         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
46577         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
46578         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
46579         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
46580         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
46581         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
46582         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
46583         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
46584         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
46585         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
46586         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
46587         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
46588         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
46589         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
46590         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
46591         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
46592         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
46593         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
46594         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
46595         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
46596         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
46597         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
46598         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
46599         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
46600         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
46601         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
46602         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
46603         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
46605         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
46606         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
46608         * sysdeps/unix/sysv/linux/arm/Makefile
46609         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
46610         Add rt-aeabi_unwind_cpp_pr1.
46611         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
46612         Add nptl-aeabi_unwind_cpp_pr1.
46613         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
46614         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
46615         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
46616         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
46617         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
46618         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
46620         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
46621         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
46622         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
46623         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
46625         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
46626         Deconditionalize the code that was previously under [RESET_PID].
46627         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
46629         * sysdeps/generic/exit-thread.h: New file.
46630         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
46631         * include/unistd.h (__exit_thread): Remove declaration.
46632         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
46633         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
46634         * csu/libc-start.c: Include <exit-thread.h>.
46635         (LIBC_START_MAIN): Pass no argument to __exit_thread.
46636         * nptl/pthread_create.c: Include <exit-thread.h>.
46637         (start_thread): Call __exit_thread in place of __exit_thread_inline.
46638         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
46639         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
46640         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
46641         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
46642         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
46643         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
46644         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
46645         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
46646         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
46647         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
46648         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
46649         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
46650         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
46651         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
46652         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
46653         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
46655 2014-05-13  Andreas Schwab  <schwab@suse.de>
46657         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
46659 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
46661         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
46662         (__ASSUME_UTIMES): Do not condition on kernel version.
46663         (__ASSUME_PSELECT): Define unconditionally.
46664         (__ASSUME_PPOLL): Likewise.
46665         (__ASSUME_ATFCTS): Likewise.
46666         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
46667         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
46668         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
46669         (__ASSUME_UTIMENSAT): Define unconditionally.
46670         (__ASSUME_PRIVATE_FUTEX): Likewise.
46671         (__ASSUME_FALLOCATE): Likewise.
46672         (__ASSUME_O_CLOEXEC): Likewise.
46673         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
46674         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
46675         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
46676         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
46677         (__ASSUME_IN_NONBLOCK): Likewise.
46678         (__ASSUME_PIPE2): Likewise.
46679         (__ASSUME_EVENTFD2): Likewise.
46680         (__ASSUME_SIGNALFD4): Likewise.
46681         (__ASSUME_DUP3): Likewise.
46682         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46683         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
46684         (__ASSUME_AT_RANDOM): Likewise.
46685         (__ASSUME_PREADV): Likewise.
46686         (__ASSUME_PWRITEV): Likewise.
46687         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
46688         (__ASSUME_F_GETOWN_EX): Define unconditionally.
46689         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
46690         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46691         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
46692         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46693         (__ASSUME_O_CLOEXEC): Define unconditionally.
46694         (__ASSUME_PSELECT): Do not undefine conditionally.
46695         (__ASSUME_PPOLL): Likewise.
46696         (__ASSUME_ATFCTS): Likewise.
46697         (__ASSUME_SET_ROBUST_LIST): Likewise.
46698         (__ASSUME_UTIMENSAT): Likewise.
46699         (__ASSUME_FDATASYNC): Define unconditionally.
46700         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46701         (__ASSUME_SIGFRAME_V2): Likewise.
46702         )__ASSUME_EVENTFD2): Likewise.
46703         (__ASSUME_SIGNALFD4): Likewise.
46704         (__ASSUME_PSELECT): Do not undefine conditionally.
46705         (__ASSUME_PPOLL): Likewise.
46706         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46707         (__ASSUME_PSELECT): Define unconditionally.
46708         (__ASSUME_PPOLL): Likewise.
46709         (__ASSUME_O_CLOEXEC): Likewise.
46710         (__ASSUME_SOCK_CLOEXEC): Likewise.
46711         (__ASSUME_IN_NONBLOCK): Likewise.
46712         (__ASSUME_PIPE2): Likewise.
46713         (__ASSUME_EVENTFD2): Likewise.
46714         (__ASSUME_SIGNALFD4): Likewise.
46715         (__ASSUME_DUP3): Likewise.
46716         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46717         (__ASSUME_O_CLOEXEC): Likewise.
46718         (__ASSUME_SOCK_CLOEXEC): Likewise.
46719         (__ASSUME_IN_NONBLOCK): Likewise.
46720         (__ASSUME_PIPE2): Likewise.
46721         (__ASSUME_EVENTFD2): Likewise.
46722         (__ASSUME_SIGNALFD4): Likewise.
46723         (__ASSUME_DUP3): Likewise.
46724         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46725         (__ASSUME_EVENTFD2): Likewise.
46726         (__ASSUME_SIGNALFD4): Likewise.
46727         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46729 2014-05-12  Andreas Schwab  <schwab@suse.de>
46731         [BZ #16932]
46732         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
46733         (_nss_nis_gethostbyname4_r): Return error if item length is larger
46734         than maximum RPC packet size.
46735         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
46736         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
46737         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
46738         (_nss_nis_getservbyport_r): Likewise.
46740 2014-05-12  Will Newton  <will.newton@linaro.org>
46742         * malloc/Makefile (tests): Add tst-mallopt.
46743         * malloc/tst-mallopt.c: New file.
46745 2014-05-09  Roland McGrath  <roland@hack.frob.com>
46747         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
46748         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
46750 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46752         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
46753         (tst-tlsmod6.so): Likewise.
46755 2014-05-09  Roland McGrath  <roland@hack.frob.com>
46757         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
46759 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
46761         [BZ #16064]
46762         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
46763         and <dl-procinfo.h>.
46764         (__fegetenv): Save SSE state in envp->__eip if supported.
46765         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
46766         envp->__eip if supported.
46767         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
46768         and <dl-procinfo.h>.
46769         (__fesetenv): Always set __eip, __cs_selector, __opcode,
46770         __data_offset and __data_selector in environment to 0.  Set SSE
46771         state if supported.
46772         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
46773         test-fenv-sse.
46774         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
46775         -mfpmath=sse.
46776         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
46778 2014-05-09  Will Newton  <will.newton@linaro.org>
46780         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
46781         and libc_relro_required for ARM.
46782         * sysdeps/arm/preconfigure: Regenerate.
46784 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
46785             Stefan Liebler  <stli@linux.vnet.ibm.com>
46787         * config.make.in (enable-lock-elision): New Makefile variable.
46788         * configure.ac: Likewise.
46789         * configure: Regenerate.
46790         * sysdeps/s390/configure.ac:
46791         Add check for gcc transactions support.
46792         * sysdeps/s390/configure: Regenerate.
46793         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
46794         Build elision files if enabled.
46795         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
46796         Add lock elision support for s390.
46797         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
46798         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
46799         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
46800         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
46801         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
46802         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
46803         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
46804         Likewise.
46805         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
46806         Likewise.
46807         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
46808         Likewise.
46809         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
46810         Likewise.
46811         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
46812         (__lll_timedlock_elision, __lll_lock_elision)
46813         (__lll_unlock_elision, __lll_trylock_elision)
46814         (lll_timedlock_elision, lll_lock_elision)
46815         (lll_unlock_elision, lll_trylock_elision): Add.
46816         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46817         (pthread_mutex_t): Add lock elision support for s390.
46819 2014-05-14  Wilco  <wdijkstr@arm.com>
46821         * sysdeps/arm/fclrexcpt.c: Cleanup.
46822         * sysdeps/arm/fedisblxcpt.c: Cleanup.
46823         * sysdeps/arm/feenablxcpt.c: Cleanup.
46824         * sysdeps/arm/fegetenv.c: Cleanup.
46825         * sysdeps/arm/fegetexcept.c: Cleanup.
46826         * sysdeps/arm/fegetround.c: Cleanup.
46827         * sysdeps/arm/feholdexcpt.c: Cleanup.
46828         * sysdeps/arm/fesetenv.c: Cleanup.
46829         * sysdeps/arm/fesetround.c: Cleanup.
46830         * sysdeps/arm/feupdateenv.c: Cleanup.
46831         * sysdeps/arm/fgetexcptflg.c: Cleanup.
46832         * sysdeps/arm/fraiseexcpt.c: Cleanup.
46833         * sysdeps/arm/fsetexcptflg.c: Cleanup.
46834         * sysdeps/arm/ftestexcept.c: Cleanup.
46835         * sysdeps/arm/get-rounding-mode.h: Cleanup.
46836         * sysdeps/arm/setfpucw.c: Cleanup.
46838 2014-05-09  Will Newton  <will.newton@linaro.org>
46840         * sysdeps/arm/armv7/strcmp.S: New file.
46841         * NEWS: Mention addition of ARMv7 optimized strcmp.
46843 2014-05-08  Roland McGrath  <roland@hack.frob.com>
46845         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
46846         look for %.ac rather than %.in.
46848         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
46849         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
46850         * sysdeps/mach/hurd/configure: Regenerated.
46851         * sysdeps/unix/sysv/linux/configure: Regenerated.
46853         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
46855 2014-05-07  Steve Ellcey  <sellcey@mips.com>
46857         [BZ #16922]
46858         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
46859         (LONG_SUB): Ditto.
46860         (PTR_SUB): Ditto.
46862 2014-05-07  Andreas Schwab  <schwab@suse.de>
46864         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
46865         when skipping over non-matching result from nscd.
46867 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
46869         [BZ #16876]
46870         * nptl/sockperf.c (client): Check socket return value.
46872         [BZ #16877]
46873         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
46874         nscd security class.
46876 2014-05-06  Roland McGrath  <roland@hack.frob.com>
46878         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
46879         * sysdeps/arm/unwind.h: ... here.
46881 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
46883         [BZ #16916]
46884         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
46885         Define.
46887 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46889         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
46890         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
46891         multiarch strncpy for PPC64.
46892         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
46893         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
46894         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
46895         multiarch optimizations.
46896         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46897         (__libc_ifunc_impl_list): Likewise.
46898         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
46899         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
46900         multiarch stpncpy for PPC64.
46901         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
46902         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
46904 2014-05-06  Andreas Schwab  <schwab@suse.de>
46906         [BZ #16912]
46907         * gmon/mcount.c (_MCOUNT_DECL): Use
46908         atomic_compare_and_exchange_bool_acq instead of
46909         catomic_compare_and_exchange_bool_acq.
46911 2014-05-05  Roland McGrath  <roland@hack.frob.com>
46913         * elf/Makefile (others, install-bin): Remove pldd.
46914         (pldd-modules): Variable removed.
46915         ($(objpfx)pldd): Target removed.
46916         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
46917         (others, install-bin): Append pldd here.
46918         ($(objpfx)pldd): New target.
46920         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
46921         to 0, so the first #if test emitted later doesn't see it undefined.
46922         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
46923         * sysdeps/gnu/errlist.c: Regenerated.
46925 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46927         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
46928         [libc_hidden_builtin_def]: Define to empty value.
46929         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
46930         [libc_hidden_builtin_def]: Likewise.
46931         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
46932         [libc_hidden_builtin_def]: Likewise.
46933         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
46934         [libc_hidden_builtin_def]: Likewise.
46935         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
46936         __redirect_memcpy and define ifunc as default hidden symbol.
46937         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
46938         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
46940 2014-05-04  Adam Conrad  <adconrad@0c3.net>
46942         * locale/iso-4217.def: Reintroduce XDR currency.
46944 2014-05-04  Allan McRae  <allan@archlinux.org>
46946         * po/eo.po: Update Esperanto translation from translation project.
46948 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
46950         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
46951         and FEATURE_INDEX_MAX to 1.
46952         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
46954 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46956         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
46957         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
46958         * iconvdata/big5.c (ONE_DIRECTION): Define.
46959         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
46960         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
46961         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
46962         * iconvdata/cp932.c (ONE_DIRECTION): Define.
46963         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
46964         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
46965         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
46966         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
46967         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
46968         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
46969         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
46970         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
46971         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
46972         * iconvdata/gbk.c (ONE_DIRECTION): Define.
46973         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
46974         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
46975         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
46976         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
46977         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
46978         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
46979         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
46980         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
46981         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
46982         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
46983         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
46984         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
46985         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
46986         * iconvdata/iso646.c (ONE_DIRECTION): Define.
46987         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
46988         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
46989         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
46990         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
46991         * iconvdata/johab.c (ONE_DIRECTION): Define.
46992         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
46993         * iconvdata/sjis.c (ONE_DIRECTION): Define.
46994         * iconvdata/t.61.c (ONE_DIRECTION): Define.
46995         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
46996         * iconvdata/tscii.c (ONE_DIRECTION): Define.
46997         * iconvdata/uhc.c (ONE_DIRECTION): Define.
46998         * iconvdata/unicode.c (ONE_DIRECTION): Define.
46999         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
47000         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
47001         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
47003 2014-05-01  Roland McGrath  <roland@hack.frob.com>
47005         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
47006         (_IO_JUMPS_OFFSET): Define to 0.
47008         * nptl/sysdeps/pthread/bits/libc-lock.h
47009         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
47010         (__libc_lock_define_initialized_recursive): Always define using
47011         initializer.  Modern compilers treat uninitialized (implicit zero) and
47012         explicit zero initializers the same (i.e. put the datum in bss).
47014 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47016         * nscd/nscd-client.h: Include <string.h>.
47018 2014-05-01  David S. Miller  <davem@davemloft.net>
47020         [BZ #16885]
47021         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
47022         multiple zero bytes exist at the end of a string.
47023         Reported by Aurelien Jarno <aurelien@aurel32.net>
47025         * string/test-strcmp.c (check): Add explicit test for situations where
47026         there are multiple zero bytes after the first.
47028 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47030         [BZ #16890]
47031         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
47032         when compiling wprintf.
47033         * stdio-common/tstdiomisc.c (t3): New function.
47034         (main): Call it.
47036 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47038         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
47039         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
47040         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
47041         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
47043 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47045         * stdlib/longlong.h: Updated from GCC.
47047 2014-05-01  Will Newton  <will.newton@linaro.org>
47048             Bernard Ogden  <bernie.ogden@linaro.org>
47050         * NEWS: Update fixed bug list.
47052         [BZ #15119]
47053         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
47055 2014-04-30  David S. Miller  <davem@davemloft.net>
47057         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
47058         (libc_feholdexcept_setround_sparc_ctx): New function.
47059         (libc_fesetenv_sparc_ctx): Likewise.
47060         (libc_feupdateenv_sparc_ctx): Likewise.
47061         (libc_feholdsetround_sparc_ctx): Likewise.
47062         (libc_feholdexcept_setround_ctx): Define.
47063         (libc_feholdexcept_setroundf_ctx): Likewise.
47064         (libc_feholdexcept_setroundl_ctx): Likewise.
47065         (libc_fesetenv_ctx): Likewise.
47066         (libc_fesetenvf_ctx): Likewise.
47067         (libc_fesetenvl_ctx): Likewise.
47068         (libc_feupdateenv_ctx): Likewise.
47069         (libc_feupdateenvf_ctx): Likewise.
47070         (libc_feupdateenvl_ctx): Likewise.
47071         (libc_feresetround_ctx): Likewise.
47072         (libc_feresetroundf_ctx): Likewise.
47073         (libc_feresetroundl_ctx): Likewise.
47074         (libc_feholdsetround_ctx): Likewise.
47075         (libc_feholdsetroundf_ctx): Likewise.
47076         (libc_feholdsetroundl_ctx): Likewise.
47078         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
47079         with __USE_GNU instead of XOPEN cpp guards.
47081         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
47082         0.
47084         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
47085         with XOPEN cpp guards.
47087 2014-04-30  Julian Brown  <julian@codesourcery.com>
47089         [BZ #16888]
47090         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
47091         handling.
47093 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
47095         [BZ #9894]
47096         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
47097         Change to 2.6.32.
47098         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
47099         * sysdeps/unix/sysv/linux/configure: Regenerated.
47100         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
47101         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
47102         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
47103         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
47104         * README: Update reference to required Linux kernel version.
47105         * manual/install.texi (Linux): Update reference to required Linux
47106         kernel headers version.
47107         * INSTALL: Regenerated.
47109         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
47110         header inclusion.
47111         [POSIX] (limits.h): Likewise.
47112         [POSIX] (math.h): Likewise.
47113         [POSIX] (sys/wait.h): Likewise.
47114         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
47115         function.
47116         [POSIX] (stddef.h): Do not allow header inclusion.
47118 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47120         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
47122 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
47124         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
47125         Return immediately after lll_futex_wake.
47127 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47129         [BZ #16791]
47130         * nscd/nscd-client.h (datahead_init_common): Initialize entire
47131         structure.
47132         (datahead_init_pos): Call datahead_init_common early.
47133         (datahead_init_neg): Likewise.
47135         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
47136         datahead_init_neg): New functions.
47137         * nscd/aicache.c (addhstaiX): Use them.
47138         * nscd/grpcache.c (cache_addgr): Likewise.
47139         * nscd/hstcache.c (cache_addhst): Likewise.
47140         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47141         * nscd/netgroupcache.c (do_notfound): Likewise.
47142         (addgetnetgrentX): Likewise.
47143         (addinnetgrX): Likewise.
47144         * nscd/pwdcache.c (cache_addpw): Likewise.
47145         * nscd/servicescache.c (cache_addserv): Likewise.
47147 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47148             Atsushi Onoe  <atsushi@onoe.org>
47150         [BZ #14308]
47151         [BZ #12994]
47152         [BZ #13651]
47153         * resolv/res_query.c (__libc_res_nsearch): Return if at least
47154         one response is valid.
47155         * resolv/res_send.c (send_dg): Check for validity of other
47156         response if the current response is a referral.
47158 2014-04-29  Steve Ellcey  <sellcey@mips.com>
47160         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
47162 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
47164         [BZ #16823]
47165         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
47166         Always divide by positive zero when computing -Inf result.
47167         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
47168         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
47170 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47172         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
47173         FPSCR if value do not change.
47174         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47175         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
47176         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
47177         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
47178         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
47179         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
47180         function.
47182 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
47184         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
47185         * sysdeps/unix/sysv/linux/hppa: Move directory from
47186         ports/systeps/unix/sysv/linux/hppa.
47187         * README: Update listing for hppa-*-linux-gnu.
47189 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
47191         [BZ #16754]
47192         * manual/stdio.texi (Hook functions): Fix types of stream hook
47193         functions.
47194         [BZ #16854]
47195         * socket/sys/socket.h: Fix typo in comment.
47197 2014-04-28  Wilco  <wdijkstr@arm.com>
47199         * sysdeps/arm/fenv_private.h: New file.
47200         * sysdeps/arm/math_private.h: New file.
47201         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
47203 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
47205         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
47206         with __int128_t.
47207         (La_x86_64_retval): Likewise.
47209 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
47211         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
47212         fpsr if value didn't change.
47213         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
47214         to fpcr if value didn't change.
47215         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
47216         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
47217         fpsr or fpcr if value didn't change.
47218         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
47219         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
47220         fpcr if value didn't change.
47221         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
47222         to fpsr if value didn't change.
47224 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47226         * nptl/tst-sem3.c: Use test-skeleton.c
47227         (main): Rename to do_test.  Use return instead of
47228         exit.
47229         * nptl/tst-sem4.c: Use test-skeleton.c
47230         (main): Rename to do_test.
47232 2014-04-22  David S. Miller  <davem@davemloft.net>
47234         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
47235         (struct sigaction): New struct member __glibc_reserved0, change
47236         type of sa_flags to int.
47238 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
47240         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
47241         (COUNT_LEADING_ZEROS_0): Define for AArch64.
47243 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47245         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
47246         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
47248 2014-04-22  Will Newton  <will.newton@linaro.org>
47249             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
47251         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
47252         (__longjmp): Add longjmp and longjmp_target SystemTap
47253         probes.
47254         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
47255         (__sigsetjmp): Add setjmp SystemTap probe.
47257 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
47259         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
47260         match manual order.
47262 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47264         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
47266         * sysdeps/powerpc/fpu/fenv_private.h
47267         (libc_feholdexcept_setroundl_ctx): Define to
47268         libc_feholdexcept_setround_ppc_ctx.
47269         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
47270         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
47271         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
47272         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
47274 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
47276         * sysdeps/aarch64/math-tests.h: New file.
47278 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
47280         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
47281         New.
47282         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47283         Check and set bit_AVX2_Usable.
47284         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
47285         macro.
47286         (bit_AVX2): Likewise.
47287         (index_AVX2_Usable): Likewise.
47288         (CPUID_AVX2): Likewise.
47289         (HAS_AVX2): Likewise.
47291 2014-04-17  Will Newton  <will.newton@linaro.org>
47293         * manual/setjmp.texi (System V contexts): Add note that
47294         calling setcontext on a context created by a call to a
47295         signal handler is undefined.  Update text to note that
47296         setcontext from a signal handler is possible but not
47297         recommended.
47299         [BZ #16629]
47300         * stdlib/tst-setcontext.c: Include signal.h.
47301         (main): Check that the signal stack before and
47302         after swapcontext is the same.
47304         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
47305         Re-implement to restore registers in user code and avoid
47306         rt_sigreturn system call.
47308 2014-04-17  Wilco  <wdijkstr@arm.com>
47310         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
47311         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
47312         * math/test-fenv.c: Skip exception trap tests on targets which only
47313         support non-stop mode.
47315 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
47316             Wilco Dijkstra  <wilco.dijkstra@arm.com>
47318         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
47319         (libc_feholdsetround_aarch64_ctx)
47320         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
47321         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
47322         (libc_feresetround_ctx, libc_feresetroundf_ctx)
47323         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
47324         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
47325         (libc_feresetround_noexl_ctx): Define.
47327 2014-04-16  Richard Henderson  <rth@redhat.com>
47329         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
47331         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
47332         unwind tables.
47334         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
47335         const from the non-libc, non-ldso copy.
47337         * sysdeps/alpha/libm-test-ulps: Regenerate.
47339 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
47340             Wilco Dijkstra  <wilco.dijkstra@arm.com>
47342         * sysdeps/aarch64/fpu/math_private.h: New file.
47344 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47346         * sysdeps/aarch64/libm-test-ulps: Regenerate.
47348 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
47350         [BZ #16275]
47351         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
47352         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
47353         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
47354         Intel MPX bound registers before _dl_profile_fixup.
47355         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
47356         registers after _dl_profile_fixup.  Save and restore bound
47357         registers bnd0/bnd1 when calling _dl_call_pltexit.
47358         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
47359         (LR_BND_OFFSET): Likewise.
47360         (LRV_BND0_OFFSET): Likewise.
47361         (LRV_BND1_OFFSET): Likewise.
47363 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47365         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
47366         to...
47367         * sysdeps/mach/hurd/i386/tls.h: ... here.
47368         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
47369         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
47370         fields.
47372 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47374         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
47376 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
47378         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47380 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
47382         [BZ #14770]
47383         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
47384         * sysdeps/s390/configure: Regenerate.
47386         [BZ #16824]
47387         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
47388         Set round-to-nearest internally to reduce error accumulation.
47390 2014-04-16  Alan Modra  <amodra@gmail.com>
47392         [BZ #16740]
47393         [BZ #16619]
47394         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
47395         * math/libm-test.inc (frexp_test_data): Add tests.
47396         * NEWS: Update fixed bug list.
47398 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47400         * benchtests/Makefile: Depend on libraries in build directory.
47401         (bench-math): Separate out math tests.
47402         (bench-pthread): Separate out pthread tests.
47403         (bench): Include math and pthread tests.
47405 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
47407         [BZ #16831]
47408         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
47409         _dl_debug_initialize.
47411         * configure.ac: Remove SELinux header check.
47412         * configure: Regenerate.
47413         * nscd/selinux.c (perms): Array of const char* to permission names.
47414         (nscd_request_avc_has_perm): Call security_deny_unknown to find
47415         default policy. Call string_to_security_class and string_to_av_perm to
47416         translate strings. Enforce default policy and call avs_has_perm with
47417         results of translated strings.
47419 2014-04-13  David S. Miller  <davem@davemloft.net>
47421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47423 2014-04-12  Allan McRae  <allan@archlinux.org>
47425         [BZ #16838]
47426         * manual/string.texi (Collation Functions): Fix qsort argument
47427         order in example.
47428         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47430 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
47432         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
47433         Make the test a no-op if there are no exceptions defined.
47435 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
47437         * elf/Makefile (tests): make tst-dlopen-aout conditional on
47438         enable-hardcoded-path-in-tests
47440 2014-04-11  Will Newton  <will.newton@linaro.org>
47442         * benchtests/Makefile (extra-objs): Add json-lib.o.
47443         (bench-func): Tidy up JSON output.
47444         * benchtests/bench-skeleton.c: Include json-lib.h.
47445         (main): Use JSON library functions to do output of
47446         benchmark results.
47447         * benchtests/bench-timing-type.c (main): Output the
47448         timing type simply, leaving formatting to the user.
47449         * benchtests/json-lib.c: New file.
47450         * benchtests/json-lib.h: Likewise.
47452 2014-04-11  Torvald Riegel  <triegel@redhat.com>
47454         [BZ #15215]
47455         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
47456         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
47457         memory barriers.  Add comments.
47458         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
47459         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
47460         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
47461         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
47462         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
47463         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
47465 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
47467         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
47468         * sysdeps/s390/s390-64/configure.ac: ... this ...
47469         * sysdeps/s390/configure.ac: ... to here.
47470         * sysdeps/s390/s390-32/configure: Delete file.
47471         * sysdeps/s390/s390-64/configure: Delete file.
47472         * sysdeps/s390/configure: Regenerate.
47474 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
47476         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
47478 2014-04-11  Will Newton  <will.newton@linaro.org>
47480         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
47481         to zero if it is not defined elsewhere.  (mtrim): Test
47482         the value of MALLOC_DEBUG with #if rather than #ifdef.
47484 2014-04-10 Torvald Riegel  <triegel@redhat.com>
47486         * benchtests/pthread_once-inputs: New file.
47487         * benchtests/pthread_once-source.c: New file.
47488         * benchtests/README: Update documentation.
47490 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
47491             H.J. Lu  <hongjiu.lu@intel.com>
47493         [BZ #16275]
47494         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
47495         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
47496         * sysdeps/x86_64/configure: Regenerated.
47497         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
47498         macro.
47499         (REGISTER_SAVE_RAX): Likewise.
47500         (REGISTER_SAVE_RCX): Likewise.
47501         (REGISTER_SAVE_RDX): Likewise.
47502         (REGISTER_SAVE_RSI): Likewise.
47503         (REGISTER_SAVE_RDI): Likewise.
47504         (REGISTER_SAVE_R8): Likewise.
47505         (REGISTER_SAVE_R9): Likewise.
47506         (REGISTER_SAVE_BND0): Likewise.
47507         (REGISTER_SAVE_BND1): Likewise.
47508         (REGISTER_SAVE_BND2): Likewise.
47509         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
47510         bound registers when calling _dl_fixup.
47512 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47514         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
47515         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
47516         of its definition.
47517         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
47518         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
47519         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
47520         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
47521         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
47522         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
47523         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
47525 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
47527         [BZ #15514]
47528         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
47529         pathconf(_PC_NAME_MAX).
47531 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47533         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
47534         Remove macro usage.
47535         (__PTHREAD_SPINS): Move definition to ...
47536         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
47537         (__PTHREAD_SPINS): ... here.
47538         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47539         (__PTHREAD_SPIN): Likewise.
47540         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
47541         (__PTHREAD_SPIN): Likewise.
47542         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
47543         (__PTHREAD_SPIN): Likewise.
47544         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
47545         (__PTHREAD_SPIN): Likewise.
47546         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
47547         (__PTHREAD_SPIN): Likewise.
47548         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
47549         (__PTHREAD_SPIN): Likewise.
47550         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
47551         (__PTHREAD_SPIN): Likewise.
47552         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
47553         (__PTHREAD_SPIN): Likewise.
47554         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
47555         (__PTHREAD_SPIN): Likewise.
47556         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
47557         (__PTHREAD_SPIN): Likewise.
47558         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
47559         (__PTHREAD_SPIN): Likewise.
47560         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
47561         (__PTHREAD_SPIN): Likewise.
47563         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
47564         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
47565         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
47566         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
47567         imply folder.
47568         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
47569         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
47570         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
47571         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
47572         correct imply path.
47573         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
47574         strlen symbol for non multi-arch builds.
47575         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
47576         missing hidden_def and weak_alias.
47578 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
47580         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
47582 2014-04-07  Will Newton  <will.newton@linaro.org>
47584         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
47585         and contents.  [!_LIBC] Remove #ifndef and contents.
47586         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
47587         * string/memccpy.c (__memccpy): Use ANSI prototype.
47588         * string/memfrob.c (memfrob): Likewise.
47589         * string/strcoll.c (STRCOLL): Likewise.
47590         * string/strlen.c (strlen): Likewise.
47591         * string/strtok.c (STRTOK): Likewise.
47592         * string/strcat.c: Remove unused #include of memcopy.h.
47593         (strcat): Use ANSI prototype.
47594         * string/strchr.c: Remove unused #include of memcopy.h.
47595         (strchr): Use ANSI prototype.
47596         * string/strcmp.c: Remove unused #include of memcopy.h.
47597         (strcmp): Use ANSI prototype.
47598         * string/strcpy.c: Remove unused #include of memcopy.h.
47599         (strcpy): Use ANSI prototype.
47601 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47603         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
47604         * config.make.in (config-extra-cppflags): Set it from
47605         libc_extra_cppflags.
47606         * configure.ac (libc_extra_cflags): Make it accumulate over
47607         configure fragments.
47608         (libc_extra_cppflags): New flag.
47609         * configure. Regenerate.
47610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
47611         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
47612         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
47613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
47615         [BZ #16815]
47616         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
47617         result for FE_DOWNWARD rounding mode.
47618         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
47619         Likewise.
47620         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47622 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
47624         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
47625         in function argument name.
47627 2014-04-03  David Svoboda  <svoboda@cert.org>
47629         [BZ #5666]
47630         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
47631         explicitly.
47633 2014-04-03  Roland McGrath  <roland@hack.frob.com>
47635         * elf/dl-unmap-segments.h: New file.
47636         * sysdeps/generic/ldsodefs.h
47637         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
47638         * elf/dl-close.c: Include <dl-unmap-segments.h>.
47639         * elf/dl-fptr.c: Likewise.
47640         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
47641         * sysdeps/aarch64/tlsdesc.c: Likewise.
47642         * sysdeps/arm/tlsdesc.c: Likewise.
47643         * sysdeps/i386/tlsdesc.c: Likewise.
47644         * sysdeps/tile/dl-runtime.c: Likewise.
47645         * sysdeps/x86_64/tlsdesc.c: Likewise.
47646         * elf/dl-load.h: New file.
47647         * elf/dl-load.c: Include it.
47648         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
47649         Macros moved to dl-load.h.
47650         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
47651         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
47652         Use _dl_unmap_segments in place of __munmap.
47653         Break out segment-mapping loop into ...
47654         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
47656 2014-04-03  Will Newton  <will.newton@linaro.org>
47658         * elf/dl-lookup.c (do_lookup_x): Remove comment
47659         referring to nested function and move variable
47660         declarations down to before first use.
47662 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
47664         [BZ #16799]
47665         [BZ #16800]
47666         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
47667         with 0 numerator.
47668         * math/s_catanf.c (__catanf): Likewise.
47669         * math/s_catanh.c (__catanh): Likewise.
47670         * math/s_catanhf.c (__catanhf): Likewise.
47671         * math/s_catanhl.c (__catanhl): Likewise.
47672         * math/s_catanl.c (__catanl): Likewise.
47673         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
47674         by positive zero when computing -Inf result.
47675         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
47676         (catanh_test): Likewise.
47677         * sysdeps/i386/fpu/libm-test-ulps: Update.
47678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47680         [BZ #16789]
47681         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
47682         instead of using underflowing value in computing result.
47683         * math/s_clog10.c (__clog10): Likewise.
47684         * math/s_clog10f.c (__clog10f): Likewise.
47685         * math/s_clog10l.c (__clog10l): Likewise.
47686         * math/s_clogf.c (__clogf): Likewise.
47687         * math/s_clogl.c (__clogl): Likewise.
47688         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
47689         (clog10_test): Likewise.
47690         * sysdeps/i386/fpu/libm-test-ulps: Update.
47691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47693 2014-04-02  Alan Modra  <amodra@gmail.com>
47695         [BZ #16739]
47696         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
47697         output when value is near a power of two.  Use int64_t for lx and
47698         remove casts.  Use decimal rather than hex exponent constants.
47699         Don't use long double multiplication when double will suffice.
47700         * math/libm-test.inc (nextafter_test_data): Add tests.
47701         * NEWS: Add 16739 and 16786 to bug list.
47703         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
47705         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
47707 2014-04-01  Will Newton  <will.newton@linaro.org>
47709         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
47710         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
47712 2014-04-01  Florian Weimer  <fweimer@redhat.com>
47714         [BZ #13347]
47715         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
47716         * nptl/tst-setuid2.c: New file.
47717         * nptl/Makefile (xtests): Add tst-setuid2.
47719 2014-04-01  Alan Modra  <amodra@gmail.com>
47721         [BZ #16786]
47722         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
47724 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
47726         [BZ #6803]
47727         [BZ #6804]
47728         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
47729         set errno as appropriate.
47730         * math/w_scalbf.c (__scalbf): Likewise.
47731         * math/w_scalbl.c (__scalbl): Likewise.
47732         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
47733         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
47734         * math/libm-test.inc (scalb_test_data): Add errno expectations.
47735         Add more NaN tests.
47737         [BZ #16349]
47738         * math/w_atan2.c: Include <errno.h>.
47739         (__atan2): Set errno for result underflowing to zero.
47740         * math/w_atan2f.c: Include <errno.h>.
47741         (__atan2f): Set errno for result underflowing to zero.
47742         * math/w_atan2l.c: Include <errno.h>.
47743         (__atan2l): Set errno for result underflowing to zero.
47744         * math/auto-libm-test-in: Don't allow missing errno for some atan2
47745         tests.
47746         * math/auto-libm-test-out: Regenerated.
47748 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47750         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
47751         Encode instruction correctly in little endian.
47752         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
47753         Likewise.
47754         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
47755         Likewise.
47756         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
47757         Likewise.
47758         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
47759         Likewise.
47761 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
47763         [BZ #9894]
47764         * sysdeps/unix/sysv/linux/kernel-features.h
47765         [__sparc__ && !__arch64__ && !__sparc_v9__]
47766         (__ASSUME_SET_ROBUST_LIST): Do not define.
47767         [__sparc__ && !__arch64__ && !__sparc_v9__]
47768         (__ASSUME_FUTEX_LOCK_PI): Likewise.
47769         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
47770         Likewise.
47771         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47772         (__ASSUME_FUTEX_LOCK_PI): Undefine.
47773         (__ASSUME_REQUEUE_PI): Likewise.
47774         (__ASSUME_SET_ROBUST_LIST): Likewise.
47775         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47776         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
47777         Undefine.
47778         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47779         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
47780         Likewise.
47781         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
47782         Likewise.
47783         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
47784         Likewise.
47785         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47786         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
47787         Undefine.
47788         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
47789         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
47790         Likewise.
47792         [BZ #16648]
47793         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47794         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
47795         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
47797 2014-03-31  Will Newton  <will.newton@linaro.org>
47799         * benchtests/Makefile (bench): Add ffs and ffsll to list
47800         of tests.
47801         * benchtests/ffs-inputs: New file.
47802         * benchtests/ffsll-inputs: Likewise.
47804 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
47806         [BZ #16770]
47807         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
47808         too large before casting to int.
47809         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
47810         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
47811         * math/libm-test.inc (scalb_test_data): Add more tests.
47813 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47815         * benchtests/Makefile (DETAILED_OPT): New make option.
47816         (bench-func): Run benchmark program with -d if DETAILED_OPT is
47817         set.
47818         * benchtests/bench-skeleton.c: Include stdbool.h.
47819         (main): Store and print timings per input.
47820         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
47821         member to each argument value.
47822         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
47823         (_print_arg_data): Initialize per-input timing to 0.
47825         * benchtests/Makefile (timing-type): New binary.
47826         (bench-clean): Also remove bench-timing-type.
47827         (bench): New target for timing-type.
47828         (bench-func): Print output in JSON format.
47829         * benchtests/bench-skeleton.c (main): Print output in JSON
47830         format.
47831         * benchtests/bench-timing-type.c: New file.
47832         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
47833         (TIMING_PRINT_STATS): Remove.
47834         * benchtests/scripts/bench.py (_print_arg_data): Store variant
47835         name separately.
47837         * benchtests/bench-modf.c: Remove.
47838         * benchtests/modf-inputs: New inputs file.
47840 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
47842         [BZ #16362]
47843         * math/s_clog10.c (M_PI_LOG10E): New macro.
47844         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
47845         imaginary parts are 0.
47846         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
47847         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
47848         imaginary parts are 0.
47849         * math/s_clog10l.c (M_PI_LOG10El): New macro.
47850         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
47851         imaginary parts are 0.
47852         * math/libm-test.inc (clog10_test_data): Update expected results
47853         for when real and imaginary parts are 0.
47855 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
47857         * elf/dl-load.c: Finish conversion of __builtin_expect into
47858         __glibc_{un}likely.
47860 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
47862         [BZ #16348]
47863         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
47864         1+x for argument with exponent below -67.
47865         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
47866         Likewise.
47867         * math/auto-libm-test-in: Add more tests of exp.
47868         * math/auto-libm-test-out: Regenerated.
47870 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47872         [BZ #16759]
47873         * inet/getnetgrent_r.c (get_nonempty_val): New function.
47874         (nscd_getnetgrent): Use it.
47876         [BZ #16760]
47877         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
47878         of stpcpy.
47880 2014-03-27  Andi Kleen  <ak@linux.intel.com>
47882         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
47883         (lll_robust_lock, lll_cond_lock, lll_timedlock)
47884         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
47885         (lll_robust_unlock): Remove out of line section. Use cfi
47886         intrinsics.
47887         (LLL_STUB_UNWIND_INFO*): Remove.
47888         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
47889         (lll_robust_lock, lll_cond_lock, lll_timedlock)
47890         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
47891         (lll_robust_unlock): Remove out of line section. Use cfi
47892         intrinsics.
47893         (LLL_STUB_UNWIND_INFO*): Remove.
47895 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47897         [BZ #16758]
47898         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
47899         blank values.
47901 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
47903         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
47905 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
47907         [BZ #16198]
47908         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
47909         fnstenv.
47910         * math/test-fenv-preserve.c: New file.
47911         * math/Makefile (tests): Add test-fenv-preserve.
47913 2014-03-26  Will Newton <will.newton@linaro.org>
47915         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
47917 2014-03-25  Roland McGrath  <roland@hack.frob.com>
47919         * scripts/versionlist.awk: Partition the version sets and emit all
47920         GLIBC_* (sorted) before all others (sorted).
47922 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
47924         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
47925         GLIBC_2.2.5 version.
47927 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47929         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
47930         calls.
47932         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
47933         previous change.
47935         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47937 2014-03-25  Andreas Schwab  <schwab@suse.de>
47939         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
47940         label to be used after in6ailist is initialized.
47942 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47944         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
47945         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
47947 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
47949         [BZ #16357]
47950         [BZ #16599]
47951         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
47952         min_plus_half.
47953         (fp_formats): Update initializers.
47954         (init_fp_formats): Initialize new field.
47955         (output_for_one_input_case): Allow underflow for results up to
47956         min_plus_half.
47957         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
47958         * math/auto-libm-test-in: Don't mark some underflows from asin and
47959         atanh as spurious.
47960         * math/auto-libm-test-out: Regenerated.
47961         * sysdeps/i386/fpu/libm-test-ulps: Update.
47962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47964 2014-03-25  Andreas Schwab  <schwab@suse.de>
47966         * libio/Makefile (tst-ftell-partial-wide-ENV)
47967         (tst-ftell-active-handler-ENV): Define.
47969 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
47971         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
47973 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
47975         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
47977 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
47979         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
47980         * sysdeps/x86_64/fpu/multiarch/e_exp.c
47981         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
47983 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
47985         [BZ #16634]
47986         * elf/dl-load.c (open_verify): Add mode parameter.
47987         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
47988         (open_path): Change from boolean 'secure' to complete flag 'mode'
47989         (_dl_map_object): Adjust.
47990         * elf/Makefile (tests): Add tst-dlopen-aout.
47991         * elf/tst-dlopen-aout.c: New test.
47993 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
47995         [BZ #16714]
47996         * sysdeps/unix/sysv/linux/s390/bits/stat.h
47997         (struct stat): Rename member pad0 to __glibc_reserved0.
47999         [BZ #16712]
48000         * sysdeps/s390/s390-32/bits/wordsize.h
48001         (__WORDSIZE32_SIZE_ULONG): New define.
48002         * sysdeps/s390/s390-64/bits/wordsize.h
48003         (__WORDSIZE32_SIZE_ULONG): Likewise.
48004         * sysdeps/generic/stdint.h (SIZE_MAX):
48005         Define as UL if __WORDSIZE32_SIZE_ULONG.
48007         [BZ #16713]
48008         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
48009         (__glibc_reserved0): New variable.
48010         (sa_flags): Change type to int.
48012         * posix/Makefile (before-compile): Use += before-compile instead
48013         of a :=.
48015         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
48016         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
48018 2014-03-20  Andreas Schwab  <schwab@suse.de>
48020         [BZ #16743]
48021         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
48022         non-matching result from nscd.
48024 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48026         * scripts/bench.py: Moved to ...
48027         * benchtests/scripts/bench.py: ... here.
48028         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
48030 2014-03-24  Andreas Schwab  <schwab@suse.de>
48032         [BZ #16002]
48033         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
48034         alloca_account and account alloca use for struct in6ailist.
48036 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
48038         [BZ #16284]
48039         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
48040         rounding mode to recompute results that overflow to infinity or
48041         underflow to zero.
48042         * math/auto-libm-test-in: Don't mark tests as expected to fail for
48043         bug 16284.
48044         * math/auto-libm-test-out: Regenerated.
48045         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
48046         (ccosh_test): Likewise.
48047         (csin_test_data): Use plus_oflow.
48048         (csin_test): Use ALL_RM_TEST.
48049         (csinh_test_data): Use plus_oflow.
48050         (csinh_test): Use ALL_RM_TEST.
48051         * sysdeps/i386/fpu/libm-test-ulps: Update.
48052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48054 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
48056         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
48057         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
48058         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
48060         [BZ #16731]
48061         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
48062         when x - 1 is zero.
48063         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
48064         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
48065         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
48066         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
48067         argument is 1.
48068         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
48069         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
48070         zero.
48071         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
48072         * sysdeps/i386/fpu/libm-test-ulps: Update.
48073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48075 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48077         * scripts/bench.pl: Remove file.
48078         * scripts/bench.py: New benchmark script.
48079         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
48080         * benchtests/README: Mention python dependency.
48081         * scripts/pylintrc: New file.
48082         * scripts/pylint: New file.
48084         * bits/mathdef.h: Use #ifdef instead of #if.
48085         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
48086         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48087         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
48088         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48089         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
48090         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48092 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48093             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48095         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
48096         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
48097         and strpbrk-ppc64 objects.
48098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48099         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
48100         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
48101         multiarch strpbrk for POWER7.
48102         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
48103         multiarch strpbrk for PPC64.
48104         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
48105         ifunc selector.
48106         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
48107         strpbrk for POWER7.
48109 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
48111         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
48112         (atan_test): Likewise.
48113         (atanh_test_data): Use NO_TEST_INLINE for two tests.
48114         (atanh_test): Use ALL_RM_TEST.
48115         (atan2_test_data): Likewise.
48116         (cabs_test): Likewise.
48117         (cacosh_test): Likewise.
48118         (carg_test): Likewise.
48119         (casin_test): Likewise.
48120         (casinh_test): Likewise.
48121         (cbrt_test): Likewise.
48122         (csqrt_test): Likewise.
48123         (erf_test): Likewise.
48124         (erfc_test): Likewise.
48125         (pow10_test): Likewise.
48126         (exp2_test): Likewise.
48127         (hypot_test): Likewise.
48128         (j0_test): Likewise.
48129         (j1_test): Likewise.
48130         (lgamma_test): Likewise.
48131         (gamma_test): Likewise.
48132         (sincos_test): Likewise.
48133         (tanh_test): Likewise.
48134         (y0_test): Likewise.
48135         (y1_test): Likewise.
48136         * sysdeps/i386/fpu/libm-test-ulps: Update.
48137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48139 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48141         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
48142         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
48143         and strcspn-ppc64 objects.
48144         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48145         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
48146         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
48147         multiarch strcspn for POWER7.
48148         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
48149         multiarch strcspn for PPC64.
48150         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
48151         ifunc selector.
48152         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
48153         strcspn for POWER7.
48155 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
48157         * math/gen-libm-test.pl (generate_testfile): Expect only function
48158         name as argument to AUTO_TESTS_* and pass results for all rounding
48159         modes to parse_args.
48160         (parse_auto_input): Separate inputs of automatic tests from
48161         outputs before storing in %auto_tests.
48162         * math/libm-test.inc (acos_test_data): Update call to
48163         AUTO_TESTS_f_f.
48164         (acos_test): Use ALL_RM_TEST.
48165         (acos_tonearest_test_data): Remove.
48166         (acos_test_tonearest): Likewise.
48167         (acos_towardzero_test_data): Likewise.
48168         (acos_test_towardzero): Likewise.
48169         (acos_downward_test_data): Likewise.
48170         (acos_test_downward): Likewise.
48171         (acos_upward_test_data): Likewise.
48172         (acos_test_upward): Likewise.
48173         (acosh_test_data): Update call to AUTO_TESTS_f_f.
48174         (asin_test_data): Likewise.
48175         (asin_test): Use ALL_RM_TEST.
48176         (asin_tonearest_test_data): Remove.
48177         (asin_test_tonearest): Likewise.
48178         (asin_towardzero_test_data): Likewise.
48179         (asin_test_towardzero): Likewise.
48180         (asin_downward_test_data): Likewise.
48181         (asin_test_downward): Likewise.
48182         (asin_upward_test_data): Likewise.
48183         (asin_test_upward): Likewise.
48184         (asinh_test_data): Update call to AUTO_TESTS_f_f.
48185         (atan_test_data): Likewise.
48186         (atanh_test_data): Likewise.
48187         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
48188         (cabs_test_data): Update call to AUTO_TESTS_c_f.
48189         (carg_test_data): Likewise.
48190         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
48191         (ccos_test_data): Update call to AUTO_TESTS_c_c.
48192         (ccosh_test_data): Likewise.
48193         (cexp_test_data): Likewise.
48194         (clog_test_data): Likewise.
48195         (clog10_test_data): Likewise.
48196         (cos_test_data): Update call to AUTO_TESTS_f_f.
48197         (cos_test): Use ALL_RM_TEST.
48198         (cos_tonearest_test_data): Remove.
48199         (cos_test_tonearest): Likewise.
48200         (cos_towardzero_test_data): Likewise.
48201         (cos_test_towardzero): Likewise.
48202         (cos_downward_test_data): Likewise.
48203         (cos_test_downward): Likewise.
48204         (cos_upward_test_data): Likewise.
48205         (cos_test_upward): Likewise.
48206         (cosh_test_data): Update call to AUTO_TESTS_f_f.
48207         (cosh_test): Use ALL_RM_TEST.
48208         (cosh_tonearest_test_data): Remove.
48209         (cosh_test_tonearest): Likewise.
48210         (cosh_towardzero_test_data): Likewise.
48211         (cosh_test_towardzero): Likewise.
48212         (cosh_downward_test_data): Likewise.
48213         (cosh_test_downward): Likewise.
48214         (cosh_upward_test_data): Likewise.
48215         (cosh_test_upward): Likewise.
48216         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
48217         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
48218         (ctan_test_data): Likewise.
48219         (ctan_test): Use ALL_RM_TEST.
48220         (ctan_tonearest_test_data): Remove.
48221         (ctan_test_tonearest): Likewise.
48222         (ctan_towardzero_test_data): Likewise.
48223         (ctan_test_towardzero): Likewise.
48224         (ctan_downward_test_data): Likewise.
48225         (ctan_test_downward): Likewise.
48226         (ctan_upward_test_data): Likewise.
48227         (ctan_test_upward): Likewise.
48228         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
48229         (ctanh_test): Use ALL_RM_TEST.
48230         (ctanh_tonearest_test_data): Remove.
48231         (ctanh_test_tonearest): Likewise.
48232         (ctanh_towardzero_test_data): Likewise.
48233         (ctanh_test_towardzero): Likewise.
48234         (ctanh_downward_test_data): Likewise.
48235         (ctanh_test_downward): Likewise.
48236         (ctanh_upward_test_data): Likewise.
48237         (ctanh_test_upward): Likewise.
48238         (erf_test_data): Update call to AUTO_TESTS_f_f.
48239         (erfc_test_data): Likewise.
48240         (exp_test_data): Likewise.
48241         (exp_test): Use ALL_RM_TEST.
48242         (exp_tonearest_test_data): Remove.
48243         (exp_test_tonearest): Likewise.
48244         (exp_towardzero_test_data): Likewise.
48245         (exp_test_towardzero): Likewise.
48246         (exp_downward_test_data): Likewise.
48247         (exp_test_downward): Likewise.
48248         (exp_upward_test_data): Likewise.
48249         (exp_test_upward): Likewise.
48250         (exp10_test_data): Update call to AUTO_TESTS_f_f.
48251         (exp10_test): Use ALL_RM_TEST.
48252         (exp10_tonearest_test_data): Remove.
48253         (exp10_test_tonearest): Likewise.
48254         (exp10_towardzero_test_data): Likewise.
48255         (exp10_test_towardzero): Likewise.
48256         (exp10_downward_test_data): Likewise.
48257         (exp10_test_downward): Likewise.
48258         (exp10_upward_test_data): Likewise.
48259         (exp10_test_upward): Likewise.
48260         (exp2_test_data): Update call to AUTO_TESTS_f_f.
48261         (expm1_test_data): Likewise.
48262         (expm1_test): Use ALL_RM_TEST.
48263         (expm1_tonearest_test_data): Remove.
48264         (expm1_test_tonearest): Likewise.
48265         (expm1_towardzero_test_data): Likewise.
48266         (expm1_test_towardzero): Likewise.
48267         (expm1_downward_test_data): Likewise.
48268         (expm1_test_downward): Likewise.
48269         (expm1_upward_test_data): Likewise.
48270         (expm1_test_upward): Likewise.
48271         (fma_test_data): Update call to AUTO_TESTS_fff_f.
48272         (fma_test): Use ALL_RM_TEST.
48273         (fma_towardzero_test_data): Remove.
48274         (fma_test_towardzero): Likewise.
48275         (fma_downward_test_data): Likewise.
48276         (fma_test_downward): Likewise.
48277         (fma_upward_test_data): Likewise.
48278         (fma_test_upward): Likewise.
48279         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
48280         (j0_test_data): Update call to AUTO_TESTS_f_f.
48281         (j1_test_data): Likewise.
48282         (jn_test_data): Update call to AUTO_TESTS_if_f.
48283         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
48284         (log_test_data): Update call to AUTO_TESTS_f_f.
48285         (log10_test_data): Likewise.
48286         (log1p_test_data): Likewise.
48287         (log2_test_data): Likewise.
48288         (pow_test_data): Update call to AUTO_TESTS_ff_f.
48289         (pow_tonearest_test_data): Likewise.
48290         (sin_test_data): Update call to AUTO_TESTS_f_f.
48291         (sin_test): Use ALL_RM_TEST.
48292         (sin_tonearest_test_data): Remove.
48293         (sin_test_tonearest): Likewise.
48294         (sin_towardzero_test_data): Likewise.
48295         (sin_test_towardzero): Likewise.
48296         (sin_downward_test_data): Likewise.
48297         (sin_test_downward): Likewise.
48298         (sin_upward_test_data): Likewise.
48299         (sin_test_upward): Likewise.
48300         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
48301         (sinh_test_data): Update call to AUTO_TESTS_f_f.
48302         (sinh_test): Use ALL_RM_TEST.
48303         (sinh_tonearest_test_data): Remove.
48304         (sinh_test_tonearest): Likewise.
48305         (sinh_towardzero_test_data): Likewise.
48306         (sinh_test_towardzero): Likewise.
48307         (sinh_downward_test_data): Likewise.
48308         (sinh_test_downward): Likewise.
48309         (sinh_upward_test_data): Likewise.
48310         (sinh_test_upward): Likewise.
48311         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
48312         (sqrt_test): Use ALL_RM_TEST.
48313         (sqrt_tonearest_test_data): Remove.
48314         (sqrt_test_tonearest): Likewise.
48315         (sqrt_towardzero_test_data): Likewise.
48316         (sqrt_test_towardzero): Likewise.
48317         (sqrt_downward_test_data): Likewise.
48318         (sqrt_test_downward): Likewise.
48319         (sqrt_upward_test_data): Likewise.
48320         (sqrt_test_upward): Likewise.
48321         (tan_test_data): Update call to AUTO_TESTS_f_f.
48322         (tan_test): Use ALL_RM_TEST.
48323         (tan_tonearest_test_data): Remove.
48324         (tan_test_tonearest): Likewise.
48325         (tan_towardzero_test_data): Likewise.
48326         (tan_test_towardzero): Likewise.
48327         (tan_downward_test_data): Likewise.
48328         (tan_test_downward): Likewise.
48329         (tan_upward_test_data): Likewise.
48330         (tan_test_upward): Likewise.
48331         (tanh_test_data): Update call to AUTO_TESTS_f_f.
48332         (tgamma_test_data): Likewise.
48333         (y0_test_data): Likewise.
48334         (y1_test_data): Likewise.
48335         (yn_test_data): Update call to AUTO_TESTS_if_f.
48336         (main): Do not call removed functions.
48338 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
48340         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
48341         (ldexp_test_data): Remove.
48342         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
48343         scalbn_test_data.
48344         (scalb_test): Use ALL_RM_TEST.
48346 2014-03-19  Andreas Schwab  <schwab@suse.de>
48348         * nscd/nscd.service: Also invalidate netgroup cache on reload.
48350 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
48352         [BZ #16649]
48353         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48354         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
48355         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
48356         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48357         (__ASSUME_PREADV): Undefine.
48358         (__ASSUME_PWRITEV): Likewise.
48360 2014-03-18  Roland McGrath  <roland@hack.frob.com>
48362         * bits/mman-linux.h: Add comment about non-Linux use.
48363         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
48364         bits/mman-linux.h resting place.
48366         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
48367         * bits/mman-linux.h: ... here.
48369 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48371         * conform/conformtest.pl: Add standard definition when calling C
48372         preprocessor on data files.
48373         (checknamespace): Remove unused variable.
48375 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
48377         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
48378         minus_oflow, plus_uflow and minus_uflow in expected results.
48379         * math/libm-test.inc (scalbn_test_data): Add more tests of
48380         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
48381         minus_uflow.
48382         (scalbn_test): Use ALL_RM_TEST.
48383         (scalbln_test_data): Add more tests of negative arguments.  Use
48384         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
48385         (scalbln_test): Use ALL_RM_TEST.
48387 2014-03-18  Roland McGrath  <roland@hack.frob.com>
48389         * scripts/abilist.awk: Ignore symbols marked with .hidden.
48391 2014-03-18  Will Newton  <will.newton@linaro.org>
48393         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
48394         inaccurate comment.
48396 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
48398         * Makerules [!subdir] (check-abi): Exit with error status if a
48399         test failed.
48401 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
48403         * math/libm-test.inc (nearbyint_test_data): Include all tests used
48404         for rint.  Include results for all rounding modes.
48405         (nearbyint_test): Use ALL_RM_TEST.
48406         (rint_test_data): Include all tests used for nearbyint.
48408 2014-03-17  Will Newton  <will.newton@linaro.org>
48410         * nptl/sysdeps/pthread/pthread.h: Revert previous
48411         change.
48413         * sysdeps/generic/ldsodefs.h: Revert previous
48414         change.
48416         * libio/genops.c: Revert previous change.
48417         * libio/libioP.h: Likewise.
48418         * stdio-common/vfprintf.c: Likewise.
48420         * sysdeps/generic/math_private.h: Revert previous
48421         change.
48423         * sysdeps/generic/math_private.h: Check whether
48424         HAVE_RM_CTX is defined with #ifdef rather
48425         than #if.
48427         * argp/argp-fmtstream.h: Check whether
48428         __STRICT_ANSI__ is defined with #ifdef rather
48429         than #if.
48430         * argp/argp.h: Likewise.
48432         * libio/genops.c: Check whether
48433         _IO_JUMPS_OFFSET is defined with #ifdef rather
48434         than #if.
48435         * libio/libioP.h: Likewise.
48436         * stdio-common/vfprintf.c: Likewise.
48438         * sysdeps/generic/ldsodefs.h: Check whether
48439         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
48440         than #if.
48442         * nptl/sysdeps/pthread/pthread.h: Check
48443         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
48444         its value.
48446 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48448         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
48449         setting O_APPEND.
48450         * libio/tst-ftell-active-handler.c (do_append_test): Add a
48451         test case.
48453         [BZ #16680]
48454         * libio/fileops.c (_IO_file_open): Seek to end of file but
48455         don't cache the offset.
48456         (get_file_offset): Remove function.
48457         (do_ftell): Use cached offset when available.
48458         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
48459         don't cache the offset.
48460         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
48461         case.
48462         (do_one_test): Call it.
48463         (do_ftell_test): Fix up expected old offset for a+ mode.
48464         * libio/wfileops.c (do_ftell_wide): Used cached offset when
48465         available.
48467         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
48468         up test status with function return status.
48469         (do_write_test): Likewise.
48470         (do_append_test): Likewise.
48472         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
48473         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
48474         Remove.
48476 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
48478         * math/gen-libm-test.pl (parse_args): Handle results specified for
48479         each rounding mode separately.
48480         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
48481         tests and results from lrint_tonearest_test_data,
48482         lrint_towardzero_test_data, lrint_downward_test_data and
48483         lrint_upward_test_data.
48484         (lrint_test): Use ALL_RM_TEST.
48485         (lrint_tonearest_test_data): Remove.
48486         (lrint_test_tonearest): Likewise.
48487         (lrint_towardzero_test_data): Likewise.
48488         (lrint_test_towardzero): Likewise.
48489         (lrint_downward_test_data): Likewise.
48490         (lrint_test_downward): Likewise.
48491         (lrint_upward_test_data): Likewise.
48492         (lrint_test_upward): Likewise.
48493         (llrint_test_data): Merge in per-rounding-mode tests and results
48494         from llrint_tonearest_test_data, llrint_towardzero_test_data,
48495         llrint_downward_test_data and llrint_upward_test_data.
48496         (llrint_test): Use ALL_RM_TEST.
48497         (llrint_tonearest_test_data): Remove.
48498         (llrint_test_tonearest): Likewise.
48499         (llrint_towardzero_test_data): Likewise.
48500         (llrint_test_towardzero): Likewise.
48501         (llrint_downward_test_data): Likewise.
48502         (llrint_test_downward): Likewise.
48503         (llrint_upward_test_data): Likewise.
48504         (llrint_test_upward): Likewise.
48505         (rint_test_data): Merge in per-rounding-mode tests and results
48506         from rint_tonearest_test_data, rint_towardzero_test_data,
48507         rint_downward_test_data and rint_upward_test_data.  Add
48508         per-rounding-mode results for tests not in those arrays.
48509         (rint_test): Use ALL_RM_TEST.
48510         (rint_tonearest_test_data): Remove.
48511         (rint_test_tonearest): Likewise.
48512         (rint_towardzero_test_data): Likewise.
48513         (rint_test_towardzero): Likewise.
48514         (rint_downward_test_data): Likewise.
48515         (rint_test_downward): Likewise.
48516         (rint_upward_test_data): Likewise.
48517         (rint_test_upward): Likewise.
48518         (main): Don't call removed functions.
48520 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48522         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
48523         "Compiled on ..." crapola.  It is anti-useful.
48525 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
48527         * scripts/evaluate-test.sh: Handle fourth argument to determine
48528         whether test run should stop on failure.
48529         * Makeconfig (stop-on-test-failure): New variable.
48530         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
48531         $(stop-on-test-failure).
48532         * Makefile (tests): Give a summary of results from testing and
48533         exit with failure status if they include an ERROR or FAIL.
48534         (xtests): Likewise.
48535         * manual/install.texi (Configuring and compiling): Mention
48536         stop-on-test-failure=y.
48537         * INSTALL: Regenerated.
48539 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48541         * scripts/versionlist.awk: New file.
48542         * Makerules [$(build-shared) = yes]
48543         (postclean-generated): Add Versions.def, not Versions.def.v and
48544         Versions.def.v.i.
48545         ($(common-objpfx)Versions.def.v.i): Target removed.
48546         ($(common-objpfx)Versions.def): New target.
48547         ($(common-objpfx)Versions.all): Depend on that rather that
48548         $(common-objpfx)Versions.def.v.
48549         * Versions.def: File removed.
48551         * Makeconfig (+gccwarn): Add -Wundef.
48552         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
48553         a dl-sysdep.h breaking its contract.
48554         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
48555         * include/stackinfo.h: New file.
48556         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
48557         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
48558         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
48559         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
48560         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
48561         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
48562         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48563         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48564         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48565         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48566         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48567         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
48568         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48569         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48570         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48572 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48574         [BZ #16707]
48575         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
48576         implementation.
48577         * math/libm-test.inc (round_test_data): Add more tests.
48579         [BZ #16706]
48580         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
48581         implementation.
48582         * math/libm-test.inc (nearbyint_test_data): Add more tests.
48584         [BZ #16701]
48585         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
48586         implementation.
48587         * math/libm-test.inc (ceil_test_data): Add more tests.
48589         * math/libm-test.inc (trunc_test_data): Add more tests related to
48590         BZ#16414.
48592 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48594         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
48595         with #if rather than #ifdef.
48596         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
48598 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
48600         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
48601         first.  Disable AVX-512 GCC support if assembler doesn't support
48602         it.
48603         * sysdeps/x86_64/configure: Regenerated.
48605 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
48607         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
48608         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
48609         (__old_pthread_attr_setstack): Likewise.
48610         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
48611         [!_STACK_GROWS_DOWN]: Likewise.
48613 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
48615         * config.make.in (have-bash2): Delete.
48616         * configure.ac (libc_cv_have_bash2): Delete.
48617         * configure: Regenerate.
48618         * elf/Makefile (common-ldd-rewrite): Rename to ...
48619         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
48620         (sh-ldd-rewrite): Delete.
48621         (bash-ldd-rewrite): Delete.
48622         (have-bash2): Delete checks.
48623         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
48624         ldd-rewrite.
48626         * config.make.in (have-ksh): Delete.
48627         (KSH): Delete.
48628         * configure.ac (libc_cv_have_ksh): Delete.
48629         * configure: Regenerate.
48631         * elf/Makefile: Delete $(have-ksh) check.
48632         ($(objpfx)sotruss): Change KSH to BASH.
48633         * elf/sotruss.ksh: Rename to ...
48634         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
48635         function style to match POSIX.  Drop ksh vim mode setting.
48637         * manual/time.texi (Specifying the Time Zone with TZ): Change
48638         Tuesday to Thursday.
48640         * debug/tst-longjmp_chk2.c: Update header comment.
48641         (stackoverflow_handler): Add comment.  Call assert on pass value.
48643 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
48645         [BZ #16194]
48646         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
48647         (HAVE_AVX512_ASM_SUPPORT): Likewise.
48648         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
48649         (La_x86_64_vector): Add zmm.
48650         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
48651         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
48652         ($(objpfx)tst-audit10): New target.
48653         ($(objpfx)tst-audit10.out): Likewise.
48654         (tst-audit10-ENV): New.
48655         (AVX512-CFLAGS): Likewise.
48656         (CFLAGS-tst-audit10.c): Likewise.
48657         (CFLAGS-tst-auditmod10a.c): Likewise.
48658         (CFLAGS-tst-auditmod10b.c): Likewise.
48659         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
48660         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
48661         * sysdeps/x86_64/configure: Regenerated.
48662         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
48663         AVX-512 zmm register support.
48664         (_dl_x86_64_save_sse): Likewise.
48665         (_dl_x86_64_restore_sse): Likewise.
48666         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
48667         size vector registers.
48668         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
48669         (ZMM_SIZE): Likewise.
48670         * sysdeps/x86_64/tst-audit10.c: New file.
48671         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
48672         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
48674 2014-03-13  Roland McGrath  <roland@hack.frob.com>
48676         * configure.ac (HAVE_EHDR_START): New check.
48677         * configure: Regenerated.
48678         * config.h.in (HAVE_EHDR_START): New #undef.
48679         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
48680         assuming the lowest-addressed segment maps the start of the file.
48682 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
48684         * INSTALL: Regenerated.
48686 2014-03-13  Will Newton  <will.newton@linaro.org>
48688         * manual/setjmp.texi (System V contexts): Improve
48689         clarity and grammar of documentation.
48691 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
48693         [BZ #16381]
48694         * elf/Makefile (tests): Add tst-pie2.
48695         (tests-pie): Add tst-pie2.
48696         * elf/tst-pie2.c: New file.
48697         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
48698         for ET_EXEC.
48699         * elf/rtld.c (map_doit): Load executable as lt_executable.
48700         (dl_main): Likewise.
48702 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
48704         [BZ #16642]
48705         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48706         (__ASSUME_PSELECT): Undefine.
48708 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48710         [BZ #16689]
48711         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
48712         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
48713         static build.
48714         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
48715         selector for static builds.
48717 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48719         [BZ #16695]
48720         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
48721         key in the buffer.
48723 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48725         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
48726         IFUNC selector for static builds.
48728 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
48730         * sysdeps/mips/math_private.h [__mips_hard_float]
48731         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
48732         libc_feresetround_mips_ctx.
48733         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
48734         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
48735         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
48737         [BZ #16677]
48738         * math/s_nextafter.c (__nextafter): Do not return value from
48739         overflowing computation.
48740         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
48741         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
48742         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
48743         Likewise.
48744         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
48745         Likewise.
48746         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
48747         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
48749 2014-03-11  Roland McGrath  <roland@hack.frob.com>
48751         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
48752         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
48753         Move sfi_sp use from the load-multiple (that no longer sets sp) to
48754         the new mov targetting sp.
48756 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48758         [BZ #16683]
48759         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
48760         Define it for static builds as well.
48761         (NO_BZERO_IMPL): Likewise.
48763 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48765         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
48766         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
48767         multiarch strspn for PPC64.
48768         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
48769         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
48770         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48771         (__libc_ifunc_impl_list): Likewise.
48772         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
48773         multiarch optimizations
48774         * string/strspn.c (strspn): Using macro to redefine symbol name.
48776 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48777             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48779         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
48780         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
48781         multiarch strncat for PPC64.
48782         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
48783         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
48784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48785         (__libc_ifunc_impl_list): Likewise.
48786         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
48787         multiarch optimizations
48789 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48791         [BZ #16639]
48792         * nscd/nscd.service: Make service type forking.
48794 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48796         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
48797         sign in non default rounding modes.
48798         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
48800 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
48802         * math/libm-test.inc (ALL_RM_TEST): New macro.
48803         (ceil_test): Use ALL_RM_TEST.
48804         (cimag_test): Likewise.
48805         (conj_test): Likewise.
48806         (copysign_test): Likewise.
48807         (cproj_test): Likewise.
48808         (creal_test): Likewise.
48809         (fabs_test): Likewise.
48810         (floor_test): Likewise.
48811         (fmax_test): Likewise.
48812         (fmin_test): Likewise.
48813         (fmod_test): Likewise.
48814         (fpclassify_test): Likewise.
48815         (frexp_test): Likewise.
48816         (ilogb_test): Likewise.
48817         (isfinite_test): Likewise.
48818         (finite_test): Likewise.
48819         (isgreater_test): Likewise.
48820         (isgreaterequal_test): Likewise.
48821         (isinf_test): Likewise.
48822         (isless_test): Likewise.
48823         (islessequal_test): Likewise.
48824         (islessgreater_test): Likewise.
48825         (isnan_test): Likewise.
48826         (isnormal_test): Likewise.
48827         (issignaling_test): Likewise.
48828         (isunordered_test): Likewise.
48829         (logb_test): Likewise.
48830         (logb_downward_test_data): Remove.
48831         (logb_test_downward): Likewise.
48832         (lround_test): Use ALL_RM_TEST.
48833         (llround_test): Likewise.
48834         (modf_test): Likewise.
48835         (nexttoward_test): Likewise.
48836         (remainder_test): Likewise.
48837         (drem_test): Likewise.
48838         (remainder_tonearest_test_data): Likewise.
48839         (remainder_test_tonearest): Likewise.
48840         (drem_test_tonearest): Likewise.
48841         (remainder_towardzero_test_data): Likewise.
48842         (remainder_test_towardzero): Likewise.
48843         (drem_test_towardzero): Likewise.
48844         (remainder_downward_test_data): Likewise.
48845         (remainder_test_downward): Likewise.
48846         (drem_test_downward): Likewise.
48847         (remainder_upward_test_data): Likewise.
48848         (remainder_test_upward): Likewise.
48849         (drem_test_upward): Likewise.
48850         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
48851         (round_test): Use ALL_RM_TEST.
48852         (signbit_test): Likewise.
48853         (trunc_test): Likewise.
48854         (significand_test): Likewise.
48855         (main): Don't call removed functions.
48857 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
48859         [BZ #16674]
48860         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
48861         || __USE_XOPEN2K8].
48862         (ILL_ILLOPN): Likewise.
48863         (ILL_ILLADR): Likewise.
48864         (ILL_ILLTRP): Likewise.
48865         (ILL_PRVOPC): Likewise.
48866         (ILL_PRVREG): Likewise.
48867         (ILL_COPROC): Likewise.
48868         (ILL_BADSTK): Likewise.
48869         (FPE_INTDIV): Likewise.
48870         (FPE_INTOVF): Likewise.
48871         (FPE_FLTDIV): Likewise.
48872         (FPE_FLTOVF): Likewise.
48873         (FPE_FLTUND): Likewise.
48874         (FPE_FLTRES): Likewise.
48875         (FPE_FLTINV): Likewise.
48876         (FPE_FLTSUB): Likewise.
48877         (SEGV_MAPERR): Likewise.
48878         (SEGV_ACCERR): Likewise.
48879         (BUS_ADRALN): Likewise.
48880         (BUS_ADRERR): Likewise.
48881         (BUS_OBJERR): Likewise.
48882         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48883         (TRAP_TRACE): Likewise.
48884         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48885         __USE_XOPEN2K8].
48886         (CLD_KILLED): Likewise.
48887         (CLD_DUMPED): Likewise.
48888         (CLD_TRAPPED): Likewise.
48889         (CLD_STOPPED): Likewise.
48890         (CLD_CONTINUED): Likewise.
48891         (POLL_IN): Likewise.
48892         (POLL_OUT): Likewise.
48893         (POLL_MSG): Likewise.
48894         (POLL_ERR): Likewise.
48895         (POLL_PRI): Likewise.
48896         (POLL_HUP): Likewise.
48897         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
48898         Likewise.
48899         (ILL_ILLOPN): Likewise.
48900         (ILL_ILLADR): Likewise.
48901         (ILL_ILLTRP): Likewise.
48902         (ILL_PRVOPC): Likewise.
48903         (ILL_PRVREG): Likewise.
48904         (ILL_COPROC): Likewise.
48905         (ILL_BADSTK): Likewise.
48906         (FPE_INTDIV): Likewise.
48907         (FPE_INTOVF): Likewise.
48908         (FPE_FLTDIV): Likewise.
48909         (FPE_FLTOVF): Likewise.
48910         (FPE_FLTUND): Likewise.
48911         (FPE_FLTRES): Likewise.
48912         (FPE_FLTINV): Likewise.
48913         (FPE_FLTSUB): Likewise.
48914         (SEGV_MAPERR): Likewise.
48915         (SEGV_ACCERR): Likewise.
48916         (BUS_ADRALN): Likewise.
48917         (BUS_ADRERR): Likewise.
48918         (BUS_OBJERR): Likewise.
48919         (BUS_MCEERR_AR): Likewise.
48920         (BUS_MCEERR_AO): Likewise.
48921         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48922         (TRAP_TRACE): Likewise.
48923         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48924         __USE_XOPEN2K8].
48925         (CLD_KILLED): Likewise.
48926         (CLD_DUMPED): Likewise.
48927         (CLD_TRAPPED): Likewise.
48928         (CLD_STOPPED): Likewise.
48929         (CLD_CONTINUED): Likewise.
48930         (POLL_IN): Likewise.
48931         (POLL_OUT): Likewise.
48932         (POLL_MSG): Likewise.
48933         (POLL_ERR): Likewise.
48934         (POLL_PRI): Likewise.
48935         (POLL_HUP): Likewise.
48936         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
48937         (ILL_ILLOPN): Likewise.
48938         (ILL_ILLADR): Likewise.
48939         (ILL_ILLTRP): Likewise.
48940         (ILL_PRVOPC): Likewise.
48941         (ILL_PRVREG): Likewise.
48942         (ILL_COPROC): Likewise.
48943         (ILL_BADSTK): Likewise.
48944         (FPE_INTDIV): Likewise.
48945         (FPE_INTOVF): Likewise.
48946         (FPE_FLTDIV): Likewise.
48947         (FPE_FLTOVF): Likewise.
48948         (FPE_FLTUND): Likewise.
48949         (FPE_FLTRES): Likewise.
48950         (FPE_FLTINV): Likewise.
48951         (FPE_FLTSUB): Likewise.
48952         (SEGV_MAPERR): Likewise.
48953         (SEGV_ACCERR): Likewise.
48954         (BUS_ADRALN): Likewise.
48955         (BUS_ADRERR): Likewise.
48956         (BUS_OBJERR): Likewise.
48957         (BUS_MCEERR_AR): Likewise.
48958         (BUS_MCEERR_AO): Likewise.
48959         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48960         (TRAP_TRACE): Likewise.
48961         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48962         __USE_XOPEN2K8].
48963         (CLD_KILLED): Likewise.
48964         (CLD_DUMPED): Likewise.
48965         (CLD_TRAPPED): Likewise.
48966         (CLD_STOPPED): Likewise.
48967         (CLD_CONTINUED): Likewise.
48968         (POLL_IN): Likewise.
48969         (POLL_OUT): Likewise.
48970         (POLL_MSG): Likewise.
48971         (POLL_ERR): Likewise.
48972         (POLL_PRI): Likewise.
48973         (POLL_HUP): Likewise.
48974         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
48975         Likewise.
48976         (ILL_ILLOPN): Likewise.
48977         (ILL_ILLADR): Likewise.
48978         (ILL_ILLTRP): Likewise.
48979         (ILL_PRVOPC): Likewise.
48980         (ILL_PRVREG): Likewise.
48981         (ILL_COPROC): Likewise.
48982         (ILL_BADSTK): Likewise.
48983         (ILL_BADIADDR): Likewise.
48984         (ILL_BREAK): Likewise.
48985         (FPE_INTDIV): Likewise.
48986         (FPE_INTOVF): Likewise.
48987         (FPE_FLTDIV): Likewise.
48988         (FPE_FLTOVF): Likewise.
48989         (FPE_FLTUND): Likewise.
48990         (FPE_FLTRES): Likewise.
48991         (FPE_FLTINV): Likewise.
48992         (FPE_FLTSUB): Likewise.
48993         (FPE_DECOVF): Likewise.
48994         (FPE_DECDIV): Likewise.
48995         (FPE_DECERR): Likewise.
48996         (FPE_INVASC): Likewise.
48997         (FPE_INVDEC): Likewise.
48998         (SEGV_MAPERR): Likewise.
48999         (SEGV_ACCERR): Likewise.
49000         (SEGV_PSTKOVF): Likewise.
49001         (BUS_ADRALN): Likewise.
49002         (BUS_ADRERR): Likewise.
49003         (BUS_OBJERR): Likewise.
49004         (BUS_MCEERR_AR): Likewise.
49005         (BUS_MCEERR_AO): Likewise.
49006         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49007         (TRAP_TRACE): Likewise.
49008         (TRAP_BRANCH): Likewise.
49009         (TRAP_HWBKPT): Likewise.
49010         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49011         __USE_XOPEN2K8].
49012         (CLD_KILLED): Likewise.
49013         (CLD_DUMPED): Likewise.
49014         (CLD_TRAPPED): Likewise.
49015         (CLD_STOPPED): Likewise.
49016         (CLD_CONTINUED): Likewise.
49017         (POLL_IN): Likewise.
49018         (POLL_OUT): Likewise.
49019         (POLL_MSG): Likewise.
49020         (POLL_ERR): Likewise.
49021         (POLL_PRI): Likewise.
49022         (POLL_HUP): Likewise.
49023         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
49024         (ILL_ILLOPN): Likewise.
49025         (ILL_ILLADR): Likewise.
49026         (ILL_ILLTRP): Likewise.
49027         (ILL_PRVOPC): Likewise.
49028         (ILL_PRVREG): Likewise.
49029         (ILL_COPROC): Likewise.
49030         (ILL_BADSTK): Likewise.
49031         (FPE_INTDIV): Likewise.
49032         (FPE_INTOVF): Likewise.
49033         (FPE_FLTDIV): Likewise.
49034         (FPE_FLTOVF): Likewise.
49035         (FPE_FLTUND): Likewise.
49036         (FPE_FLTRES): Likewise.
49037         (FPE_FLTINV): Likewise.
49038         (FPE_FLTSUB): Likewise.
49039         (SEGV_MAPERR): Likewise.
49040         (SEGV_ACCERR): Likewise.
49041         (BUS_ADRALN): Likewise.
49042         (BUS_ADRERR): Likewise.
49043         (BUS_OBJERR): Likewise.
49044         (BUS_MCEERR_AR): Likewise.
49045         (BUS_MCEERR_AO): Likewise.
49046         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49047         (TRAP_TRACE): Likewise.
49048         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49049         __USE_XOPEN2K8].
49050         (CLD_KILLED): Likewise.
49051         (CLD_DUMPED): Likewise.
49052         (CLD_TRAPPED): Likewise.
49053         (CLD_STOPPED): Likewise.
49054         (CLD_CONTINUED): Likewise.
49055         (POLL_IN): Likewise.
49056         (POLL_OUT): Likewise.
49057         (POLL_MSG): Likewise.
49058         (POLL_ERR): Likewise.
49059         (POLL_PRI): Likewise.
49060         (POLL_HUP): Likewise.
49061         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
49062         (ILL_ILLOPN): Likewise.
49063         (ILL_ILLADR): Likewise.
49064         (ILL_ILLTRP): Likewise.
49065         (ILL_PRVOPC): Likewise.
49066         (ILL_PRVREG): Likewise.
49067         (ILL_COPROC): Likewise.
49068         (ILL_BADSTK): Likewise.
49069         (FPE_INTDIV): Likewise.
49070         (FPE_INTOVF): Likewise.
49071         (FPE_FLTDIV): Likewise.
49072         (FPE_FLTOVF): Likewise.
49073         (FPE_FLTUND): Likewise.
49074         (FPE_FLTRES): Likewise.
49075         (FPE_FLTINV): Likewise.
49076         (FPE_FLTSUB): Likewise.
49077         (SEGV_MAPERR): Likewise.
49078         (SEGV_ACCERR): Likewise.
49079         (BUS_ADRALN): Likewise.
49080         (BUS_ADRERR): Likewise.
49081         (BUS_OBJERR): Likewise.
49082         (BUS_MCEERR_AR): Likewise.
49083         (BUS_MCEERR_AO): Likewise.
49084         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49085         (TRAP_TRACE): Likewise.
49086         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49087         __USE_XOPEN2K8].
49088         (CLD_KILLED): Likewise.
49089         (CLD_DUMPED): Likewise.
49090         (CLD_TRAPPED): Likewise.
49091         (CLD_STOPPED): Likewise.
49092         (CLD_CONTINUED): Likewise.
49093         (POLL_IN): Likewise.
49094         (POLL_OUT): Likewise.
49095         (POLL_MSG): Likewise.
49096         (POLL_ERR): Likewise.
49097         (POLL_PRI): Likewise.
49098         (POLL_HUP): Likewise.
49099         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
49100         (ILL_ILLOPN): Likewise.
49101         (ILL_ILLADR): Likewise.
49102         (ILL_ILLTRP): Likewise.
49103         (ILL_PRVOPC): Likewise.
49104         (ILL_PRVREG): Likewise.
49105         (ILL_COPROC): Likewise.
49106         (ILL_BADSTK): Likewise.
49107         (FPE_INTDIV): Likewise.
49108         (FPE_INTOVF): Likewise.
49109         (FPE_FLTDIV): Likewise.
49110         (FPE_FLTOVF): Likewise.
49111         (FPE_FLTUND): Likewise.
49112         (FPE_FLTRES): Likewise.
49113         (FPE_FLTINV): Likewise.
49114         (FPE_FLTSUB): Likewise.
49115         (SEGV_MAPERR): Likewise.
49116         (SEGV_ACCERR): Likewise.
49117         (BUS_ADRALN): Likewise.
49118         (BUS_ADRERR): Likewise.
49119         (BUS_OBJERR): Likewise.
49120         (BUS_MCEERR_AR): Likewise.
49121         (BUS_MCEERR_AO): Likewise.
49122         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49123         (TRAP_TRACE): Likewise.
49124         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49125         __USE_XOPEN2K8].
49126         (CLD_KILLED): Likewise.
49127         (CLD_DUMPED): Likewise.
49128         (CLD_TRAPPED): Likewise.
49129         (CLD_STOPPED): Likewise.
49130         (CLD_CONTINUED): Likewise.
49131         (POLL_IN): Likewise.
49132         (POLL_OUT): Likewise.
49133         (POLL_MSG): Likewise.
49134         (POLL_ERR): Likewise.
49135         (POLL_PRI): Likewise.
49136         (POLL_HUP): Likewise.
49137         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
49138         (ILL_ILLOPN): Likewise.
49139         (ILL_ILLADR): Likewise.
49140         (ILL_ILLTRP): Likewise.
49141         (ILL_PRVOPC): Likewise.
49142         (ILL_PRVREG): Likewise.
49143         (ILL_COPROC): Likewise.
49144         (ILL_BADSTK): Likewise.
49145         (ILL_DBLFLT): Likewise.
49146         (ILL_HARDWALL): Likewise.
49147         (FPE_INTDIV): Likewise.
49148         (FPE_INTOVF): Likewise.
49149         (FPE_FLTDIV): Likewise.
49150         (FPE_FLTOVF): Likewise.
49151         (FPE_FLTUND): Likewise.
49152         (FPE_FLTRES): Likewise.
49153         (FPE_FLTINV): Likewise.
49154         (FPE_FLTSUB): Likewise.
49155         (SEGV_MAPERR): Likewise.
49156         (SEGV_ACCERR): Likewise.
49157         (BUS_ADRALN): Likewise.
49158         (BUS_ADRERR): Likewise.
49159         (BUS_OBJERR): Likewise.
49160         (BUS_MCEERR_AR): Likewise.
49161         (BUS_MCEERR_AO): Likewise.
49162         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49163         (TRAP_TRACE): Likewise.
49164         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49165         __USE_XOPEN2K8].
49166         (CLD_KILLED): Likewise.
49167         (CLD_DUMPED): Likewise.
49168         (CLD_TRAPPED): Likewise.
49169         (CLD_STOPPED): Likewise.
49170         (CLD_CONTINUED): Likewise.
49171         (POLL_IN): Likewise.
49172         (POLL_OUT): Likewise.
49173         (POLL_MSG): Likewise.
49174         (POLL_ERR): Likewise.
49175         (POLL_PRI): Likewise.
49176         (POLL_HUP): Likewise.
49177         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
49178         (ILL_ILLOPN): Likewise.
49179         (ILL_ILLADR): Likewise.
49180         (ILL_ILLTRP): Likewise.
49181         (ILL_PRVOPC): Likewise.
49182         (ILL_PRVREG): Likewise.
49183         (ILL_COPROC): Likewise.
49184         (ILL_BADSTK): Likewise.
49185         (FPE_INTDIV): Likewise.
49186         (FPE_INTOVF): Likewise.
49187         (FPE_FLTDIV): Likewise.
49188         (FPE_FLTOVF): Likewise.
49189         (FPE_FLTUND): Likewise.
49190         (FPE_FLTRES): Likewise.
49191         (FPE_FLTINV): Likewise.
49192         (FPE_FLTSUB): Likewise.
49193         (SEGV_MAPERR): Likewise.
49194         (SEGV_ACCERR): Likewise.
49195         (BUS_ADRALN): Likewise.
49196         (BUS_ADRERR): Likewise.
49197         (BUS_OBJERR): Likewise.
49198         (BUS_MCEERR_AR): Likewise.
49199         (BUS_MCEERR_AO): Likewise.
49200         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49201         (TRAP_TRACE): Likewise.
49202         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49203         __USE_XOPEN2K8].
49204         (CLD_KILLED): Likewise.
49205         (CLD_DUMPED): Likewise.
49206         (CLD_TRAPPED): Likewise.
49207         (CLD_STOPPED): Likewise.
49208         (CLD_CONTINUED): Likewise.
49209         (POLL_IN): Likewise.
49210         (POLL_OUT): Likewise.
49211         (POLL_MSG): Likewise.
49212         (POLL_ERR): Likewise.
49213         (POLL_PRI): Likewise.
49214         (POLL_HUP): Likewise.
49215         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
49216         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
49218         [BZ #16670]
49219         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
49220         before #include of <time.h>.
49221         [!__USE_XOPEN2K] (__need_timespec): Likewise.
49222         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
49223         (test-xfail-UNIX98/sched.h/conform): Likewise.
49225 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49227         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
49228         error absence of trapping exception support.
49229         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
49231 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
49233         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
49234         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
49235         * timezone/Makefile (testdata): Move definition above include of
49236         Rules.
49237         (test-zones): New variable.
49238         (tests-special): Add zone files.
49239         (build-testdata): Use $(evaluate-test).
49241         * elf/Makefile (tests-special): Rename tests to end with .out.
49242         ($(objpfx)noload-mem): Likewise.
49243         ($(objpfx)tst-leaks1-mem): Likewise.
49244         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
49245         * iconv/Makefile (xtests-special): Change test-iconvconfig to
49246         $(objpfx)test-iconvconfig.out.
49247         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
49248         set -e inside subshell and redirect output to file.
49249         * iconvdata/Makefile (generated): Rename tests to end with .out.
49250         Correct type.
49251         (tests-special): Rename tests to end with .out.
49252         ($(objpfx)mtrace-tst-loading): Likewise.
49253         * intl/Makefile (generated): Likewise.
49254         (tests-special): Likewise.
49255         ($(objpfx)mtrace-tst-gettext): Likewise.
49256         * misc/Makefile (generated): Likewise.
49257         (tests-special): Likewise.
49258         ($(objpfx)tst-error1-mem): Likewise.
49259         * nptl/Makefile (tests-special): Likewise.
49260         ($(objpfx)tst-stack3-mem): Likewise.
49261         (generated): Likewise.
49262         * posix/Makefile (generated): Likewise.
49263         (tests-special): Likewise.
49264         (xtests-special): Likewise.
49265         ($(objpfx)tst-fnmatch-mem): Likewise.
49266         ($(objpfx)bug-regex2-mem): Likewise.
49267         ($(objpfx)bug-regex14-mem): Likewise.
49268         ($(objpfx)bug-regex21-mem): Likewise.
49269         ($(objpfx)bug-regex31-mem): Likewise.
49270         ($(objpfx)tst-vfork3-mem): Likewise.
49271         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
49272         ($(objpfx)tst-pcre-mem): Likewise.
49273         ($(objpfx)tst-boost-mem): Likewise.
49274         ($(objpfx)bug-ga2-mem): Likewise.
49275         ($(objpfx)bug-glob2-mem): Likewise.
49276         * resolv/Makefile (generate): Likewise.
49277         (tests-special): Likewise.
49278         (xtests-special): Likewise.
49279         (generated): Likewise.
49280         ($(objpfx)mtrace-tst-leaks): Likewise.
49281         ($(objpfx)mtrace-tst-leaks2): Likewise.
49283         * scripts/merge-test-results.sh: New file.
49284         * Makefile (tests-special-notdir): New variable.
49285         (tests): Run merge-test-results.sh.
49286         (xtests): Likewise.
49287         * Rules (tests-special-notdir): New variable.
49288         (xtests-special-notdir): Likewise.
49289         (tests): Run merge-test-results.sh
49290         (xtests): Likewise.
49292         * Makeconfig (test-xfail-name): New variable.
49293         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
49294         compute variable name for expected failures.
49295         * conform/Makefile (conformtest-headers-data): New variable.
49296         (conformtest-standards): Likewise.
49297         (conformtest-headers-ISO): Likewise.
49298         (conformtest-headers-ISO99): Likewise.
49299         (conformtest-headers-ISO11): Likewise.
49300         (conformtest-headers-POSIX): Likewise.
49301         (conformtest-headers-XPG3): Likewise.
49302         (conformtest-headers-XPG4): Likewise.
49303         (conformtest-headers-UNIX98): Likewise.
49304         (conformtest-headers-XOPEN2K): Likewise.
49305         (conformtest-headers-POSIX2008): Likewise.
49306         (conformtest-headers-XOPEN2K8): Likewise.
49307         (conformtest-header-list-base): Likewise.
49308         (conformtest-header-list-tests): Likewise.
49309         (conformtest-header-base): Likewise.
49310         (conformtest-header-tests): Likewise.
49311         (tests-special): Add $(conformtest-header-list-tests).  If
49312         [$(fast-check) && !$(cross-compiling)], add
49313         $(conformtest-header-tests) instead of
49314         $(objpfx)run-conformtest.out.
49315         (generated): Add $(conformtest-header-list-base).  If
49316         [$(fast-check) && !$(cross-compiling)], add
49317         $(conformtest-header-base).  Remove previous setting.
49318         ($(conformtest-header-list-tests)): New target.
49319         (test-xfail-run-conformtest): Remove variable.
49320         ($(objpfx)run-conformtest.out): Remove target.
49321         (test-xfail-ISO11/complex.h/conform): New variable.
49322         (test-xfail-ISO11/stdalign.h/conform): Likewise.
49323         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
49324         (test-xfail-XPG3/varargs.h/conform): Likewise.
49325         (test-xfail-XPG4/varargs.h/conform): Likewise.
49326         (test-xfail-UNIX98/varargs.h/conform): Likewise.
49327         (test-xfail-XPG4/ndbm.h/conform): Likewise.
49328         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
49329         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
49330         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
49331         (test-xfail-XPG3/fcntl.h/conform): Likewise.
49332         (test-xfail-XPG3/ftw.h/conform): Likewise.
49333         (test-xfail-XPG3/grp.h/conform): Likewise.
49334         (test-xfail-XPG3/langinfo.h/conform): Likewise.
49335         (test-xfail-XPG3/limits.h/conform): Likewise.
49336         (test-xfail-XPG3/pwd.h/conform): Likewise.
49337         (test-xfail-XPG3/search.h/conform): Likewise.
49338         (test-xfail-XPG3/signal.h/conform): Likewise.
49339         (test-xfail-XPG3/stdio.h/conform): Likewise.
49340         (test-xfail-XPG3/stdlib.h/conform): Likewise.
49341         (test-xfail-XPG3/string.h/conform): Likewise.
49342         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
49343         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
49344         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
49345         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
49346         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
49347         (test-xfail-XPG3/sys/types.h/conform): Likewise.
49348         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
49349         (test-xfail-XPG3/termios.h/conform): Likewise.
49350         (test-xfail-XPG3/time.h/conform): Likewise.
49351         (test-xfail-XPG3/unistd.h/conform): Likewise.
49352         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
49353         (test-xfail-XPG4/fcntl.h/conform): Likewise.
49354         (test-xfail-XPG4/langinfo.h/conform): Likewise.
49355         (test-xfail-XPG4/netdb.h/conform): Likewise.
49356         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
49357         (test-xfail-XPG4/signal.h/conform): Likewise.
49358         (test-xfail-XPG4/stdio.h/conform): Likewise.
49359         (test-xfail-XPG4/stdlib.h/conform): Likewise.
49360         (test-xfail-XPG4/stropts.h/conform): Likewise.
49361         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
49362         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
49363         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
49364         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
49365         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
49366         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
49367         (test-xfail-XPG4/sys/time.h/conform): Likewise.
49368         (test-xfail-XPG4/sys/types.h/conform): Likewise.
49369         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
49370         (test-xfail-XPG4/termios.h/conform): Likewise.
49371         (test-xfail-XPG4/ucontext.h/conform): Likewise.
49372         (test-xfail-XPG4/unistd.h/conform): Likewise.
49373         (test-xfail-XPG4/utmpx.h/conform): Likewise.
49374         (test-xfail-POSIX/sched.h/conform): Likewise.
49375         (test-xfail-POSIX/signal.h/conform): Likewise.
49376         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
49377         (test-xfail-POSIX/tar.h/conform): Likewise.
49378         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
49379         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
49380         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
49381         (test-xfail-UNIX98/netdb.h/conform): Likewise.
49382         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
49383         (test-xfail-UNIX98/sched.h/conform): Likewise.
49384         (test-xfail-UNIX98/signal.h/conform): Likewise.
49385         (test-xfail-UNIX98/stdio.h/conform): Likewise.
49386         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
49387         (test-xfail-UNIX98/stropts.h/conform): Likewise.
49388         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
49389         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
49390         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
49391         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
49392         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
49393         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
49394         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
49395         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
49396         (test-xfail-UNIX98/unistd.h/conform): Likewise.
49397         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
49398         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
49399         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
49400         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
49401         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
49402         (test-xfail-XOPEN2K/math.h/conform): Likewise.
49403         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
49404         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
49405         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
49406         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
49407         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
49408         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
49409         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
49410         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
49411         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
49412         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
49413         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
49414         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
49415         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
49416         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
49417         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
49418         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
49419         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
49420         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
49421         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
49422         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
49423         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
49424         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
49425         (test-xfail-POSIX2008/signal.h/conform): Likewise.
49426         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
49427         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
49428         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
49429         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
49430         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
49431         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
49432         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
49433         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
49434         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
49435         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
49436         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
49437         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
49438         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
49439         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
49440         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
49441         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
49442         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
49443         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
49444         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
49445         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
49446         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
49447         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
49448         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
49449         (conformtest-cc-flags): Likewise.
49450         ($(conformtest-header-tests): New target.
49451         * conform/check-header-lists.sh: New file.
49452         * conform/run-conformtest.sh: Remove.
49454         * conform/conformtest.pl: Allow ' and \ in values given for
49455         constants.
49456         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
49457         inclusion.
49458         [POSIX] (sys/types.h): Likewise.
49459         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
49460         inclusion.
49461         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
49462         inclusion.
49463         * conform/data/signal.h-data (SIGIO): Remove expectation.
49464         [XPG3] (SIGBUS): Do not expect.
49465         [POSIX || XPG3] (SIGPOLL): Likewise.
49466         [POSIX || XPG3] (SIGPROF): Likewise.
49467         [POSIX || XPG3] (SIGSYS): Likewise.
49468         [XPG3] (SIGTRAP): Likewise.
49469         [POSIX || XPG3] (SIGURG): Likewise.
49470         [POSIX || XPG3] (SIGVTALRM): Likewise.
49471         [POSIX || XPG3] (SIGXCPU): Likewise.
49472         [POSIX || XPG3] (SIGXFSZ): Likewise.
49473         [POSIX] (SA_SIGINFO): Expect.
49474         [XPG3] (siginfo_t): Do not expect type or contents.
49475         [POSIX] (si_pid): Do not expect element.
49476         [POSIX] (si_uid): Likewise.
49477         [POSIX] (si_addr): Likewise.
49478         [POSIX] (si_status): Likewise.
49479         [POSIX] (si_band): Likewise.
49480         [XPG4] (si_value): Likewise.
49481         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
49482         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
49483         [POSIX || XPG3] (ILL_ILLADR): Likewise.
49484         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
49485         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
49486         [POSIX || XPG3] (ILL_PRVREG): Likewise.
49487         [POSIX || XPG3] (ILL_COPROC): Likewise.
49488         [POSIX || XPG3] (ILL_BADSTK): Likewise.
49489         [POSIX || XPG3] (FPE_INTDIV): Likewise.
49490         [POSIX || XPG3] (FPE_INTOVF): Likewise.
49491         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
49492         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
49493         [POSIX || XPG3] (FPE_FLTUND): Likewise.
49494         [POSIX || XPG3] (FPE_FLTRES): Likewise.
49495         [POSIX || XPG3] (FPE_FLTINV): Likewise.
49496         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
49497         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
49498         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
49499         [POSIX || XPG3] (BUS_ADRALN): Likewise.
49500         [POSIX || XPG3] (BUS_ADRERR): Likewise.
49501         [POSIX || XPG3] (BUS_OBJERR): Likewise.
49502         [POSIX || XPG3] (CLD_EXITED): Likewise.
49503         [POSIX || XPG3] (CLD_KILLED): Likewise.
49504         [POSIX || XPG3] (CLD_DUMPED): Likewise.
49505         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
49506         [POSIX || XPG3] (CLD_STOPPED): Likewise.
49507         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
49508         [POSIX || XPG3] (POLL_IN): Likewise.
49509         [POSIX || XPG3] (POLL_OUT): Likewise.
49510         [POSIX || XPG3] (POLL_MSG): Likewise.
49511         [POSIX || XPG3] (POLL_ERR): Likewise.
49512         [POSIX || XPG3] (POLL_PRI): Likewise.
49513         [POSIX || XPG3] (POLL_HUP): Likewise.
49514         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
49515         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
49516         (SIG*): Do not allow.
49517         [XPG3] (si_*): Likewise.
49518         [XPG3] (SI_*): Likewise.
49519         [XPG3 || XPG4] (sigev_*): Likewise.
49520         [XPG3 || XPG4] (SIGEV_*): Likewise.
49521         [XPG3 || XPG4] (sival_*): Likewise.
49522         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
49523         [POSIX || XPG3] (BUS_*): Likewise.
49524         [POSIX || XPG3] (CLD_*): Likewise.
49525         [POSIX || XPG3] (FPE_*): Likewise.
49526         [POSIX || XPG3] (ILL_*): Likewise.
49527         [POSIX || XPG3] (POLL_*): Likewise.
49528         [POSIX || XPG3] (SEGV_*): Likewise.
49529         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
49530         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
49531         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
49532         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
49533         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
49534         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
49535         Specify type and value.
49536         (TVERSLEN): Likewise.
49537         (REGTYPE): Likewise.
49538         (AREGTYPE): Likewise.
49539         (LNKTYPE): Likewise.
49540         (SYMTYPE): Likewise.
49541         (CHRTYPE): Likewise.
49542         (BLKTYPE): Likewise.
49543         (DIRTYPE): Likewise.
49544         (FIFOTYPE): Likewise.
49545         (CONTTYPE): Likewise.
49546         (TSUID): Likewise.
49547         (TSGID): Likewise.
49548         (TSVTX): Likewise.
49549         (TUREAD): Likewise.
49550         (TUWRITE): Likewise.
49551         (TUEXEC): Likewise.
49552         (TGREAD): Likewise.
49553         (TGWRITE): Likewise.
49554         (TGEXEC): Likewise.
49555         (TOREAD): Likewise.
49556         (TOWRITE): Likewise.
49557         (TOEXEC): Likewise.
49558         [POSIX] (TSVTX): Expect constant.
49560 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
49562         * Makefile (tests): Change dependencies to ....
49563         (tests-special): ... additions to this variable.
49564         (tests): Depend on $(tests-special).
49565         * Makerules (check-abi-list): New variable.
49566         (check-abi): Depend on $(check-abi-list).
49567         [$(subdir) = elf] (tests-special): Add
49568         $(objpfx)check-abi-libc.out.
49569         [$(build-shared) = yes && subdir] (tests-special): Add
49570         $(check-abi-list).
49571         [$(build-shared) = yes && subdir] (tests): Do not depend on
49572         check-abi.
49573         * Rules (tests): Depend on $(tests-special).
49574         (xtests): Depend on $(xtests-special).
49575         * catgets/Makefile (tests): Change dependencies to ....
49576         (tests-special): ... additions to this variable.
49577         * conform/Makefile (tests): Change dependencies to ....
49578         (tests-special): ... additions to this variable.
49579         * elf/Makefile (tests): Change dependencies to ....
49580         (tests-special): ... additions to this variable.
49581         * grp/Makefile (tests): Change dependencies to ....
49582         (tests-special): ... additions to this variable.
49583         * iconv/Makefile (xtests): Change dependencies to ....
49584         (xtests-special): ... additions to this variable.
49585         * iconvdata/Makefile (tests): Change dependencies to ....
49586         (tests-special): ... additions to this variable.
49587         * intl/Makefile (tests): Change dependencies to ....
49588         (tests-special): ... additions to this variable.  Also add
49589         $(objpfx)tst-gettext.out.
49590         * io/Makefile (tests): Change dependencies to ....
49591         (tests-special): ... additions to this variable.
49592         * libio/Makefile (tests): Change dependencies to ....
49593         (tests-special): ... additions to this variable.
49594         * malloc/Makefile (tests): Change dependencies to ....
49595         (tests-special): ... additions to this variable.
49596         * misc/Makefile (tests): Change dependencies to ....
49597         (tests-special): ... additions to this variable.
49598         * nptl/Makefile (tests): Change dependencies to ....
49599         (tests-special): ... additions to this variable.
49600         * nptl_db/Makefile (tests): Change dependencies to ....
49601         (tests-special): ... additions to this variable.
49602         * posix/Makefile (tests): Change dependencies to ....
49603         (tests-special): ... additions to this variable.
49604         (xtests): Change dependencies to ....
49605         (xtests-special): ... additions to this variable.
49606         * resolv/Makefile (tests): Change dependencies to ....
49607         (tests-special): ... additions to this variable.
49608         (xtests): Change dependencies to ....
49609         (xtests-special): ... additions to this variable.
49610         * stdio-common/Makefile (tests): Change dependencies to ....
49611         (tests-special): ... additions to this variable.
49612         (do-tst-unbputc): Remove target.
49613         (do-tst-printf): Likewise.
49614         * stdlib/Makefile (tests): Change dependencies to ....
49615         (tests-special): ... additions to this variable.
49616         * string/Makefile (tests): Change dependencies to ....
49617         (tests-special): ... additions to this variable.
49618         * sysdeps/x86/Makefile (tests): Change dependencies to ....
49619         (tests-special): ... additions to this variable.
49621         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
49622         whole file.
49623         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
49624         whole file.
49625         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
49626         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
49628         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
49629         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
49630         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
49631         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
49632         * conform/data/libgen.h-data [XPG3]: Likewise.
49633         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
49634         * conform/data/ndbm.h-data [XPG3]: Likewise.
49635         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
49636         * conform/data/netdb.h-data [XPG3]: Likewise.
49637         * conform/data/netinet/in.h-data [XPG3]: Likewise.
49638         * conform/data/poll.h-data [XPG3]: Likewise.
49639         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
49640         * conform/data/strings.h-data [XPG3]: Likewise.
49641         * conform/data/stropts.h-data [XPG3]: Likewise.
49642         * conform/data/sys/mman.h-data [XPG3]: Likewise.
49643         * conform/data/sys/resource.h-data [XPG3]: Likewise.
49644         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
49645         Likewise.
49646         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
49647         * conform/data/sys/time.h-data [XPG3]: Likewise.
49648         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
49649         * conform/data/sys/uio.h-data [XPG3]: Likewise.
49650         * conform/data/sys/un.h-data [XPG3]: Likewise.
49651         * conform/data/syslog.h-data [XPG3]: Likewise.
49652         * conform/data/ucontext.h-data [XPG3]: Likewise.
49653         * conform/data/utmpx.h-data [XPG3]: Likewise.
49654         * conform/data/varargs.h-data [UNIX98]: Enable file.
49656         * manual/Makefile (INSTALL_INFO): Remove variable setting.
49658         * math/libm-test.inc (struct test_f_f_data): Move expected results
49659         into structure for each rounding mode.
49660         (struct test_ff_f_data): Likewise.
49661         (struct test_ff_f_data_nexttoward): Likewise.
49662         (struct test_fi_f_data): Likewise.
49663         (struct test_fl_f_data): Likewise.
49664         (struct test_if_f_data): Likewise.
49665         (struct test_fff_f_data): Likewise.
49666         (struct test_c_f_data): Likewise.
49667         (struct test_f_f1_data): Likewise.
49668         (struct test_fF_f1_data): Likewise.
49669         (struct test_ffI_f1_data): Likewise.
49670         (struct test_c_c_data): Likewise.
49671         (struct test_cc_c_data): Likewise.
49672         (struct test_f_i_data): Likewise.
49673         (struct test_ff_i_data): Likewise.
49674         (struct test_f_l_data): Likewise.
49675         (struct test_f_L_data): Likewise.
49676         (struct test_fFF_11_data): Likewise.
49677         (RM_): New macro.
49678         (RM_FE_DOWNWARD): Likewise.
49679         (RM_FE_TONEAREST): Likewise.
49680         (RM_FE_TOWARDZERO): Likewise.
49681         (RM_FE_UPWARD): Likewise.
49682         (RUN_TEST_LOOP_f_f): Update references to expected results.
49683         (RUN_TEST_LOOP_2_f): Likewise.
49684         (RUN_TEST_LOOP_fff_f): Likewise.
49685         (RUN_TEST_LOOP_c_f): Likewise.
49686         (RUN_TEST_LOOP_f_f1): Likewise.
49687         (RUN_TEST_LOOP_fF_f1): Likewise.
49688         (RUN_TEST_LOOP_fI_f1): Likewise.
49689         (RUN_TEST_LOOP_ffI_f1): Likewise.
49690         (RUN_TEST_LOOP_c_c): Likewise.
49691         (RUN_TEST_LOOP_cc_c): Likewise.
49692         (RUN_TEST_LOOP_f_i): Likewise.
49693         (RUN_TEST_LOOP_f_i_tg): Likewise.
49694         (RUN_TEST_LOOP_ff_i_tg): Likewise.
49695         (RUN_TEST_LOOP_f_b): Likewise.
49696         (RUN_TEST_LOOP_f_b_tg): Likewise.
49697         (RUN_TEST_LOOP_f_l): Likewise.
49698         (RUN_TEST_LOOP_f_L): Likewise.
49699         (RUN_TEST_LOOP_fFF_11): Likewise.
49700         * math/gen-libm-test.pl (parse_args): Output four copies of
49701         expected results for each test.
49703         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49704         (__ASSUME_UTIMES): Remove.
49705         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49706         (__ASSUME_UTIMES): Likewise.
49708         * math/gen-auto-libm-tests.c: Update comment on output format.
49709         (output_for_one_input_case): Generate before-rounding and
49710         after-rounding information as conditions on output flags not
49711         floating-point format.
49712         * math/auto-libm-test-out: Regenerated.
49713         * math/gen-libm-test.pl (cond_value): New function.
49714         (or_cond_value): Use cond_value.
49715         (generate_testfile): Handle conditional exceptions.
49717 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
49719         * math/libm-test.inc (max_valid_error): New variable.
49720         (init_max_error): Take new argument specifying whether function
49721         results are exactly determined.  Set max_valid_error and bound
49722         other variables for errors based on this argument.
49723         (set_max_error): Do not record results above max_valid_error.
49724         (check_float_internal): Only accept errors of up to 0.5ulps if
49725         also at most max_valid_error.
49726         (START): Take new argument EXACT and pass it to init_max_error.
49727         (acos_test): Update call to START.
49728         (acos_test_tonearest): Likewise.
49729         (acos_test_towardzero): Likewise.
49730         (acos_test_downward): Likewise.
49731         (acos_test_upward): Likewise.
49732         (acosh_test): Likewise.
49733         (asin_test): Likewise.
49734         (asin_test_tonearest): Likewise.
49735         (asin_test_towardzero): Likewise.
49736         (asin_test_downward): Likewise.
49737         (asin_test_upward): Likewise.
49738         (asinh_test): Likewise.
49739         (atan_test): Likewise.
49740         (atanh_test): Likewise.
49741         (atan2_test): Likewise.
49742         (cabs_test): Likewise.
49743         (cacos_test): Likewise.
49744         (cacosh_test): Likewise.
49745         (carg_test): Likewise.
49746         (casin_test): Likewise.
49747         (casinh_test): Likewise.
49748         (catan_test): Likewise.
49749         (catanh_test): Likewise.
49750         (cbrt_test): Likewise.
49751         (ccos_test): Likewise.
49752         (ccosh_test): Likewise.
49753         (ceil_test): Likewise.
49754         (cexp_test): Likewise.
49755         (cimag_test): Likewise.
49756         (clog_test): Likewise.
49757         (clog10_test): Likewise.
49758         (conj_test): Likewise.
49759         (copysign_test): Likewise.
49760         (cos_test): Likewise.
49761         (cos_test_tonearest): Likewise.
49762         (cos_test_towardzero): Likewise.
49763         (cos_test_downward): Likewise.
49764         (cos_test_upward): Likewise.
49765         (cosh_test): Likewise.
49766         (cosh_test_tonearest): Likewise.
49767         (cosh_test_towardzero): Likewise.
49768         (cosh_test_downward): Likewise.
49769         (cosh_test_upward): Likewise.
49770         (cpow_test): Likewise.
49771         (cproj_test): Likewise.
49772         (creal_test): Likewise.
49773         (csin_test): Likewise.
49774         (csinh_test): Likewise.
49775         (csqrt_test): Likewise.
49776         (ctan_test): Likewise.
49777         (ctan_test_tonearest): Likewise.
49778         (ctan_test_towardzero): Likewise.
49779         (ctan_test_downward): Likewise.
49780         (ctan_test_upward): Likewise.
49781         (ctanh_test): Likewise.
49782         (ctanh_test_tonearest): Likewise.
49783         (ctanh_test_towardzero): Likewise.
49784         (ctanh_test_downward): Likewise.
49785         (ctanh_test_upward): Likewise.
49786         (erf_test): Likewise.
49787         (erfc_test): Likewise.
49788         (exp_test): Likewise.
49789         (exp_test_tonearest): Likewise.
49790         (exp_test_towardzero): Likewise.
49791         (exp_test_downward): Likewise.
49792         (exp_test_upward): Likewise.
49793         (exp10_test): Likewise.
49794         (exp10_test_tonearest): Likewise.
49795         (exp10_test_towardzero): Likewise.
49796         (exp10_test_downward): Likewise.
49797         (exp10_test_upward): Likewise.
49798         (pow10_test): Likewise.
49799         (exp2_test): Likewise.
49800         (expm1_test): Likewise.
49801         (expm1_test_tonearest): Likewise.
49802         (expm1_test_towardzero): Likewise.
49803         (expm1_test_downward): Likewise.
49804         (expm1_test_upward): Likewise.
49805         (fabs_test): Likewise.
49806         (fdim_test): Likewise.
49807         (floor_test): Likewise.
49808         (fma_test): Likewise.
49809         (fma_test_towardzero): Likewise.
49810         (fma_test_downward): Likewise.
49811         (fma_test_upward): Likewise.
49812         (fmax_test): Likewise.
49813         (fmin_test): Likewise.
49814         (fmod_test): Likewise.
49815         (fpclassify_test): Likewise.
49816         (frexp_test): Likewise.
49817         (hypot_test): Likewise.
49818         (ilogb_test): Likewise.
49819         (isfinite_test): Likewise.
49820         (finite_test): Likewise.
49821         (isgreater_test): Likewise.
49822         (isgreaterequal_test): Likewise.
49823         (isinf_test): Likewise.
49824         (isless_test): Likewise.
49825         (islessequal_test): Likewise.
49826         (islessgreater_test): Likewise.
49827         (isnan_test): Likewise.
49828         (isnormal_test): Likewise.
49829         (issignaling_test): Likewise.
49830         (isunordered_test): Likewise.
49831         (j0_test): Likewise.
49832         (j1_test): Likewise.
49833         (jn_test): Likewise.
49834         (ldexp_test): Likewise.
49835         (lgamma_test): Likewise.
49836         (gamma_test): Likewise.
49837         (lrint_test): Likewise.
49838         (lrint_test_tonearest): Likewise.
49839         (lrint_test_towardzero): Likewise.
49840         (lrint_test_downward): Likewise.
49841         (lrint_test_upward): Likewise.
49842         (llrint_test): Likewise.
49843         (llrint_test_tonearest): Likewise.
49844         (llrint_test_towardzero): Likewise.
49845         (llrint_test_downward): Likewise.
49846         (llrint_test_upward): Likewise.
49847         (log_test): Likewise.
49848         (log10_test): Likewise.
49849         (log1p_test): Likewise.
49850         (log2_test): Likewise.
49851         (logb_test): Likewise.
49852         (logb_test_downward): Likewise.
49853         (lround_test): Likewise.
49854         (llround_test): Likewise.
49855         (modf_test): Likewise.
49856         (nearbyint_test): Likewise.
49857         (nextafter_test): Likewise.
49858         (nexttoward_test): Likewise.
49859         (pow_test): Likewise.
49860         (pow_test_tonearest): Likewise.
49861         (pow_test_towardzero): Likewise.
49862         (pow_test_downward): Likewise.
49863         (pow_test_upward): Likewise.
49864         (remainder_test): Likewise.
49865         (drem_test): Likewise.
49866         (remainder_test_tonearest): Likewise.
49867         (drem_test_tonearest): Likewise.
49868         (remainder_test_towardzero): Likewise.
49869         (drem_test_towardzero): Likewise.
49870         (remainder_test_downward): Likewise.
49871         (drem_test_downward): Likewise.
49872         (remainder_test_upward): Likewise.
49873         (drem_test_upward): Likewise.
49874         (remquo_test): Likewise.
49875         (rint_test): Likewise.
49876         (rint_test_tonearest): Likewise.
49877         (rint_test_towardzero): Likewise.
49878         (rint_test_downward): Likewise.
49879         (rint_test_upward): Likewise.
49880         (round_test): Likewise.
49881         (scalb_test): Likewise.
49882         (scalbn_test): Likewise.
49883         (scalbln_test): Likewise.
49884         (signbit_test): Likewise.
49885         (sin_test): Likewise.
49886         (sin_test_tonearest): Likewise.
49887         (sin_test_towardzero): Likewise.
49888         (sin_test_downward): Likewise.
49889         (sin_test_upward): Likewise.
49890         (sincos_test): Likewise.
49891         (sinh_test): Likewise.
49892         (sinh_test_tonearest): Likewise.
49893         (sinh_test_towardzero): Likewise.
49894         (sinh_test_downward): Likewise.
49895         (sinh_test_upward): Likewise.
49896         (sqrt_test): Likewise.
49897         (sqrt_test_tonearest): Likewise.
49898         (sqrt_test_towardzero): Likewise.
49899         (sqrt_test_downward): Likewise.
49900         (sqrt_test_upward): Likewise.
49901         (tan_test): Likewise.
49902         (tan_test_tonearest): Likewise.
49903         (tan_test_towardzero): Likewise.
49904         (tan_test_downward): Likewise.
49905         (tan_test_upward): Likewise.
49906         (tanh_test): Likewise.
49907         (tgamma_test): Likewise.
49908         (trunc_test): Likewise.
49909         (y0_test): Likewise.
49910         (y1_test): Likewise.
49911         (yn_test): Likewise.
49912         (significand_test): Likewise.
49914         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
49915         individual tests in comment.
49916         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
49917         (prev_max_error): New variable.
49918         (prev_real_max_error): Likewise.
49919         (prev_imag_max_error): Likewise.
49920         (compare_ulp_data): Don't refer to test names in comment.
49921         (find_test_ulps): Remove function.
49922         (find_function_ulps): Likewise.
49923         (find_complex_function_ulps): Likewise.
49924         (init_max_error): Take function name as argument.  Look up ulps
49925         for that function.
49926         (print_ulps): Remove function.
49927         (print_max_error): Use prev_max_error instead of calling
49928         find_function_ulps.
49929         (print_complex_max_error): Use prev_real_max_error and
49930         prev_imag_max_error instead of calling find_complex_function_ulps.
49931         (check_float_internal): Take max_ulp parameter instead of calling
49932         find_test_ulps.  Don't call print_ulps.
49933         (check_float): Update call to check_float_internal.
49934         (check_complex): Update calls to check_float_internal.
49935         (START): Pass argument to init_max_error.
49936         * math/gen-libm-test.pl (%results): Don't include "kind"
49937         information.
49938         (parse_ulps): Don't handle ulps of individual tests.
49939         (print_ulps_file): Likewise.
49940         (output_ulps): Likewise.
49941         * math/README.libm-test: Update.
49942         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
49943         individual tests.
49944         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
49945         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
49946         * sysdeps/arm/libm-test-ulps: Likewise.
49947         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
49948         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
49949         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
49950         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
49951         * sysdeps/microblaze/libm-test-ulps: Likewise.
49952         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
49953         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
49954         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49955         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
49956         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49957         * sysdeps/sh/libm-test-ulps: Likewise.
49958         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49959         * sysdeps/tile/libm-test-ulps: Likewise.
49960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49962 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
49964         * math/libm-test.inc (print_complex_max_error): Check separately
49965         whether real and imaginary errors are within allowed range and
49966         pass 0 to print_complex_function_ulps instead of value within
49967         allowed range.
49969 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49971         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
49972         formatting.
49973         (get_handles_fopen): Likewise.
49974         (do_write_test): Likewise.
49976         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
49978         * libio/fileops.c (do_ftell): Use cached offset when
49979         available.
49980         * libio/iofwide.c (do_ftell_wide): Likewise.
49981         * libio/iofdopen.c (_IO_new_fdopen): Don't use
49982         _IO_file_attach.
49983         * libio/wfileops.c (_IO_fwide): Don't cache offset.
49985         [BZ #16532]
49986         * libio/libioP.h (get_file_offset): New function.
49987         * libio/fileops.c (get_file_offset): Likewise.
49988         (do_ftell): Likewise.
49989         (_IO_new_file_seekoff): Split out ftell logic.
49990         * libio/wfileops.c (do_ftell_wide): Likewise.
49991         (_IO_wfile_seekoff): Split out ftell logic.
49992         * libio/tst-ftell-active-handler.c: New test case.
49993         * libio/Makefile (tests): Add it.
49995 2014-03-03  Roland McGrath  <roland@hack.frob.com>
49997         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
49998         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
50000 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50002         [BZ #16639]
50003         * nscd/connections.c (nscd_init): Call do_exit.
50004         (start_threads): Call do_exit and notify_parent.
50005         (begin_drop_privileges): Call do_exit.
50006         (finish_drop_privileges): Likewise.
50007         * nscd/selinux.c (preserve_capabilities): Likewise.
50008         (install_real_capabilities): Likewise.
50009         (nscd_selinux_enabled): Likewise.
50010         (avc_create_thread): Likewise.
50011         (avc_alloc_lock): Likewise.
50012         (nscd_avc_init): Likewise.
50013         * nscd/nscd.c (parent_fd): New static variable.
50014         (main): Create a pipe between parent and child processes.
50015         Skip closing parent_fd.
50016         (monitor_child): New function.
50017         (do_exit): Likewise.
50018         (notify_parent): Likewise.
50019         * nscd/nscd.h (notify_parent): Likewise.
50020         (do_exit): Likewise.
50022 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
50024         * malloc/malloc.c (__libc_calloc): Revert last change.
50026 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50028         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50030 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50032         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
50033         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
50034         implementation.
50035         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50036         (__libc_ifunc_impl_list): Likewise.
50037         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
50038         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
50039         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
50040         * string/strrchr.c: Define STRRCHR.
50042 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
50044         * benchtest/bench-strtok.c (simple_strtok): Delete.
50045         (strtok_string): Use as benchmark.
50046         * string/strtok (STRTOK): New macro.
50048 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
50050         * manual/threads.texi: Add header and standard comments to all
50051         functions.
50053         * elf/dl-lookup.c (check_match): New function.
50054         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
50055         (do_lookup_x): Remove nested function check_match. Use non-nested
50056         function check_match.
50058 2014-02-28  Roland McGrath  <roland@hack.frob.com>
50060         * csu/Makefile (generated, before-compile): Use += rather than =.
50061         * catgets/Makefile (generated, generated-dirs): Likewise.
50062         * debug/Makefile (generated): Likewise.
50063         * dlfcn/Makefile (generated): Likewise.
50064         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
50065         * iconvdata/Makefile (before-compile, generated): Likewise.
50066         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
50067         * libio/Makefile (generated): Likewise.
50068         * malloc/Makefile (generated): Likewise.
50069         * manual/Makefile (generated, generated-dirs): Likewise.
50070         * misc/Makefile (generated): Likewise.
50071         * posix/Makefile (generated): Likewise.
50072         * resolv/Makefile (generated): Likewise.
50073         * sunrpc/Makefile (generated, generated-dirs): Likewise.
50074         * timezone/Makefile (generated, generated-dirs): Likewise.
50076         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
50078 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50080         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
50081         power8 implementation.
50082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
50083         file: POWER8 llround ifunc implementation.
50084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
50085         (__lllround): Add POWER8 implementation.
50086         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
50087         POWER8 llround implementation.
50089         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
50090         power8 implementation.
50091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
50092         file: POWER8 llrint ifunc implementation.
50093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
50094         Add POWER8 implementation.
50095         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
50096         POWER8 llrint implementation.
50098         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
50099         power8 implementation.
50100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
50101         file: POWER8 finite ifunc implementation.
50102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
50103         Add POWER8 implementation.
50104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
50105         Likewise.
50106         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
50107         POWER8 finite implementation.
50108         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
50110         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
50111         power8 implementation.
50112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
50113         file: POWER8 isinf ifunc implementation.
50114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
50115         POWER8 implementation.
50116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
50117         Likewise.
50118         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
50119         isinf implementation.
50120         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
50122         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
50123         (INIT_ARCH): Add hwcap2 initialization.
50124         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
50125         power8 implementation.
50126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
50127         file: POWER8 isnan ifunc implementation.
50128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
50129         POWER8 implementation.
50130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
50131         Likewise.
50132         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
50133         isnan implementation.
50134         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
50136 2014-02-27  Joey Ye  <joey.ye@arm.com>
50138         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
50139         (_FP_NANFRAC_Q): Set to zero.
50141 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50143         [BZ #16623]
50144         * math/auto-libm-test-in: New test inputs.
50145         * math/auto-libm-test-out: Regenerate.
50146         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
50147         and DA.
50148         (__cos): Likewise.
50149         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50151 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
50153         * scripts/evaluate-test.sh: Take new argument indicating whether
50154         failure is expected.
50155         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
50156         indicating whether failure is expected.
50157         * conform/Makefile (test-xfail-run-conformtest): New variable.
50158         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
50159         level.
50160         * posix/Makefile (test-xfail-annexc): New variable.
50161         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
50163 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
50165         * argp/Makefile: Include Makeconfig immediately after defining
50166         subdir.
50167         * assert/Makefile: Likewise.
50168         * benchtests/Makefile: Likewise.
50169         * catgets/Makefile: Likewise.
50170         * conform/Makefile: Likewise.
50171         * crypt/Makefile: Likewise.
50172         * csu/Makefile: Likewise.
50173         (all): Remove target.
50174         * ctype/Makefile: Include Makeconfig immediately after defining
50175         subdir.
50176         * debug/Makefile: Likewise.
50177         * dirent/Makefile: Likewise.
50178         * dlfcn/Makefile: Likewise.
50179         * gmon/Makefile: Likewise.
50180         * gnulib/Makefile: Likewise.
50181         * grp/Makefile: Likewise.
50182         * gshadow/Makefile: Likewise.
50183         * hesiod/Makefile: Likewise.
50184         * hurd/Makefile: Likewise.
50185         (all): Remove target.
50186         * iconvdata/Makefile: Include Makeconfig immediately after
50187         defining subdir.
50188         * inet/Makefile: Likewise.
50189         * intl/Makefile: Likewise.
50190         * io/Makefile: Likewise.
50191         * libio/Makefile: Likewise.
50192         (all): Remove target.
50193         * locale/Makefile: Include Makeconfig immediately after defining
50194         subdir.
50195         * login/Makefile: Likewise.
50196         * mach/Makefile: Likewise.
50197         (all): Remove target.
50198         * malloc/Makefile: Include Makeconfig immediately after defining
50199         subdir.
50200         (all): Remove target.
50201         * manual/Makefile: Include Makeconfig immediately after defining
50202         subdir.
50203         * math/Makefile: Likewise.
50204         * misc/Makefile: Likewise.
50205         * nis/Makefile: Likewise.
50206         * nss/Makefile: Likewise.
50207         * po/Makefile: Likewise.
50208         (all): Remove target.
50209         * posix/Makefile: Include Makeconfig immediately after defining
50210         subdir.
50211         * pwd/Makefile: Likewise.
50212         * resolv/Makefile: Likewise.
50213         * resource/Makefile: Likewise.
50214         * rt/Makefile: Likewise.
50215         * setjmp/Makefile: Likewise.
50216         * shadow/Makefile: Likewise.
50217         * signal/Makefile: Likewise.
50218         * socket/Makefile: Likewise.
50219         * soft-fp/Makefile: Likewise.
50220         * stdio-common/Makefile: Likewise.
50221         * stdlib/Makefile: Likewise.
50222         * streams/Makefile: Likewise.
50223         * string/Makefile: Likewise.
50224         * sunrpc/Makefile: Likewise.
50225         (all): Remove target.
50226         * sysvipc/Makefile: Include Makeconfig immediately after defining
50227         subdir.
50228         * termios/Makefile: Likewise.
50229         * time/Makefile: Likewise.
50230         * timezone/Makefile: Likewise.
50231         (all): Remove target.
50232         * wcsmbs/Makefile: Include Makeconfig immediately after defining
50233         subdir.
50234         * wctype/Makefile: Likewise.
50236 2014-02-26  Steve Ellcey  <sellcey@mips.com>
50238         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
50239         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
50240         (libc_feholdexcept_setround_mips): Ditto.
50241         (libc_feholdsetround): New.
50242         (libc_feholdsetroundf): New.
50243         (libc_feholdsetroundl): New.
50244         (libc_feupdateenv_test_mips): New.
50245         (libc_feupdateenv_test): New.
50246         (libc_feupdateenv_testf): New.
50247         (libc_feupdateenv_testl): New.
50248         (libc_feresetround): New.
50249         (libc_feresetroundf): New.
50250         (libc_feresetroundl): New.
50251         (libc_fetestexcept_mips): New.
50252         (libc_fetestexcept): New.
50253         (libc_fetestexceptf): New.
50254         (libc_fetestexceptl): New.
50255         (HAVE_RM_CTX): New.
50256         (libc_feholdexcept_setround_mips_ctx): New.
50257         (libc_feholdexcept_setround_ctx): New.
50258         (libc_feholdexcept_setroundf_ctx): New.
50259         (libc_feholdexcept_setroundl_ctx): New.
50260         (libc_fesetenv_mips_ctx): New.
50261         (libc_fesetenv_ctx): New.
50262         (libc_fesetenv_ctxf): New.
50263         (libc_fesetenv_ctxl): New.
50264         (libc_feupdateenv_mips_ctx): New.
50265         (libc_feupdateenv_ctx): New.
50266         (libc_feupdateenvf_ctx): New.
50267         (libc_feupdateenvl_ctx): New.
50268         (libc_feholdsetround_mips_ctx): New.
50269         (libc_feholdsetround_ctx): New.
50270         (libc_feholdsetroundf_ctx): New.
50271         (libc_feholdsetroundl_ctx): New.
50272         (libc_feresetround_mips_ctx): New.
50273         (libc_feresetround_ctx): New.
50274         (libc_feresetroundf_ctx): New.
50275         (libc_feresetroundl_ctx): New.
50277 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
50279         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
50281         * manual/ipc.texi: New file.
50282         * manual/Makefile (chapters): Add ipc.
50283         * manual/job.texi: Add "Inter-Process Communication" to next.
50284         * manual/process.texi: Add "Inter-Process Communication" to prev.
50286 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50290 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
50292         * malloc/malloc.c (__libc_calloc): Simplify implementation.
50294         * manual/arith.texi: Fix spaces after sentences.
50295         * manual/charset.texi: Likewise.
50296         * manual/errno.texi: Likewise.
50297         * manual/install.texi: Likewise.
50298         * manual/llio.texi: Likewise.
50299         * manual/locale.texi: Likewise.
50300         * manual/maint.texi: Likewise.
50301         * manual/math.texi: Likewise.
50302         * manual/memory.texi: Likewise.
50303         * manual/message.texi: Likewise.
50304         * manual/probes.texi: Likewise.
50305         * manual/resource.texi: Likewise.
50306         * manual/signal.texi: Likewise.
50307         * manual/socket.texi: Likewise.
50308         * manual/stdio.texi: Likewise.
50309         * manual/string.texi: Likewise.
50310         * manual/time.texi: Likewise.
50311         * manual/users.texi: Likewise.
50313 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
50315         [BZ #16632]
50316         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
50317         _DEFAULT_SOURCE is defined.
50319 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
50320             Carlos O'Donell  <carlos@redhat.com>
50322         [BZ #16613]
50323         * elf/dl-tls.c (_dl_count_modids): New function.
50324         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
50325         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
50326         audit library and increment generation counter.
50327         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
50328         * elf/tst-audit9.c: New file.
50329         * elf/tst-auditmod9a.c: New file.
50330         * elf/tst-auditmod9b.c: New file.
50331         * elf/Makefile: Add rules to build and run tst-audit9.
50333 2014-02-25  Florian Weimer  <fweimer@redhat.com>
50335         [BZ #15347]
50336         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
50338 2014-02-25  Will Newton  <will.newton@linaro.org>
50340         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
50341         (__longjmp): Restore sp and lr before restoring callee
50342         saved registers.  Add longjmp and longjmp_target
50343         SystemTap probe point.
50344         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
50345         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
50346         Define to zero to match jmpbuf layout.
50347         * sysdeps/arm/setjmp.S: Include stap-probe.h.
50348         (__sigsetjmp): Save sp and lr before saving callee
50349         saved registers.  Add setjmp SystemTap probe point.
50351 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
50353         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50355 2014-02-24  Andreas Schwab  <schwab@suse.de>
50357         [BZ #15804]
50358         * elf/pldd.c (wait_for_ptrace_stop): New function.
50359         (main): Call it after attaching.
50361 2014-02-22  Roland McGrath  <roland@hack.frob.com>
50363         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
50364         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
50365         Versions files is now verboten.
50366         * hurd/Versions (libc: GLIBC_2.0):
50367         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
50368         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
50369         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
50370         * mach/Versions: Likewise.
50372         * csu/Versions: Remove unused %include.
50373         * resolv/Versions: Likewise.
50375 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
50377         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
50378         ($(objpfx)check-local-headers.out): Likewise.
50379         ($(objpfx)begin-end-check.out): Likewise.
50380         * Makerules (check-abi-%.out): Likewise.
50381         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
50382         ($(objpfx)test2.cat): Likewise.
50383         ($(objpfx)de/libc.cat): Likewise.
50384         ($(objpfx)test-gencat.out): Likewise.
50385         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
50386         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
50387         ($(objpfx)noload-mem): Likewise.
50388         ($(objpfx)tst-pathopt.out): Likewise.
50389         ($(objpfx)tst-rtld-load-self.out): Likewise.
50390         ($(objpfx)tst-array1-cmp.out): Likewise.
50391         ($(objpfx)tst-array1-static-cmp.out): Likewise.
50392         ($(objpfx)tst-array2-cmp.out): Likewise.
50393         ($(objpfx)tst-array3-cmp.out): Likewise.
50394         ($(objpfx)tst-array4-cmp.out): Likewise.
50395         ($(objpfx)tst-array5-cmp.out): Likewise.
50396         ($(objpfx)tst-array5-static-cmp.out): Likewise.
50397         ($(objpfx)check-textrel.out): Likewise.
50398         ($(objpfx)check-execstack.out): Likewise.
50399         ($(objpfx)check-localplt.out): Likewise.
50400         ($(objpfx)order2-cmp.out): Likewise.
50401         ($(objpfx)tst-leaks1-mem): Likewise.
50402         ($(objpfx)tst-leaks1-static-mem): Likewise.
50403         ($(objpfx)tst-initorder-cmp.out): Likewise.
50404         ($(objpfx)tst-initorder2-cmp.out): Likewise.
50405         ($(objpfx)tst-unused-dep.out): Likewise.
50406         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
50407         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
50408         * iconv/Makefile (test-iconvconfig): Likewise.
50409         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
50410         ($(objpfx)iconv-test.out): Likewise.
50411         ($(objpfx)tst-tables.out): Likewise.
50412         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
50413         ($(objpfx)tst-gettext.out): Likewise.
50414         ($(objpfx)tst-translit.out): Likewise.
50415         ($(objpfx)tst-gettext2.out): Likewise.
50416         ($(objpfx)tst-gettext4.out): Likewise.
50417         ($(objpfx)tst-gettext6.out): Likewise.
50418         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
50419         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
50420         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
50421         ($(objpfx)tst-fopenloc-mem.out): Likewise.
50422         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
50423         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
50424         * posix/Makefile ($(objpfx)globtest.out): Likewise.
50425         ($(objpfx)wordexp-tst.out): Likewise.
50426         ($(objpfx)annexc.out): Likewise.
50427         ($(objpfx)tst-fnmatch-mem): Likewise.
50428         ($(objpfx)bug-regex2-mem): Likewise.
50429         ($(objpfx)bug-regex14-mem): Likewise.
50430         ($(objpfx)bug-regex21-mem): Likewise.
50431         ($(objpfx)bug-regex31-mem): Likewise.
50432         ($(objpfx)tst-vfork3-mem): Likewise.
50433         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
50434         ($(objpfx)tst-pcre-mem): Likewise.
50435         ($(objpfx)tst-boost-mem): Likewise.
50436         ($(objpfx)tst-getconf.out): Likewise.
50437         ($(objpfx)bug-ga2-mem): Likewise.
50438         ($(objpfx)bug-glob2-mem): Likewise.
50439         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
50440         ($(objpfx)mtrace-tst-leaks2): Likewise.
50441         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
50442         ($(objpfx)tst-printf.out): Likewise.
50443         ($(objpfx)tst-setvbuf1.out): Likewise.
50444         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
50445         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
50446         ($(objpfx)tst-fmtmsg.out): Likewise.
50447         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
50448         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
50450         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
50451         * bits/sigaction.h [__USE_MISC]: Likewise.
50452         * bits/waitstatus.h: Update #endif comments.
50453         * ctype/ctype.h: Likewise.
50454         * dirent/dirent.h: Likewise.
50455         [__USE_MISC]: Remove redundant conditionals.
50456         * grp/grp.h: Update #endif comments.
50457         [__USE_GNU]: Remove redundant conditionals.
50458         [__USE_MISC]: Likewise.
50459         * inet/netinet/in.h [__USE_GNU]: Likewise.
50460         * io/sys/stat.h [__USE_MISC]: Likewise.
50461         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
50462         * libio/bits/stdio.h: Update #endif comments.
50463         [__USE_MISC]: Remove redundant conditionals.
50464         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
50465         * libio/stdio.h: Update #endif comments.
50466         [__USE_MISC]: Remove redundant conditionals.
50467         * math/bits/math-finite.h [__USE_MISC]: Likewise.
50468         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
50469         * math/math.h: Update #else and #endif comments.
50470         [__USE_MISC]: Remove redundant conditionals.
50471         * misc/sys/uio.h: Update #endif comments.
50472         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
50473         * posix/glob.h [__USE_MISC]: Likewise.
50474         * posix/sys/types.h: Update #endif comments.
50475         [__USE_MISC]: Remove redundant conditionals.
50476         * posix/sys/wait.h: Update #endif comments.
50477         [__USE_MISC]: Remove redundant conditionals.
50478         * posix/unistd.h: Update #endif comments.
50479         [__USE_MISC]: Remove redundant conditionals.
50480         * pwd/pwd.h [__USE_GNU]: Likewise.
50481         [__USE_MISC]: Likewise.
50482         * resolv/netdb.h [__USE_GNU]: Likewise.
50483         * signal/signal.h: Update #endif comments.
50484         [__USE_MISC]: Remove redundant conditionals.
50485         * stdlib/stdlib.h: Update #else and #endif comments.
50486         [__USE_MISC]: Remove redundant conditionals.
50487         [__USE_GNU]: Likewise.
50488         * string/bits/string2.h [__USE_MISC]: Likewise.
50489         * string/string.h: Update #endif comments.
50490         [__USE_MISC]: Remove redundant conditionals.
50491         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
50492         Likewise.
50493         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
50494         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
50495         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
50496         Likewise.
50497         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
50498         Likewise.
50499         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
50500         comments.
50501         [__USE_MISC]: Remove redundant conditionals.
50502         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
50503         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
50504         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
50505         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
50506         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
50507         Likewise.
50508         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
50509         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
50510         Likewise.
50511         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
50512         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
50513         Likewise.
50514         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
50515         Likewise.
50516         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
50517         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
50518         Likewise.
50519         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
50520         Likewise.
50521         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
50522         * sysdeps/x86/bits/string.h: Update #endif comments.
50523         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
50524         conditionals.
50525         * time/sys/time.h: Update #endif comments.
50526         * time/time.h: Likewise.
50527         [__USE_MISC]: Remove redundant conditionals.
50529 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
50531         [BZ #16600]
50532         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
50534 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
50536         * Versions.def (librt): Add GLIBC_2.17.
50538 2014-02-21  Adam Conrad  <adconrad@0c3.net>
50540         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
50541         synonym for _SYS_AUXV_H to allow direct inclusion.
50542         * sysdeps/sparc/bits/hwcap.h: Likewise.
50543         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
50544         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
50545         * sysdeps/sparc/sysdep.h: Likewise.
50547 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50549         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
50551 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50553         * benchtests/bench-strrchr.c: Print length instead of position.
50555 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
50557         [BZ #16611]
50558         * sysdeps/unix/sysv/linux/kernel-features.h
50559         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
50560         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
50561         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
50562         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
50563         Likewise.
50564         [__i386__ || __powerpc__ || __sh__ || __sparc__]
50565         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50566         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
50567         (__ASSUME_SENDMMSG): Define instead of using previous
50568         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
50569         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50570         (__ASSUME_SENDMMSG_SYSCALL): Define.
50571         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50572         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
50573         Likewise.
50574         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50575         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50576         Likewise.
50577         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50578         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50579         Likewise.
50580         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
50581         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
50582         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
50583         [__ASSUME_SENDMMSG]: Change conditionals to
50584         [__ASSUME_SENDMMSG_SOCKETCALL].
50585         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50586         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
50587         Define.
50588         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50589         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
50590         Likewise.
50591         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
50592         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
50593         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
50594         [!__ASSUME_SENDMMSG]: Change conditional to
50595         [!__ASSUME_SENDMMSG_SOCKETCALL].
50596         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50597         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50598         Define.
50600         [BZ #16610]
50601         * sysdeps/unix/sysv/linux/kernel-features.h
50602         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
50603         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
50604         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
50605         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
50606         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
50607         [__i386__ || __sparc__]
50608         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50609         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
50610         (__ASSUME_RECVMMSG): Define instead of using previous
50611         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
50612         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50613         (__ASSUME_RECVMMSG_SYSCALL): Define.
50614         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50615         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50616         Likewise.
50617         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50618         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50619         Likewise.
50620         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50621         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50622         Likewise.
50623         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
50624         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
50625         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
50626         [__ASSUME_RECVMMSG]: Change condition to
50627         [__ASSUME_RECVMMSG_SOCKETCALL].
50628         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50629         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50630         Define.
50631         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50632         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50633         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50634         Likewise.
50635         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
50636         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
50637         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
50638         [!__ASSUME_RECVMMSG]: Change condition to
50639         [!__ASSUME_RECVMMSG_SOCKETCALL].
50640         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50641         (__ASSUME_RECVMMSG_SYSCALL): Define.
50643         [BZ #16609]
50644         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
50645         __powerpc__ || __s390__ || __sh__ || __sparc__]
50646         (__ASSUME_SOCKETCALL): Define.
50647         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
50648         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
50649         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
50650         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
50651         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
50652         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
50653         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
50654         (__ASSUME_ACCEPT4): Define instead of using previous
50655         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
50656         __powerpc__ || __sparc__ || __s390__)] condition.
50657         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50658         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
50659         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
50660         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
50661         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
50662         [!__ASSUME_ACCEPT4]: Change condition to
50663         [!__ASSUME_ACCEPT4_SOCKETCALL].
50664         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50665         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
50666         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
50667         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50668         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
50669         __ASSUME_ACCEPT4_SYSCALL.
50670         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
50671         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
50672         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50673         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
50674         __ASSUME_ACCEPT4_SYSCALL.
50675         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
50676         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
50677         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
50678         [__ASSUME_ACCEPT4]: Change condition to
50679         [__ASSUME_ACCEPT4_SOCKETCALL].
50680         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50681         (__ASSUME_SOCKETCALL): Define.
50682         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
50683         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50684         (__ASSUME_SOCKETCALL): Define.
50685         (__ASSUME_ACCEPT4): Remove.
50686         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
50687         Define.
50688         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50689         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
50690         Likewise.
50691         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50692         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
50694         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
50695         macro.
50696         (HWCAP_ARM_LPAE): Likewise.
50697         (HWCAP_ARM_EVTSTRM): Likewise.
50698         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
50699         Add vpfd32, lpae and evtstrm.
50700         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
50701         Increase to 22.
50703 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
50705         * math/auto-libm-test-in: Add tests of clog10.
50706         * math/auto-libm-test-out: Regenerated.
50707         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
50708         * sysdeps/i386/fpu/libm-test-ulps: Update.
50709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50711 2014-02-18  Andreas Schwab  <schwab@suse.de>
50713         [BZ #16574]
50714         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
50715         Store non-zero if the second buffer was newly allocated.
50716         (send_dg): Likewise.
50717         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
50718         to send_vc and send_dg.
50719         (res_nsend): Pass NULL for ansp2_malloced.
50720         * resolv/res_query.c (__libc_res_nquery): Add parameter
50721         answerp2_malloced and pass it down to __libc_res_nsend.
50722         (res_nquery): Pass additional NULL to __libc_res_nquery.
50723         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
50724         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
50725         second answer buffer if answerp2_malloced was set.
50726         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
50727         (__libc_res_nquerydomain): Add parameter
50728         answerp2_malloced and pass it down to __libc_res_nquery.
50729         (res_nquerydomain): Pass additional NULL to
50730         __libc_res_nquerydomain.
50731         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
50732         additional NULL to __libc_res_nsend and __libc_res_nquery.
50733         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
50734         additional NULL to __libc_res_nsearch.
50735         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
50736         parameter of __libc_res_nsearch to check for separately allocated
50737         second buffer.
50738         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
50739         __libc_res_nquery.
50740         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
50741         additional NULL to __libc_res_nquery.
50742         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
50743         __libc_res_nsearch.
50744         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
50745         * include/resolv.h: Update prototypes of __libc_res_nquery,
50746         __libc_res_nsearch, __libc_res_nsend.
50748 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
50750         * math/auto-libm-test-in: Add tests of fma.
50751         * math/auto-libm-test-out: Regenerated.
50752         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
50753         (fma_towardzero_test_data): Likewise.
50754         (fma_downward_test_data): Likewise.
50755         (fma_upward_test_data): Likewise.
50756         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
50757         mpc_mode.
50758         (rounding_modes): Add values for new field.
50759         (func_calc_method): Add value mpfr_fff_f.
50760         (func_calc_desc): Add mpfr_fff_f union field.
50761         (test_function): Add field exact_args.
50762         (FUNC): Add macro argument EXACT_ARGS.
50763         (FUNC_mpfr_f_f): Update call to FUNC.
50764         (FUNC_mpfr_f_f): Likewise.
50765         (FUNC_mpfr_ff_f): Likewise.
50766         (FUNC_mpfr_if_f): Likewise.
50767         (FUNC_mpc_c_f): Likewise.
50768         (FUNC_mpc_c_c): Likewise.
50769         (test_functions): Add fma.  Update calls to FUNC.
50770         (handle_input_arg): Add argument exact_args.
50771         (add_test): Update call to handle_input_arg.
50772         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
50773         (output_for_one_input_case): Update call to calc_generic_results.
50774         Recalculate exact zero results in each rounding mode.
50776         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
50777         non-negative before setting low bit.
50778         * math/auto-libm-test-in: Mark one asin test possibly having
50779         spurious underflow.
50780         * math/auto-libm-test-out: Regenerated.
50781         * sysdeps/i386/fpu/libm-test-ulps: Update.
50782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50784 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
50786         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
50787         * sysdeps/unix/sysv/linux/microblaze: Move directory from
50788         ports/sysdeps/unix/sysv/linux/microblaze.
50789         * README: Add missing listing for microblaze*-*-linux-gnu.
50791 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
50793         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
50794         duplicate code
50796 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
50798         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
50799         * sysdeps/unix/sysv/linux/ia64: Move directory from
50800         ports/sysdeps/unix/sysv/linux/ia64.
50801         * README: Update listing for ia64-*-linux-gnu.
50803 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
50804             Joseph Myers  <joseph@codesourcery.com>
50806         * Makeconfig (test-name): New variable.
50807         (evaluate-test): Likewise.
50808         * Makerules (do-test-clean): Remove .test-result files.
50809         (common-mostlyclean): Likewise.
50810         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
50811         * scripts/evaluate-test.sh: New file.
50813 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
50815         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
50816         separate $(objpfx)tst-fopenloc-cmp.out and
50817         $(objpfx)tst-fopenloc-mem.out targets.
50818         (tests): Update dependencies.
50819         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
50820         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
50821         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
50822         (tst-rxspencer-no-utf8-ARGS): New variable.
50823         (tst-rxspencer-no-utf8-ENV): Likewise.
50824         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
50825         instead of $(objpfx)tst-rxspencer-mem.
50826         ($(objpfx)tst-rxspencer-mem): Change target to
50827         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
50828         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
50829         * posix/tst-rxspencer-no-utf8.c: New file.
50831         * elf/Makefile ($(objpfx)order.out): Remove rule.
50832         [$(run-built-tests) = yes] (tests): Depend on
50833         $(objpfx)order-cmp.out.
50834         ($(objpfx)order-cmp.out): New rule.
50835         [$(run-built-tests) = yes] (tests): Depend on
50836         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
50837         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
50838         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
50839         $(objpfx)tst-array5-static-cmp.out.
50840         ($(objpfx)tst-array1.out): Remove rule.
50841         ($(objpfx)tst-array1-cmp.out): New rule.
50842         ($(objpfx)tst-array1-static.out): Remove rule.
50843         ($(objpfx)tst-array1-static-cmp.out): New rule.
50844         ($(objpfx)tst-array2.out): Remove rule.
50845         ($(objpfx)tst-array2-cmp.out): New rule.
50846         ($(objpfx)tst-array3.out): Remove rule.
50847         ($(objpfx)tst-array3-cmp.out): New rule.
50848         ($(objpfx)tst-array4.out): Remove rule.
50849         ($(objpfx)tst-array4-cmp.out): New rule.
50850         ($(objpfx)tst-array5.out): Remove rule.
50851         ($(objpfx)tst-array5-cmp.out): New rule.
50852         ($(objpfx)tst-array5-static.out): Remove rule.
50853         ($(objpfx)tst-array5-static-cmp.out): New rule.
50854         [$(run-built-tests) = yes] (tests): Depend on
50855         $(objpfx)order2-cmp.out.
50856         ($(objpfx)order2.out): Remove rule.
50857         ($(objpfx)order2-cmp.out): New rule.
50858         ($(objpfx)tst-initorder.out): Remove rule.
50859         [$(run-built-tests) = yes] (tests): Depend on
50860         $(objpfx)tst-initorder-cmp.out.
50861         ($(objpfx)tst-initorder-cmp.out): New rule.
50862         ($(objpfx)tst-initorder2.out): Remove rule.
50863         [$(run-built-tests) = yes] (tests): Depend on
50864         $(objpfx)tst-initorder2-cmp.out.
50865         ($(objpfx)tst-initorder2-cmp.out): New rule.
50866         [$(run-built-tests) = yes] (tests): Depend on
50867         $(objpfx)tst-unused-dep-cmp.out.
50868         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
50869         ($(objpfx)tst-unused-dep-cmp.out): New rule.
50870         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
50871         on $(objpfx)tst-setvbuf1-cmp.out.
50872         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
50873         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
50874         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
50875         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
50876         ($(objpfx)tst-svc.out): Remove rule.
50877         ($(objpfx)tst-svc-cmp.out): New rule.
50879 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
50881         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
50882         * ctype/ctype.h [__USE_MISC]: Likewise.
50883         * dirent/dirent.h [__USE_MISC]: Likewise.
50884         * grp/grp.h [__USE_MISC]: Likewise.
50885         * io/fcntl.h [__USE_MISC]: Likewise.
50886         * io/sys/stat.h [__USE_MISC]: Likewise.
50887         * libio/stdio.h [__USE_MISC]: Likewise.
50888         * posix/unistd.h [__USE_MISC]: Likewise.
50889         * pwd/pwd.h [__USE_MISC]: Likewise.
50890         * stdlib.h [__USE_MISC]: Likewise.
50891         * string/bits/string2.h [__USE_MISC]: Likewise.
50892         * string/string.h [__USE_MISC]: Likewise.
50893         * time/time.h [__USE_MISC]: Likewise.
50895 2014-02-13  Andreas Schwab  <schwab@suse.de>
50897         [BZ #16574]
50898         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
50899         second answer buffer if it was separately allocated.
50901 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
50903         * sysdeps/mips/math-tests.h: Include <features.h>.
50904         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
50905         (ROUNDING_TESTS_long_double): Do not define.
50906         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
50907         (EXCEPTION_TESTS_long_double): Likewise.
50908         * sysdeps/mips/mips64/libm-test-ulps: Update.
50910         * include/features.h (__USE_BSD): Remove macro definitions.
50911         (__USE_SVID): Likewise.
50912         (_BSD_SOURCE): Likewise.
50913         (_SVID_SOURCE): Likewise.
50914         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
50915         from definition of _DEFAULT_SOURCE.
50916         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
50917         [_DEFAULT_SOURCE].
50918         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
50919         * bits/mman.h [__USE_BSD]: Likewise.
50920         * bits/termios.h [__USE_BSD]: Likewise.
50921         * bits/waitstatus.h [__USE_BSD]: Likewise.
50922         * ctype/ctype.h [__USE_SVID]: Likewise.
50923         * dirent/dirent.h [__USE_BSD]: Likewise.
50924         * grp/grp.h [__USE_SVID]: Likewise.
50925         [__USE_BSD]: Likewise.
50926         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
50927         * io/fcntl.h [__USE_BSD]: Likewise.
50928         * io/ftw.h [__USE_BSD]: Likewise.
50929         * io/sys/stat.h [__USE_BSD]: Likewise.
50930         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
50931         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
50932         * libio/stdio.h [__USE_SVID]: Likewise.
50933         [__USE_BSD]: Likewise.
50934         * math/math.h [__USE_SVID]: Likewise.
50935         [__USE_BSD]: Likewise.
50936         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
50937         * misc/bits/syslog.h [__USE_BSD]: Likewise.
50938         * misc/search.h [__USE_SVID]: Likewise.
50939         * misc/sys/mman.h [__USE_BSD]: Likewise.
50940         * misc/sys/syslog.h [__USE_BSD]: Likewise.
50941         * misc/sys/uio.h [__USE_BSD]: Likewise.
50942         * posix/bits/unistd.h [__USE_BSD]: Likewise.
50943         * posix/glob.h [__USE_BSD]: Likewise.
50944         * posix/regex.h [__USE_BSD]: Likewise.
50945         * posix/sys/types.h [__USE_BSD]: Likewise.
50946         [__USE_SVID]: Likewise.
50947         * posix/sys/utsname.h [__USE_SVID]: Likewise.
50948         * posix/sys/wait.h [__USE_BSD]: Likewise.
50949         [__USE_SVID]: Likewise.
50950         * posix/unistd.h [__USE_BSD]: Likewise.
50951         [__USE_SVID]: Likewise.
50952         * pwd/pwd.h [__USE_SVID]: Likewise.
50953         * resolv/netdb.h [__USE_BSD]: Likewise.
50954         * setjmp/setjmp.h [__USE_BSD]: Likewise.
50955         * signal/signal.h [__USE_BSD]: Likewise.
50956         [__USE_SVID]: Likewise.
50957         * socket/sys/socket.h [__USE_BSD]: Likewise.
50958         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
50959         * stdlib/stdlib.h [__USE_BSD]: Likewise.
50960         [__USE_SVID]: Likewise.
50961         * string/bits/string2.h [__USE_BSD]: Likewise.
50962         [__USE_SVID]: Likewise.
50963         * string/bits/string3.h [__USE_BSD]: Likewise.
50964         * string/endian.h [__USE_BSD]: Likewise.
50965         * string/string.h [__USE_SVID]: Likewise.
50966         [__USE_BSD]: Likewise.
50967         * string/strings.h [__USE_BSD]: Likewise.
50968         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
50969         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
50970         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
50971         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
50972         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
50973         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
50974         Likewise.
50975         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
50976         Likewise.
50977         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
50978         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
50979         Likewise.
50980         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
50981         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
50982         Likewise.
50983         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
50984         Likewise.
50985         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
50986         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
50987         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
50988         Likewise.
50989         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
50990         Likewise.
50991         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
50992         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
50993         * termios/termios.h [__USE_BSD]: Likewise.
50994         * time/sys/time.h [__USE_BSD]: Likewise.
50995         * time/time.h [__USE_BSD]: Likewise.
50996         [__USE_SVID]: Likewise.
50998         * Makefile (subdir_targets): Remove subdir_lint.out.
51000         * stdio-common/Makefile (do-tst-unbputc): Remove target.
51001         (do-tst-printf): Likewise.
51002         (tests): Depend directly on $(objpfx)tst-unbputc.out and
51003         $(objpfx)tst-printf.out.
51005         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
51007         * Makerules (check-abi-%): Change target to
51008         $(objpfx)check-abi-%.out.
51009         (check-abi target): Update dependencies.
51010         (check-abi-pattern variable): Redirect output of diff to $@.
51011         (check-abi variable): Likewise.
51012         * elf/Makefile (check-abi): Update dependencies.
51014         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
51015         unused.
51016         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
51017         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
51018         subnormal range.
51019         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
51020         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
51021         value has largest subnormal exponent.
51022         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
51023         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
51024         * sysdeps/aarch64/soft-fp/sfp-machine.h
51025         (_FP_TININESS_AFTER_ROUNDING): New macro.
51026         * sysdeps/alpha/soft-fp/sfp-machine.h
51027         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51028         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51029         Likewise.
51030         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
51031         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51032         * sysdeps/mips/soft-fp/sfp-machine.h
51033         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51034         * sysdeps/powerpc/soft-fp/sfp-machine.h
51035         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51036         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51037         Likewise.
51038         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
51039         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51040         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
51041         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51042         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51043         Likewise.
51045 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
51047         [BZ #16545]
51048         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
51049         model 1.
51051 2014-02-12  Richard Henderson  <rth@redhat.com>
51053         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
51054         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
51055         * sysdeps/unix/sysv/linux/alpha: Move directory from
51056         ports/sysdeps/unix/sysv/linux/alpha.
51057         * README: Update listing for alpha-*-linux-gnu.
51059 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
51061         * include/features.h: Update comment documenting feature test
51062         macros.
51063         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
51064         _DEFAULT_SOURCE.
51065         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
51066         (_SVID_SOURCE): Likewise.
51067         (_DEFAULT_SOURCE): Update description of default features.
51068         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
51069         with _GNU_SOURCE.
51070         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
51071         (S_ISVTX): Likewise.
51072         * manual/math.texi (Mathematical Constants): Likewise.
51073         * manual/signal.texi (Interrupted Primitives): Likewise.
51074         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
51075         * math/test-matherr.c (_SVID_SOURCE): Do not define.
51076         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
51077         Don't refer to _SVID_SOURCE in warning text.
51079         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51081         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
51082         already defined.
51083         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
51084         * sysdeps/mips/dl-lookup.c: Remove.
51085         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
51087 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
51089         [BZ #16447]
51090         * math/auto-libm-test-in: Add testcase for expl.
51091         * math/auto-libm-test-out: Regenerate.
51092         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
51093         calculation of unsafe.
51094         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
51096 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51098         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
51099         * sysdeps/unix/sysv/linux/aarch64: Move directory from
51100         ports/sysdeps/unix/sysv/linux/aarch64.
51101         * README: Update listing for aarch64*-*-linux-gnu.
51103 2014-02-11  Will Newton  <will.newton@linaro.org>
51105         * manual/probes.texi (Mathematical Function Probes): Use
51106         "triggered" instead of "hit".
51108         * manual/probes.texi (Internal Probes): Add documentation
51109         of setjmp, longjmp and longjmp_target probes.
51111         * include/stap-probe.h: Add comment about probe argument
51112         format.
51114         * malloc/mtrace.c (attribute_hidden): Remove unused macro
51115         definition.  (tr_where, tr_freehook, tr_mallochook,
51116         tr_reallochook, tr_memalignhook): Use ANSI protoype.
51118 2014-02-11  David S. Miller  <davem@davemloft.net>
51120         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
51121         processing int_tests.
51123 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
51125         * sysdeps/mips: Move directory from ports/sysdeps/mips.
51126         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
51127         * sysdeps/unix/sysv/linux/mips: Move directory from
51128         ports/sysdeps/unix/sysv/linux/mips.
51129         * README: Update listing for mips-*-linux-gnu and
51130         mips64-*-linux-gnu.
51132 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
51134         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
51135         * sysdeps/unix/sysv/linux/m68k: Move directory from
51136         ports/sysdeps/unix/sysv/linux/m68k.
51137         * README: Update listing for m68k-*-linux-gnu.
51139 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
51141         * sysdeps/tile: Move directory from ports/sysdeps/tile.
51142         * sysdeps/unix/sysv/linux/generic: Move directory from
51143         ports/sysdeps/unix/sysv/linux/generic.
51144         * sysdeps/unix/sysv/linux/tile: Move directory from
51145         ports/sysdeps/unix/sysv/linux/tile.
51146         * README: Update listing for tile*-*-linux-gnu.
51148 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
51150         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
51151         __builtin_expect.
51152         * benchtests/bench-memmem.c (simple_memmem): Likewise.
51153         * catgets/open_catalog.c (__open_catalog): Likewise.
51154         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
51155         * debug/confstr_chk.c: Likewise.
51156         * debug/fread_chk.c (__fread_chk): Likewise.
51157         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
51158         * debug/getgroups_chk.c: Likewise.
51159         * debug/mbsnrtowcs_chk.c: Likewise.
51160         * debug/mbsrtowcs_chk.c: Likewise.
51161         * debug/mbstowcs_chk.c: Likewise.
51162         * debug/memcpy_chk.c: Likewise.
51163         * debug/memmove_chk.c: Likewise.
51164         * debug/mempcpy_chk.c: Likewise.
51165         * debug/memset_chk.c: Likewise.
51166         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
51167         * debug/strcat_chk.c (__strcat_chk): Likewise.
51168         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
51169         * debug/strncat_chk.c (__strncat_chk): Likewise.
51170         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
51171         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
51172         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
51173         * debug/wcpncpy_chk.c: Likewise.
51174         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
51175         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
51176         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
51177         * debug/wcsncpy_chk.c: Likewise.
51178         * debug/wcsnrtombs_chk.c: Likewise.
51179         * debug/wcsrtombs_chk.c: Likewise.
51180         * debug/wcstombs_chk.c: Likewise.
51181         * debug/wmemcpy_chk.c: Likewise.
51182         * debug/wmemmove_chk.c: Likewise.
51183         * debug/wmempcpy_chk.c: Likewise.
51184         * debug/wmemset_chk.c: Likewise.
51185         * dirent/scandirat.c (SCANDIRAT): Likewise.
51186         * dlfcn/dladdr1.c (dladdr1): Likewise.
51187         * dlfcn/dladdr.c (dladdr): Likewise.
51188         * dlfcn/dlclose.c (dlclose_doit): Likewise.
51189         * dlfcn/dlerror.c (__dlerror): Likewise.
51190         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
51191         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
51192         * dlfcn/dlopen.c (dlopen_doit): Likewise.
51193         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
51194         * dlfcn/dlsym.c (dlsym_doit): Likewise.
51195         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
51196         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
51197         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
51198         Likewise.
51199         * elf/dl-conflict.c: Likewise.
51200         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
51201         * elf/dl-dst.h: Likewise.
51202         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
51203         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
51204         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
51205         * elf/dl-init.c (call_init, _dl_init): Likewise.
51206         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
51207         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
51208         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
51209         Likewise.
51210         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
51211         Likewise.
51212         * elf/dl-minimal.c (__libc_memalign): Likewise.
51213         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
51214         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
51215         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
51216         * elf/dl-sym.c (do_sym): Likewise.
51217         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
51218         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
51219         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
51220         * elf/dl-writev.h (_dl_writev): Likewise.
51221         * elf/ldconfig.c (search_dir): Likewise.
51222         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
51223         (dl_main): Likewise.
51224         * elf/setup-vdso.h (setup_vdso): Likewise.
51225         * grp/compat-initgroups.c (compat_call): Likewise.
51226         * grp/fgetgrent.c (fgetgrent): Likewise.
51227         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
51228         * grp/putgrent.c (putgrent): Likewise.
51229         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
51230         Likewise.
51231         * hurd/hurdinit.c: Likewise.
51232         * iconvdata/8bit-gap.c (struct): Likewise.
51233         * iconvdata/ansi_x3.110.c : Likewise.
51234         * iconvdata/big5.c : Likewise.
51235         * iconvdata/big5hkscs.c : Likewise.
51236         * iconvdata/cp1255.c: Likewise.
51237         * iconvdata/cp1258.c : Likewise.
51238         * iconvdata/cp932.c : Likewise.
51239         * iconvdata/euc-cn.c: Likewise.
51240         * iconvdata/euc-jisx0213.c : Likewise.
51241         * iconvdata/euc-jp.c: Likewise.
51242         * iconvdata/euc-jp-ms.c : Likewise.
51243         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
51244         * iconvdata/gb18030.c : Likewise.
51245         * iconvdata/gbbig5.c (const): Likewise.
51246         * iconvdata/gbgbk.c: Likewise.
51247         * iconvdata/gbk.c : Likewise.
51248         * iconvdata/ibm1364.c : Likewise.
51249         * iconvdata/ibm930.c : Likewise.
51250         * iconvdata/ibm932.c: Likewise.
51251         * iconvdata/ibm933.c : Likewise.
51252         * iconvdata/ibm935.c : Likewise.
51253         * iconvdata/ibm937.c : Likewise.
51254         * iconvdata/ibm939.c : Likewise.
51255         * iconvdata/ibm943.c: Likewise.
51256         * iconvdata/iso_11548-1.c: Likewise.
51257         * iconvdata/iso-2022-cn.c : Likewise.
51258         * iconvdata/iso-2022-cn-ext.c : Likewise.
51259         * iconvdata/iso-2022-jp-3.c: Likewise.
51260         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
51261         * iconvdata/iso-2022-kr.c : Likewise.
51262         * iconvdata/iso646.c (gconv_end): Likewise.
51263         * iconvdata/iso_6937-2.c : Likewise.
51264         * iconvdata/iso_6937.c : Likewise.
51265         * iconvdata/iso8859-1.c: Likewise.
51266         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
51267         * iconvdata/shift_jisx0213.c : Likewise.
51268         * iconvdata/sjis.c : Likewise.
51269         * iconvdata/t.61.c : Likewise.
51270         * iconvdata/tcvn5712-1.c : Likewise.
51271         * iconvdata/tscii.c: Likewise.
51272         * iconvdata/uhc.c : Likewise.
51273         * iconvdata/unicode.c (gconv_end): Likewise.
51274         * iconvdata/utf-16.c (gconv_end): Likewise.
51275         * iconvdata/utf-32.c (gconv_end): Likewise.
51276         * iconvdata/utf-7.c (base64): Likewise.
51277         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
51278         * iconv/gconv_close.c (__gconv_close): Likewise.
51279         * iconv/gconv_open.c (__gconv_open): Likewise.
51280         * iconv/gconv_simple.c (internal_ucs4_loop_single)
51281         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
51282         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
51283         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
51284         (ucs4le_internal_loop_single): Likewise.
51285         * iconv/iconv.c (iconv): Likewise.
51286         * iconv/iconv_close.c: Likewise.
51287         * iconv/loop.c (SINGLE): Likewise.
51288         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
51289         * include/atomic.h: Likewise.
51290         * inet/inet6_option.c (option_alloc): Likewise.
51291         * intl/bindtextdom.c (set_binding_values): Likewise.
51292         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
51293         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
51294         * intl/localealias.c (read_alias_file): Likewise.
51295         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
51296         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
51297         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
51298         * libio/fmemopen.c (fmemopen): Likewise.
51299         * libio/iofgets.c (_IO_fgets): Likewise.
51300         * libio/iofgets_u.c (fgets_unlocked): Likewise.
51301         * libio/iofgetws.c (fgetws): Likewise.
51302         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
51303         * libio/iogetdelim.c (_IO_getdelim): Likewise.
51304         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
51305         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
51306         * locale/findlocale.c (_nl_find_locale): Likewise.
51307         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
51308         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
51309         Likewise.
51310         * locale/setlocale.c (setlocale): Likewise.
51311         * login/programs/pt_chown.c (main): Likewise.
51312         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
51313         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
51314         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
51315         (mmap, mmap64, mremap, munmap): Likewise.
51316         * math/e_exp2l.c: Likewise.
51317         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
51318         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
51319         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
51320         * math/s_catan.c (__catan): Likewise.
51321         * math/s_catanf.c (__catanf): Likewise.
51322         * math/s_catanh.c (__catanh): Likewise.
51323         * math/s_catanhf.c (__catanhf): Likewise.
51324         * math/s_catanhl.c (__catanhl): Likewise.
51325         * math/s_catanl.c (__catanl): Likewise.
51326         * math/s_ccosh.c (__ccosh): Likewise.
51327         * math/s_ccoshf.c (__ccoshf): Likewise.
51328         * math/s_ccoshl.c (__ccoshl): Likewise.
51329         * math/s_cexp.c (__cexp): Likewise.
51330         * math/s_cexpf.c (__cexpf): Likewise.
51331         * math/s_cexpl.c (__cexpl): Likewise.
51332         * math/s_clog10.c (__clog10): Likewise.
51333         * math/s_clog10f.c (__clog10f): Likewise.
51334         * math/s_clog10l.c (__clog10l): Likewise.
51335         * math/s_clog.c (__clog): Likewise.
51336         * math/s_clogf.c (__clogf): Likewise.
51337         * math/s_clogl.c (__clogl): Likewise.
51338         * math/s_csin.c (__csin): Likewise.
51339         * math/s_csinf.c (__csinf): Likewise.
51340         * math/s_csinh.c (__csinh): Likewise.
51341         * math/s_csinhf.c (__csinhf): Likewise.
51342         * math/s_csinhl.c (__csinhl): Likewise.
51343         * math/s_csinl.c (__csinl): Likewise.
51344         * math/s_csqrt.c (__csqrt): Likewise.
51345         * math/s_csqrtf.c (__csqrtf): Likewise.
51346         * math/s_csqrtl.c (__csqrtl): Likewise.
51347         * math/s_ctan.c (__ctan): Likewise.
51348         * math/s_ctanf.c (__ctanf): Likewise.
51349         * math/s_ctanh.c (__ctanh): Likewise.
51350         * math/s_ctanhf.c (__ctanhf): Likewise.
51351         * math/s_ctanhl.c (__ctanhl): Likewise.
51352         * math/s_ctanl.c (__ctanl): Likewise.
51353         * math/w_pow.c: Likewise.
51354         * math/w_powf.c: Likewise.
51355         * math/w_powl.c: Likewise.
51356         * math/w_scalb.c (sysv_scalb): Likewise.
51357         * math/w_scalbf.c (sysv_scalbf): Likewise.
51358         * math/w_scalbl.c (sysv_scalbl): Likewise.
51359         * misc/error.c (error_tail): Likewise.
51360         * misc/pselect.c (__pselect): Likewise.
51361         * nis/nis_callback.c (__nis_create_callback): Likewise.
51362         * nis/nis_call.c (__nisfind_server): Likewise.
51363         * nis/nis_creategroup.c (nis_creategroup): Likewise.
51364         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
51365         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
51366         * nis/nis_getservlist.c (nis_getservlist): Likewise.
51367         * nis/nis_lookup.c (nis_lookup): Likewise.
51368         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
51369         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
51370         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
51371         * nis/nis_xdr.c (xdr_endpoint): Likewise.
51372         * nis/nss_compat/compat-grp.c (getgrent_next_file)
51373         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
51374         * nis/nss_compat/compat-initgroups.c (add_group)
51375         (internal_getgrent_r): Likewise.
51376         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
51377         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
51378         * nis/nss_compat/compat-spwd.c (getspent_next_file)
51379         (internal_getspnam_r): Likewise.
51380         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
51381         (_nss_nis_getaliasbyname_r): Likewise.
51382         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
51383         (_nss_nis_getntohost_r): Likewise.
51384         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
51385         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
51386         (_nss_nis_getgrgid_r): Likewise.
51387         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
51388         (internal_nis_gethostent_r, internal_gethostbyname2_r)
51389         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
51390         (_nss_nis_gethostbyname4_r): Likewise.
51391         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
51392         (initgroups_netid): Likewise.
51393         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
51394         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
51395         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
51396         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
51397         (_nss_nis_getprotobynumber_r): Likewise.
51398         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
51399         (_nss_nis_getsecretkey): Likewise.
51400         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
51401         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
51402         (_nss_nis_getpwuid_r): Likewise.
51403         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
51404         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
51405         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
51406         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
51407         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
51408         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
51409         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
51410         Likewise.
51411         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
51412         (_nss_nisplus_getntohost_r): Likewise.
51413         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
51414         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
51415         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
51416         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
51417         Likewise.
51418         * nis/nss_nisplus/nisplus-initgroups.c
51419         (_nss_nisplus_initgroups_dyn): Likewise.
51420         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
51421         (_nss_nisplus_getnetbyaddr_r): Likewise.
51422         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
51423         (_nss_nisplus_getprotobynumber_r): Likewise.
51424         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
51425         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
51426         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
51427         Likewise.
51428         * nis/nss_nisplus/nisplus-service.c
51429         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
51430         (_nss_nisplus_getservbyport_r): Likewise.
51431         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
51432         (_nss_nisplus_getspnam_r): Likewise.
51433         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
51434         Likewise.
51435         * nscd/aicache.c (addhstaiX): Likewise.
51436         * nscd/cache.c (cache_search, prune_cache): Likewise.
51437         * nscd/connections.c (register_traced_file, send_ro_fd)
51438         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
51439         (main_loop_epoll): Likewise.
51440         * nscd/grpcache.c (addgrbyX): Likewise.
51441         * nscd/hstcache.c (addhstbyX): Likewise.
51442         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51443         * nscd/mem.c (gc, mempool_alloc): Likewise.
51444         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
51445         (addinnetgrX): Likewise.
51446         * nscd/nscd-client.h (__nscd_acquire_maplock)
51447         (__nscd_drop_map_ref): Likewise.
51448         * nscd/nscd_getai.c (__nscd_getai): Likewise.
51449         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
51450         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
51451         Likewise.
51452         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
51453         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51454         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
51455         (__nscd_get_map_ref): Likewise.
51456         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
51457         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
51458         Likewise.
51459         * nscd/pwdcache.c (addpwbyX): Likewise.
51460         * nscd/selinux.c (preserve_capabilities): Likewise.
51461         * nscd/servicescache.c (addservbyX): Likewise.
51462         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
51463         * posix/fnmatch.c (fnmatch): Likewise.
51464         * posix/getopt.c (_getopt_internal_r): Likewise.
51465         * posix/glob.c (glob, glob_in_dir): Likewise.
51466         * posix/wordexp.c (exec_comm_child): Likewise.
51467         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
51468         (getanswer_r, gaih_getanswer_slice): Likewise.
51469         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
51470         * resolv/res_init.c: Likewise.
51471         * resolv/res_mkquery.c (res_nmkquery): Likewise.
51472         * resolv/res_query.c (__libc_res_nquery): Likewise.
51473         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
51474         Likewise.
51475         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
51476         * stdio-common/perror.c (perror): Likewise.
51477         * stdio-common/printf_fp.c (___printf_fp): Likewise.
51478         * stdio-common/tmpnam.c (tmpnam): Likewise.
51479         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
51480         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
51481         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
51482         Likewise.
51483         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
51484         * stdlib/putenv.c (putenv): Likewise.
51485         * stdlib/setenv.c (__add_to_environ): Likewise.
51486         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
51487         * stdlib/strtol_l.c (INTERNAL): Likewise.
51488         * string/memmem.c (memmem): Likewise.
51489         * string/strerror.c (strerror): Likewise.
51490         * string/strnlen.c (__strnlen): Likewise.
51491         * string/test-memmem.c (simple_memmem): Likewise.
51492         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
51493         * sunrpc/pm_getport.c (__get_socket): Likewise.
51494         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
51495         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
51496         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
51497         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
51498         Likewise.
51499         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
51500         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
51501         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
51502         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
51503         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
51504         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
51505         Likewise.
51506         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
51507         Likewise.
51508         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
51509         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
51510         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51511         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
51512         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
51513         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
51514         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
51515         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
51516         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
51517         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
51518         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51519         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
51520         Likewise.
51521         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
51522         Likewise.
51523         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
51524         Likewise.
51525         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
51526         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51527         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
51528         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
51529         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
51530         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
51531         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
51532         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
51533         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
51534         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
51535         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
51536         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51537         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
51538         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
51539         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51540         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
51541         Likewise.
51542         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
51543         Likewise.
51544         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
51545         Likewise.
51546         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
51547         Likewise.
51548         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51549         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51550         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
51551         Likewise.
51552         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
51553         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
51554         * sysdeps/posix/opendir.c (__opendirat): Likewise.
51555         * sysdeps/posix/sleep.c: Likewise.
51556         * sysdeps/posix/tempname.c: Likewise.
51557         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
51558         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51559         Likewise.
51560         * sysdeps/powerpc/powerpc32/dl-machine.h
51561         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
51562         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
51563         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51564         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
51565         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
51566         Likewise.
51567         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
51568         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
51569         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
51570         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
51571         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
51572         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
51573         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
51574         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
51575         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51576         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
51577         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
51578         (elf_machine_lazy_rel): Likewise.
51579         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51580         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
51581         (elf_machine_lazy_rel): Likewise.
51582         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
51583         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
51584         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
51585         * sysdeps/unix/grantpt.c (grantpt): Likewise.
51586         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
51587         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
51588         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
51589         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51590         Likewise.
51591         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
51592         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
51593         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
51594         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
51595         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
51596         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
51597         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
51598         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
51599         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
51600         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
51601         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
51602         Likewise.
51603         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
51604         (__posix_fallocate64_l64): Likewise.
51605         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
51606         (posix_fallocate): Likewise.
51607         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
51608         Likewise.
51609         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51610         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
51611         (getifaddrs_internal): Likewise.
51612         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
51613         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
51614         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
51615         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
51616         * sysdeps/unix/sysv/linux/posix_fallocate64.c
51617         (__posix_fallocate64_l64): Likewise.
51618         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
51619         Likewise.
51620         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
51621         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
51622         (__get_clockfreq): Likewise.
51623         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
51624         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
51625         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
51626         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51627         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51628         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
51629         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
51630         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
51631         Likewise.
51632         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
51633         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
51634         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
51635         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
51636         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51637         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
51638         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
51639         Likewise.
51640         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
51641         (posix_fallocate): Likewise.
51642         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51643         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
51644         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
51645         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
51646         (elf_machine_rela, elf_machine_rela_relative)
51647         (elf_machine_lazy_rel): Likewise.
51648         * time/asctime.c (asctime_internal): Likewise.
51649         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
51650         * time/tzset.c (__tzset_parse_tz): Likewise.
51651         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
51652         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
51653         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
51654         * wcsmbs/wcsmbsload.h: Likewise.
51656         [BZ #15894]
51657         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
51659         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
51660         (arena_get2): Remove THREAD_STATS conditionals.
51661         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
51662         (__malloc_stats, int): Likewise.
51664 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
51666         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
51667         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
51669         * manual/setjmp.texi: Fix typos/grammar errors.
51671         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
51672         Only return early when n is <= 0.  Delete unused return statement.
51674         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
51675         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
51676         * debug/tst-longjmp_chk3.c: New file.
51678         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
51679         (test_main): Replace code with set_fortify_handler call.
51680         * debug/test-strcpy_chk.c: Likewise.
51681         * debug/tst-chk1.c: Likewise.
51682         * debug/tst-longjmp_chk.c: Likewise.
51683         * test-skeleton.c: Include fcntl.h & paths.h
51684         (set_fortify_handler): Define.
51686         * debug/tst-longjmp_chk.c: Add header comment and include
51687         ../test-skeleton.c.
51688         (do_test): Mark static.
51689         (TEST_FUNCTION): Define.
51691         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
51692         (IP_PMTUDISC_INTERFACE): Likewise.
51693         (IP_MULTICAST_IF): Likewise.
51694         (IP_MULTICAST_TTL): Likewise.
51695         (IP_MULTICAST_LOOP): Likewise.
51696         (IP_ADD_MEMBERSHIP): Likewise.
51697         (IP_DROP_MEMBERSHIP): Likewise.
51698         (IP_UNBLOCK_SOURCE): Likewise.
51699         (IP_BLOCK_SOURCE): Likewise.
51700         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
51701         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
51702         (IP_MSFILTER): Likewise.
51703         (MCAST_JOIN_GROUP): Likewise.
51704         (MCAST_BLOCK_SOURCE): Likewise.
51705         (MCAST_UNBLOCK_SOURCE): Likewise.
51706         (MCAST_LEAVE_GROUP): Likewise.
51707         (MCAST_JOIN_SOURCE_GROUP): Likewise.
51708         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
51709         (MCAST_MSFILTER): Likewise.
51710         (IP_MULTICAST_ALL): Likewise.
51711         (IP_UNICAST_IF): Likewise.
51713         * timezone/Makefile: Delete $(have-ksh) check.
51714         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
51715         * timezone/tzselect.ksh: Add +x mode bits.
51717         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
51718         (ANON_INODE_FS_MAGIC): Likewise.
51719         (BDEVFS_MAGIC): Likewise.
51720         (BINFMTFS_MAGIC): Likewise.
51721         (BTRFS_TEST_MAGIC): Likewise.
51722         (CRAMFS_MAGIC_WEND): Likewise.
51723         (DEBUGFS_MAGIC): Likewise.
51724         (ECRYPTFS_SUPER_MAGIC): Likewise.
51725         (EXT3_SUPER_MAGIC): Likewise.
51726         (EXT4_SUPER_MAGIC): Likewise.
51727         (FUTEXFS_SUPER_MAGIC): Likewise.
51728         (HOSTFS_SUPER_MAGIC): Likewise.
51729         (HUGETLBFS_MAGIC): Likewise.
51730         (MINIX3_SUPER_MAGIC): Likewise.
51731         (MTD_INODE_FS_MAGIC): Likewise.
51732         (NILFS_SUPER_MAGIC): Likewise.
51733         (OPENPROM_SUPER_MAGIC): Likewise.
51734         (PIPEFS_MAGIC): Likewise.
51735         (PSTOREFS_MAGIC): Likewise.
51736         (QNX6_SUPER_MAGIC): Likewise.
51737         (RAMFS_MAGIC): Likewise.
51738         (REISERFS_SUPER_MAGIC_STRING): Likewise.
51739         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
51740         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
51741         (SECURITYFS_MAGIC): Likewise.
51742         (SELINUX_MAGIC): Likewise.
51743         (SMACK_MAGIC): Likewise.
51744         (SOCKFS_MAGIC): Likewise.
51745         (SQUASHFS_MAGIC): Likewise.
51746         (STACK_END_MAGIC): Likewise.
51747         (TMPFS_MAGIC): Likewise.
51748         (USBDEVICE_SUPER_MAGIC): Likewise.
51749         (V9FS_MAGIC): Likewise.
51750         (XENFS_SUPER_MAGIC): Likewise.
51751         (CRAMFS_MAGIC): Fix typo in comment.
51752         (EXT2_SUPER_MAGIC): Update comment.
51753         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
51755 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
51757         * sysdeps/arm: Move directory from ports/sysdeps/arm.
51758         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
51759         * sysdeps/unix/sysv/linux/arm: Move directory from
51760         ports/sysdeps/unix/sysv/linux/arm.
51761         * README: Update listing for arm-*-linux-gnueabi.
51763         * README: Remove mention of am33.
51765 2014-02-07  Roland McGrath  <roland@hack.frob.com>
51767         * bits/sigset.h (__sigemptyset): Use a statement expression rather
51768         than the comma operator, to avoid "rhs of comma has no effect"
51769         compiler warnings.
51770         (__sigfillset, __sigandset, __sigorset): Likewise.
51771         * include/signal.h (__sigemptyset): Likewise.
51772         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
51774 2014-02-07  Allan McRae  <allan@archlinux.org>
51776         * version.h (RELEASE): Set to "development".
51777         (VERSION): Set to "2.19.90"
51778         * NEWS: Add 2.20 section.
51780 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
51782         [BZ #16529]
51783         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
51785 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51787         * manual/contrib.texi: Update entry for Carlos O'Donell,
51788         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
51790 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
51792         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
51794         * sysdeps/unix/sysv/linux/kernel-features.h
51795         [__LINUX_KERNEL_VERSION >= 0x020621]
51796         (__ASSUME_PROC_PID_TASK_COMM): Define.
51798 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51800         [BZ #16398]
51801         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
51802         conversion when destination buffer does not have enough space.
51803         * libio/tst-ftell-partial-wide.c: New test case.
51804         * libio/Makefile (tests): Add tst-ftell-partial-wide.
51806         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
51807         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
51808         Leonard and Allan McRae.
51810 2014-02-04  David S. Miller  <davem@davemloft.net>
51812         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
51813         32-bit.
51815 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
51818         New file
51819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
51820         New file
51821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
51822         New file.
51823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
51824         New file.
51825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
51826         New file.
51827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
51828         New file.
51829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
51830         New file.
51831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
51832         New file.
51833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
51834         New file.
51835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
51836         New file.
51837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
51838         New file.
51839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
51840         New file.
51841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
51842         New file.
51844 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51846         * nptl/shlib-versions: Change powerpc*le start to 2.17.
51847         * shlib-versions: Likewise.
51849 2014-02-04  Roland McGrath  <roland@hack.frob.com>
51850             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51852         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
51853         (abilist-pattern): New variable, set to %-le.abilist.
51855         * Makerules (abilist-pattern): New variable.
51856         (vpath): Use $(abilist-pattern) in place of %.abilist.
51857         (check-abi-% pattern rule): Likewise.
51858         (check-abi, update-abi): Likewise.
51860 2014-02-04  Eric Wong  <normalperson@yhbt.net>
51862         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51864 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
51866         * manual/startup.texi: Add next, previous, and top entries for
51867         the `Program Arguments' and `Environment Variables' nodes.
51869 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
51871         * manual/macros.texi: Add comments before MTASC-safety macros.
51873         * manual/users.texi: Document MTASC-safety properties.
51875         * manual/threads.texi (pthread_key_create, pthread_key_delete)
51876         (pthread_getspecific, pthread_setspecific): Format with
51877         @deftypefun, and add @safety note.
51878         * manual/signal.texi: Move comments that analyze the above
51879         functions to their home place.
51881 2014-02-03  Allan McRae  <allan@archlinux.org>
51883         * po/sl.po: Update Slovenian translation from translation project.
51885 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
51887         * manual/time.texi (timegm): Add missing blank after @c.
51888         Reported by Joseph Myers <joseph@codesourcery.com>.
51890 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
51892         * manual/check-safety.sh: New.
51893         * manual/Makefile ($(objpfx)stamp-summary): Run it.
51895         * manual/terminal.texi: Document MTASC-safety properties.
51897         * manual/filesys.texi: Document MTASC-safety properties.
51899         * manual/errno.texi: Document MTASC-safety properties.
51901         * manual/intro.texi: Document safety identifiers and
51902         conditionals.
51904         * manual/string.texi (wcstok): Fix prototype.
51905         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
51907         * manual/time.texi: Document MTASC-safety properties.
51909         * manual/string.texi: Document MTASC-safety properties.
51911         * manual/threads.texi: Document MTASC-safety properties.
51913         * manual/stdio.texi: Document MTASC-safety properties.
51915         * manual/syslog.texi: Document MTASC-safety properties.
51917         * manual/sysinfo.texi: Document MTASC-safety properties.
51919         * manual/startup.texi: Document MTASC-safety properties.
51921         * manual/socket.texi: Document MTASC-safety properties.
51923         * manual/signal.texi: Document MTASC-safety properties.
51925 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
51927         * manual/setjmp.texi: Document MTASC-safety properties.
51929         * manual/search.texi: Document MTASC-safety properties.
51931         * manual/resource.texi: Document MTASC-safety properties.
51933         * manual/process.texi: Document MTASC-safety properties.
51935         * manual/platform.texi: Document MTASC-safety properties.
51937         * manual/pipe.texi: Document MTASC-safety properties.
51939         * manual/pattern.texi: Document MTASC-safety properties.
51941         * manual/message.texi: Document MTASC-safety properties.
51943         [BZ #12751]
51944         * manual/memory.texi: Document MTASC-safety properties.
51946         * manual/math.texi: Document MTASC-safety properties.
51948         * manual/locale.texi: Document MTASC-safety properties.
51950         * manual/llio.texi: Document MTASC-safety properties.
51952         * manual/libdl.texi: New.
51954         * manual/lang.texi: Document MTASC-safety properties.
51956         * manual/job.texi: Document MTASC-safety properties.
51958         * manual/getopt.texi: Document MTASC-safety properties.
51960         * manual/ctype.texi: Document MTASC-safety properties.
51962 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
51964         [BZ #16046]
51965         * csu/libc-tls.c (static_map): Remove variable.
51966         (__libc_setup_tls): Use main executable's link map for TLS data.
51967         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
51968         casing for LM_ID_BASE and GL(dl_nns).
51969         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
51970         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
51971         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
51972         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
51973         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
51974         member.
51975         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
51976         l_phnum members.
51978 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
51980         * manual/debug.texi: Document MTASC-safety properties.
51982 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
51984         [BZ #16510]
51985         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
51986         of __x86_64__ when disabling x87 inline functions.
51988 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
51990         * manual/charset.texi: Document MTASC-safety properties.
51992         * manual/crypt.texi: Document MTASC-safety properties.
51994         * manual/conf.texi: Document MTASC-safety properties.
51996         * manual/arith.texi: Document MTASC-safety properties.
51998         * manual/argp.texi: Document MTASC-safety properties.
52000         * manual/macros.texi: Introduce macros to document multi
52001         thread, asynchronous signal and asynchronous cancellation
52002         safety properties.
52003         * manual/intro.texi: Introduce the properties themselves.
52005 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52007         * sysdeps/sh/sh4/Makefile: New file.
52009 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
52011         * math/gen-libm-test.pl ($srcdir): New variable.
52012         ($auto_input): Use it.
52014 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52016         [BZ #16506]
52017         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
52018         access beyond array bounds when parsing netgroups file.
52020         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
52021         the old buffer before realloc.
52023 2014-01-27  Allan McRae  <allan@archlinux.org>
52025         * po/fr.po: Update French translation from translation project.
52027 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52029         * sysdeps/sh/libm-test-ulps: Regenerate.
52031 2014-01-24  David S. Miller  <davem@davemloft.net>
52033         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
52035 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52037         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
52038         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
52040 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52042         [BZ #16474]
52043         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
52044         string pointers after reallocation.
52046 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52048         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
52049         __SH4A__ instead of __SH_FPU_ANY__.
52051 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52053         * sysdeps/sh/fpu_control.h: New file.
52054         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
52055         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
52056         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
52057         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
52058         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
52059         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
52060         * sysdeps/sh/sys/ucontext.h: Remove.
52061         * sysdeps/sh/sys: Remove directory.
52063 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52065         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
52066         s390/sys/ucontext.h.
52067         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
52068         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
52070 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
52072         [BZ #15605]
52073         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
52075 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52077         [BZ #16431]
52078         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
52079         Adjust the vDSO correctly for internal calls.
52080         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
52082 2014-01-20  Allan McRae  <allan@archlinux.org>
52084         * po/ca.po: Update Catalan translation from translation project.
52086 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
52088         * sysdeps/s390/sotruss-lib.c: New file.
52090 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52092         [BZ #16430]
52093         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
52094         (__GI___gettimeofday): Alias for a different internal symbol to avoid
52095         local calls issues by not having a PLT stub required for IFUNC calls.
52096         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
52098 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
52100         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
52101         * math/test-fpucw-static.c: Likewise.
52103 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52105         [BZ #16453]
52106         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
52108 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52110         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
52111         implementation for powerpc.
52113 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
52115         [BZ #14782]
52116         * sysdeps/posix/system.c (__libc_system): Do not enable
52117         asynchronous cancellation.
52119 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52121         [BZ #16427]
52122         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
52123         handling only for numbers special also in the IEEE case.
52125 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52127         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52129 2014-01-11  Allan McRae  <allan@archlinux.org>
52131         * po/bg.po: Update Bulgarian translation from translation project.
52133         * po/de.po: Update German translation from translation project.
52135 2014-01-10  Roland McGrath  <roland@hack.frob.com>
52137         * sysdeps/generic/gcc-compat.h: New file.
52139 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52141         * benchtests/asin-inputs: Correct slow inputs.
52142         * benchtests/acos-inputs: Likewise.
52144 2014-01-10  Allan McRae  <allan@archlinux.org>
52146         * po:sv.po: Update Swedish translation from translation project.
52148         * po/vi.po: Update Vietnamese translation from translation project.
52150         * po/eo.po: Update Esperanto translation from translation project.
52152         * po/cs.po: Update Czech translation from translation project.
52154         * po/nl.po: Update Dutch translation from translation project.
52156         * po/pl.po: Update Polish translation from translation project.
52158         * po/ru.po: Update Russian translation from translation project.
52160         * po/uk.po: Update Ukrainian translation from translation project.
52162 2014-01-08  Brooks Moses  <bmoses@google.com>
52164         * elf/dl-load.c: Fix comment typo.
52166 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
52168         * po/header.pot: Rename to...
52169         * po/pot.header: ... this.
52170         * po/Makefile: Use pot.header.
52172 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
52173             Maxim Kuvyrkov  <maxim@kugelworks.com>
52175         [BZ #16394]
52176         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
52177         SRC and DEST against LEN.
52179 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52181         [BZ #16414]
52182         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
52183         implementation.
52184         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
52186 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52190 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
52192         [BZ #16408]
52193         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
52194         for large positive arguments.
52196 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
52198         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
52200         * math/auto-libm-test-in: Mark various tests with
52201         xfail-rounding:ldbl-128ibm.
52202         * math/auto-libm-test-out: Regenerated.
52204         [BZ #16407]
52205         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
52206         Increase overflow threshold.
52208 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
52210         [BZ #14286]
52211         * stdio-common/vfprintf.c: Check for integer overflow.
52213 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52215         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
52216         the first argument and return value of __tls_get_addr_internal.
52218 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52220         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
52221         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
52223 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52225         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
52226         * sysdeps/s390/rtld-global-offsets.sym: New file.
52227         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
52228         GLIBC_2.19 symbol.
52229         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
52230         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
52231         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
52232         ... this.
52233         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
52234         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
52235         ... this.
52236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52237         Regenerate.
52238         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52239         Regenerate.
52240         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
52241         halfs of GPRs for high_gprs contexts.
52242         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
52243         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
52244         field.
52245         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
52246         uc_flags field.
52247         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
52248         64 bit versions:
52249         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
52250         for high GPRs (uc_high_gprs) and for future extensions
52251         (__reserved).
52252         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
52253         for future extensions (__reserved).
52254         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
52255         64 bit versions:
52256         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
52257         SC_HIGHGPRS offset definition.
52258         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
52259         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
52261         * Versions.def: Add GLIBC_2.19 for libpthread.
52262         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
52263         siglongjmp for libpthread with GLIBC_2.19 symver.
52264         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
52265         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
52266         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
52267         * sysdeps/s390/__longjmp.c: New file.
52268         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
52269         * sysdeps/s390/longjmp.c: New file.
52270         * sysdeps/s390/setjmp.S: New file.
52271         * sysdeps/s390/sigjmp.S: New file.
52272         * sysdeps/s390/v1-longjmp.c: New file.
52273         * sysdeps/s390/v1-setjmp.h: New file.
52274         * sysdeps/s390/v1-sigjmp.c: New file.
52275         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
52276         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
52277         GLIBC_2.19 version.
52278         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
52279         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
52280         versioned symbols for ____longjmp_chk.
52281         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
52282         Likewise.
52283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52284         Regenerate.
52285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52286         Regenerate.
52287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52288         Regenerate.
52289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52290         Regenerate.
52291         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
52292         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
52293         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
52294         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
52295         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
52296         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
52297         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
52298         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
52299         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
52300         * sysdeps/s390/rtld-__longjmp.c: New file.
52301         * sysdeps/s390/rtld-setjmp.S: New file.
52303 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
52305         [BZ #16400]
52306         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
52307         Return -__logl (x) for small positive arguments without evaluating
52308         a polynomial.
52310 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
52312         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
52313         Rename to ...
52314         (__ptrace_peeksiginfo_args): ... this.
52315         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52316         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52317         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52319 2014-01-06  Allan McRae  <allan@archlinux.org>
52321         * inet/netinet/in.h: Fix typo in comment.
52323 2014-01-05  Andreas Jaeger  <aj@suse.de>
52325         * sysdeps/i386/fpu/libm-test-ulps: Update.
52327 2014-01-05  Allan McRae  <allan@archlinux.org>
52329         * po/libc.pot: Regenerated.
52331         * malloc/memusagestat.c: Fix gettext call formatting.
52333 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
52335         * nscd/nscd.c: Improve usage() output.
52337 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
52339         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
52340         * sysdeps/unix/sysv/linux/configure: Regenerated.
52341         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
52342         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
52344 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
52346         [BZ #16390]
52347         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
52348         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
52350 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52352         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
52353         extra tokens at end of #undef directive.
52354         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
52355         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
52356         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
52358 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
52360         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
52362         * math/auto-libm-test-in: Mark various tests with
52363         xfail-rounding:ldbl-128ibm.
52364         * math/auto-libm-test-out: Regenerated.
52366 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
52368         [BZ #16386]
52369         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
52370         numbers with subnormal high part when calculating exponent.
52372         [BZ #16385]
52373         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
52374         fabs.
52376         [BZ #16384]
52377         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
52378         M_LN2l.
52379         (__ieee754_acoshl): Use __log1pl not __log1p.
52381 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
52383         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
52384         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
52385         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
52386         (grow_heap, heap_trim, _int_new_arena, get_free_list)
52387         (reused_arena, arena_get2): Convert to GNU style.
52388         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
52389         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
52390         (memalign_check, __malloc_set_state): Likewise.
52391         * malloc/mallocbug.c (main): Likewise.
52392         * malloc/malloc.c (__malloc_assert, malloc_init_state)
52393         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
52394         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
52395         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
52396         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
52397         (__posix_memalign, malloc_info): Likewise.
52398         * malloc/malloc.h: Likewise.
52399         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
52400         (mallochook, memalignhook, reallochook, mabort): Likewise.
52401         * malloc/mcheck.h: Likewise.
52402         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
52403         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
52404         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
52405         * malloc/morecore.c (__default_morecore): Likewise.
52406         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
52407         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
52408         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
52409         (print_and_abort): Likewise.
52410         * malloc/obstack.h: Likewise.
52411         * malloc/set-freeres.c (__libc_freeres): Likewise.
52412         * malloc/tst-mallocstate.c (main): Likewise.
52413         * malloc/tst-mtrace.c (main): Likewise.
52414         * malloc/tst-realloc.c (do_test): Likewise.
52416 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52418         [BZ #16366]
52419         * nscd/netgroupcache.c (do_notfound): New function.
52420         (addgetnetgrentX): Use it.
52422         [BZ # 16365]
52423         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
52424         NSS_STATUS_NOTFOUND.
52426 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
52428         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
52429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52431 2014-01-01  Allan McRae  <allan@archlinux.org>
52433         * scripts/update-copyrights: Update configure input file suffix.
52435         * NEWS: Update copyright year.
52436         * catgets/gencat.c: Likewise.
52437         * csu/version.c: Likewise.
52438         * debug/catchsegv.sh: Likewise.
52439         * debug/pcprofiledump.c: Likewise.
52440         * debug/xtrace.sh: Likewise.
52441         * elf/ldconfig.c: Likewise.
52442         * elf/ldd.bash.in: Likewise.
52443         * elf/pldd.c: Likewise.
52444         * elf/sotruss.ksh: Likewise.
52445         * elf/sprof.c: Likewise.
52446         * iconv/iconv_prog.c: Likewise.
52447         * iconv/iconvconfig.c: Likewise.
52448         * locale/programs/locale.c: Likewise.
52449         * locale/programs/localedef.c: Likewise.
52450         * login/programs/pt_chown.c: Likewise.
52451         * malloc/memusage.sh: Likewise.
52452         * malloc/memusagestat.c: Likewise.
52453         * malloc/mtrace.pl: Likewise.
52454         * manual/libc.texinfo: Likewise.
52455         * nscd/nscd.c: Likewise.
52456         * nss/getent.c: Likewise.
52457         * nss/makedb.c: Likewise.
52458         * posix/getconf.c: Likewise.
52459         * scripts/test-installation.pl: Likewise.
52461         * All files with FSF copyright notices: Update copyright dates
52462         using scripts/update-copyrights.
52463         * intl/plural.c: Regenerated.
52464         * locale/programs/charmap-kw.h: Likewise.
52465         * locale/programs/locfile-kw.h: Likewise.
52467 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
52469         * sysdeps/unix/sysv/linux/configure: Regenerated.
52470         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
52471         the linux/fanotify.h header.
52472         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
52473         HAVE_LINUX_FANOTIFY_H is defined.
52475 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52477         * benchtests/cos-inputs: New inputs.
52478         * benchtests/sin-inputs: Likewise.
52480         * benchtests/atan-inputs: New inputs. Fix name of multiple
52481         precision fallback inputs.
52483         * benchtests/atanh-inputs: New inputs.
52484         * benchtests/tanh-inputs: Likewise.
52486         * benchtests/acosh-inputs: New inputs.
52487         * benchtests/asinh-inputs: Likewise.
52489         * benchtests/cosh-inputs: New inputs.
52490         * benchtests/sinh-inputs: Likewise.
52492         * benchtests/acos-inputs: Add more inputs.
52493         * benchtests/asin-inputs: Likewise.
52495 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
52497         [BZ #16375]
52498         * manual/arith.texi: Fix spelling.
52499         * manual/charset.texi: Likewise.
52500         * manual/errno.texi: Likewise.
52501         * manual/filesys.texi: Likewise.
52502         * manual/lang.texi: Likewise.
52503         * manual/llio.texi: Likewise.
52504         * manual/locale.texi: Likewise.
52505         * manual/message.texi: Likewise.
52506         * manual/resource.texi: Likewise.
52507         * manual/search.texi: Likewise.
52508         * manual/setjmp.texi: Likewise.
52509         * manual/stdio.texi: Likewise.
52510         * manual/string.texi: Likewise.
52511         * manual/sysinfo.texi: Likewise.
52512         * manual/time.texi: Likewise.
52514 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
52516         * po/sl.po: New file.
52518 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
52520         * .gitignore: Add core/.gdbinit/.gdb_history.
52522 2013-12-27  Allan McRae  <allan@archlinux.org>
52524         [BZ #16369]
52525         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
52526         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
52528 2013-12-24  Brooks Moses  <bmoses@google.com>
52530         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
52531         all compilers that claim C++98 compliance, not just GCC.
52532         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
52533         Likewise.
52535 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
52537         * NEWS: Restore accidentally deleted bug-fix entries.
52539 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
52540             Ondřej Bílka  <neleai@seznam.cz>
52542         [BZ #15073]
52543         * malloc/malloc.c (_int_free): Perform sanity check only if we
52544         have_lock.
52546 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
52548         [BZ #12986]
52549         * manual/stdio.texi (String Input Conversions): Clarify that character
52550         classes are not supported.
52552 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52556 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
52558         [BZ #16337]
52559         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
52560         Calculate results for small negative arguments directly rather
52561         than using reflection formula with special underflow handling.
52563         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
52564         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
52565         sysdeps/unix/bsd/bsd4.4/syscalls.list.
52566         (fchflags): Likewise.
52567         (revoke): Likewise.
52568         (setlogin): Likewise.
52569         (sigaltstack): Likewise.
52570         (wait4): Likewise.
52571         (sigblock): Remove.
52572         (sigsetmask): Likewise.
52573         (wait3): Likewise.
52574         (waitpid): Likewise.
52575         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
52576         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
52577         file.
52578         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
52579         * sysdeps/unix/bsd/Makefile: ... here.
52580         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
52581         * sysdeps/unix/bsd/Versions: ... here.
52582         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
52583         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
52584         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
52585         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
52586         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
52587         * sysdeps/unix/bsd/sigblock.c: ... here.
52588         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
52589         * sysdeps/unix/bsd/sigsetmask.c: ... here.
52590         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
52591         * sysdeps/unix/bsd/sigvec.c: ... here.
52592         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
52593         * sysdeps/unix/bsd/tcdrain.c: ... here.
52594         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
52595         * sysdeps/unix/bsd/tcgetattr.c: ... here.
52596         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
52597         * sysdeps/unix/bsd/tcsetattr.c: ... here.
52598         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
52599         * sysdeps/unix/bsd/wait.c: ... here.
52600         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
52601         * sysdeps/unix/bsd/wait3.c: ... here.
52602         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
52603         * sysdeps/unix/bsd/waitpid.c: ... here.
52605 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
52607         [BZ #16356]
52608         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
52609         round-to-nearest for [!USE_AS_EXPM1L].
52610         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
52611         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
52612         more tests of exp and exp10.  Expect some exp10 tests to miss
52613         exceptions or fail in directed rounding modes.
52614         * math/auto-libm-test-out: Regenerated.
52615         * math/libm-test.inc (exp10_tonearest_test_data): New array.
52616         (exp10_test_tonearest): New function.
52617         (exp10_towardzero_test_data): New array.
52618         (exp10_test_towardzero): New function.
52619         (exp10_downward_test_data): New array.
52620         (exp10_test_downward): New function.
52621         (exp10_upward_test_data): New array.
52622         (exp10_test_upward): New function.
52623         (main): Call the new functions.
52624         * sysdeps/i386/fpu/libm-test-ulps: Update.
52625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52627 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
52629         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
52630         asinh, atan, atan2, atanh, cbrt, cos and cosh.
52631         * math/auto-libm-test-out: Regenerated.
52632         * math/libm-test.inc (acosh_test_data): Add more tests.
52633         (atanh_test_data): Likewise.
52634         (ceil_test_data): Likewise.
52635         (copysign_test_data): Likewise.
52636         * sysdeps/i386/fpu/libm-test-ulps: Update.
52637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52639         * timezone/checktab.awk: Update from tzcode 2013i.
52640         * timezone/private.h: Likewise.
52641         * timezone/scheck.c: Likewise.
52642         * timezone/tzfile.h: Likewise.
52643         * timezone/tzselect.ksh: Likewise.
52644         * timezone/zdump.c: Likewise.
52645         * timezone/zic.c: Likewise.
52647         * math/auto-libm-test-in: Add tests of cpow.
52648         * math/auto-libm-test-out: Regenerated.
52649         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
52650         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52651         mpc_cc_c.
52652         (func_calc_desc): Add mpc_cc_c union field.
52653         (test_functions): Add cpow.
52654         (special_fill_2pi): New function.
52655         (special_real_inputs): Add 2pi.
52656         (calc_generic_results): Handle mpc_cc_c.
52657         * sysdeps/i386/fpu/libm-test-ulps: Update.
52658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52660         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
52661         csqrt, ctan and ctanh.
52662         * math/auto-libm-test-out: Regenerated.
52663         * math/libm-test.inc (TEST_COND_x86_64): New macro.
52664         (TEST_COND_x86): Likewise.
52665         (ccos_test_data): Use AUTO_TESTS_c_c.
52666         (ccosh_test_data): Likewise.
52667         (cexp_test_data): Likewise.
52668         (clog_test_data): Likewise.
52669         (csqrt_test_data): Likewise.
52670         (ctan_test_data): Likewise.
52671         (ctan_tonearest_test_data): Likewise.
52672         (ctan_towardzero_test_data): Likewise.
52673         (ctan_downward_test_data): Likewise.
52674         (ctan_upward_test_data): Likewise.
52675         (ctanh_test_data): Likewise.
52676         (ctanh_tonearest_test_data): Likewise.
52677         (ctanh_towardzero_test_data): Likewise.
52678         (ctanh_downward_test_data): Likewise.
52679         (ctanh_upward_test_data): Likewise.
52680         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52681         mpc_c_c.
52682         (func_calc_desc): Add mpc_c_c union field.
52683         (FUNC_mpc_c_c): New macro.
52684         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
52685         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
52686         ctanh.
52687         (special_fill_min_subnorm_p120): New function.
52688         (special_real_inputs): Add min_subnorm_p120.
52689         (calc_generic_results): Handle mpc_c_c.
52690         * sysdeps/i386/fpu/libm-test-ulps: Update.
52691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52693 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52695         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
52696         (do_sin_slow): New functions.
52697         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
52698         (cslow2, csloww1, csloww2): Use the new functions.
52700         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
52701         Use M to change sign of result instead of X.  Assume X is
52702         positive.
52703         (csloww1): Likewise.
52704         (__sin): Adjust.
52705         (__cos): Adjust.
52707         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
52708         arguments A and DA.
52709         (__sin): Adjust.
52710         (__cos): Likewise.
52712         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
52713         (__cos): Likewise.
52714         (sloww1): Don't adjust sign of DX.
52715         (csloww1): Likewise.
52716         (sloww2): Use X directly and don't adjust sign of DX.
52717         (csloww2): Likewise.
52719 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52721         * math/auto-libm-test-in: Add tests of cabs and carg.
52722         * math/auto-libm-test-out: Regenerated.
52723         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
52724         (carg_test_data): Likewise.
52725         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52726         mpc_c_f.
52727         (func_calc_desc): Add mpc_c_f union field.
52728         (test_functions): Add cabs and carg.
52729         (calc_generic_results): Handle mpc_c_f.
52731         * sysdeps/powerpc/powerpc32/libgcc-compat.S
52732         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
52733         as a macro and a compat symbol.
52734         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
52735         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
52736         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
52737         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
52738         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
52739         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
52740         not use .hidden.
52741         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
52742         Likewise.
52743         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
52744         Likewise.
52745         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
52746         Likewise.
52747         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
52748         Likewise.
52749         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
52750         Likewise.
52751         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
52752         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
52753         from GLIBC_2.3.2.
52755 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52757         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52759 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52761         * manual/texinfo.tex: Update to version 2013-11-26.10 with
52762         trailing whitespace removed.
52763         * scripts/config.guess: Update to version 2013-11-29.
52764         * scripts/config.sub: Update to version 2013-10-01.
52766         * math/auto-libm-test-in: Add tests of sincos.
52767         * math/auto-libm-test-out: Regenerated.
52768         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
52769         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52770         mpfr_f_11.
52771         (func_calc_desc): Add mpfr_f_11 union field.
52772         (test_functions): Add sincos.
52773         (calc_generic_results): Handle mpfr_f_11.
52774         * sysdeps/i386/fpu/libm-test-ulps: Update.
52775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52777 2013-12-19  Andreas Schwab  <schwab@suse.de>
52779         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
52780         CALL_MCOUNT.
52781         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
52782         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
52783         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
52785 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52787         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
52788         * sysdeps/i386/fpu/libm-test-ulps: Update.
52789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52791         [BZ #16293]
52792         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
52793         round-to-nearest mode when using frndint.
52794         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
52795         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
52796         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
52797         Likewise.
52798         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
52799         sinh test to fail.
52800         * math/auto-libm-test-out: Regenerated.
52801         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
52802         (TEST_COND_x86): Likewise.
52803         (expm1_tonearest_test_data): New array.
52804         (expm1_test_tonearest): New function.
52805         (expm1_towardzero_test_data): New array.
52806         (expm1_test_towardzero): New function.
52807         (expm1_downward_test_data): New array.
52808         (expm1_test_downward): New function.
52809         (expm1_upward_test_data): New array.
52810         (expm1_test_upward): New function.
52811         (main): Run the new test functions.
52812         * sysdeps/i386/fpu/libm-test-ulps: Update.
52813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52815         * include/features.h: Update comment documenting feature test
52816         macros.  Mention _DEFAULT_SOURCE in comment.
52817         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
52818         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
52819         _BSD_SOURCE and _SVID_SOURCE.
52820         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
52821         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
52822         !_SVID_SOURCE]: Likewise.
52823         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52824         (__USE_POSIX_IMPLICITLY): Define.
52825         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52826         (_POSIX_SOURCE): Undefine and redefine.
52827         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52828         (_POSIX_C_SOURCE): Likewise.
52829         * manual/creature.texi (_DEFAULT_SOURCE): Document.
52830         (Feature Test Macros): Update documentation of default features.
52832 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52834         * benchtests/Makefile: Add bench-strtok.
52835         * benchtests/bench-strtok.c: New file: strtok benchtest.
52837 2013-12-19  Allan McRae  <allan@archlinux.org>
52839         * manual/install.texi: Suppress menu for plain text output.
52840         * INSTALL: Regenerated.
52842 2013-12-18  Brooks Moses  <bmoses@google.com>
52844         [BZ #15846]
52845         * misc/getauxval.c: Include errno.h.
52846         (__getauxval): Set errno to ENOENT if the requested type is not
52847         found.
52848         * misc/sys/auxv.h (getauxval): Document that it may set errno;
52849         don't declare with __attribute_const__.
52850         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
52851         * manual/startup.texi: Document that getauxval sets errno.
52853 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
52855         * math/auto-libm-test-in: Add tests of jn and yn.
52856         * math/auto-libm-test-out: Regenerated.
52857         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
52858         (yn_test_data): Likewise.
52859         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52860         mpfr_if_f.
52861         (func_calc_desc): Add mpfr_if_f union field.
52862         (FUNC_mpfr_if_f): New macro.
52863         (test_functions): Add jn and yn.
52864         (calc_generic_results): Assert type of second input for
52865         mpfr_ff_f.  Handle mpfr_if_f.
52866         (output_for_one_input_case): Disable all checking for arguments
52867         fitting floating-point types in case of an integer argument.
52868         * sysdeps/i386/fpu/libm-test-ulps: Update.
52869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
52872         Don't expect fegetround reference in libm.so.
52874 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52876         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
52877         $(config-cflags-nofma).
52879 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
52881         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
52882         * math/auto-libm-test-out: Regenerated.
52884         [BZ #16338]
52885         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
52886         to determine exponent and adjust argument to have exponent of -1.
52887         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
52888         log2.
52889         * math/auto-libm-test-out: Regenerated.
52890         * sysdeps/i386/fpu/libm-test-ulps: Update.
52891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52893 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
52895         * manual/probes.texi: Remove cases when per-thread arenas are
52896         disabled.
52898 2013-12-18  Andreas Schwab  <schwab@suse.de>
52900         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
52901         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
52902         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
52903         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
52904         * sysdeps/i386/i686/multiarch/Makefile: Update.
52905         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
52907 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52909         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
52910         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
52912 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
52914         [BZ #15968]
52915         Support TZ transition times < 00:00:00.
52916         This is needed for version-3 tz-format files; it supports time
52917         stamps past 2037 for America/Godthab (the only entry in the tz
52918         database for which this change is relevant).
52919         * manual/time.texi (TZ Variable): Document transition times
52920         from -167:59:59 through -00:00:01.
52921         * time/tzset.c (tz_rule): Time of day is now signed.
52922         (__tzset_parse_tz): Parse negative time of day.
52924         Document TZ transition times >= 25:00:00.
52925         * manual/time.texi (TZ Variable): Document transition times from
52926         25:00:00 through 167:59:59.  These are already supported, and this
52927         support will help with version-3 tz-format files.
52929         * manual/time.texi (TZ Variable): Modernize North America example
52930         to reflect current (i.e., 2007-and-later) daylight saving rules.
52932         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
52934 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52936         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
52937         * sysdeps/unix/bsd/bits/stat.h: Likewise.
52938         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
52939         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
52940         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
52941         * sysdeps/unix/bsd/bsdstat.h: Likewise.
52942         * sysdeps/unix/bsd/clock.c: Likewise.
52943         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
52944         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
52945         * sysdeps/unix/bsd/init-posix.c: Likewise.
52946         * sysdeps/unix/bsd/poll.c: Likewise.
52947         * sysdeps/unix/bsd/ptsname.c: Likewise.
52948         * sysdeps/unix/bsd/seekdir.c: Likewise.
52949         * sysdeps/unix/bsd/setegid.c: Likewise.
52950         * sysdeps/unix/bsd/seteuid.c: Likewise.
52951         * sysdeps/unix/bsd/setgid.c: Likewise.
52952         * sysdeps/unix/bsd/setrgid.c: Likewise.
52953         * sysdeps/unix/bsd/setruid.c: Likewise.
52954         * sysdeps/unix/bsd/setsid.c: Likewise.
52955         * sysdeps/unix/bsd/setuid.c: Likewise.
52956         * sysdeps/unix/bsd/sigaction.c: Likewise.
52957         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
52958         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
52959         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
52960         * sysdeps/unix/bsd/telldir.c: Likewise.
52961         * sysdeps/unix/bsd/times.c: Likewise.
52962         * sysdeps/unix/bsd/usleep.c: Likewise.
52964         * misc/Makefile (install-lib): Remove libbsd-compat.a.
52965         ($(objpfx)libbsd-compat.a): Remove rule.
52967         * include/features.h (__FAVOR_BSD): Do not define.
52968         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
52969         features conflicting with POSIX.
52970         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
52971         (_BSD_SOURCE): Remove description of not being a subset of other
52972         feature test macros.
52973         * manual/job.texi (getpgrp): Do not document BSD version.
52974         (getpgid): Do not document by reference to BSD getpgrp.
52975         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
52976         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
52977         * signal/signal.h [__FAVOR_BSD]: Likewise.
52978         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
52979         instead of making contents conditional on [__FAVOR_BSD].
52980         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
52982 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52986 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52988         [BZ #16314]
52989         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
52990         values below 2**-450, not 2**-500.
52991         * math/auto-libm-test-in: Don't allow spurious underflow from
52992         hypot.
52993         * math/auto-libm-test-out: Regenerated.
52995         [BZ #16316]
52996         [BZ #16330]
52997         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
52998         values of ha and hb and sort them after adjusting subnormal
52999         arguments.
53000         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
53001         Likewise.
53002         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
53003         values of ea and eb and sort them after adjusting subnormal
53004         arguments.
53005         * math/auto-libm-test-in: Do not expect some hypot tests of
53006         subnormals to fail.  Add more hypot tests.
53007         * math/auto-libm-test-out: Regenerated.
53009 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53011         [BZ #13304]
53012         * sysdeps/sh/s_fma.c: New file.
53013         * sysdeps/sh/s_fmaf.c: New file.
53014         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
53015         version.
53016         * sysdeps/sh/Implies: Add sh/soft-fp.
53018 2013-12-16  Roland McGrath  <roland@hack.frob.com>
53020         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
53021         level of indirection to members `objname', `errstring', `malloced'.
53022         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
53023         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
53024         it as the __longjmp argument (just pass 1 instead).
53025         (_dl_catch_error): Initialize C with argument pointers and address of
53026         volatile local ERRCODE rather than copying values out of C at return.
53028 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
53030         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
53031         * math/auto-libm-test-out: Regenerated.
53032         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
53033         (hypot_test_data): Likewise.
53034         (pow_test_data): Likewise.
53035         (pow_tonearest_test_data): Likewise.
53036         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53037         mpfr_ff_f.
53038         (func_calc_desc): Add mpfr_ff_f union field.
53039         (FUNC_mpfr_ff_f): New macro.
53040         (test_functions): Add atan2, hypot and pow.
53041         (special_fill_min): New function.
53042         (special_fill_minus_min): Likewise.
53043         (special_fill_min_subnorm): Likewise.
53044         (special_fill_minus_min_subnorm): Likewise.
53045         (special_real_inputs): Add min, -min, min_subnorm and
53046         -min_subnorm.
53047         (calc_generic_results): Handle mpfr_ff_f.
53048         * sysdeps/i386/fpu/libm-test-ulps: Update.
53049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53051 2013-12-16  Will Newton  <will.newton@linaro.org>
53053         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
53054         (Aligned Memory Blocks): Add documentation for aligned_alloc
53055         and suggest it as an alternative to posix_memalign.
53056         (Hooks for Malloc): Document __memalign_hook is also called
53057         for aligned_alloc.  (Summary of Malloc): Add summary for
53058         aligned alloc.  Document __memalign_hook is also called
53059         for aligned_alloc.
53061 2013-12-16  Will Newton  <will.newton@linaro.org>
53063         * manual/memory.texi (Malloc Examples): Clarify default
53064         alignment documentation.  Suggest posix_memalign rather
53065         than memalign or valloc.
53066         (Aligned Memory Blocks): Remove suggestion to use memalign
53067         or valloc.  Remove obsolete comment about BSD.
53068         Document memalign errno values and mark the function obsolete.
53069         Document posix_memalign returned error codes.  Mark valloc
53070         as obsolete.  (Hooks for Malloc): __memalign_hook is also
53071         called for posix_memalign and valloc.
53072         (Summary of Malloc): Add posix_memalign to function summary.
53073         __memalign_hook is also called for posix_memalign and valloc.
53075 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53077         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
53078         TAYLOR_SIN.
53079         (__sin): Adjust.
53080         (__cos): Likewise.
53081         (sloww): Use mynumber union.  Expand ternary operator into
53082         if-else statements.
53083         (cslow): use mynumber union.
53085 2013-12-16  Allan McRae  <allan@archlinux.org>
53087         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
53088         * configure: Regenerated.
53090         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
53092         [BZ #14120]
53093         * configure.ac: Added --enable-maintainer-mode. Check for
53094         autoconf when enabled.
53095         * configure: Regenerated.
53097         * nscd/nscd.service: New file.
53098         * nscd/nscd.tmpfiles: New file.
53100 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
53102         [BZ #12100]
53103         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
53104         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
53105         * sysdeps/x86_64/multiarch/strstr.c: ... here.
53106         (strstr): Add __strstr_sse2_unaligned ifunc.
53107         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
53108         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
53109         (strcasestr): Remove __strcasestr_sse42 ifunc.
53110         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
53111         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53112         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
53114 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53116         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
53117         * sysdeps/sh/bits/fenv.h: ... here.
53118         * sysdeps/sh/sh4/fpu/bits: Remove directory.
53120 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53122         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
53124         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
53125         hypotf multiarch implementations.
53126         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
53127         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
53128         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
53129         multiarch hypot for PPC64.
53130         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
53131         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
53132         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
53133         multiarch hypotf for PPC64.
53135         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
53136         modff multiarch implementations.
53137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
53138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
53139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
53140         multiarch modf for PPC64.
53141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
53142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
53143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
53144         multiarch modff for PPC64.
53146         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
53147         and logl multiarch implementations.
53148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
53149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
53150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
53151         multiarch logb for PPC64.
53152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
53153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
53154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
53155         multiarch logb for PPC64.
53156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
53157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
53158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
53159         multiarch logb for PPC64.
53161         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
53162         isinff multiarch implementation.
53163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
53164         file.
53165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
53166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
53167         multiarch isinf for PPC64.
53168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
53169         file.
53170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
53171         multiarch isinff for PPC64.
53173         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
53174         finitef multiarch implementation.
53175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
53176         file.
53177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
53178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
53179         multiarch finite for PPC64.
53180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
53181         file.
53182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
53183         multiarch finitef for PPC64.
53185         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
53186         lrint multiarch implementation.
53187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
53188         file.
53189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
53190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
53191         multiarch llrint for PPC64.
53192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
53193         multiarch lrint for PPC64.
53195         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
53196         copysignf multiarch implementation.
53197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
53198         file.
53199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
53200         file.
53201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
53202         multiarch copysign for PPC64.
53203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
53204         multiarch copysignf for PPC64.
53206         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
53207         multiarch implementation.
53208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
53209         file.
53210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
53211         file.
53212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
53213         file.
53214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
53215         file.
53216         multiarch llround for PPC64.
53217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
53218         multiarch trunc for PPC64.
53219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
53220         multiarch truncf for PPC64.
53222         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
53223         multiarch implementation.
53224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
53225         file.
53226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
53227         file.
53228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
53229         file.
53230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
53231         file.
53232         multiarch llround for PPC64.
53233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
53234         multiarch round for PPC64.
53235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
53236         multiarch roundf for PPC64.
53238         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
53239         multiarch implementation.
53240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
53241         file.
53242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
53243         file.
53244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
53245         file.
53246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
53247         file.
53248         multiarch llround for PPC64.
53249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
53250         multiarch floor for PPC64.
53251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
53252         multiarch floorf for PPC64.
53254         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
53255         multiarch implementation.
53256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
53257         file.
53258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
53259         file.
53260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
53261         file.
53262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
53263         file.
53264         multiarch llround for PPC64.
53265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
53266         multiarch ceil for PPC64.
53267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
53268         multiarch ceilf for PPC64.
53270         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
53271         multiarch implementation.
53272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
53273         file.
53274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
53275         file.
53276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
53277         file.
53278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
53279         multiarch llround for PPC64.
53280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
53281         multiarch lround for PPC64.
53283         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
53284         multiarch implementation.
53285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
53286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
53287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
53288         file.
53289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
53290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
53291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
53292         multiarch isnan for PPC64.
53293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
53294         multiarch isnanf for PPC64.
53296         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
53297         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
53298         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
53299         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
53300         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
53301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
53303         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
53304         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53305         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53306         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53308         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
53309         multiarch implementations.
53310         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53311         (__libc_ifunc_impl_list): Likewise.
53312         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
53313         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
53314         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
53315         multiarch stpcpy for PPC64.
53317         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
53318         multiarch implementations.
53319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53320         (__libc_ifunc_impl_list): Likewise.
53321         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
53322         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
53323         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
53324         multiarch strcpy for PPC64.
53326         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
53327         redefine function name.
53328         (_wordcopy_fwd_dest_aligned): Likewise.
53329         (_wordcopy_bwd_aligned): Likewise.
53330         (_wordcopy_bwd_dest_aligned): Likewise.
53331         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
53332         multiarch implementations.
53333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53334         (__libc_ifunc_impl_list): Likewise.
53335         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
53336         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
53337         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
53338         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
53339         multiarch wcscpy for PPC64.
53341         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
53342         multiarch implementations.
53343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53344         (__libc_ifunc_impl_list): Likewise.
53345         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
53346         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
53347         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
53348         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
53349         multiarch wcscpy for PPC64.
53351         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
53352         multiarch implementations.
53353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53354         (__libc_ifunc_impl_list): Likewise.
53355         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
53356         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
53357         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
53358         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
53359         multiarch wcsrchr for PPC64.
53361         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
53362         multiarch implementations.
53363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53364         (__libc_ifunc_impl_list): Likewise.
53365         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
53366         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
53367         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
53368         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
53369         multiarch wcschr for PPC64.
53371         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
53372         multiarch implementations.
53373         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53374         (__libc_ifunc_impl_list): Likewise.
53375         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
53376         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
53377         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
53378         multiarch strchrnul for PPC64.
53380         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
53381         implementations.
53382         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53383         (__libc_ifunc_impl_list): Likewise.
53384         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
53385         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
53386         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
53387         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
53388         strchr for PPC64.
53390         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
53391         implementations.
53392         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53393         (__libc_ifunc_impl_list): Likewise.
53394         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
53395         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
53396         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
53397         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
53398         strncmp for PPC64.
53400         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
53401         multiarch implementations.
53402         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53403         (__libc_ifunc_impl_list): Likewise.
53404         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
53405         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
53406         strncasecmp for PPC64.
53407         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
53408         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
53409         multiarch strncasecmp_l for PPC64.
53411         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
53412         multiarch implementations.
53413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53414         (__libc_ifunc_impl_list): Likewise.
53415         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
53416         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
53417         multiarch strcasecmp for PPC64.
53418         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
53419         file.
53420         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
53421         multiarch strcasecmp_l for PPC64.
53423         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
53424         implementations.
53425         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53426         (__libc_ifunc_impl_list): Likewise.
53427         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
53428         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
53429         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
53430         strnlen for PPC64.
53432         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
53433         implementations.
53434         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53435         (__libc_ifunc_impl_list): Likewise.
53436         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
53437         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
53438         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
53439         strlen for PPC64.
53441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
53442         implementations.
53443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53444         (__libc_ifunc_impl_list): Likewise.
53445         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
53446         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
53447         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
53448         rawmemrchr for PPC64.
53450         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
53451         implementation.
53452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53453         (__libc_ifunc_impl_list): Likewise.
53454         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
53455         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
53456         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
53457         memrchr for PPC64.
53459         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
53460         implementation.
53461         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53462         (__libc_ifunc_impl_list): Likewise.
53463         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
53464         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
53465         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
53466         memchr for PPC64.
53468         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
53469         implementation.
53470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53471         (__libc_ifunc_impl_list): Likewise.
53472         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
53473         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
53474         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
53475         mempcpy for PPC64.
53477         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
53478         avoid cretion of __bzero symbol.
53479         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
53480         Likewise.
53481         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
53482         Likewise.
53483         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
53484         Likewise.
53485         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
53486         multiarch implementations.
53487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53488         (__libc_ifunc_impl_list): Likewise.
53489         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
53490         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
53491         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
53492         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
53493         bzero for PPC32.
53494         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
53495         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
53496         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
53497         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
53498         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
53499         memset for PPC64.
53500         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
53502         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
53503         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
53504         implementations.
53505         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53506         (__libc_ifunc_impl_list): Likewise.
53507         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
53508         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
53509         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
53510         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
53511         memcmp for PPC64.
53513         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
53514         multiarch for POWER/PPC64.
53515         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
53516         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
53517         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
53518         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
53519         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
53520         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
53521         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
53522         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
53523         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
53524         memcpy for PPC64.
53526         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
53527         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
53528         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
53529         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
53530         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
53531         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
53532         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
53533         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
53534         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
53535         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
53536         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
53537         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
53538         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
53539         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
53540         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
53541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
53542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
53543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
53544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
53545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
53546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
53547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
53549 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53551         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
53553 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53555         * benchtests/Makefile (bench): Add exp2 and log2.
53556         (LDLIBS-bench-exp2): Add -lm.
53557         (LDLIBS-bench-log2): Likewise.
53558         * benchtests/exp2-inputs: New inputs file.
53559         * benchtests/log2-inputs: New inputs file.
53560         * benchtests/log-inputs: Add new inputs.
53561         * benchtests/tan-inputs: Likewise.
53563 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53565         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
53566         definition...
53567         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
53568         (csloww2): ... from here.
53570         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
53571         instead of structures.
53572         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
53573         (POLYNOMIAL): Likewise.
53574         (TAYLOR_SLOW): Likewise.
53575         (__sin): Likewise.
53576         (__cos): Likewise.
53577         (slow1): Likewise.
53578         (slow2): Likewise.
53579         (sloww): Likewise.
53580         (sloww1); Likewise.
53581         (sloww2): Likewise.
53582         (bsloww1): Likewise.
53583         (bsloww2): Likewise.
53584         (cslow2): Likewise.
53585         (csloww): Likewise.
53586         (csloww1): Likewise.
53587         (csloww2): Likewise.
53589 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
53591         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
53592         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
53593         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
53594         * malloc/hooks.c (realloc_check): Likewise.
53596         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
53597         * malloc/arena.c: Remove PER_THREAD conditional.
53598         [!PER_THREAD]: Remove code.
53599         (ptmalloc_unlock_all2): Likewise.
53600         (ptmalloc_init): Likewise.
53601         (_int_new_arena): Likewise.
53602         (arena_get2): Likewise.
53603         * malloc/hooks.c (__malloc_get_state): Likewise.
53604         (__malloc_set_state): Likewise.
53605         * malloc/malloc.c: Likewise.
53606         (struct malloc_state): Likewise.
53607         (struct malloc_par): Likewise.
53608         (__libc_realloc): Likewise.
53609         (__libc_mallopt): Likewise.
53611 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53613         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
53615 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
53617         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
53618         macro to a function.  Check for zero perturb_byte.
53619         (_int_malloc, _int_free): Remove zero perturb_byte checks.
53621         * malloc/malloc.c: (force_reg): Remove.
53622         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
53623         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
53624         force_reg by atomic_forced_read.
53625         * malloc/arena.c (ptmalloc_init): Likewise.
53626         * malloc/hooks.c (top_check): Likewise.
53628 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53632 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
53634         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53636 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
53638         * math/auto-libm-test-in: Add tests of lgamma.
53639         * math/auto-libm-test-out: Regenerated.
53640         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
53641         (M_LOG_2_SQRT_PIl): Likewise.
53642         (lgamma_test_data): Use AUTO_TESTS_f_f1.
53643         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53644         mpfr_f_f1.
53645         (func_calc_desc): Add mpfr_f_f1 union field.
53646         (ARGS1): New macro.
53647         (ARGS2): Likewise.
53648         (ARGS3): Likewise.
53649         (ARGS4): Likewise.
53650         (RET1): Likewise.
53651         (RET2): Likewise.
53652         (CALC): Likewise.
53653         (FUNC): Likewise.
53654         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
53655         (test_functions): Add lgamma.
53656         (calc_generic_results): Handle mpfr_f_f1.
53657         * sysdeps/i386/fpu/libm-test-ulps: Update.
53658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53660 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53662         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
53663         __mpn_add_n for PowerPC64/POWER7.
53664         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
53665         __mpn_sub_n for PowerPC64/POWER7.
53667         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
53668         __mpn_addmul_1 for PowerPC64.
53669         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
53670         __mpn_submul_1 for PowerPC64.
53671         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
53672         for PowerPC64.
53673         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
53674         for PowerPC64.
53676 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
53678         [BZ #15089]
53679         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
53681 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53683         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
53685         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
53686         add multiarch folders.
53687         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
53688         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
53689         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
53690         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
53691         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
53692         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
53693         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
53694         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
53695         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
53696         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
53697         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
53698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
53699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
53700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
53701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
53702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
53703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
53705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
53706         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
53707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
53708         New file.
53709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
53710         New file.
53711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
53712         multiarch __ieee754_hypot for PowerPC32.
53713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
53714         New file.
53715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
53716         New file.
53717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
53718         multiarch __ieee754_hypotf for PowerPC32.
53720         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
53721         long_double_symbol only if __logbl is defined.
53722         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
53723         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
53724         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
53725         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
53726         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
53727         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
53728         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
53729         path for implementation.
53730         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
53731         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
53732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
53733         logb, and logbl multiarch implementations for PowerPC32.
53734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
53735         file.
53736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
53737         file.
53738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
53739         multiarch logb for PowerPC32.
53740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
53741         file.
53742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
53743         file.
53744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
53745         multiarch logbf for PowerPC32.
53746         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
53747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
53748         file.
53749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
53750         multiarch logbl implementation for PowerPC32.
53752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
53753         and modff multiarch implementations.
53754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
53755         New file.
53756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
53757         New file.
53758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
53759         multiarch modf for PowerPC32.
53760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
53761         New file.
53762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
53763         New file.
53764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
53765         multiarch modff for PowerPC32.
53767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
53768         and lrintf multiarch implementations.
53769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
53770         New file.
53771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
53772         New file.
53773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
53774         multiarch lrint for PowerPC32.
53775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
53776         file: multiarch lrintf for PowerPC32.
53778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
53779         and lroundf multiarch implementations.
53780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
53781         New file.
53782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
53783         New file.
53784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
53785         New file.
53786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
53787         multiarch lround for PowerPC32.
53788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
53789         file: multiarch lroundf for PowerPC32.
53791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
53792         copysign and copysignf multiarch implementations.
53793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
53794         New file.
53795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
53796         New file.
53797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
53798         file: multiarch copysign for PowerPC32.
53799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
53800         file: multiarch copysignf for PowerPC32.
53802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
53803         and truncf multiarch implementations.
53804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
53805         New file.
53806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
53807         file.
53808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
53809         multiarch trunc for PowerPC32.
53810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
53811         New file.
53812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
53813         New file.
53814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
53815         multiarch truncf for PowerPC32.
53817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
53818         and roundf multiarch implementations.
53819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
53820         New file.
53821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
53822         file.
53823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
53824         multiarch round for PowerPC32.
53825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
53826         New file.
53827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
53828         New file.
53829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
53830         multiarch roundf for PowerPC32.
53832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
53833         and floorf multiarch implementations.
53834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
53835         New file.
53836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
53837         file.
53838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
53839         multiarch floor for PowerPC32.
53840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
53841         New file.
53842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
53843         New file.
53844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
53845         multiarch floorf for PowerPC32.
53847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
53848         and ceilf multiarch implementations.
53849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
53850         New file.
53851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
53852         file.
53853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
53854         multiarch ceil for PowerPC32.
53855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
53856         New file.
53857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
53858         file.
53859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
53860         multiarch ceilf for PowerPC32.
53862         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
53863         is defined.
53864         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
53865         FINITEF is defined.
53866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
53867         and finitef multiarch implementations.
53868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
53869         New file.
53870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
53871         file.
53872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
53873         multiarch finite for PowerPC32.
53874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
53875         New file.
53876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
53877         file: multiarch finitef for PowerPC32.
53879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
53880         and isinff multiarch implementations.
53881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
53882         file.
53883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
53884         file.
53885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
53886         multiarch isinf for PowerPC32.
53887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
53888         New file.
53889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
53890         multiarch isinff for PowerPC32.
53892         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
53893         alias when __isnan is defined.
53894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
53895         and isnanf multiarch implementations.
53896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
53897         file.
53898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
53899         file.
53900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
53901         file.
53902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
53903         file.
53904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
53905         multiarch isnan for PowerPC32.
53906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
53907         New file.
53908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
53909         New file.
53910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
53911         multiarch isnanf for PowerPC32.
53913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
53914         and sqrtf multiarch implementations.
53915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
53916         file.
53917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
53918         file.
53919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
53920         multiarch sqrt for PowerPC32.
53921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
53922         file.
53923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
53924         file.
53925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
53926         multiarch sqrtf for PowerPC32.
53928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
53929         and llroundf multiarch implementations.
53930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
53931         New file.
53932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
53933         New file.
53934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
53935         New file.
53936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
53937         file: multiarch llround for PowerPC32.
53938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
53939         file: multiarch llroundf for PowerPC32.
53941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
53942         multiarch PowerPC32 fpu implementations.
53943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
53944         New file.
53945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
53946         New file.
53947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
53948         multiarch llrint for PowerPC32.
53949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
53950         New file.
53951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
53952         New file.
53953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
53954         file.
53956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
53958         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
53959         file.
53960         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
53961         file.
53962         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
53963         file.
53964         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
53965         multiarch wordcopy for PPC32.
53966         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
53967         wordcopy objects.
53968         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53969         (__libc_ifunc_impl_list): Likewise.
53970         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
53971         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
53972         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
53973         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
53974         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
53975         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
53977         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
53978         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
53979         file.
53980         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
53981         file.
53982         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
53983         file.
53984         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
53985         multiarch wcscpy for PPC32.
53986         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
53987         multiarch objects.
53988         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53989         (__libc_ifunc_impl_list): Likewise.
53990         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
53991         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
53992         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
53993         sysdeps/powerpc/power6/wcscpy.c.
53995         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
53996         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
53997         file.
53998         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
53999         file.
54000         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
54001         file.
54002         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
54003         multiarch wcsrchr for PPC32.
54004         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
54005         multiarch objects.
54006         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54007         (__libc_ifunc_impl_list): Likewise.
54008         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
54009         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
54010         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
54011         sysdeps/powerpc/power6/wcsrchr.c.
54013         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
54014         file.
54015         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
54016         file.
54017         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
54018         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
54019         multiarch wcschr for PPc32.
54020         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
54021         multiarch objects.
54022         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54023         (__libc_ifunc_impl_list): Likewise.
54024         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
54025         * sysdeps/powerpc/power6/wcschr.c: ... to here.
54026         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
54027         sysdeps/powerpc/power6/wcschr.c.
54029         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
54030         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
54031         file.
54032         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
54033         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
54034         file: multiarch strchr for PPC32.
54035         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
54036         multiarch objects.
54037         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54038         (__libc_ifunc_impl_list): Likewise.
54040         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
54041         name.
54042         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
54043         file.
54044         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
54045         file.
54046         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
54047         multiarch strchrnul for PPC32.
54048         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
54049         multiarch objects.
54050         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54051         (__libc_ifunc_impl_list): Likewise.
54053         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
54054         file.
54055         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
54056         multiarch strncasecmp for PPC32.
54057         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
54058         file.
54059         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
54060         multiarch strncasecmp_l for PPC32.
54061         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
54062         strncasecmp multiarch objects.
54063         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54064         (__libc_ifunc_impl_list): Likewise.
54066         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
54067         file.
54068         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
54069         multiarch strncasecmp for PPC32.
54070         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
54071         New file.
54072         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
54073         multiarch strcasecmp_l for PPC32.
54074         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
54075         multiarch objects.
54076         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54077         (__libc_ifunc_impl_list): Likewise.
54079         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
54080         file.
54081         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
54082         file.
54083         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
54084         multiarch strncmp for PPC32.
54085         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
54086         multiarch objects.
54087         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54088         (__libc_ifunc_impl_list): Likewise.
54090         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
54091         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
54092         file.
54093         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
54094         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
54095         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
54096         multiarch objects.
54097         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54098         (__libc_ifunc_impl_list): Likewise.
54100         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
54101         file.
54102         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
54103         file.
54104         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
54105         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
54106         multiarch objects.
54107         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54108         (__libc_ifunc_impl_list): Likewise.
54110         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
54111         file.
54112         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
54113         file.
54114         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
54115         multiarch rawmemchr for PPC32.
54116         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
54117         multiarch objects.
54118         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54119         (__libc_ifunc_impl_list): Likewise.
54121         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
54122         file.
54123         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
54124         file.
54125         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
54126         file: memrchr multiarch for PPC32.
54127         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
54128         multiarch objects.
54129         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54130         (__libc_ifunc_impl_list): Likewise.
54132         * string/memchr.c (__memchr): Using macro to redefine symbol name.
54133         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
54134         file.
54135         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
54136         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
54137         multiarch memchr for PPC32.
54138         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
54139         multiarch objects.
54140         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54141         (__libc_ifunc_impl_list): Likewise.
54143         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
54144         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
54145         file.
54146         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
54147         file.
54148         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
54149         file: multiarch mempcpy for PPC32.
54150         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
54151         multiarch objects.
54152         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54153         (__libc_ifunc_impl_list): Likewise.
54155         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
54156         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
54157         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
54158         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
54159         multiarch bzero for PPC32.
54160         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
54161         file.
54162         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
54163         file.
54164         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
54165         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
54166         file: multiarch memset for PPC32.
54167         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
54168         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
54169         memset multiarch objects.
54170         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54171         (__libc_ifunc_impl_list): Likewise.
54173         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
54174         file.
54175         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
54176         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
54177         memcmp for PPC32.
54178         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
54179         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
54180         multiarch objects.
54181         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54182         (__libc_ifunc_impl_list): Likewise.
54184         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
54185         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
54186         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
54187         file.
54188         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
54189         file.
54190         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
54191         file.
54192         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
54193         multiarch memcpy for PPC32.
54194         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
54195         multiarch objects.
54196         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54197         (__libc_ifunc_impl_list): Likewise.
54199         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
54200         support multiarch for POWER/PPC32.
54201         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
54202         Likewise.
54203         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
54204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
54205         Implies file to make multiarch folder appers before the fpu and
54206         default folder for power4 configuration.
54208 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54210         * scripts/bench.pl: Append volatile keyword to type.
54212 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54214         * sysdeps/sh/sotruss-lib.c: New file.
54215         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
54217 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54221 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
54223         [BZ #6810]
54224         * math/w_tgamma.c: Include <errno.h>.
54225         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
54226         * math/w_tgammaf.c: Include <errno.h>.
54227         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
54228         * math/w_tgammal.c: Include <errno.h>.
54229         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
54230         * math/auto-libm-test-in: Do not allow missing errno on tgamma
54231         underflow.  Add more tgamma tests.
54232         * math/auto-libm-test-out: Regenerated.
54233         * sysdeps/i386/fpu/libm-test-ulps: Update.
54234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54236         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
54237         sin, sinh, tan, tanh, tgamma, y0 and y1.
54238         * math/auto-libm-test-out: Regenerated.
54239         * math/libm-test.inc (TEST_COND_x86_64): New macro.
54240         (TEST_COND_x86): Likewise.
54241         (M_E2l): Remove macro.
54242         (M_E3l): Likewise.
54243         (M_2_SQRT_PIl): Likewise.
54244         (M_SQRT_PIl): Likewise.
54245         (M_1_DIV_El): Likewise.
54246         (log_test_data): Use AUTO_TESTS_f_f.
54247         (log10_test_data): Likewise.
54248         (log1p_test_data): Likewise.
54249         (log2_test_data): Likewise.
54250         (sin_test_data): Likewise.
54251         (sin_tonearest_test_data): Likewise.
54252         (sin_towardzero_test_data): Likewise.
54253         (sin_downward_test_data): Likewise.
54254         (sin_upward_test_data): Likewise.
54255         (sinh_test_data): Likewise.
54256         (sinh_tonearest_test_data): Likewise.
54257         (sinh_towardzero_test_data): Likewise.
54258         (sinh_downward_test_data): Likewise.
54259         (sinh_upward_test_data): Likewise.
54260         (tan_test_data): Likewise.
54261         (tan_tonearest_test_data): Likewise.
54262         (tan_towardzero_test_data): Likewise.
54263         (tan_downward_test_data): Likewise.
54264         (tan_upward_test_data): Likewise.
54265         (tanh_test_data): Likewise.
54266         (tgamma_test_data): Likewise.
54267         (y0_test_data): Likewise.
54268         (y1_test_data): Likewise.
54269         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
54270         (special_real_inputs): Add pi/4.
54271         * sysdeps/i386/fpu/libm-test-ulps: Update.
54272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54274 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54276         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
54277         "longjmp_target" static probes.
54278         (__longjmp): Rename to __longjmp_symbol.
54279         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54280         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
54281         on which longjmp to generate.
54282         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
54283         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
54284         probe.
54285         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54286         (__sigjmp_save): Rename to __sigjmp_save_symbol.
54287         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
54288         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
54289         and __sigjmp_save_symbol based on which sigsetjmp to generated.
54290         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
54291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
54292         __longjmp_symbol based on which __longjmp to generate.
54293         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
54294         probe.
54295         (setjmp): Rename to setjmp_symbol.
54296         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54297         (_setjmp): Rename to _setjmp_symbol.
54298         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54299         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
54300         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
54301         which setjmp to generate.
54302         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
54303         "longjmp_target" static probes.
54305 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54307         * benchtests/README: Add note about output arguments.
54308         * benchtests/bench-sincos.c: Remove file.
54309         * benchtests/sincos-inputs: New file.
54310         * scripts/bench.pl: Identify output arguments and define
54311         static variables for them.
54313         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
54315         [BZ #15941]
54316         * Makefile (INSTALL): Add install-plain.texi as the primary
54317         dependency.
54318         * manual/install-plain.texi: New file.
54319         * manual/install.texi: Include node directive only for
54320         non-plaintext output.
54322 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
54324         * stdlib/longlong.h: Update from GCC.
54326         [BZ #6807]
54327         [BZ #15901]
54328         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
54329         * math/w_j0f.c (y0f): Likewise.
54330         * math/w_j0l.c (__y0l): Likewise.
54331         * math/w_j1.c (y1): Likewise.
54332         * math/w_j1f.c (y1f): Likewise.
54333         * math/w_j1l.c (__y1l): Likewise.
54334         * math/w_jn.c (yn): Likewise.
54335         * math/w_jnf.c (ynf): Likewise.
54336         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
54337         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
54338         value for Bessel function domain errors outside _SVID_ mode.
54339         Adjust sign of return value for yn (negative integer, 0).
54340         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
54341         by zero in return for negative x and set sign appropriately for
54342         negative n.
54343         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
54344         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
54345         * math/libm-test.inc (y0_test_data): Add more tests and adjust
54346         expectations in error cases.
54347         (y1_test_data): Likewise.
54348         (yn_test_data): Likewise.
54349         * sysdeps/i386/fpu/libm-test-ulps: Update.
54350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54352 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54354         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
54355         "64" to "64-v1".  Add "64-v2".
54356         (abi-64-options): Rename to ...
54357         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
54358         (abi-64-condition): Rename to ...
54359         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
54360         (abi-64-ld-soname): Rename to ...
54361         (abi-64-v1-ld-soname): ... this.
54362         (abi-64-v2-options): Define.
54363         (abi-64-v2-condition): Likewise.
54364         (abi-64-v2-ld-soname): Likewise.
54365         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
54366         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
54367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
54368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
54369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
54371 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54372             Alan Modra  <amodra@gmail.com>
54374         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
54375         New versions for use with the ELFv2 ABI.
54376         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
54377         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
54378         declaration.
54379         (struct La_ppc64v2_retval): Likewise.
54380         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
54381         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
54382         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
54383         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
54384         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
54385         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54386         Do not save or restore CR.
54387         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
54388         (_dl_profile_resolve): Do no save or restore CR.  Support extended
54389         return values for ELFv2 ABI.  Fix location of FPR return registers.
54390         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
54391         updated values for _CALL_ELF == 2.
54392         (La_regs, La_retval, int_retval): Likewise.
54394 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54396         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
54397         (FRAME_MIN_SIZE_PARM): Likewise.
54398         (FRAME_BACKCHAIN): Likewise.
54399         (FRAME_CR_SAVE): Likewise.
54400         (FRAME_LR_SAVE): Likewise.
54401         (FRAME_TOC_SAVE): Likewise.
54402         (FRAME_PARM_SAVE): Likewise.
54403         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
54404         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
54405         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
54406         (call_mcount_parm_offset): New macro.
54407         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
54408         (PROF): Use symbolic stack frame offsets.
54409         (TAIL_CALL_SYSCALL_ERROR): Likewise.
54410         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
54411         Redefine in terms of FRAME_MIN_SIZE.
54412         (_dl_runtime_resolve): Use symbolic stack frame offsets.
54413         (_dl_profile_resolve): Likewise.  Update comment.
54414         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
54415         symbols stack frame offsets.
54416         (__sigsetjmp): Likewise.
54417         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
54418         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
54419         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
54420         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
54422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
54423         (FRAME_BACKCHAIN): Remove.
54424         (FRAME_CR_SAVE): Likewise.
54425         (FRAME_LR_SAVE): Likewise.
54426         (FRAME_COMPILER_DW): Likewise.
54427         (FRAME_LINKER_DW): Likewise.
54428         (FRAME_TOC_SAVE): Likewise.
54429         (FRAME_PARM_SAVE): Likewise.
54430         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
54431         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
54432         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
54433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
54434         (CHECK_SP): Use symbolic stack frame offsets.
54435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
54436         zone" instead of caller's parameter save area for temp storage.
54437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54438         Likewise.  Also, use symbolic stack frame offsets.
54439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
54440         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
54441         our own stack frame instead of the caller's.
54442         (__socket): Use symbolic stack frame offsets.
54444 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54445             Alan Modra  <amodra@gmail.com>
54447         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
54448         Define.
54449         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
54450         (PPC64_LOCAL_ENTRY_OFFSET): Define.
54451         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
54452         New function.
54453         (elf_machine_fixup_plt): Call it.
54454         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
54455         reloc arguments.
54456         (elf_machine_rela): Update call to elf_machine_plt_conflict.
54457         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
54458         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
54459         r2 before calling target.
54461 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54462             Alan Modra  <amodra@gmail.com>
54464         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
54465         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
54466         versions of macros to support ELFv2 ABI.
54467         (LOCALENTRY): New macro.
54468         (ENTRY, EALIGN): Use it.
54469         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
54470         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
54471         fall through into ENTRY entry point.
54472         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
54473         Only define if _CALL_ELF != 2.
54475         (elf_machine_matches_host): Verify ABI version matches.
54476         (RTLD_START): Use LOCALENTRY.
54477         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
54478         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
54479         (PLT_ENTRY_WORDS): New macro.
54480         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
54481         (elf_machine_runtime_setup): Support ELFv2 ABI.
54482         (elf_machine_fixup_plt): Likewise.
54483         (elf_machine_plt_conflict): Likewise.
54484         (resolve_ifunc): Likewise.
54485         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
54486         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
54487         Likewise.
54488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
54489         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
54490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54491         (makecontext): Support ELFv2 ABI.
54492         * elf/elf.h (EF_PPC64_ABI): Define.
54494 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54496         * sysdeps/powerpc/powerpc64/sysdep.h
54497         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
54498         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
54499         (ENTRY) [ASSEMBLER]: ... but instead here ...
54500         (EALIGN) [ASSEMBLER]: ... and here.
54501         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
54502         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
54503         (ENTRY_2) [!ASSEMBLER]: Use it.
54504         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
54505         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
54506         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
54507         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
54508         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
54509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
54510         Use PPC64_LOAD_FUNCPTR.
54512         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
54514 2013-12-04  Alan Modra  <amodra@gmail.com>
54516         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
54517         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
54518         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
54519         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
54521         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
54522         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
54523         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
54524         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
54525         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
54526         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
54528 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54531         (__makecontext): Fix incorrect CFI when backtracing out of
54532         context created via makecontext.
54533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
54534         (__setcontext): Fix incorrect CFI during switch to new context.
54535         (__novec_setcontext): Likewise.
54537 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
54539         [BZ #4772]
54540         * time/strptime_l.c (__strptime_internal): Allow modifiers
54541         in strptime.
54542         * time/tst-strptime.c (day_tests): Add testcase.
54544 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54546         * scripts/bench.pl: Skip over blank lines.
54548 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
54550         [BZ #926]
54551         * manual/time.texi (Calendar Time): Clarify what timezone functions
54552         use.
54554 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54556         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54558 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
54560         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
54561         implementation.
54562         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
54563         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
54564         * debug/memset_chk.c (__memset_chk): Likewise.
54565         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
54566         * debug/strncpy_chk.c: Likewise.
54568 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
54570         [BZ #15268]
54571         [BZ #15425]
54572         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
54573         (__ieee754_exp): For possibly underflowing results, check size of
54574         result and force underflow exception if required.
54575         * math/auto-libm-test-in: Add more tests of exp.
54576         * math/auto-libm-test-out: Regenerated.
54577         * sysdeps/i386/fpu/libm-test-ulps: Update.
54578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54580         [BZ #16283]
54581         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
54582         * math/w_exp2f.c (__exp2f): Likewise.
54583         * math/w_exp2l.c (__exp2l): Likewise.
54584         * math/auto-libm-test-in: Do not allow missing errno on exp2
54585         underflow.
54586         * math/auto-libm-test-out: Regenerated.
54588 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
54590         [BZ #16274]
54591         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
54592         handle filename validation.
54593         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
54594         (do_open): Delete.
54596 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
54598         [BZ #6786]
54599         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
54600         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
54601         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
54602         <float.h>.
54603         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
54604         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
54605         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54606         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
54607         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54608         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
54609         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54610         * math/auto-libm-test-in: Don't allow missing errno from erfc.
54611         Add more erfc tests.
54612         * math/auto-libm-test-out: Regenerated.
54613         * sysdeps/i386/fpu/libm-test-ulps: Update.
54614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54616         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
54617         exp2, expm1, j0 and j1.
54618         * math/auto-libm-test-out: Regenerated.
54619         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
54620         (erfc_test_data): Likewise.
54621         (exp_test_data): Likewise.
54622         (exp_tonearest_test_data): Likewise.
54623         (exp_towardzero_test_data): Likewise.
54624         (exp_downward_test_data): Likewise.
54625         (exp_upward_test_data): Likewise.
54626         (exp10_test_data): Likewise.
54627         (exp2_test_data): Likewise.
54628         (expm1_test_data): Likewise.
54629         (j0_test_data): Likewise.
54630         (j1_test_data): Likewise.
54631         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
54632         (input_flag_type): Add flag_xfail_rounding.
54633         (input_flags): Add xfail-rounding.
54634         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
54635         (output_for_one_input_case): Handle flag_xfail_rounding.
54636         * sysdeps/i386/fpu/libm-test-ulps: Update.
54637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54639 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
54641         [BZ #16289]
54642         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
54643         division by 0.
54645 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54647         [BZ #16195]
54648         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
54649         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
54650         (STAP_PROBE0): New macro.
54651         (STAP_PROBE1): Likewise.
54652         (STAP_PROBE2): Likewise.
54653         (STAP_PROBE3): Likewise.
54654         (STAP_PROBE4): Likewise.
54656 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
54658         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
54660 2013-12-02  Steve Ellcey  <sellcey@mips.com>
54662         * benchtests/Makefile (bench): Add sqrt.
54663         (LDLIBS-bench-sqrt): New.
54664         * benchtests/sqrt-input: New.
54666 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
54668         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
54669         (GAIH_EAI): Likewise.
54670         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
54671         (gaih_inet): Likewise.
54672         (getaddrinfo): Don't use GAIH_EAI.
54674         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
54675         (struct gaih): Remove definition.
54677 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54679         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
54680         Use HERRNOP directly.
54682 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54686 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
54688         * math/gen-auto-libm-tests.c (test_functions): Add more
54689         single-argument functions.
54690         (special_fill_pi_2): New function.
54691         (special_fill_minus_pi_2): Likewise.
54692         (special_fill_pi_6): Likewise.
54693         (special_fill_minus_pi_6): Likewise.
54694         (special_fill_pi_3): Likewise.
54695         (special_fill_2pi_3): Likewise.
54696         (special_fill_e): Likewise.
54697         (special_fill_1_e): Likewise.
54698         (special_fill_e_minus_1): Likewise.
54699         (special_real_inputs): Add more special inputs.
54700         (output_for_one_input_case): Do not require ERANGE on underflow to
54701         zero if round-to-nearest result does not underflow to zero, unless
54702         exact results required.
54703         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
54704         atan, atanh, cbrt, cos and cosh.
54705         * math/auto-libm-test-out: Regenerated.
54706         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
54707         (acos_tonearest_test_data): Likewise.
54708         (acos_towardzero_test_data): Likewise.
54709         (acos_downward_test_data): Likewise.
54710         (acos_upward_test_data): Likewise.
54711         (acosh_test_data): Likewise.
54712         (asin_test_data): Likewise.
54713         (asin_tonearest_test_data): Likewise.
54714         (asin_towardzero_test_data): Likewise.
54715         (asin_upward_test_data): Likewise.
54716         (asinh_test_data): Likewise.
54717         (atan_test_data): Likewise.
54718         (atanh_test_data): Likewise.
54719         (cbrt_test_data): Likewise.
54720         (cos_test_data): Likewise.
54721         (cos_tonearest_test_data): Likewise.
54722         (cos_towardzero_test_data): Likewise.
54723         (cos_downward_test_data): Likewise.
54724         (cos_upward_test_data): Likewise.
54725         (cosh_test_data): Likewise.
54726         (cosh_tonearest_test_data): Likewise.
54727         (cosh_towardzero_test_data): Likewise.
54728         (cosh_downward_test_data): Likewise.
54729         (cosh_upward_test_data): Likewise.
54730         * sysdeps/i386/fpu/libm-test-ulps: Update.
54731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54733 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
54735         [BZ #6787]
54736         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
54737         * math/w_exp10f.c (__exp10f): Likewise.
54738         * math/w_exp10l.c (__exp10l): Likewise.
54739         * math/libm-test.inc (exp10_test_data): Add more tests and expect
54740         errno settings in existing tests.
54742         [BZ #14032]
54743         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
54744         precision control set to double precision.
54745         * sysdeps/i386/fpu/w_sqrt.c: New file.
54746         * math/auto-libm-test-in: Add more tests.
54747         * math/auto-libm-test-out: Update.
54749         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
54750         (sqrt_test_tonearest): New function.
54751         (sqrt_towardzero_test_data): New variable.
54752         (sqrt_test_towardzero): New function.
54753         (sqrt_downward_test_data): New variable.
54754         (sqrt_test_downward): New function.
54755         (sqrt_upward_test_data): New variable.
54756         (sqrt_test_upward): New function.
54757         (main): Call the new functions.
54759         * math/gen-auto-libm-tests.c: New file.
54760         * math/auto-libm-test-in: Likewise.
54761         * math/auto-libm-test-out: New generated file.
54762         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
54763         variables.
54764         (%beautify): Add generated representations of zero.
54765         (top level): Set $auto_input and call parse_auto_input.
54766         (beautify): Remove trailing "f" from hex float constants.
54767         (parse_args): Handle XFAIL_TEST.
54768         (convert_condition): New function.
54769         (or_value): Likewise.
54770         (or_cond_value): Likewise.
54771         (generate_testfile): Handle AUTO_TESTS_* lines.
54772         (parse_auto_input): New function.
54773         * math/libm-test.inc (XFAIL_TEST): New macro.
54774         (ERRNO_UNCHANGED): Update value.
54775         (ERRNO_EDOM): Likewise.
54776         (ERRNO_ERANGE): Likewise.
54777         (IGNORE_RESULT): Likewise.
54778         (TEST_COND_flt_32): New macro.
54779         (TEST_COND_dbl_64): Likewise.
54780         (TEST_COND_ldbl_96_intel): Likewise.
54781         (TEST_COND_ldbl_96_m68k): Likewise.
54782         (TEST_COND_ldbl_128): Likewise.
54783         (TEST_COND_ldbl_128ibm): Likewise.
54784         (TEST_COND_long32): Likewise.
54785         (TEST_COND_long64): Likewise.
54786         (TEST_COND_before_rounding): Likewise.
54787         (TEST_COND_after_rounding): Likewise.
54788         (enable_test): Handle XFAIL_TEST flag.
54789         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
54790         with finite results.
54791         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
54792         auto-libm-test-out.
54794 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54795             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54797         [BZ #16214]
54798         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
54799         __tls_get_addr_internal instead of __tls_get_offset in order to
54800         avoid GOT pointer dependency.  Make rtld export
54801         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
54802         __tls_get_addr since we are a __tls_get_offset platform.
54803         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
54804         GOT pointer being set up before.
54805         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
54807 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
54809         * manual/math.texi (Errors in Math Functions): Document accuracy
54810         goals.
54812         [BZ #15004]
54813         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
54814         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
54815         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54816         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54817         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54818         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54819         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54820         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54821         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54822         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54823         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54824         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54825         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54826         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54827         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54828         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54830         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
54831         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
54832         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
54833         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
54834         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
54835         Likewise.
54836         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
54837         Likewise.
54838         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
54839         Likewise.
54840         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
54841         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
54842         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
54843         atomic-feupdateenv and flt-rounds.
54844         * sysdeps/powerpc/nofpu/Versions (libc): Add
54845         __atomic_feholdexcept, __atomic_feclearexcept,
54846         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
54847         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
54848         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
54849         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
54850         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
54851         here.
54852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
54853         Update.
54855         * manual/arith.texi (FP Exceptions): Document that exceptions may
54856         not be raised when matherr is used.
54857         (Math Error Reporting): Document overflow in directed rounding
54858         modes.  Document that errno may not be set when finite values are
54859         returned on overflow.  Document intent to set errno on underflow
54860         only for underflow to zero.
54862         [BZ #16271]
54863         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
54864         round-to-nearest then adjust result for other rounding modes.
54865         * include/fenv.h (fegetround): Use libm_hidden_proto.
54866         * math/fegetround.c (fegetround): Use libm_hidden_def.
54867         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
54868         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
54869         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
54870         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
54871         Likewise.
54872         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
54873         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
54874         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
54875         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
54877 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54879         [BZ #16077]
54880         * nss/Versions (libnss_files): Add
54881         _nss_files_gethostbyname3_r.
54882         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
54883         New function.
54884         (HOST_DB_LOOKUP): Remove macro.
54885         (_nss_files_gethostbyname_r): Implement function without the
54886         HOST_DB_LOOKUP macro.
54887         (_nss_files_gethostbyname2_r): Likewise.
54889 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
54891         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
54893 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
54895         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
54896         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
54897         warning.
54899 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54901         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
54902         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
54903         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
54904         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
54905         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
54906         __fe_nomask_env_priv and attribute_hidden.
54907         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
54908         (libc_feupdateenv_test_ppc): Likewise.
54909         (libc_feresetround_ppc): Likewise.
54910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54911         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
54912         compat_symbol macro.
54913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54914         (__fe_nomask_env): Likewise.
54915         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
54917 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54919         * string/Makefile: Remove ifunc tests.
54920         * string/test-string.h: Define TEST_IFUNC.
54921         * string/test-bcopy-ifunc.c: Remove.
54922         * string/test-bzero-ifunc.c: Likewise.
54923         * string/test-memccpy-ifunc.c: Likewise.
54924         * string/test-memchr-ifunc.c: Likewise.
54925         * string/test-memcmp-ifunc.c: Likewise.
54926         * string/test-memcpy-ifunc.c: Likewise.
54927         * string/test-memmem-ifunc.c: Likewise.
54928         * string/test-memmove-ifunc.c: Likewise.
54929         * string/test-mempcpy-ifunc.c: Likewise.
54930         * string/test-memrchr-ifunc.c: Likewise.
54931         * string/test-memset-ifunc.c: Likewise.
54932         * string/test-rawmemchr-ifunc.c: Likewise.
54933         * string/test-stpcpy-ifunc.c: Likewise.
54934         * string/test-stpncpy-ifunc.c: Likewise.
54935         * string/test-strcasecmp-ifunc.c: Likewise.
54936         * string/test-strcasestr-ifunc.c: Likewise.
54937         * string/test-strcat-ifunc.c: Likewise.
54938         * string/test-strchr-ifunc.c: Likewise.
54939         * string/test-strchrnul-ifunc.c: Likewise.
54940         * string/test-strcmp-ifunc.c: Likewise.
54941         * string/test-strcpy-ifunc.c: Likewise.
54942         * string/test-strcspn-ifunc.c: Likewise.
54943         * string/test-strlen-ifunc.c: Likewise.
54944         * string/test-strncasecmp-ifunc.c: Likewise.
54945         * string/test-strncat-ifunc.c: Likewise.
54946         * string/test-strncmp-ifunc.c: Likewise.
54947         * string/test-strncpy-ifunc.c: Likewise.
54948         * string/test-strnlen-ifunc.c: Likewise.
54949         * string/test-strpbrk-ifunc.c: Likewise.
54950         * string/test-strrchr-ifunc.c: Likewise.
54951         * string/test-strspn-ifunc.c: Likewise.
54952         * string/test-strstr-ifunc.c: Likewise.
54954 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54956         * benchtests/Makefile: Remove ifunc tests.
54957         * benchtests/bench-string.h: Define TEST_IFUNC.
54958         * benchtests/bench-bcopy-ifunc.c: Remove.
54959         * benchtests/bench-bzero-ifunc.c: Likewise.
54960         * benchtests/bench-memccpy-ifunc.c: Likewise.
54961         * benchtests/bench-memchr-ifunc.c: Likewise.
54962         * benchtests/bench-memcmp-ifunc.c: Likewise.
54963         * benchtests/bench-memcpy-ifunc.c: Likewise.
54964         * benchtests/bench-memmem-ifunc.c: Likewise.
54965         * benchtests/bench-memmove-ifunc.c: Likewise.
54966         * benchtests/bench-mempcpy-ifunc.c: Likewise.
54967         * benchtests/bench-memrchr-ifunc.c: Likewise.
54968         * benchtests/bench-memset-ifunc.c: Likewise.
54969         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
54970         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
54971         * benchtests/bench-stpcpy-ifunc.c: Likewise.
54972         * benchtests/bench-stpncpy-ifunc.c: Likewise.
54973         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
54974         * benchtests/bench-strcasestr-ifunc.c: Likewise.
54975         * benchtests/bench-strcat-ifunc.c: Likewise.
54976         * benchtests/bench-strchr-ifunc.c: Likewise.
54977         * benchtests/bench-strchrnul-ifunc.c: Likewise.
54978         * benchtests/bench-strcmp-ifunc.c: Likewise.
54979         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
54980         * benchtests/bench-strcpy-ifunc.c: Likewise.
54981         * benchtests/bench-strcspn-ifunc.c: Likewise.
54982         * benchtests/bench-strlen-ifunc.c: Likewise.
54983         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
54984         * benchtests/bench-strncat-ifunc.c: Likewise.
54985         * benchtests/bench-strncmp-ifunc.c: Likewise.
54986         * benchtests/bench-strncpy-ifunc.c: Likewise.
54987         * benchtests/bench-strnlen-ifunc.c: Likewise.
54988         * benchtests/bench-strpbrk-ifunc.c: Likewise.
54989         * benchtests/bench-strrchr-ifunc.c: Likewise.
54990         * benchtests/bench-strsep-ifunc.c: Likewise.
54991         * benchtests/bench-strspn-ifunc.c: Likewise.
54992         * benchtests/bench-strstr-ifunc.c: Likewise.
54994 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54996         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
54998 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55000         * resolv/netdb.h: Use __glibc_reserved instead __unused.
55001         * rt/aio.h: Likewise.
55002         * sysdeps/gnu/bits/utmp.h: Likewise.
55003         * sysdeps/gnu/bits/utmpx.h: Likewise.
55004         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
55005         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
55006         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
55007         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
55008         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
55009         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
55010         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
55011         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
55012         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
55013         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
55014         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
55015         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
55016         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
55017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
55018         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
55019         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
55020         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
55021         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
55022         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
55023         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
55024         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
55025         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
55026         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
55027         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55028         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
55029         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55030         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
55031         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
55032         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
55033         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
55034         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
55035         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
55036         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
55037         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
55038         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
55039         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
55040         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
55041         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
55042         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
55043         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
55044         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
55045         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
55047 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
55049         [BZ #16245]
55050         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
55051         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
55053 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
55055         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
55056         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
55057         Likewise.
55059 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55061         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
55062         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
55063         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
55064         (__fesetround): Remove define.
55065         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
55066         rounding and exceptions handling.
55067         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
55068         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
55069         (__fe_nomask_env): Likewise.
55070         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
55071         __fegetround instead of fegetround.
55072         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
55073         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
55075 2013-11-21  Roland McGrath  <roland@hack.frob.com>
55077         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
55078         it's there.
55080         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
55082 2013-11-21  Meador Inge  <meadori@codesourcery.com>
55084         [BZ #11157]
55085         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
55086         (encrypt_r): Likewise.
55087         * malloc/obstack.h (obstack_free): Likewise.
55088         * posix/unistd.h (encrypt): Likewise.
55090 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
55092         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
55093         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
55094         DL_CALL_DT_FINI() that call the functions directly.
55095         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
55096         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
55097         * elf/dl-fini.c: Likewise.
55099 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
55101         * malloc/hooks.c (memalign_check): Add alignment rounding.
55102         * malloc/malloc.c (_mid_memalign): New function.
55103         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
55104         Implement by calling _mid_memalign.
55105         * manual/probes.texi (Memory Allocation Probes): Remove
55106         memory_valloc_retry and memory_pvalloc_retry.
55108 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55110         * locale/programs/locarchive.c (open_archive): Add const
55111         qualifier to ARCHIVEFNAME and copy default fname to
55112         DEFAULT_FNAME.
55114         [BZ #15601]
55115         * libio/tst-widetext.input: Rename Oriya to Odia.
55116         * locale/iso-639.def: Likewise.
55118         * manual/probes.texi (Mathematical Function Probes): Add
55119         documentation for sin, cos, asin and acos probes.
55120         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
55121         (__sin32): Add slowasin probe.
55122         (__cos32): Add slowacos probe.
55123         (__mpsin): Add slowsin probe.
55124         (__mpcos): Add slowcos probe.
55126 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
55128         [BZ #15483]
55129         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
55130         thread-local __sim_exceptions_thread and global
55131         __sim_exceptions_global.
55132         (__sim_disabled_exceptions): Change to thread-local
55133         __sim_disabled_exceptions_thread and global
55134         __sim_disabled_exceptions_global.
55135         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
55136         and global __sim_round_mode_global.
55137         (__simulate_exceptions): Use thread-local floating-point state and
55138         set global state from it as needed.
55139         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
55140         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
55141         __sim_round_mode_thread.
55142         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
55143         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
55144         and global __sim_exceptions_global.
55145         (__sim_disabled_exceptions): Change to thread-local
55146         __sim_disabled_exceptions_thread and global
55147         __sim_disabled_exceptions_global.
55148         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
55149         and global __sim_round_mode_global.
55150         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
55151         (SIM_SET_GLOBAL): Likewise.
55152         * sysdeps/powerpc/soft-fp/sfp-machine.h
55153         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
55154         __sim_round_mode_thread.
55155         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
55156         __sim_disabled_exceptions_thread.
55157         (__sim_exceptions): Change to __sim_exceptions_thread.
55158         (__sim_disabled_exceptions): Change to
55159         __sim_disabled_exceptions_thread.
55160         (__sim_round_mode): Change to __sim_round_mode_thread.
55161         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
55162         thread-local floating-point state and set global state from it as
55163         needed.
55164         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
55165         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
55166         (__sim_disabled_exceptions): Remove extern declaration.
55167         (feenableexcept): Use thread-local floating-point state and set
55168         global state from it as needed.
55169         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
55170         extern declaration.
55171         (__sim_disabled_exceptions): Likewise.
55172         (__sim_round_mode): Likewise.
55173         (__fegetenv): Use thread-local floating-point state.
55174         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
55175         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
55176         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
55177         floating-point state and set global state from it as needed.
55178         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
55179         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
55180         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
55181         Likewise.
55182         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
55183         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
55184         Likewise.
55185         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
55186         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
55187         Use __sim_round_mode_thread.
55188         * math/test-fenv-tls.c: New file.
55189         * math/Makefile (tests): Add test-fenv-tls.
55190         ($(objpfx)test-fenv-tls): Depend on
55191         $(common-objpfx)nptl/libpthread.so.
55193 2013-11-19  Andreas Schwab  <schwab@suse.de>
55195         * locale/programs/locale.c (show_info): Decode wordarray elements.
55196         * locale/categories.def (LC_MONETARY): Add element for
55197         _NL_MONETARY_CRNCYSTR.
55198         * locale/C-monetary.c (conversion_rate): New variable.
55199         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
55200         element.
55202 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
55204         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
55205         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
55207 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
55209         * elf/Makefile (tst-auxv): New test.
55210         * elf/tst-auxv.c: New
55211         * elf/rtld.c (dl_main): Adjust AT_EXECFN
55213 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
55215         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
55216         (hidden_proto): Caller changed.
55217         (hidden_tls_proto): New macro.
55218         (libc_hidden_tls_proto): Likewise.
55219         (rtld_hidden_tls_proto): Likewise.
55220         (libm_hidden_tls_proto): Likewise.
55221         (libresolv_hidden_tls_proto): Likewise.
55222         (librt_hidden_tls_proto): Likewise.
55223         (libdl_hidden_tls_proto): Likewise.
55224         (libnss_files_hidden_tls_proto): Likewise.
55225         (libnsl_hidden_tls_proto): Likewise.
55226         (libnss_nisplus_hidden_tls_proto): Likewise.
55227         (libutil_hidden_tls_proto): Likewise.
55229 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
55231         [BZ #10253]
55232         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
55233         (decompose_rpath): Defer expansion to fillin_rpath.
55234         (_dl_init_paths): Pass linkmap to fillin_rpath.
55236 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55238         * benchtests/Makefile: Add strsep.
55239         * benchtests/bench-strsep.c: New file: strsep benchtest.
55240         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
55242 2013-11-18  Andreas Schwab  <schwab@suse.de>
55244         * locale/programs/locale.c (show_info) [case byte]: Check for
55245         '\377' instead of '\177'.
55246         * locale/C-monetary.c (not_available): Always use "\377".
55247         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
55248         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
55249         detect unavailable sign_posn locale elements.
55250         * locale/localeconv.c (__localeconv): For grouping and
55251         mon_grouping handle "\177" and "\377" like no grouping.
55252         (INT_ELEM): New macro.  Use it to set all numeric members.
55253         * locale/programs/ld-monetary.c (monetary_read)
55254         <tok_mon_grouping>: Normalize single -1 to the empty string.
55255         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
55256         Likewise.
55258 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
55260         [BZ #16055]
55261         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
55262         when we match (nil).
55263         * stdio-common/tst-sscanf.c (struct test): Add testcase.
55265 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
55267         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
55268         (NO_TEST_INLINE): Update value.
55269         (ERRNO_UNCHANGED): Likewise.
55270         (ERRNO_EDOM): Likewise.
55271         (ERRNO_ERANGE): Likewise.
55272         (IGNORE_RESULT): Likewise.
55273         (check_float_internal): Check signs of NaN results if
55274         TEST_NAN_SIGN used.
55275         (check_complex): Pass TEST_NAN_SIGN flag through to second
55276         check_float_internal call.
55277         (copysign_test_data): Add tests with quiet NaNs as second
55278         argument.  Use TEST_NAN_SIGN.
55279         (fabs_test_data): Add test of negative quiet NaN argument.  Use
55280         TEST_NAN_SIGN.
55281         (signbit_test_data): Add tests of quiet NaN argument.
55282         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
55284         * math/gen-libm-test.pl (show_exceptions): Take extra argument
55285         $ignore_result.
55286         (parse_args): Handle function results specified as IGNORE.
55287         * math/libm-test.inc (IGNORE_RESULT): New macro.
55288         (check_float_internal): Do not check numerical result if flag
55289         IGNORE_RESULT set.
55290         (check_complex): Pass through IGNORE_RESULT to second
55291         check_float_internal call.
55292         (check_int): Do not check numerical result if flag IGNORE_RESULT
55293         set.
55294         (check_long): Likewise.
55295         (check_bool): Likewise.
55296         (check_longlong): Likewise.
55297         (lrint_test_data): Add tests of infinite and NaN arguments.
55298         (lrint_tonearest_test_data): Likewise.
55299         (lrint_towardzero_test_data): Likewise.
55300         (lrint_downward_test_data): Likewise.
55301         (lrint_upward_test_data): Likewise.
55302         (llrint_test_data): Likewise.
55303         (llrint_tonearest_test_data): Likewise.
55304         (llrint_towardzero_test_data): Likewise.
55305         (llrint_downward_test_data): Likewise.
55306         (llrint_upward_test_data): Likewise.
55307         (lround_test_data): Likewise.
55308         (llround_test_data): Likewise.
55310         * math/libm-test.inc (NO_TEST_INLINE): New macro.
55311         (ERRNO_UNCHANGED): Update value.
55312         (ERRNO_EDOM): Likewise.
55313         (ERRNO_ERANGE): Likewise.
55314         (NO_TEST_INLINE_FLOAT): New macro.
55315         (NO_TEST_INLINE_DOUBLE): Likewise.
55316         (enable_test): New function.
55317         (RUN_TEST_f_f): Check enable_test before running test.
55318         (RUN_TEST_2_f): Likewise.
55319         (RUN_TEST_fff_f): Likewise.
55320         (RUN_TEST_c_f): Likewise.
55321         (RUN_TEST_f_f1): Likewise.
55322         (RUN_TEST_fF_f1): Likewise.
55323         (RUN_TEST_fI_f1): Likewise.
55324         (RUN_TEST_ffI_f1): Likewise.
55325         (RUN_TEST_c_c): Likewise.
55326         (RUN_TEST_cc_c): Likewise.
55327         (RUN_TEST_f_i): Likewise.
55328         (RUN_TEST_f_i_tg): Likewise.
55329         (RUN_TEST_ff_i_tg): Likewise.
55330         (RUN_TEST_f_b): Likewise.
55331         (RUN_TEST_f_b_tg): Likewise.
55332         (RUN_TEST_f_l): Likewise.
55333         (RUN_TEST_f_L): Likewise.
55334         (RUN_TEST_fFF_11): Likewise.
55335         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
55336         conditionals.
55337         (cosh_test_data): Likewise.
55338         (exp_test_data): Likewise.
55339         (expm1_test_data): Likewise.
55340         (hypot_test_data): Likewise.
55341         (pow_test_data): Likewise.
55342         (sinh_test_data): Likewise.
55343         (tanh_test_data): Likewise.
55344         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
55345         flags argument.
55347         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
55348         tests with quiet NaN input and output.
55349         (acosh_test_data): Likewise.
55350         (asin_test_data): Likewise.
55351         (asinh_test_data): Likewise.
55352         (atan_test_data): Likewise.
55353         (atanh_test_data): Likewise.
55354         (atan2_test_data): Likewise.
55355         (cbrt_test_data): Likewise.
55356         (cos_test_data): Likewise.
55357         (cosh_test_data): Likewise.
55358         (erf_test_data): Likewise.
55359         (erfc_test_data): Likewise.
55360         (exp_test_data): Likewise.
55361         (exp10_test_data): Likewise.
55362         (exp2_test_data): Likewise.
55363         (expm1_test_data): Likewise.
55364         (hypot_test_data): Likewise.
55365         (j0_test_data): Likewise.
55366         (j1_test_data): Likewise.
55367         (jn_test_data): Likewise.
55368         (lgamma_test_data): Likewise.
55369         (log_test_data): Likewise.
55370         (log10_test_data): Likewise.
55371         (log1p_test_data): Likewise.
55372         (log2_test_data): Likewise.
55373         (pow_test_data): Likewise.
55374         (scalb_test_data): Likewise.
55375         (sin_test_data): Likewise.
55376         (sincos_test_data): Likewise.
55377         (sinh_test_data): Likewise.
55378         (tan_test_data): Likewise.
55379         (tanh_test_data): Likewise.
55380         (tgamma_test_data): Likewise.
55381         (y0_test_data): Likewise.
55382         (y1_test_data): Likewise.
55383         (yn_test_data): Likewise.
55385         [BZ #16167]
55386         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
55387         argument being NaN and avoid computations with second argument in
55388         that case.
55389         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55390         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
55391         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
55393 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
55395         * locale/iso-639.def: Add Chitwani Tharu (the).
55397 2013-11-14  Andreas Schwab  <schwab@suse.de>
55399         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
55400         word instead of empty string.
55402 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55405         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
55406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55407         (__fe_nomask_env): Likewise.
55409 2013-11-13  Steve Ellcey  <sellcey@mips.com>
55411         * benchtests/bench-timing.h: Include time.h.
55413 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
55415         [BZ #15997]
55416         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
55417         to 3.4.0 for x32.
55418         * sysdeps/unix/sysv/linux/configure: Regenerated.
55420 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
55422         [BZ #16151]
55423         * stdlib/strtod_l.c (round_and_return): Do not consider
55424         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
55425         exponent one less than half the least subnormal exponent.
55426         * stdlib/test-strtod-round-data: Add more tests.
55427         * stdlib/tst-strtod-round.c (tests): Regenerated.
55429 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55431         [BZ #14143]
55432         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
55433         (__fe_mask_env): Likewise.
55434         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
55435         libm_hidden_proto and add function prototype.
55436         (__fe_mask_env): Add function prototype.
55437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55438         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
55439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
55440         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
55441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55442         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
55444 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55446         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
55447         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
55449 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55451         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
55452         of htab_find_slot().
55454 2013-11-11  David S. Miller  <davem@davemloft.net>
55456         [BZ #16150]
55457         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
55458         symbol in the non-vis3 case in static builds.
55459         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
55460         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
55461         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
55462         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
55464 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
55466         [BZ #387]
55467         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
55468         it is empty.
55470 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55472         * benchtests/Makefile: Add bench-strtod.
55473         * benchtests/bench-strtod.c: New file: strtod benchtest
55475 2013-11-11  Andreas Schwab  <schwab@suse.de>
55477         [BZ #16153]
55478         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
55479         terminating NUL in key length.
55481 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55483         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
55484         Add artificial ODP entry for vDSO symbol for PPC64.
55485         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
55486         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
55488 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
55490         [BZ #15374]
55491         * nss/getent.c (services_keys): Recognize services starting with digit.
55493 2013-11-06  David S. Miller  <davem@davemloft.net>
55495         [BZ #15985]
55496         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
55497         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
55499 2013-11-06  Will Newton  <will.newton@linaro.org>
55501         * manual/memory.texi (Malloc Examples): Remove register
55502         keyword from examples.
55504 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
55506         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
55508 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
55510         [BZ #6981]
55511         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
55512         depending on [__GCC_IEC_559 > 0].
55513         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
55514         depending on [__GCC_IEC_559_COMPLEX > 0].
55516 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
55518         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
55519         to iso-639.def.
55521 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
55523         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
55525 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
55527         [BZ #16112]
55528         * malloc/malloc (malloc_info): Do not handle first bin as
55529         special case.
55531 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
55533         * locale/iso-639.def: Add Central Nahuatl (nhn).
55535 2013-11-01  Bruno Haible  <bruno@clisp.org>
55537         [BZ #7003]
55538         * manual/math.texi (BSD Random): Specify range upper bound as
55539         in POSIX.
55541 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
55543         * locale/iso-639.def: Add Meadow Mari (mhr).
55545 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
55547         [BZ #14752], [BZ #15763]
55548         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
55549         Validate name.
55550         * rt/tst_shm.c: Add test for escaping directory.
55552 2013-10-31  Andreas Schwab  <schwab@suse.de>
55554         [BZ #15917]
55555         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
55556         followed by 'x' as part of digit sequence.
55557         * stdio-common/tst-sscanf.c (double_tests2): New tests.
55559 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
55561         [BZ #16037]
55562         * configure.ac: allow GNU Make 4.0 and greater.
55563         * configure: Regenerated.
55565 2013-10-30  Will Newton  <will.newton@linaro.org>
55567         [BZ #16038]
55568         * malloc/hooks.c (memalign_check): Limit alignment to the
55569         maximum representable power of two.
55570         * malloc/malloc.c (__libc_memalign): Likewise.
55571         * malloc/tst-memalign.c (do_test): Add test for very
55572         large alignment values.
55573         * malloc/tst-posix_memalign.c (do_test): Likewise.
55575 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
55577         [BZ #11087]
55578         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
55579         (munmap_chunk): Likewise.
55580         (mremap_chunk): Likewise.
55582 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
55584         [BZ #15799]
55585         * stdlib/div.c (div): Remove obsolete code.
55586         * stdlib/ldiv.c (ldiv): Likewise.
55587         * stdlib/lldiv.c (lldiv): Likewise.
55589 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55591         [BZ #16071]
55592         * nss/nss_files/files-XXX.c (get_contents_ret): New
55593         enumerator.
55594         (get_contents): New function.
55595         (internal_getent): Use it.  Expand size of LINEBUFLEN.
55597 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
55599         * configure.in: Moved to ...
55600         * configure.ac: ... here. Change reference to configure.in
55601         to configure.ac.
55602         * sysdeps/arm/preconfigure.ac: ... here.
55603         configure.in to configure.ac.
55604         * sysdeps/gnu/configure.in: Moved to ...
55605         * sysdeps/gnu/configure.ac: ... here.
55606         * sysdeps/i386/configure.in: Moved to ...
55607         * sysdeps/i386/configure.ac: ... here.
55608         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
55609         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
55610         * sysdeps/mach/configure.in: Moved to ...
55611         * sysdeps/mach/configure.ac: ... here.
55612         * sysdeps/mach/hurd/configure.in: Moved to ...
55613         * sysdeps/mach/hurd/configure.ac: ... here.
55614         * sysdeps/powerpc/configure.in: Moved to ...
55615         * sysdeps/powerpc/configure.ac: ... here.
55616         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
55617         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
55618         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
55619         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
55620         * sysdeps/s390/s390-32/configure.in: Moved to ...
55621         * sysdeps/s390/s390-32/configure.ac: ... here.
55622         * sysdeps/s390/s390-64/configure.in: Moved to ...
55623         * sysdeps/s390/s390-64/configure.ac: ... here.
55624         * sysdeps/sh/configure.in: Moved to ...
55625         * sysdeps/sh/configure.ac: ... here.
55626         * sysdeps/sparc/configure.in: Moved to ...
55627         * sysdeps/sparc/configure.ac: ... here.
55628         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
55629         * sysdeps/unix/sysv/linux/configure.ac: ... here.
55630         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
55631         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
55632         * sysdeps/x86_64/configure.in: Moved to ...
55633         * sysdeps/x86_64/configure.ac: ... here.
55634         * sysdeps/x86_64/preconfigure.in: Moved to ...
55635         * sysdeps/x86_64/preconfigure.ac: ... here.
55636         * aclocal.m4: Change reference to configure.in to configure.ac.
55637         * config.h.in: Likewise.
55638         * manual/install.texi: Likewise.
55639         * manual/maint.texi: Likewise.
55640         * Makefile: Likewise.
55641         * malloc/Makefile: Likewise.
55642         * nscd/Makefile: Likewise.
55643         * Makeconfig: Change reference to configure.in and
55644         preconfigure.in to configure.ac and preconfigure.ac
55645         respectively.
55646         * INSTALL: Regenerated.
55647         * configure: Likewise.
55648         * sysdeps/gnu/configure: Likewise.
55649         * sysdeps/i386/configure: Likewise.
55650         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
55651         * sysdeps/mach/configure: Likewise.
55652         * sysdeps/mach/hurd/configure: Likewise.
55653         * sysdeps/powerpc/configure: Likewise.
55654         * sysdeps/powerpc/powerpc32/configure: Likewise.
55655         * sysdeps/powerpc/powerpc64/configure: Likewise.
55656         * sysdeps/s390/s390-32/configure: Likewise.
55657         * sysdeps/s390/s390-64/configure: Likewise.
55658         * sysdeps/sh/configure: Likewise.
55659         * sysdeps/sparc/configure: Likewise.
55660         * sysdeps/unix/sysv/linux/configure: Likewise.
55661         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
55662         * sysdeps/x86_64/configure: Likewise.
55663         * sysdeps/x86_64/preconfigure: Likewise.
55665 2013-10-29  Andreas Schwab  <schwab@suse.de>
55667         * stdio-common/Makefile (tst-swscanf-ENV): Define.
55669 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55671         * benchtests/pow-inputs: Add new inputs.
55673         * benchtests/exp-inputs: Add new inputs.
55675         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
55676         conditional check for return value.
55677         (__cos32): Likewise.
55679 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55681         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
55682         to provide a boost for large inputs with word alignment.
55683         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
55684         implementation based on optimized PPC64 strcpy.
55685         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
55686         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
55687         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
55688         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
55690 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55692         [BZ #2801]
55693         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
55695 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55697         [BZ #14876]
55698         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
55699         * time/tst-strptime.c (day_tests): Add testcase.
55701 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55703         [BZ #14029]
55704         * manual/pattern.texi: Acknowledge that fnmatch can fail.
55706 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
55708         [BZ #16074]
55709         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
55710         MAP_FAILED on error.
55712 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55714         [BZ #16072]
55715         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
55716         heap for large requests.
55718 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
55720         [BZ #9954]
55721         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
55722         result if the result has no associated interface.
55723         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
55724         interface for all 127.X.Y.Z addresses.
55726 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
55728         * locale/iso-639.def: Add Ligurian (lij)
55730 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
55732         [BZ #15825]
55733         * sunrpc/rpc_main.c: Document rpcgen -5.
55735 2013-10-19  Michael Stahl  <mstahl@redhat.com>
55737         * elf/rtld.c (do_preload): Print the reason why preloading failed.
55739 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
55741         [BZ #10278]
55742         * posix/glob.c: Match only directories when trailing slash is present.
55743         * posix/tst-gnuglob.c (my_opendir): Do not open files.
55744         (main): Add testcase.
55746 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
55748         [BZ #15670]
55749         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
55751 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
55753         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
55754         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
55755         AUTH_DES and cindex for FIPS 140-2.
55756         (DES Encryption): Add cindex FIPS 46-3.
55758         * locale/locarchive.h (struct locarhandle): Add fname.
55759         * locale/programs/localedef.c (main): Pass ARGV[remaining]
55760         if an optional argument was specified to --list-archive,
55761         otherwise NULL.
55762         * locale/programs/locarchive.c (show_archive_content): Take new
55763         argument fname and pass it via ah.fname to open_archive.
55764         * locale/programs/localedef.h: Update decl.
55765         (open_archive): If AH->fname is non-null, open that file
55766         rather than the default file name, and don't ignore ENOENT.
55767         (create_archive): Set AH.fname to NULL.
55768         (delete_locales_from_archive): Likewise.
55769         (add_locales_to_archive): Likewise.
55770         * locale/programs/locfile.c (write_all_categories): Likewise.
55772 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
55773             Aldy Hernandez  <aldyh@redhat.com>
55775         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
55776         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
55777         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
55778         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
55779         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
55780         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
55781         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
55782         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
55783         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
55784         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
55785         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
55786         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
55787         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
55788         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
55789         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
55790         Likewise.
55791         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
55792         Likewise.
55793         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
55794         Likewise.
55795         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
55796         Likewise.
55797         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
55798         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
55799         Likewise.
55800         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
55801         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
55802         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
55803         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
55804         Likewise.
55805         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
55806         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
55807         * sysdeps/powerpc/preconfigure: Likewise.
55808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
55809         Likewise.
55810         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
55811         Replace contents of file by #include of <fenv_libc.h>.
55812         * sysdeps/powerpc/soft-fp/sfp-machine.h
55813         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
55814         and <sys/prctl.h>.
55815         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
55816         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
55817         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
55818         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
55819         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
55820         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
55821         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
55822         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
55823         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
55824         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
55825         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
55826         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
55827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
55828         Allow copysignl PLT reference to be missing.
55830 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
55831             Joseph Myers  <joseph@codesourcery.com
55833         [BZ #15948]
55834         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
55835         single character.
55836         (add_to_tablewc): Assert sequence of wide characters is nonempty.
55838 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55840         * elf/tst-tls-dlinfo.c: Don't include tls.h.
55841         * elf/tst-tls1.c: Likewise.
55842         * elf/tst-tls10.h: Likewise.
55843         * elf/tst-tls14.c: Likewise.
55844         * elf/tst-tls2.c: Likewise.
55845         * elf/tst-tls3.c: Likewise.
55846         * elf/tst-tls4.c: Likewise.
55847         * elf/tst-tls5.c: Likewise.
55848         * elf/tst-tls6.c: Likewise.
55849         * elf/tst-tls7.c: Likewise.
55850         * elf/tst-tls8.c: Likewise.
55851         * elf/tst-tls9.c: Likewise.
55852         * elf/tst-tlsmod1.c: Likewise.
55853         * elf/tst-tlsmod13.c: Likewise.
55854         * elf/tst-tlsmod13a.c: Likewise.
55855         * elf/tst-tlsmod14a.c: Likewise.
55856         * elf/tst-tlsmod16a.c: Likewise.
55857         * elf/tst-tlsmod16b.c: Likewise.
55858         * elf/tst-tlsmod2.c: Likewise.
55859         * elf/tst-tlsmod3.c: Likewise.
55860         * elf/tst-tlsmod4.c: Likewise.
55861         * elf/tst-tlsmod5.c: Likewise.
55862         * elf/tst-tlsmod6.c: Likewise.
55864 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
55866         [BZ #12486]
55867         * malloc/malloc.c: remove checks for statistics.
55869 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
55871         [BZ #15277]
55872         * inet/inet_net.c (inet_network): Detect additional invalid strings.
55873         * inet/tst-network.c: Add testcase.
55875 2013-10-17  Andreas Schwab  <schwab@suse.de>
55877         [BZ #15218]
55878         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
55879         to determine canonical name.
55881 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
55883         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
55884         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
55885         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55886         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55887         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55888         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55889         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55890         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55891         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55892         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55893         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
55894         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55895         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55896         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55897         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55898         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55899         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55900         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55901         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55902         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55903         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55904         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55905         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55906         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
55907         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
55908         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55909         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55910         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
55911         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55912         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
55913         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55914         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55915         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55916         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55917         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55918         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55919         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55920         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55921         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55922         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55923         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55924         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55925         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55926         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55927         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55928         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55929         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55930         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55931         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55932         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55933         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55934         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55935         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55936         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55937         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55938         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55939         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55940         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55942 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
55944         [BZ #16041]
55945         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
55946         make result into a quiet NaN.
55948 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
55950         * soft-fp/adddf3.c: Fix horizontal whitespace.
55951         * soft-fp/addsf3.c: Likewise.
55952         * soft-fp/addtf3.c: Likewise.
55953         * soft-fp/divdf3.c: Likewise.
55954         * soft-fp/divsf3.c: Likewise.
55955         * soft-fp/divtf3.c: Likewise.
55956         * soft-fp/double.h: Likewise.
55957         * soft-fp/eqdf2.c: Likewise.
55958         * soft-fp/eqsf2.c: Likewise.
55959         * soft-fp/eqtf2.c: Likewise.
55960         * soft-fp/extenddftf2.c: Likewise.
55961         * soft-fp/extended.h: Likewise.
55962         * soft-fp/extendsfdf2.c: Likewise.
55963         * soft-fp/extendsftf2.c: Likewise.
55964         * soft-fp/extendxftf2.c: Likewise.
55965         * soft-fp/fixdfdi.c: Likewise.
55966         * soft-fp/fixdfsi.c: Likewise.
55967         * soft-fp/fixdfti.c: Likewise.
55968         * soft-fp/fixsfdi.c: Likewise.
55969         * soft-fp/fixsfsi.c: Likewise.
55970         * soft-fp/fixsfti.c: Likewise.
55971         * soft-fp/fixtfdi.c: Likewise.
55972         * soft-fp/fixtfsi.c: Likewise.
55973         * soft-fp/fixtfti.c: Likewise.
55974         * soft-fp/fixunsdfdi.c: Likewise.
55975         * soft-fp/fixunsdfsi.c: Likewise.
55976         * soft-fp/fixunsdfti.c: Likewise.
55977         * soft-fp/fixunssfdi.c: Likewise.
55978         * soft-fp/fixunssfsi.c: Likewise.
55979         * soft-fp/fixunssfti.c: Likewise.
55980         * soft-fp/fixunstfdi.c: Likewise.
55981         * soft-fp/fixunstfsi.c: Likewise.
55982         * soft-fp/fixunstfti.c: Likewise.
55983         * soft-fp/floatdidf.c: Likewise.
55984         * soft-fp/floatdisf.c: Likewise.
55985         * soft-fp/floatditf.c: Likewise.
55986         * soft-fp/floatsidf.c: Likewise.
55987         * soft-fp/floatsisf.c: Likewise.
55988         * soft-fp/floatsitf.c: Likewise.
55989         * soft-fp/floattidf.c: Likewise.
55990         * soft-fp/floattisf.c: Likewise.
55991         * soft-fp/floattitf.c: Likewise.
55992         * soft-fp/floatundidf.c: Likewise.
55993         * soft-fp/floatundisf.c: Likewise.
55994         * soft-fp/floatunditf.c: Likewise.
55995         * soft-fp/floatunsidf.c: Likewise.
55996         * soft-fp/floatunsisf.c: Likewise.
55997         * soft-fp/floatunsitf.c: Likewise.
55998         * soft-fp/floatuntidf.c: Likewise.
55999         * soft-fp/floatuntisf.c: Likewise.
56000         * soft-fp/floatuntitf.c: Likewise.
56001         * soft-fp/fmadf4.c: Likewise.
56002         * soft-fp/fmasf4.c: Likewise.
56003         * soft-fp/fmatf4.c: Likewise.
56004         * soft-fp/gedf2.c: Likewise.
56005         * soft-fp/gesf2.c: Likewise.
56006         * soft-fp/getf2.c: Likewise.
56007         * soft-fp/ledf2.c: Likewise.
56008         * soft-fp/lesf2.c: Likewise.
56009         * soft-fp/letf2.c: Likewise.
56010         * soft-fp/muldf3.c: Likewise.
56011         * soft-fp/mulsf3.c: Likewise.
56012         * soft-fp/multf3.c: Likewise.
56013         * soft-fp/negdf2.c: Likewise.
56014         * soft-fp/negsf2.c: Likewise.
56015         * soft-fp/negtf2.c: Likewise.
56016         * soft-fp/op-1.h: Likewise.
56017         * soft-fp/op-2.h: Likewise.
56018         * soft-fp/op-4.h: Likewise.
56019         * soft-fp/op-8.h: Likewise.
56020         * soft-fp/op-common.h: Likewise.
56021         * soft-fp/quad.h: Likewise.
56022         * soft-fp/single.h: Likewise.
56023         * soft-fp/soft-fp.h: Likewise.
56024         * soft-fp/sqrtdf2.c: Likewise.
56025         * soft-fp/sqrtsf2.c: Likewise.
56026         * soft-fp/sqrttf2.c: Likewise.
56027         * soft-fp/subdf3.c: Likewise.
56028         * soft-fp/subsf3.c: Likewise.
56029         * soft-fp/subtf3.c: Likewise.
56030         * soft-fp/truncdfsf2.c: Likewise.
56031         * soft-fp/trunctfdf2.c: Likewise.
56032         * soft-fp/trunctfsf2.c: Likewise.
56033         * soft-fp/trunctfxf2.c: Likewise.
56034         * soft-fp/unorddf2.c: Likewise.
56035         * soft-fp/unordsf2.c: Likewise.
56036         * soft-fp/unordtf2.c: Likewise.
56038 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
56040         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
56041         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
56043 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
56045         * elf/dl-libc.c: Clear initfini list after freeing.
56047 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
56049         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
56050         * soft-fp/addsf3.c: Likewise.
56051         * soft-fp/addtf3.c: Likewise.
56052         * soft-fp/divdf3.c: Likewise.
56053         * soft-fp/divsf3.c: Likewise.
56054         * soft-fp/divtf3.c: Likewise.
56055         * soft-fp/double.h: Likewise.
56056         * soft-fp/eqdf2.c: Likewise.
56057         * soft-fp/eqsf2.c: Likewise.
56058         * soft-fp/eqtf2.c: Likewise.
56059         * soft-fp/extenddftf2.c: Likewise.
56060         * soft-fp/extended.h: Likewise.
56061         * soft-fp/extendsfdf2.c: Likewise.
56062         * soft-fp/extendsftf2.c: Likewise.
56063         * soft-fp/extendxftf2.c: Likewise.
56064         * soft-fp/fixdfdi.c: Likewise.
56065         * soft-fp/fixdfsi.c: Likewise.
56066         * soft-fp/fixdfti.c: Likewise.
56067         * soft-fp/fixsfdi.c: Likewise.
56068         * soft-fp/fixsfsi.c: Likewise.
56069         * soft-fp/fixsfti.c: Likewise.
56070         * soft-fp/fixtfdi.c: Likewise.
56071         * soft-fp/fixtfsi.c: Likewise.
56072         * soft-fp/fixtfti.c: Likewise.
56073         * soft-fp/fixunsdfdi.c: Likewise.
56074         * soft-fp/fixunsdfsi.c: Likewise.
56075         * soft-fp/fixunsdfti.c: Likewise.
56076         * soft-fp/fixunssfdi.c: Likewise.
56077         * soft-fp/fixunssfsi.c: Likewise.
56078         * soft-fp/fixunssfti.c: Likewise.
56079         * soft-fp/fixunstfdi.c: Likewise.
56080         * soft-fp/fixunstfsi.c: Likewise.
56081         * soft-fp/fixunstfti.c: Likewise.
56082         * soft-fp/floatdidf.c: Likewise.
56083         * soft-fp/floatdisf.c: Likewise.
56084         * soft-fp/floatditf.c: Likewise.
56085         * soft-fp/floatsidf.c: Likewise.
56086         * soft-fp/floatsisf.c: Likewise.
56087         * soft-fp/floatsitf.c: Likewise.
56088         * soft-fp/floattidf.c: Likewise.
56089         * soft-fp/floattisf.c: Likewise.
56090         * soft-fp/floattitf.c: Likewise.
56091         * soft-fp/floatundidf.c: Likewise.
56092         * soft-fp/floatundisf.c: Likewise.
56093         * soft-fp/floatunsidf.c: Likewise.
56094         * soft-fp/floatunsisf.c: Likewise.
56095         * soft-fp/floatuntidf.c: Likewise.
56096         * soft-fp/floatuntisf.c: Likewise.
56097         * soft-fp/floatuntitf.c: Likewise.
56098         * soft-fp/fmadf4.c: Likewise.
56099         * soft-fp/fmasf4.c: Likewise.
56100         * soft-fp/fmatf4.c: Likewise.
56101         * soft-fp/gedf2.c: Likewise.
56102         * soft-fp/gesf2.c: Likewise.
56103         * soft-fp/getf2.c: Likewise.
56104         * soft-fp/ledf2.c: Likewise.
56105         * soft-fp/lesf2.c: Likewise.
56106         * soft-fp/letf2.c: Likewise.
56107         * soft-fp/muldf3.c: Likewise.
56108         * soft-fp/mulsf3.c: Likewise.
56109         * soft-fp/multf3.c: Likewise.
56110         * soft-fp/negdf2.c: Likewise.
56111         * soft-fp/negsf2.c: Likewise.
56112         * soft-fp/negtf2.c: Likewise.
56113         * soft-fp/op-1.h: Likewise.
56114         * soft-fp/op-2.h: Likewise.
56115         * soft-fp/op-4.h: Likewise.
56116         * soft-fp/op-8.h: Likewise.
56117         * soft-fp/op-common.h: Likewise.
56118         * soft-fp/quad.h: Likewise.
56119         * soft-fp/single.h: Likewise.
56120         * soft-fp/soft-fp.h: Likewise.
56121         * soft-fp/sqrtdf2.c: Likewise.
56122         * soft-fp/sqrtsf2.c: Likewise.
56123         * soft-fp/sqrttf2.c: Likewise.
56124         * soft-fp/subdf3.c: Likewise.
56125         * soft-fp/subsf3.c: Likewise.
56126         * soft-fp/subtf3.c: Likewise.
56127         * soft-fp/truncdfsf2.c: Likewise.
56128         * soft-fp/trunctfdf2.c: Likewise.
56129         * soft-fp/trunctfsf2.c: Likewise.
56130         * soft-fp/trunctfxf2.c: Likewise.
56131         * soft-fp/unorddf2.c: Likewise.
56132         * soft-fp/unordsf2.c: Likewise.
56133         * soft-fp/unordtf2.c: Likewise.
56135 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
56137         [BZ #15672]
56138         * misc/error.c (error_tail): Fix possible buffer overflow.
56140 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
56142         [BZ #13028]
56143         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
56144         address.
56146 2013-10-14  P. J. McDermott  <pj@pehjota.net>
56148         [BZ #832]
56149         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
56150         testing pipefail option.
56152 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
56154         * soft-fp/double.h: Indent preprocessor directives inside #if.
56155         * soft-fp/extended.h: Likewise.
56156         * soft-fp/op-2.h: Likewise.
56157         * soft-fp/op-4.h: Likewise.
56158         * soft-fp/op-common.h: Likewise.
56159         * soft-fp/quad.h: Likewise.
56160         * soft-fp/single.h: Likewise.
56161         * soft-fp/soft-fp.h: Likewise.
56163 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
56165         * iconv/iconv_prog.c: Fix typos.
56166         * stdio-common/psiginfo-data.h: Likewise.
56168 2013-10-12   Reuben Thomas <rrt@sc3d.org>
56170         [BZ #15764]
56171         * locale/setlocale.c: Fix typo.
56173 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
56175         [BZ #16036]
56176         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
56177         signaling NaN arguments.
56178         * soft-fp/unordsf2.c (__unordsf2): Likewise.
56179         * soft-fp/unordtf2.c (__unordtf2): Likewise.
56181         [BZ #14910]
56182         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
56183         unordered operands.
56184         * soft-fp/gesf2.c (__gesf2): Likewise.
56185         * soft-fp/getf2.c (__getf2): Likewise.
56186         * soft-fp/ledf2.c (__ledf2): Likewise.
56187         * soft-fp/lesf2.c (__lesf2): Likewise.
56188         * soft-fp/letf2.c (__letf2): Likewise.
56190         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
56191         * soft-fp/eqsf2.c (__eqsf2): Likewise.
56192         * soft-fp/eqtf2.c (__eqtf2): Likewise.
56193         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
56194         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
56195         * soft-fp/fixdfti.c (__fixdfti): Likewise.
56196         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
56197         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
56198         * soft-fp/fixsfti.c (__fixsfti): Likewise.
56199         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
56200         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
56201         * soft-fp/fixtfti.c (__fixtfti): Likewise.
56202         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
56203         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
56204         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
56205         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
56206         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
56207         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
56208         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
56209         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
56210         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
56211         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
56212         * soft-fp/floatdisf.c (__floatdisf): Likewise.
56213         * soft-fp/floatsisf.c (__floatsisf): Likewise.
56214         * soft-fp/floattidf.c (__floattidf): Likewise.
56215         * soft-fp/floattisf.c (__floattisf): Likewise.
56216         * soft-fp/floattitf.c (__floattitf): Likewise.
56217         * soft-fp/floatundidf.c (__floatundidf): Likewise.
56218         * soft-fp/floatundisf.c (__floatundisf): Likewise.
56219         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
56220         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
56221         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
56222         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
56223         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
56224         * soft-fp/gesf2.c (__gesf2): Likewise.
56225         * soft-fp/getf2.c (__getf2): Likewise.
56226         * soft-fp/ledf2.c (__ledf2): Likewise.
56227         * soft-fp/lesf2.c (__lesf2): Likewise.
56228         * soft-fp/letf2.c (__letf2): Likewise.
56230         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
56231         Undefine and redefine.
56232         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
56233         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
56234         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
56235         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
56236         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56237         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
56238         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56239         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
56240         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56241         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
56242         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56243         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
56244         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56245         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
56246         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56248         [BZ #16032]
56249         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
56250         without decrementing exponent if mantissa >= that for the
56251         denominator, not >.
56252         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
56253         denominator, not >.  Decrement exponent in < case instead of
56254         incrementing in >= case.
56255         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
56256         without decrementing exponent if mantissa >= that for the
56257         denominator, not >.
56259         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
56260         computing saturated result for unsigned overflow.
56262 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56263             Jeff Law  <law@redhat.com>
56265         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
56266         (atan2Mp): Add systemtap probe marker.
56267         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
56268         (__ieee754_log): Add systemtap probe marker.
56269         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
56270         (atanMp): Add systemtap probe marker.
56271         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
56272         (tanMp): Add systemtap probe marker.
56273         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
56274         (__slowexp): Add systemtap probe marker.
56275         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
56276         (__slowpow): Add systemtap probe marker.
56277         * manual/probes.texi: Document probes.
56279 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
56281         [BZ #15362]
56282         * libio/fileops.c (_IO_new_file_write): Return count of bytes
56283         written.
56284         (_IO_new_file_xsputn): Don't return EOF if nothing has been
56285         written.
56286         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
56287         written to buffer but not flushed.
56288         * libio/iofwrite_u.c:  Likewise.
56289         * libio/iopadn.c:  Return bytes returned even if EOF was
56290         encountered.
56291         * libio/iowpadn.c:  Likewise.
56292         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
56293         if _IO_padn does not write the whole buffer.
56294         [!COMPILE_WPRINTF] (PAD): Likewise.
56296 2013-10-10  David S. Miller  <davem@davemloft.net>
56298         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
56299         directory block.
56301 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
56303         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
56304         instead of FSF address.
56305         * soft-fp/fixdfti.c: Likewise.
56306         * soft-fp/fixsfti.c: Likewise.
56307         * soft-fp/fixtfti.c: Likewise.
56308         * soft-fp/fixunsdfti.c: Likewise.
56309         * soft-fp/fixunssfti.c: Likewise.
56310         * soft-fp/fixunstfti.c: Likewise.
56311         * soft-fp/floattidf.c: Likewise.
56312         * soft-fp/floattisf.c: Likewise.
56313         * soft-fp/floattitf.c: Likewise.
56314         * soft-fp/floatuntidf.c: Likewise.
56315         * soft-fp/floatuntisf.c: Likewise.
56316         * soft-fp/floatuntitf.c: Likewise.
56317         * soft-fp/trunctfxf2.c: Likewise.
56319         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
56320         * soft-fp/fixdfti.c: Likewise.
56321         * soft-fp/fixsfti.c: Likewise.
56322         * soft-fp/fixtfti.c: Likewise.
56323         * soft-fp/fixunsdfti.c: Likewise.
56324         * soft-fp/fixunssfti.c: Likewise.
56325         * soft-fp/fixunstfti.c: Likewise.
56326         * soft-fp/floattidf.c: Likewise.
56327         * soft-fp/floattisf.c: Likewise.
56328         * soft-fp/floattitf.c: Likewise.
56329         * soft-fp/floatuntidf.c: Likewise.
56330         * soft-fp/floatuntisf.c: Likewise.
56331         * soft-fp/floatuntitf.c: Likewise.
56332         * soft-fp/trunctfxf2.c: Likewise.
56334 2013-10-10  David S. Miller  <davem@davemloft.net>
56336         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56338 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
56340         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
56341         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
56342         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
56343         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
56344         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
56345         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
56346         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
56348         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
56349         for NaNs before doing comparisons on argument.
56350         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
56351         Likewise.
56353 2013-10-10  Will Newton  <will.newton@linaro.org>
56355         * malloc/hooks.c (memalign_check): Ensure the value of bytes
56356         passed to _int_memalign does not overflow.
56358 2013-10-10  Torvald Riegel  <triegel@redhat.com>
56360         * scripts/bench.pl: Add include-sources directive.
56361         * benchtests/README: Update documentation.
56363 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
56365         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
56366         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
56367         instead of FP_INIT_ROUNDMODE.
56368         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
56369         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
56371         [BZ #16034]
56372         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
56373         copy class of input value.
56374         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
56375         not handle exceptions.
56376         * soft-fp/negsf2.c (__negsf2): Likewise.
56377         * soft-fp/negtf2.c (__negtf2): Likewise.
56378         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
56380 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
56382         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
56383         semicolon.  From Linux kernel.
56385 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
56387         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
56389 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
56391         [BZ #156]
56392         * manual/socket.texi: Added statement about buffer
56393         for gethostbyname2_r.
56395 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
56397         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
56398         Use .p2align directive instead, throughout.
56399         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56400         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
56401         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
56402         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56403         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56404         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
56405         * sysdeps/x86_64/strchr.S: Likewise.
56406         * sysdeps/x86_64/strrchr.S: Likewise.
56408 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56410         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
56412         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
56414         * sysdeps/generic/math_private.h (__mpsin1): Remove
56415         declaration.
56416         (__mpcos1): Likewise.
56417         (__mpsin): New argument __range_reduce.
56418         (__mpcos): Likewise.
56419         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56420         (slow): Use __mpsin and __mpcos.
56421         (slow1): Likewise.
56422         (slow2): Likewise.
56423         (sloww): Likewise.
56424         (sloww1): Likewise.
56425         (sloww2): Likewise.
56426         (bsloww): Likewise.
56427         (bsloww1): Likewise.
56428         (bsloww2): Likewise.
56429         (cslow2): Likewise.
56430         (csloww): Likewise.
56431         (csloww1): Likewise.
56432         (csloww2): Likewise.
56433         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
56434         range_reduce.  Merge in __mpsin1.
56435         (__mpcos): Likewise.
56436         (__mpsin1): Remove.
56437         (__mpcos1): Likewise.
56439 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
56441         * locale/loadlocale.c (_nl_intern_locale_data): Use
56442         LOCFILE_ALIGNED_P.
56443         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
56444         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
56445         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
56446         obstack data is appropriately aligned.
56447         (obstack_int32_grow_fast): Likewise.
56448         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
56449         * locale/programs/locfile.c (add_locale_uint32): Likewise.
56450         (add_locale_uint32_array): Likewise.
56452 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56454         * benchtests/Makefile: Remove ARGLIST and RET variables.
56455         ($(objpfx)bench-%.c): Pass only function name to the script.
56456         * benchtests/README: Update documentation.
56457         * benchtests/acos-inputs: Add new directives.
56458         * benchtests/acosh-inputs: Likewise.
56459         * benchtests/asin-inputs: Likewise.
56460         * benchtests/asinh-inputs: Likewise.
56461         * benchtests/atan-inputs: Likewise.
56462         * benchtests/atanh-inputs: Likewise.
56463         * benchtests/cos-inputs: Likewise.
56464         * benchtests/cosh-inputs: Likewise.
56465         * benchtests/exp-inputs: Likewise.
56466         * benchtests/log-inputs: Likewise.
56467         * benchtests/pow-inputs: Likewise.
56468         * benchtests/rint-inputs: Likewise.
56469         * benchtests/sin-inputs: Likewise.
56470         * benchtests/sinh-inputs: Likewise.
56471         * benchtests/tan-inputs: Likewise.
56472         * benchtests/tanh-inputs: Likewise.
56473         * scripts/bench.pl: Add support for new directives.
56475 2013-10-07  Alan Modra  <amodra@gmail.com>
56477         * README: Fix careless merge.
56479 2013-10-05  Alan Modra  <amodra@gmail.com>
56481         * NEWS: Mention powerpc64le support and bugs fixed.
56482         * README: Both big-endian and little-endian powerpc64 supported.
56484 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56486         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
56487         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
56488         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
56489         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
56491 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
56493         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
56494         match prototype.
56496 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
56498         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
56499         Move -mhard-float appending from
56500         ports/sysdeps/powerpc/powerpc32/Makefile.
56501         [$(with-fp) = yes] (ASFLAGS): Likewise.
56502         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
56503         * sysdeps/powerpc/nofpu: Move directory from
56504         ports/sysdeps/powerpc/nofpu.
56505         * sysdeps/powerpc/soft-fp: Move directory from
56506         ports/sysdeps/powerpc/soft-fp.
56507         * sysdeps/powerpc/powerpc32/405: Move directory from
56508         ports/sysdeps/powerpc/powerpc32/405.
56509         * sysdeps/powerpc/powerpc32/440: Move directory from
56510         ports/sysdeps/powerpc/powerpc32/440.
56511         * sysdeps/powerpc/powerpc32/464: Move directory from
56512         ports/sysdeps/powerpc/powerpc32/464.
56513         * sysdeps/powerpc/powerpc32/476: Move directory from
56514         ports/sysdeps/powerpc/powerpc32/476.
56515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
56516         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
56517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
56518         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
56519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
56520         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
56521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
56522         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
56523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
56524         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
56525         * README: Update for powerpc-*-linux-gnu software floating point
56526         support in libc.
56528         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
56529         case to powerpc/powerpc32*.
56530         * sysdeps/unix/sysv/linux/configure: Regenerated.
56532         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
56533         (_FPU_MASK_OM): Define as 0x04.
56534         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
56535         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
56536         0x00c10080.
56537         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
56538         0x0000003c.
56539         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
56541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
56542         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
56543         getcontext_e500.
56544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
56545         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
56546         setcontext_e500.
56547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
56548         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
56549         and setcontext_e500.
56551 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
56553         * locale/iso-3166.def: Update iso-1366.def and related occurrences
56555 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56557         * manual/threads.texi (Default Thread Attributes): Fix typo.
56559 2013-10-04  Will Newton  <will.newton@linaro.org>
56561         * malloc/Makefile: Add tst-memalign.
56562         * malloc/tst-memalign.c: New file.
56564         * malloc/tst-posix_memalign.c: Add comments.
56565         (do_test): Add comments and call free on all potentially
56566         allocated pointers. Add space after cast.
56568         * malloc/tst-pvalloc.c: Add comments.
56569         (do_test): Add comments and call free on all potentially
56570         allocated pointers. Remove duplicate check for NULL pointer.
56571         Add space after cast.
56573         * malloc/tst-valloc.c: Add comments.
56574         (do_test): Add comments and call free on all potentially
56575         allocated pointers. Remove duplicate check for NULL pointer.
56576         Add space after cast.
56578 2013-10-04  Alan Modra  <amodra@gmail.com>
56580         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56581         Use stdint types in rather than __attribute__((mode())).
56582         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56584 2013-10-04  Alan Modra  <amodra@gmail.com>
56586         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56587         Correct handling of unaligned relocs for little-endian.
56588         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56590 2013-10-04  Alan Modra  <amodra@gmail.com>
56592         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
56593         * configure: Regenerate.
56594         * nptl/shlib-versions: Powerpc*le starts at 2.18.
56595         * shlib-versions: Likewise.
56597 2013-10-04  Alan Modra  <amodra@gmail.com>
56599         * string/tester.c (test_memrchr): Increment reported test cycle.
56601 2013-10-04  Alan Modra  <amodra@gmail.com>
56603         * string/test-memcpy.c (do_one_test): When reporting errors, print
56604         string address and don't overrun end of string.
56606 2013-10-04  Alan Modra  <amodra@gmail.com>
56608         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
56609         insrdi.  Make better use of reg selection to speed exit slightly.
56610         Schedule entry path a little better.  Remove useless "are we done"
56611         checks on entry to main loop.  Handle wrapping around zero address.
56612         Correct main loop count.  Handle single left-over word from main
56613         loop inline rather than by using loop_small.  Remove extra word
56614         case in loop_small caused by wrong loop count.  Add little-endian
56615         support.
56616         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56617         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
56618         cache hint.
56619         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56620         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
56621         support.  Avoid rlwimi.
56622         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
56624 2013-10-04  Alan Modra  <amodra@gmail.com>
56626         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
56627         insrdi.  Formatting.
56628         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
56629         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
56630         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
56631         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
56632         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
56633         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
56635 2013-10-04  Alan Modra  <amodra@gmail.com>
56637         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
56638         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56639         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
56640         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
56641         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56642         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56643         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56644         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56645         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
56646         use of regs.  Use power7 mtocrf.  Tidy function tails.
56648 2013-10-04  Alan Modra  <amodra@gmail.com>
56650         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
56651         Formatting.  Consistently use rXXX register defines or rN defines.
56652         Use early exit labels that avoid restoring unused non-volatile regs.
56653         Make cr field use more consistent with rWORDn compares.  Rename
56654         regs used as shift registers for unaligned loop, using rN defines
56655         for short lifetime/multiple use regs.
56656         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56657         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
56658         addi 1,1,64 to pop stack frame.  Simplify return value code.
56659         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56661 2013-10-04  Alan Modra  <amodra@gmail.com>
56663         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
56664         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
56665         rather than rlwimi.
56666         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
56667         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
56668         little-endian support.  Correct typos.
56669         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
56670         rather than rlwimi.
56671         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
56672         in loop and entry code to keep "and." results.
56673         (strchr): Add little-endian support.  Comment.  Move cntlzd
56674         earlier in tail.
56675         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
56677 2013-10-04  Alan Modra  <amodra@gmail.com>
56679         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
56680         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
56681         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
56682         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
56684 2013-10-04  Alan Modra  <amodra@gmail.com>
56686         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
56687         (rTMP): Define as r11.
56688         (strcmp): Add little-endian support.  Optimise tail.
56689         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
56690         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56691         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56692         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56693         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56694         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56695         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56697 2013-10-04  Alan Modra  <amodra@gmail.com>
56699         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
56700         little-endian support.  Remove unnecessary "are we done" tests.
56701         Handle "s" wrapping around zero and extremely large "size".
56702         Correct main loop count.  Handle single left-over word from main
56703         loop inline rather than by using small_loop.  Correct comments.
56704         Delete "zero" tail, use "end_max" instead.
56705         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
56707 2013-10-04  Alan Modra  <amodra@gmail.com>
56709         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
56710         support.  Don't branch over align.
56711         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
56712         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
56713         support.  Rearrange tmp reg use to suit.  Comment.
56714         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
56716 2013-10-04  Alan Modra  <amodra@gmail.com>
56718         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
56720 2013-10-04  Alan Modra  <amodra@gmail.com>
56722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
56723         conditional form of branch and link when obtaining pc.
56724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
56726 2013-10-04  Alan Modra  <amodra@gmail.com>
56728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
56729         HIWORD/LOWORD.
56730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
56731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
56733 2013-10-04  Alan Modra  <amodra@gmail.com>
56735         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
56736         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
56737         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
56738         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
56739         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
56740         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
56741         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
56742         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56743         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
56744         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
56746 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56747             Alistair Popple <alistair@ozlabs.au.ibm.com>
56748             Alan Modra <amodra@gmail.com>
56750         [BZ #15723]
56751         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
56752         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
56753         _dl_hwcap access for little-endian.
56754         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
56755         destroy vmx regs when saving unaligned.
56756         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
56757         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
56758         destroy vmx regs when saving unaligned.
56760 2013-10-04  Alan Modra  <amodra@gmail.com>
56762         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
56763         Don't use a union to pack hi/low value.
56765 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56767         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
56768         for little-endian.
56769         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
56770         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
56771         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
56772         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
56773         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
56775 2013-10-04  Alan Modra  <amodra@gmail.com>
56777         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
56778         constants to usual value for .cst8 section, and remove redundant
56779         high address load.
56780         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
56781         constant for 0x1p52.  Load little-endian words of double from
56782         correct stack offsets.
56784 2013-10-04  Alan Modra  <amodra@gmail.com>
56786         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
56787         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
56788         words of double from correct stack offsets.
56789         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
56790         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
56791         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
56792         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
56793         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
56794         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
56795         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
56796         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
56797         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
56798         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
56799         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
56800         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
56801         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56802         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56803         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56804         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
56805         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
56807 2013-10-04  Alan Modra  <amodra@gmail.com>
56809         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
56810         64-bit int/double union.
56811         (_FPU_SETCW): Likewise.
56812         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
56813         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
56815 2013-10-04  Alan Modra  <amodra@gmail.com>
56817         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
56818         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
56820 2013-10-04  Alan Modra  <amodra@gmail.com>
56822         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
56823         use vector int constants.
56824         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
56826 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56828         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
56829         array with long long.
56830         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
56831         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
56832         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
56833         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
56834         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
56835         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
56836         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
56837         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
56838         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
56839         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
56840         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
56841         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
56842         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
56844 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56846         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
56847         (__signbit): Likewise.  Correct for little-endian.
56848         (__signbitl): Call __signbit.
56849         (lrint): Correct for little-endian.
56850         (lrintf): Call lrint.
56852 2013-10-04  Alan Modra  <amodra@gmail.com>
56854         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
56855         union 32-bit int array member with 64-bit int array.
56856         (t515, tm256): Double rather than long double.
56857         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
56859 2013-10-04  Alan Modra  <amodra@gmail.com>
56861         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
56862         Delete.
56863         (IEEE854_LONG_DOUBLE_BIAS): Delete.
56864         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
56865         version of math_ldbl.h.
56867 2013-10-04  Alan Modra  <amodra@gmail.com>
56869         [BZ #15734], [BZ #15735]
56870         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
56871         all uses of ieee875 long double macros and unions.  Simplify test
56872         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
56873         ldbl_extract_mantissa value for ix,iy exponents.  Properly
56874         normalize after ldbl_extract_mantissa, and don't add hidden bit
56875         already handled.  Don't treat low word of ieee854 mantissa like
56876         low word of IBM long double and mask off bit when testing for
56877         zero.
56878         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
56879         all uses of ieee875 long double macros and unions.  Simplify tests
56880         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
56881         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
56882         two1022, instead use their values.  Recognise that tests for large
56883         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
56884         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
56885         Rewrite all uses of ieee875 long double macros and unions.  Simplify
56886         test for 0.0L and nan.  Correct negation.
56887         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
56888         ieee875 long double macros and unions.  Correct output for large
56889         magnitude x.  Correct absolute value calculation.
56890         (__erfcl): Likewise.
56891         * math/libm-test.inc: Add tests for errors discovered in IBM long
56892         double versions of fmodl, remainderl, erfl and erfcl.
56894 2013-10-04  Alan Modra  <amodra@gmail.com>
56896         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
56897         all uses of ieee854 long double macros and unions.  Simplify tests
56898         for long doubles that are fully specified by the high double.
56899         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
56900         Likewise.
56901         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
56902         Remove dead code too.
56903         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
56904         (__ieee754_ynl): Likewise.
56905         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
56906         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
56907         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
56908         Remove dead code too.
56909         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
56910         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
56911         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
56912         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
56913         Simplify.
56914         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
56915         Simplify.
56916         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
56917         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
56918         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
56919         Comment on variable precision.
56920         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
56921         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
56922         Likewise.
56923         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
56924         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56925         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56926         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
56927         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
56929 2013-10-04  Alan Modra  <amodra@gmail.com>
56931         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
56932         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
56933         all uses of ieee854 long double macros and unions.
56934         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
56935         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
56936         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
56937         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
56938         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
56939         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56940         Likewise.
56941         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
56942         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
56943         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
56944         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
56945         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
56946         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
56947         Simplify sign and nan test too.
56948         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
56949         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
56950         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
56951         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
56952         Likewise.
56953         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56954         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
56955         Likewise.
56956         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56957         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
56958         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
56959         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
56960         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
56961         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
56963 2013-10-04  Alan Modra  <amodra@gmail.com>
56965         * stdio-common/printf_size.c (__printf_size): Don't use
56966         union ieee854_long_double in fpnum union.
56967         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
56968         signbit macro to retrieve sign from long double.
56969         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
56970         retrieve sign from long double.
56971         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
56972         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
56973         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
56974         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56975         * math/test-misc.c (main): Don't use union ieee854_long_double.
56977 2013-10-04  Alan Modra  <amodra@gmail.com>
56979         [BZ #15680]
56980         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
56981         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
56982         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
56983         calculation.  Remove unnecessary test for denormal exponent.
56984         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
56985         Correct handling of denormals.  Avoid undefined shift behaviour.
56986         Correct normalisation of low mantissa when low double is denormal.
56987         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
56988         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
56989         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
56990         Correct normalisation of low mantissa.  Test for overflow of high
56991         mantissa and normalise.
56992         (ldbl_nearbyint): Use more readable constant for two52.
56993         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
56994         (__mpn_construct_long_double): Fix test for overflow of high
56995         mantissa and correct normalisation.  Avoid undefined shift.
56997 2013-10-04  Alan Modra  <amodra@gmail.com>
56999         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
57000         (union ibm_extended_long_double): Define as an array of ieee754_double.
57001         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
57002         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
57003         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
57004         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
57005         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57006         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
57007         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
57008         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57009         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57010         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
57011         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
57013 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
57015         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
57016         page size instead of calling getpagesize.
57018         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
57019         (LOCFILE_ALIGN_MASK): Likewise.
57020         (LOCFILE_ALIGN_UP): Likewise.
57021         (LOCFILE_ALIGNED_P): Likewise.
57022         * locale/programs/ld-collate.c (collate_output): Use the new
57023         macros instead of __alignof__ (int32_t).
57024         * locale/weight.h (findidx): Likewise.
57026 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
57028         [BZ #431]
57029         * manual/string.texi: Fix strncat and wcsncat.
57031 2013-10-03  Brooks Moses  <bmoses@google.com>
57033         [BZ #15915]
57034         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
57035         * Makerules: ...here, and adjust associated comments.
57037 2013-10-02  Will Newton  <will.newton@linaro.org>
57039         * malloc/Makefile: Add tst-pvalloc.
57040         * malloc/tst-pvalloc.c: New file.
57042 2013-10-02  Will Newton  <will.newton@linaro.org>
57044         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
57045         improve test coverage.
57047 2013-10-02  Will Newton  <will.newton@linaro.org>
57049         * malloc/Makefile: Add tst-posix_memalign.
57050         * malloc/tst-posix_memalign.c: New file.
57052 2013-10-01  Eric Blake  <eblake@redhat.com>
57054         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
57055         Use __THROWNL rather than __THROW on static functions.
57057 2013-09-30  Petr Machata  <pmachata@redhat.com>
57059         * elf/elf.h (R_AARCH64_ABS16): New macro.
57060         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
57061         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
57062         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
57063         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
57064         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
57065         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
57066         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
57067         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
57068         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
57069         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
57070         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
57071         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
57072         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
57073         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
57074         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
57075         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
57076         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
57077         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
57078         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
57079         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
57080         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
57081         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
57082         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
57083         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
57084         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
57085         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
57086         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
57087         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
57088         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
57089         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
57090         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
57091         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
57092         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
57093         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
57094         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
57095         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
57096         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
57097         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
57098         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
57099         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
57100         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
57101         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
57102         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
57103         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
57104         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
57105         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
57106         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
57107         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
57108         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
57109         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
57110         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
57111         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
57112         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
57113         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
57114         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
57115         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
57116         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
57117         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
57118         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
57119         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
57120         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
57121         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
57122         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
57123         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
57124         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
57125         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
57126         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
57127         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
57128         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
57129         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
57130         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
57131         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
57132         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
57133         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
57134         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
57135         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
57136         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
57137         (R_AARCH64_TLSDESC_LDR): Likewise.
57138         (R_AARCH64_TLSDESC_ADD): Likewise.
57139         (R_AARCH64_TLSDESC_CALL): Likewise.
57141 2013-09-30  Andreas Schwab  <schwab@suse.de>
57143         [BZ #15048]
57144         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
57145         the nss database lookup.
57146         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57147         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57149 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
57151         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
57153 2013-09-28  P. J. McDermott  <pj@pehjota.net>
57155         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
57156         ${Bash-specific parameter/pattern/string} parameter expansion.
57157         * sysdeps/unix/make-syscalls.sh: Likewise.
57159 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57161         * sysdeps/sh/stackguard-macros.h: New file.
57163 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
57165         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
57166         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
57167         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
57168         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
57169         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57170         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
57172 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57174         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
57175         Fix thread ID register.
57177 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
57179         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
57180         [POSIX || UNIX98]: Require rather than permitting all symbols from
57181         <time.h>.
57182         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
57183         element of struct sched_param.
57184         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
57185         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
57186         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
57187         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
57188         constant.
57190 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
57192         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
57193         argument calculation.
57195 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
57197         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
57198         Expect macro.
57199         [POSIX] (pthread_attr_t): Do not require type.
57200         [POSIX] (pthread_cond_t): Likewise.
57201         [POSIX] (pthread_condattr_t): Likewise.
57202         [POSIX] (pthread_key_t): Likewise.
57203         [POSIX] (pthread_mutex_t): Likewise.
57204         [POSIX] (pthread_mutexattr_t): Likewise.
57205         [POSIX] (pthread_once_t): Likewise.
57206         [POSIX] (pthread_t): Likewise.
57207         [POSIX-based standards] (pthread_atfork): Expect function.
57209 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
57210             Richard Sandiford  <richard@codesourcery.com>
57212         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
57213         (swap_endianness_p): New extern variable.
57214         (set_big_endian): New inline function.
57215         (maybe_swap_uint32): Likewise.
57216         (maybe_swap_uint32_array): Likewise.
57217         (maybe_swap_uint32_obstack): Likewise.
57218         * locale/programs/locfile.c: Include <stdbool.h>.
57219         (swap_endianness_p): New variable.
57220         (add_locale_uint32): Call maybe_swap_uint32.
57221         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
57222         (write_locale_data): Call maybe_swap_uint32_array.
57223         * locale/programs/ld-collate.c (obstack_int32_grow): Call
57224         maybe_swap_uint32.
57225         (obstack_int32_grow_fast): Likewise.
57226         (output_weightwc): Call maybe_swap_uint32_obstack.
57227         (collate_output): Likewise.
57228         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
57229         (OPT_LITTLE_ENDIAN): Likewise.
57230         (options): Add --little-endian and --big-endian options.
57231         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
57232         * locale/programs/locarchive.c: Include "locfile.h".
57233         (GET): New macro.
57234         (SET): Likewise.
57235         (INC): Likewise.
57236         (create_archive): Use the new macros to access fields of
57237         structures directly mapped from or written to locale archives.
57238         (oldlocrecentcmp): Likewise.
57239         (enlarge_archive): Likewise.
57240         (insert_name): Likewise.
57241         (add_alias): Likewise.
57242         (add_locale): Likewise.
57243         (delete_locales_from_archive): Likewise.
57244         (show_archive_content): Likewise.
57245         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
57246         locale data.
57248 2013-09-24  Roland McGrath  <roland@hack.frob.com>
57250         * manual/freemanuals.texi: Updated from (newly) canonical copy at
57251         http://www.gnu.org/doc/freemanuals.texi.
57252         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
57254 2013-09-24  Will Newton  <will.newton@linaro.org>
57256         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
57257         macro.
57259 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
57261         * locale/hashval.h (compute_hashval): Interpret bytes of key as
57262         unsigned char.
57264 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
57266         * manual/threads.texi (POSIX Threads): Fix a typo.
57268 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
57270         [BZ #14547]
57271         * string/tst-strcoll-overflow.c: New test case.
57272         * string/Makefile (xtests): Add tst-strcoll-overflow.
57273         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
57274         cache if string sizes may cause integer overflow.
57276         [BZ #14547]
57277         * string/strcoll_l.c (coll_seq): New members rule, idx,
57278         save_idx and back_us.
57279         (get_next_seq_nocache): New function.
57280         (do_compare_nocache): New function.
57281         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
57282         when malloc fails.
57284 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
57286         [BZ #15754]
57287         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
57288         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
57289         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
57291         [BZ #15754]
57292         * elf/Makefile (tests): Add tst-ptrguard1.
57293         (tests-static): Add tst-ptrguard1-static.
57294         (tst-ptrguard1-ARGS): Define.
57295         (tst-ptrguard1-static-ARGS): Define.
57296         * elf/tst-ptrguard1.c: New file.
57297         * elf/tst-ptrguard1-static.c: New file.
57298         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
57299         * sysdeps/i386/stackguard-macros.h: Likewise.
57300         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
57301         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
57302         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
57303         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
57304         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
57305         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
57307 2013-09-23  Hector Marco  <hecmargi@upv.es>
57308             Ismael Ripoll  <iripoll@disca.upv.es>
57309             Carlos O'Donell  <carlos@redhat.com>
57311         [BZ #15754]
57312         * sysdeps/generic/stackguard-macros.h: Define
57313         __pointer_chk_guard_local and POINTER_CHK_GUARD.
57314         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
57315         Define __pointer_chk_guard_local.
57316         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
57317         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
57319 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
57321         [BZ #15859]
57322         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
57324 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
57326         * include/string.h (__ffs): Declare as hidden.
57327         * string/ffs.c (__ffs): Define as hidden.
57328         * sysdeps/i386/ffs.c (__ffs): Likewise.
57329         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
57330         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
57331         * sysdeps/s390/ffs.c (__ffs): Likewise.
57332         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
57334 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
57336         * NEWS: Mention malloc probes.
57338         * malloc/arena.c (new_heap): New memory_heap_new probe.
57339         (grow_heap): New memory_heap_more probe.
57340         (shrink_heap): New memory_heap_less probe.
57341         (heap_trim): New memory_heap_free probe.
57342         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
57343         (systrim): New memory_sbrk_less probe.
57344         * manual/probes.texi: Document them.
57346         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
57347         * manual/probes.texi: Document it.
57349         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
57350         (__libc_realloc): Add memory_realloc_retry probe.
57351         (__libc_memalign): Add memory_memalign_retry probe.
57352         (__libc_valloc): Add memory_valloc_retry probe.
57353         (__libc_pvalloc): Add memory_pvalloc_retry probe.
57354         (__libc_calloc): Add memory_calloc_retry probe.
57355         * manual/probes.texi: Document them.
57357         * malloc/arena.c (get_free_list): Add probe
57358         memory_arena_reuse_free_list.
57359         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
57360         and memory_arena_reuse.
57361         (arena_get2) [!PER_THREAD]: Likewise.
57362         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
57363         memory_arena_reuse_realloc.
57364         * manual/probes.texi: Document them.
57366         * malloc/malloc.c (__libc_free): Add
57367         memory_mallopt_free_dyn_thresholds probe.
57368         (__libc_mallopt): Add multiple memory_mallopt probes.
57369         * manual/probes.texi: Document them.
57371         * malloc/malloc.c: Include stap-probe.h.
57372         (__libc_mallopt): Add memory_mallopt probe.
57373         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
57374         * manual/probes.texi: New.
57375         * manual/Makefile (chapters): Add probes.
57376         * manual/threads.texi: Set next node.
57378 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
57380         [BZ #15963, #13985]
57381         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
57382         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
57383         Add `Chinese' to `nan' entry name.
57385 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57387         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
57388         (POLYNOMIAL): Likewise.
57389         (TAYLOR_SINCOS): Likewise.
57390         (TAYLOR_SLOW): Likewise.
57391         (__sin): Use TAYLOR_SINCOS.
57392         (__cos): Likewise.
57393         (slow): Use TAYLOR_SLOW.
57394         (sloww): Likewise.
57395         (bsloww): Likewise.
57396         (csloww): Likewise.
57398 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57400         * stdlib/strtod_l.c: Fix buffer overrun.
57402 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57404         * benchtests/Makefile (bench): Add sincos.
57405         * benchtests/bench-sincos.c: New file.
57407         * math/libm-test.inc (cos_test_data): New test inputs.
57408         (sin_test_data): Likewise.
57410         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
57411         macro.
57412         (__sin): Use it.
57413         (__cos): Likewise.
57414         (slow1): Likewise.
57415         (slow2): Likewise.
57416         (sloww1): Likewise.
57417         (sloww2): Likewise.
57418         (bsloww1): Likewise.
57419         (bsloww2): Likewise.
57420         (cslow2): Likewise.
57421         (csloww1): Likewise.
57422         (csloww2): Likewise.
57424         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
57425         function.
57426         (__sin): Use it.
57427         (__cos): Likewise.
57429         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
57430         gotos.
57431         (__cos): Likewise.
57433 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
57435         * config.h.in (HAVE_MIPS_NAN2008): New macro.
57436         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
57437         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
57438         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
57439         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
57440         * elf/cache.c (print_entry): Handle the new cache flags.
57442 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
57443             Aldy Hernandez  <aldyh@redhat.com>
57445         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
57446         Change condition to [_SOFT_FLOAT].
57447         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
57448         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
57449         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
57450         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
57451         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
57452         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
57453         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
57454         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
57455         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
57456         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
57457         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
57458         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
57459         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
57460         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
57461         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
57462         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
57463         declaration.
57465 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
57467         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
57468         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
57469         (__longjmp): Use LOAD_GP to load saved GPRs.
57470         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
57471         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
57472         (__sigsetjmp): Use SAVE_GP to save GPRs.
57474         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
57475         Do not append -msoft-float.
57476         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
57478 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57480         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
57482 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
57484         [BZ #15966]
57485         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
57486         (_FPU_GETCW): Use initial "__" on variable and field names but not
57487         on macro parameter name.
57488         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
57489         parentheses around reference to macro parameter.
57491 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
57493         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
57494         prototype.
57495         (ctype_startup): Use uint32_t in cast and sizeof for
57496         ctype->charnames.
57498 2013-09-11  Jia Liu  <proljc@gmail.com>
57500         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
57501         __daddr_t_defined.
57502         [__FreeBSD__]: Likewise.
57504 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
57506         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
57507         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
57508         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
57509         (strchr): Remove __strchr_sse42 ifunc selection.
57510         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
57511         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
57513 2013-09-11  Will Newton  <will.newton@linaro.org>
57515         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
57516         parameter to RES. Remove hardcoded 1000 value.
57517         * benchtests/bench-skeleton.c (main): Pass RES parameter
57518         to TIMING_INIT and multiply result by 1000.
57520 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57524 2013-09-11  Andreas Schwab  <schwab@suse.de>
57526         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
57527         if not defined.
57528         (O_TMPFILE) [__USE_GNU]: Define.
57529         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
57530         Define.
57532 2013-09-11  Will Newton  <will.newton@linaro.org>
57534         [BZ #15857]
57535         * malloc/malloc.c (__libc_memalign): Check the value of bytes
57536         does not overflow.
57538 2013-09-11  Will Newton  <will.newton@linaro.org>
57540         [BZ #15856]
57541         * malloc/malloc.c (__libc_valloc): Check the value of bytes
57542         does not overflow.
57544 2013-09-11  Will Newton  <will.newton@linaro.org>
57546         [BZ #15855]
57547         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
57548         does not overflow.
57550 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
57552         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
57553         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57554         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57555         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57556         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57558 2013-09-10  Allan McRae  <allan@archlinux.org>
57560         [BZ #15748]
57561         * manual/arith.texi (Parsing of Floats): Clarify
57562         cross-reference.
57564         [BZ #15849]
57565         * manual/install.texi (Running make install): Mention
57566         --enable-pt-chown.
57567         * INSTALL: Regenerated.
57569 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
57571         * csu/init-first.c (_init): Remove the !SHARED condition around
57572         FPU control word initialization.
57573         * elf/dl-support.c (_dl_fpu_control): New variable.
57574         (_dl_aux_init) <AT_FPUCW>: Initialize it.
57575         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
57576         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
57577         * math/test-fpucw-static.c: New file.
57578         * math/test-fpucw-ieee.c: New file.
57579         * math/test-fpucw-ieee-static.c: New file.
57580         * math/Makefile (tests): Add `test-fpucw-ieee' and
57581         `$(tests-static)'.
57582         (tests-static): New variable.
57583         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
57584         dependency to...
57585         [($(build-shared),yes)]
57586         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
57587         ... this.
57588         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
57589         New dependency.
57591 2013-09-09  Allan McRae  <allan@archlinux.org>
57593         [BZ #15939]
57594         * manual/string.texi (Collation Functions): Fix typo in
57595         strcoll example.
57596         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
57598         [BZ #15893]
57599         * stdlib/isomac.c (get_null_defines): Fix memory leak.
57601         [BZ #15892]
57602         * libio/memstream.c (open_memstream): Fix memory leak.
57603         * libio/wmemstream.c (open_wmemstream): Likewise.
57605         [BZ #15895]
57606         * nscd/netgroupcache.c: Fix nesting of ifdefs.
57608 2013-09-09  Will Newton  <will.newton@linaro.org>
57610         * malloc/Makefile: Add tst-realloc to tests.
57611         * malloc/tst-realloc.c: New file.
57613 2013-09-09  Allan McRae  <allan@archlinux.org>
57615         [BZ #15844]
57616         * COPYING: Update from GNU website to fix FSF address.
57617         * COPYING.LIB: Likewise.
57619 2013-09-06  David S. Miller  <davem@davemloft.net>
57621         * po/zh_TW.po: Update Chinese (traditional) translation from
57622         translation project.
57624 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
57625             Joseph Myers  <joseph@codesourcery.com>
57627         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
57628         "localeinfo.h".
57629         (obstack_chunk_alloc): New macro.
57630         (obstack_chunk_free): Likewise.
57631         (record_offset): New function.
57632         (init_locale_data): Likewise.
57633         (align_locale_data): Likewise.
57634         (add_locale_empty): Likewise.
57635         (add_locale_raw_data): Likewise.
57636         (add_locale_raw_obstack): Likewise.
57637         (add_locale_string): Likewise.
57638         (add_locale_wstring): Likewise.
57639         (add_locale_uint32): Likewise.
57640         (add_locale_uint32_array): Likewise.
57641         (add_locale_char): Likewise.
57642         (start_locale_structure): Likewise.
57643         (end_locale_structure): Likewise.
57644         (start_locale_prelude): Likewise.
57645         (end_locale_prelude): Likewise.
57646         (write_locale_data): Take locale_file structure rather than an
57647         iovec.
57648         * locale/programs/locfile.h: Include "obstack.h".
57649         (struct locale_file): Change to store locale file contents instead
57650         of header.
57651         (init_locale_data): New prototype.
57652         (align_locale_data): Likewise.
57653         (add_locale_empty): Likewise.
57654         (add_locale_raw_data): Likewise.
57655         (add_locale_raw_obstack): Likewise.
57656         (add_locale_string): Likewise.
57657         (add_locale_wstring): Likewise.
57658         (add_locale_uint32): Likewise.
57659         (add_locale_uint32_array): Likewise.
57660         (add_locale_char): Likewise.
57661         (start_locale_structure): Likewise.
57662         (end_locale_structure): Likewise.
57663         (start_locale_prelude): Likewise.
57664         (end_locale_prelude): Likewise.
57665         (write_locale_data): Update prototype.
57666         * locale/programs/3level.h (struct TABLE): Remove result field.
57667         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
57668         Use new locale_file interface.
57669         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
57670         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
57671         * locale/programs/ld-address.c (address_output): Use new
57672         locale_file interface.
57673         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
57674         NO_ADD_LOCALE.
57675         (collate_finish): Don't call collseq_table_finalize.
57676         (collate_output): Use new locale_file interface.
57677         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
57678         in file.
57679         (NO_FINALIZE): Change to NO_ADD_LOCALE.
57680         (TABLE): Move defines earlier in file.
57681         (ELEMENT): Likewise.
57682         (DEFAULT): Likewise.
57683         (wctrans_table_add): Move macro and inline function earlier in
57684         file.
57685         (struct wctype_table): Move type earlier in file.
57686         (add_locale_wctype_table): New static prototype.
57687         (struct locale_ctype_t): Use logical types instead of struct iovec
57688         pointers for members.
57689         (ctype_output): Use new locale_file interface.
57690         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
57691         new locale_file interface.
57692         (allocate_arrays): Update for use of new locale_file interface.
57693         * locale/programs/ld-identification.c (identification_output): Use
57694         new locale_file interface.
57695         * locale/programs/ld-measurement.c (measurement_output): Likewise.
57696         * locale/programs/ld-messages.c (messages_output): Likewise.
57697         * locale/programs/ld-monetary.c (monetary_output): Likewise.
57698         * locale/programs/ld-name.c (name_output): Likewise.
57699         * locale/programs/ld-numeric.c (numeric_output): Likewise.
57700         * locale/programs/ld-paper.c (paper_output): Likewise.
57701         * locale/programs/ld-telephone.c (telephone_output): Likewise.
57702         * locale/programs/ld-time.c (time_output): Likewise.
57704 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57706         * benchtests/Makefile: Add memrchr benchmark.
57707         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
57708         benchmark as memrchr.
57709         * benchtests/bench-memrchr-ifunc.c: New file.
57710         * benchtests/bench-memrchr.c: New file.
57712 2013-09-06   Will Newton  <will.newton@linaro.org>
57714         * benchtests/Makefile (string-bench): Add memcpy.
57716 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
57717             Cong Wang  <amwang@redhat.com>
57719         [BZ #15850]
57720         * sysdeps/unix/sysv/linux/bits/in.h
57721         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
57722         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
57723         before __USE_KERNEL_IPV6_DEFS uses.
57724         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
57725         IPPROTO_BEETPH.
57726         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
57727         sockaddr_in6, or ipv6_mreq.
57729 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57731         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
57732         memory access for final bytes in some large inputs.
57733         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
57735 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57737         * string/test-memrchr.c: New file.
57738         * string/test-memrchr-ifunc.c: New file.
57739         * string/Makefile: Add new memrchr testcase.
57741 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
57743         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
57744         fanotify_init returns EPERM.
57746 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
57748         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
57749         errors.
57750         (top level): Treat second token from macro or constant entries for
57751         allowed headers as allowed.
57752         * include/complex.h: Condition internal declarations on
57753         [!_ISOMAC].
57754         * include/fenv.h: Condition include of <stdbool.h> and internal
57755         declarations on [!_ISOMAC].
57757 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
57759         [BZ #15923]
57760         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
57762 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
57764         * configure.in (--enable-versioning): Remove configure option.
57765         (libc_cv_asm_symver_directive): Remove configure test.
57766         (libc_cv_ld_version_script_option): Likewise.
57767         (VERSIONING): Remove variable and AC_SUBST.
57768         (DO_VERSIONING): Remove AC_DEFINE.
57769         * configure: Regenerated.
57770         * config.h.in (DO_VERSIONING): Remove macro.
57771         * Makerules [$(versioning) = yes]: Change conditionals to
57772         [$(build-shared) = yes].
57773         * config.make.in (versioning): Remove variable.
57774         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
57775         [$(build-shared) = yes].
57776         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
57777         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
57778         * elf/Makefile [$(versioning) = yes]: Change conditionals to
57779         [$(build-shared) = yes].
57780         * extra-lib.mk [$(versioning) = yes]: Likewise.
57781         * hurd/Makefile [$(versioning) = yes]: Likewise.
57782         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
57783         [SHARED].
57784         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
57785         [SHARED].
57786         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
57787         [SHARED && !NO_HIDDEN].
57788         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
57789         [SHARED].
57790         [SHARED && DO_VERSIONING]: Likewise..
57791         * libio/Makefile [$(versioning) = yes]: Change conditionals to
57792         [$(build-shared) = yes].
57793         * manual/install.texi (--disable-versioning): Remove
57794         documentation.
57795         * INSTALL: Regenerated.
57796         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
57797         to [SHARED].
57798         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
57799         [$(build-shared) = yes].
57800         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
57801         * sysdeps/i386/i686/multiarch/strstr-c.c
57802         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
57803         [SHARED && !NO_HIDDEN].
57804         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
57805         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
57806         * sysdeps/powerpc/powerpc32/dl-machine.c
57807         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
57808         * sysdeps/powerpc/powerpc32/sysdep.h
57809         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
57810         to [SHARED && PIC && !NO_HIDDEN].
57811         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
57812         conditional to [SHARED].
57814 2013-09-04   Will Newton  <will.newton@linaro.org>
57816         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
57817         * benchtests/bench-string.h: Include bench-timing.h instead
57818         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
57819         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
57820         call to HP_TIMING_DIFF_INIT.
57821         * benchtests/bench-memccpy.c: Use bench-timing.h macros
57822         instead of hp-timing.h macros.
57823         * benchtests/bench-memchr.c: Likewise.
57824         * benchtests/bench-memcmp.c: Likewise.
57825         * benchtests/bench-memcpy.c: Likewise.
57826         * benchtests/bench-memmem.c: Likewise.
57827         * benchtests/bench-memmove.c: Likewise.
57828         * benchtests/bench-memset.c: Likewise.
57829         * benchtests/bench-rawmemchr.c: Likewise.
57830         * benchtests/bench-strcasecmp.c: Likewise.
57831         * benchtests/bench-strcasestr.c: Likewise.
57832         * benchtests/bench-strcat.c: Likewise.
57833         * benchtests/bench-strchr.c: Likewise.
57834         * benchtests/bench-strcmp.c: Likewise.
57835         * benchtests/bench-strcpy.c: Likewise.
57836         * benchtests/bench-strcpy_chk.c: Likewise.
57837         * benchtests/bench-strlen.c: Likewise.
57838         * benchtests/bench-strncasecmp.c: Likewise.
57839         * benchtests/bench-strncat.c: Likewise.
57840         * benchtests/bench-strncmp.c: Likewise.
57841         * benchtests/bench-strncpy.c: Likewise.
57842         * benchtests/bench-strnlen.c: Likewise.
57843         * benchtests/bench-strpbrk.c: Likewise.
57844         * benchtests/bench-strrchr.c: Likewise.
57845         * benchtests/bench-strspn.c: Likewise.
57846         * benchtests/bench-strstr.c: Likewise.
57848 2013-09-04  Will Newton  <will.newton@linaro.org>
57850         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
57852 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
57854         [BZ #15427]
57855         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
57856         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
57857         * math/libm-test.inc (lgamma_test_data): Add more tests.
57858         * sysdeps/i386/fpu/libm-test-ulps: Update.
57859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57861 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
57863         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
57864         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
57865         Add ifunc.
57866         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
57867         Add strcmp-sse2-unaligned
57868         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
57870 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
57872         * Versions.def (libc): Add GLIBC_2.19.
57874 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
57876         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
57877         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
57879 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
57881         [BZ #14155]
57882         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
57883         intermediate calculations in recurrence.
57884         (__ieee754_ynf): Likewise.
57885         * math/libm-test.inc (jn_test_data): Do not allow spurious
57886         underflow exception.  Add more tests.
57887         (yn_test_data): Add more tests.
57888         * sysdeps/i386/fpu/libm-test-ulps: Update.
57889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57891 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
57893         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
57895 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
57897         * csu/init-first.c: Fix then/than typos.
57898         * locale/programs/ld-collate.c: Likewise.
57899         * locale/programs/linereader.h: Likewise.
57900         * manual/charset.texi: Likewise.
57901         * manual/filesys.texi: Likewise.
57902         * manual/stdio.texi: Likewise.
57903         * manual/string.texi: Likewise.
57904         * stdlib/fmtmsg.c: Likewise.
57905         * sysdeps/i386/stpncpy.S: Likewise.
57906         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57907         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
57908         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57909         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
57911 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
57913         * elf/dl-open.c: Fix typos.
57914         * iconvdata/gbbig5.c: Likewise.
57915         * iconvdata/iso-2022-jp.c: Likewise.
57916         * iconv/gconv_int.h: Likewise.
57917         * iconv/loop.c: Likewise.
57918         * nis/rpcsvc/nis.h: Likewise.
57919         * resolv/ns_name.c: Likewise.
57920         * stdio-common/vfscanf.c: Likewise.
57921         * streams/stropts.h: Likewise.
57922         * sunrpc/rpc_thread.c: Likewise.
57923         * sysdeps/i386/strpbrk.S: Likewise.
57924         * sysdeps/ieee754/k_standard.c: Likewise.
57925         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57926         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57927         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
57928         * sysdeps/mach/hurd/profil.c: Likewise.
57929         * sysdeps/s390/dl-procinfo.h: Likewise.
57930         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
57931         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
57932         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
57933         * sysdeps/x86_64/dl-trampoline.S: Likewise.
57934         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57936 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
57938         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
57939         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
57941 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
57943         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
57944         aix specific files.
57945         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
57946         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
57947         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
57948         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
57949         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
57950         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
57951         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
57952         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
57954 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
57955             Roland McGrath  <roland@hack.frob.com>
57957         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
57958         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
57960 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57962         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
57963         __executable_start symbol instead of _start.
57965 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
57967         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
57968         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
57969         Move macros to...
57970         * sysdeps/gnu/ldsodefs.h: ... this new file.
57972         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
57973         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
57974         instead of ELFOSABI_LINUX.
57976         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
57977         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
57978         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
57979         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
57980         Likewise.
57981         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
57982         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
57983         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
57984         Likewise.
57985         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
57986         (ibm_extended_long_double): Add ieee_nan member.
57987         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
57988         (do_test): New function.
57990         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
57991         TEST_TRUNC.
57992         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
57993         functions, renamed from truncdfsf_test, trunctfsf_test,
57994         trunctfdf_test.
57995         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
57996         functions.
57997         (do_test): Run all these.
57999 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
58001         * argp/argp-help.c: Fix typos.
58002         * argp/argp-parse.c: Likewise.
58003         * debug/backtracesyms.c: Likewise.
58004         * elf/elf.h: Likewise.
58005         * malloc/malloc.c: Likewise.
58006         * nis/nis_print.c: Likewise.
58007         * resolv/res_comp.c: Likewise.
58008         * stdlib/stdlib.h: Likewise.
58009         * sunrpc/clnt_tcp.c: Likewise.
58010         * sunrpc/clnt_udp.c: Likewise.
58011         * sunrpc/clnt_unix.c: Likewise.
58012         * sysdeps/unix/bsd/ptsname.c: Likewise.
58013         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
58014         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
58015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
58016         Likewise.
58017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
58018         Likewise.
58019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
58020         Likewise.
58021         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
58023 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58025         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
58026         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58028 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
58030         [BZ #15897]
58031         * dlfcn/Makefile (tests): Add bug-dl-leaf.
58032         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
58033         ($(objpfx)bug-dl-leaf): New rule.
58034         ($(objpfx)bug-dl-leaf.so): Likewise.
58035         ($(objpfx)bug-dl-leaf.out): Likewise.
58036         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
58037         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
58038         * dlfcn/bug-dl-leaf.c: New test.
58039         * dlfcn/bug-dl-leaf-lib.c: Likewise.
58040         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
58041         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
58042         (dlclose): Likewise.
58043         (dlmopen): Likewise.
58045 2013-08-27  Roland McGrath  <roland@hack.frob.com>
58047         * include/netdb.h [!_ISOMAC]:
58048         Don't include <tls.h>.
58049         (h_errno, __libc_h_errno): Move declaration and macros out of
58050         [_LIBC_REENTRANT].
58052         * include/resolv.h [_RESOLV_H_]:
58053         Don't include <tls.h>.
58054         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
58055         * resolv/res_libc.c: Don't include <tls.h>.
58056         (_res): Use __attribute__ ((nocommon)) in place of
58057         __attribute__ ((section (".bss"))).
58059         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
58060         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
58062         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
58064         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
58065         only under [SIOCGIFCONF && SIOCGIFNETMASK].
58067         * resolv/res_mkquery.c: Include <sys/time.h>.
58069         * inet/ifreq.c: Moved to ...
58070         * sysdeps/unix/ifreq.c: ... here.
58071         * inet/ifreq.c: New file, true stub version.
58073         * socket/sa_len.c: New file.
58074         * socket/Makefile (aux): Add it.
58075         * sysdeps/unix/sysv/linux/Makefile
58076         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
58077         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
58078         and #include <socket/sa_len.c>.
58079         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
58080         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
58082         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
58083         * bits/socket.h: ... here.
58085         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
58086         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
58087         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
58089 2013-08-27  Andreas Schwab  <schwab@suse.de>
58091         [BZ #15736]
58092         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
58093         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
58094         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
58095         * string/test-strcasecmp.c (test_main): Run tests in several
58096         locales.
58097         * string/test-strncasecmp.c (test_main): Likewise.
58099         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
58100         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
58101         to __strcasecmp_nonascii and __strncasecmp_nonascii.
58102         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
58103         (__strncasecmp_ssse3) [PIC]: Likewise.
58105 2013-08-26  Roland McGrath  <roland@hack.frob.com>
58107         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
58109         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
58110         instead of explicitly declaring xdecrypt.
58111         * nis/nss_nis/nis-publickey.c: Likewise.
58113 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58115         [BZ #15890]
58116         * nscd/aicache.c: Include res_hconf.h.
58117         (addhstaiX): Initialize res_hconf.
58119 2013-08-26  Andreas Schwab  <schwab@suse.de>
58121         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
58122         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
58124 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58126         * nscd/aicache.c (addhstaiX): Fix indentation.
58128 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
58130         * configure.ac: Quote $build_pt_chown test.
58131         * configure: Regenerated.
58133 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
58135         [BZ #15532]
58136         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
58137         * math/s_cexpf.c (__cexpf): Likewise.
58138         * math/s_cexpl.c (__cexpl): Likewise.
58139         * math/libm-test.inc (cexp_test_data): Correct expected return
58140         value for NaN + i0.  Add another test.
58142 2013-08-22  David S. Miller  <davem@davemloft.net>
58144         * po/ca.po: Update Catalan translation from translation project.
58145         * po/uk.po: Add Ukrainian translations from translation project.
58147 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
58149         [BZ #15797]
58150         * math/s_fdim.c (__fdim): Check for infinite arguments if result
58151         is infinite, not alongside NaN test.
58152         * math/s_fdimf.c (__fdimf): Likewise.
58153         * math/s_fdiml.c (__fdiml): Likewise.
58154         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
58155         errno is unchanged.
58157 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
58159         * argp/argp-help.c: Fix typos.
58160         * crypt/speeds.c: Likewise.
58161         * csu/check_fds.c: Likewise.
58162         * elf/dl-load.c: Likewise.
58163         * elf/dl-open.c: Likewise.
58164         * elf/reldep3.c: Likewise.
58165         * elf/reldep.c: Likewise.
58166         * elf/sprof.c: Likewise.
58167         * iconv/iconv_charmap.c: Likewise.
58168         * iconv/skeleton.c: Likewise.
58169         * iconv/strtab.c: Likewise.
58170         * io/lockf64.c: Likewise.
58171         * libio/libioP.h: Likewise.
58172         * resolv/gai_notify.c: Likewise.
58173         * resolv/ns_name.c: Likewise.
58174         * resolv/ns_samedomain.c: Likewise.
58175         * resolv/res_send.c: Likewise.
58176         * stdlib/random.c: Likewise.
58177         * sunrpc/rpc/xdr.h: Likewise.
58178         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
58179         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58180         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58181         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58182         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58183         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58184         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58185         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58186         * sysdeps/mach/hurd/check_fds.c: Likewise.
58187         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
58188         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
58189         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58190         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
58191         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58192         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
58193         * sysdeps/pthread/aio_notify.c: Likewise.
58194         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
58195         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
58196         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
58197         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58198         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
58200 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58202         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
58203         version if bit_Slow_SSE4_2 is set.
58204         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58205         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58207 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58209         [BZ #15867]
58210         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
58211         trampoline stack frame information.
58212         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
58213         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
58214         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
58215         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
58216         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
58217         * sysdeps/unix/sysv/linux/powerpc/init-first.c
58218         (_libc_vdso_platform_setup): Initialize the signal trampolines.
58219         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
58220         sa_flags value.
58221         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
58222         interrupting a syscall and set with option SA_SIGINFO.
58224 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
58226         [BZ #15531]
58227         * math/s_cproj.c (__cproj): Only return an infinity if one part of
58228         argument is infinite.
58229         * math/s_cprojf.c (__cprojf): Likewise.
58230         * math/s_cprojl.c (__cprojl): Likewise.
58231         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
58232         * math/libm-test.inc (cproj_test_data): Add more tests.
58234         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
58236         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
58237         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
58238         size.  Use __ffs to determine corresponding shift.
58240 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
58241             Roland McGrath  <roland@hack.frob.com>
58243         * Makefile (INSTALL): Remove trailing blank lines from output of
58244         makeinfo.
58246 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58248         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
58249         Align 32 bit compat elf_greg to 8 bytes.
58251 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
58253         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
58255 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58257         * string/strcoll_l.c (coll_seq): New structure.
58258         (get_next_seq_cached): New function.
58259         (get_next_seq): New function.
58260         (do_compare): New function.
58261         (STRCOLL): Use GNU style definition.  Simplify implementation
58262         by using get_next_seq, get_next_seq_cached and do_compare.
58264 2013-08-16  Florian Weimer  <fweimer@redhat.com>
58266         [BZ #14699]
58267         CVE-2013-4237
58268         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
58269         member.
58270         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
58271         member.
58272         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
58273         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
58274         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
58275         conditional.
58276         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
58277         GETDENTS_64BIT_ALIGNED.
58278         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58279         * manual/filesys.texi (Reading/Closing Directory): Document
58280         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
58281         strongly.
58282         * manual/conf.texi (Limits for Files): Add portability note to
58283         NAME_MAX, PATH_MAX.
58284         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
58286 2013-08-13  Andreas Schwab  <schwab@suse.de>
58288         [BZ #15749]
58289         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
58290         of fabs.
58291         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
58292         LDBL_MAX_EXP >= 16384]: Add tests for it.
58294 2013-08-12  David S. Miller  <davem@davemloft.net>
58296         * version.h (RELEASE): Set to "development".
58297         (VERSION): Set to "2.18.90".
58298         * NEWS: Add 2.19 section.
58300 2013-08-03  David S. Miller  <davem@davemloft.net>
58302         * po/ko.po: Update Korean translation from translation project.
58304 2013-08-01  David S. Miller  <davem@davemloft.net>
58306         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
58307         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
58308         Bilka.
58310 2013-07-30  David S. Miller  <davem@davemloft.net>
58312         * po/fr.po: Update French translation from translation project.
58314 2013-07-28  David S. Miller  <davem@davemloft.net>
58316         * po/cs.po: Update Czech translation from translation project.
58318         * po/sv.po: Update Swedish translation from translation project.
58320 2013-07-27  David S. Miller  <davem@davemloft.net>
58322         * po/eo.po: Update Esperanto translation from translation project.
58324         * po/vi.po: Update Vietnamese translation from translation project.
58326         * po/de.po: Update German translation from translation project.
58328 2013-07-26  David S. Miller  <davem@davemloft.net>
58330         * po/bg.po: Update Bulgarian translation from translation project.
58332         * po/nl.po: Update Dutch translation from translation project.
58333         * po/pl.po: Update Polish translation from translation project.
58334         * po/ru.po: Update Russian translation from translation project.
58336 2013-07-24  David S. Miller  <davem@davemloft.net>
58338         * po/libc.pot: Update.
58340 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58342         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
58343         variable page size.
58344         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
58345         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
58346         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
58348 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58350         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
58352 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58353             Andreas Schwab  <schwab@suse.de>
58354             Roland McGrath  <roland@hack.frob.com>
58355             Joseph Myers  <joseph@codesourcery.com>
58356             Carlos O'Donell  <carlos@redhat.com>
58358         [BZ #15755]
58359         * config.h.in: Define HAVE_PT_CHOWN.
58360         * config.make.in (build-pt-chown): New variable.
58361         * configure.in (--enable-pt_chown): New configure option.
58362         * configure: Regenerate.
58363         * login/Makefile: Include Makeconfig.  Build pt_chown only if
58364         build-pt-chown is enabled.
58365         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
58366         pt_chown to fix pty ownership.
58367         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
58368         CLOSE_ALL_FDS.
58369         * manual/install.texi (Configuring and compiling): Mention
58370         --enable-pt_chown. Add @findex for grantpt.
58371         * INSTALL: Regenerate.
58373 2013-07-20  David S. Miller  <davem@davemloft.net>
58375         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
58376         difference between 32-bit and 64-bit.
58378 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
58380         [BZ #15711]
58381         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
58382         Avoid system header dependency with -ffreestanding.
58383         ($(objpfx)bits/syscall%d): Likewise.
58385 2013-07-13  David S. Miller  <davem@davemloft.net>
58387         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
58388         underflows from atanl/atan2l due to bug 15319.
58389         (casinh_test_data): Likewise.
58391 2013-07-07  David S. Miller  <davem@davemloft.net>
58393         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
58395 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
58397         * sysdeps/i386/fpu/libm-test-ulps: Update.
58398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58400 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58402         * configure.in (--enable-lock-elision): Fix message text.
58403         * INSTALL: Regenerate.
58404         * configure: Regenerate.
58406 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58408         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58410 2013-07-03  Andreas Jaeger  <aj@suse.de>
58412         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
58413         define.
58414         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
58415         (ptrace_peeksiginfo_args): Add.
58416         (__ptrace_peeksiginfo_flags): Add.
58417         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58418         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58419         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58421 2013-07-03  Allan McRae  <allan@archlinux.org>
58423         * sysdeps/i386/fpu/libm-test-ulps: Update.
58425 2013-07-02  David S. Miller  <davem@davemloft.net>
58427         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58429 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
58431         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58433 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
58435         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58438 2013-07-02  Andi Kleen <ak@linux.intel.com>
58440         * config.h.in (ENABLE_LOCK_ELISION): Add.
58441         * configure.in (--enable-lock-elision): Add option.
58442         * manual/install.texi: Document --enable lock elision.
58443         * configure: Regenerate
58444         * INSTALL: Regenerate.
58446 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
58448         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
58449         SSE4.2 strcasecmp for libc.a.
58450         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
58452 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
58454         [BZ #13304]
58455         * soft-fp/op-common.h (_FP_FMA): New macro.
58456         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
58457         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
58458         (_FP_MUL_MEAT_1_imm): ... here.
58459         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
58460         (_FP_MUL_MEAT_1_wide): ... here.
58461         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
58462         (_FP_MUL_MEAT_1_hard): ... here.
58463         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
58464         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
58465         (_FP_MUL_MEAT_2_wide): ... here.
58466         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
58467         (_FP_MUL_MEAT_2_wide_3mul): ... here.
58468         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
58469         (_FP_MUL_MEAT_2_gmp): ... here.
58470         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
58471         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
58472         (_FP_MUL_MEAT_4_wide): ... here.
58473         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
58474         (_FP_MUL_MEAT_4_gmp): ... here.
58475         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
58476         (_FP_WFRACBITS_DW_S): Likewise.
58477         (_FP_WFRACXBITS_DW_S): Likewise.
58478         (_FP_HIGHBIT_DW_S): Likewise.
58479         (FP_FMA_S): Likewise.
58480         (_FP_FRAC_HIGH_DW_S): Likewise.
58481         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
58482         (_FP_WFRACBITS_DW_D): Likewise.
58483         (_FP_WFRACXBITS_DW_D): Likewise.
58484         (_FP_HIGHBIT_DW_D): Likewise.
58485         (FP_FMA_D): Likewise.
58486         (_FP_FRAC_HIGH_DW_D): Likewise.
58487         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
58488         (_FP_WFRACBITS_DW_E): Likewise.
58489         (_FP_WFRACXBITS_DW_E): Likewise.
58490         (_FP_HIGHBIT_DW_E): Likewise.
58491         (FP_FMA_E): Likewise.
58492         (_FP_FRAC_HIGH_DW_E): Likewise.
58493         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
58494         (_FP_WFRACBITS_DW_Q): Likewise.
58495         (_FP_WFRACXBITS_DW_Q): Likewise.
58496         (_FP_HIGHBIT_DW_Q): Likewise.
58497         (FP_FMA_Q): Likewise.
58498         (_FP_FRAC_HIGH_DW_Q): Likewise.
58499         * soft-fp/fmasf4.c: New file.
58500         * soft-fp/fmadf4.c: Likewise.
58501         * soft-fp/fmatf4.c: Likewise.
58503 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58505         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
58506         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
58507         Silvermont.
58508         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
58509         macro.
58510         (index_Slow_SSE4_2): Likewise.
58511         (index_Prefer_PMINUB_for_stringop): Likewise.
58512         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
58513         bit_Slow_SSE4_2 is set.
58514         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
58515         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58517 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58519         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
58520         rtld_global._dl_hwcap2.
58521         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
58522         POWER8.
58523         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
58524         POWER8 feature descriptions defined in _dl_hwcap2.
58525         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
58526         string handling for POWER8 feature bits.
58527         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
58528         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
58529         _dl_powerpc_cap_flags.
58530         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
58531         * sysdeps/powerpc/rtld-global-offsets.sym
58532         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
58533         _dl_hwcap2 in the rtld_global_ro structure.
58535 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58537         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
58538         hardware capabilities in support of AT_HWCAP2.
58539         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
58540         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
58541         GLRO(dl_hwcap2).
58542         (_dl_show_auxv): Add support for calling _dl_procinfo to display
58543         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
58544         explicitly the unknown a_type display mechanism is used.
58545         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
58546         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
58547         struct member.
58548         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
58549         to macro prototype for AT_HWCAP2 support.
58550         * sysdeps/i386/dl-procinfo.h: Likewise.
58551         * sysdeps/s390/dl-procinfo.h: Likewise.
58552         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
58553         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
58554         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
58555         return -1 for unknown a_type display fallback.
58556         * sysdeps/sparc/dl-procinfo.h: Likewise.
58557         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
58558         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
58560 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
58562         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
58563         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
58565 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
58567         [BZ #12492]
58568         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
58569         mprotect making __stack_prot writable.
58571 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
58572             Joseph Myers  <joseph@codesourcery.com>
58574         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
58575         as being properly aligned.
58577 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
58579         * dlfcn/modstatic5.c: New file.
58580         * dlfcn/tststatic5.c: New file.
58581         * dlfcn/Makefile (tests): Add tststatic5.
58582         (tests-static): Likewise.
58583         (modules-names): Add modstatic5.
58584         (tststatic5-ENV): New variable.
58585         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
58587         [BZ #15022]
58588         * elf/dl-support.c (_dl_main_map): New variable.
58589         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
58590         (_dl_nns, _dl_load_adds): Set to 1.
58591         (_dl_initial_searchlist): Refer to _dl_main_map.
58592         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
58593         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
58594         call to _dl_get_origin.
58595         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
58596         around call_map.
58597         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
58598         * dlfcn/modstatic3.c: New file.
58599         * dlfcn/tststatic3.c: New file.
58600         * dlfcn/tststatic4.c: New file.
58601         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
58602         (tests-static): Likewise.
58603         (modules-names): Add modstatic3.
58604         (tststatic3-ENV, tststatic4-ENV): New variables.
58605         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
58606         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
58608 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
58610         * configure.in (CC): Require GCC version 4.4 or later.
58611         * configure: Regenerated.
58612         * manual/install.texi (Tools for Compilation): Update GCC version
58613         requirement.
58614         * INSTALL: Regenerated.
58616 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58618         [BZ #15674]
58619         * string/test-memcmp.c (check2): New.
58620         (main): Call check2.
58622         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
58624 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
58626         [BZ #15022]
58627         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
58628         over to...
58629         (dl_open_worker) [!SHARED]: ... here.
58631 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58633         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
58635 2013-06-25  Richard Henderson  <rth@redhat.com>
58637         * locale/programs/locarchive.c: Include <libc-internal.h>
58639 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
58641         * manual/texinfo.tex: Update to version 2013-06-21.17, with
58642         trailing whitespace removed.
58644 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
58646         [BZ #10283]
58647         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
58648         * locale/programs/locarchive.c: Include libc-mmap.h.
58649         (prepare_address_space): Take two new outputs (the mmap base and len).
58650         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
58651         values.
58652         (create_archive): Declare new mmap base and len values for
58653         prepare_address_space, and store the result in ah.
58654         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
58655         (enlarge_archive): If ah->mmap_base is not NULL, use that and
58656         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
58657         Declare new mmap base and len values for
58658         prepare_address_space, and store the result in new_ah.
58659         (open_archive): Declare new mmap base and len values for
58660         prepare_address_space, and store the result in ah.
58661         (close_archive): If ah->mmap_base is not NULL, use that and
58662         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
58663         * sysdeps/generic/libc-mmap.h: New file.
58665 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
58667         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
58668         (ALIGN_UP): Likewise.
58669         (PTR_ALIGN_DOWN): Likewise.
58670         (PTR_ALIGN_UP): Likewise.
58672 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58674         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
58675         entry mapped to PPC_PLATFORM_POWER8.
58676         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
58677         POWER8.
58678         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
58679         (_dl_string_platform): Add case for exporting platform position for
58680         POWER8.
58681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
58682         search path to sysdeps/powerpc/powerpc32/power8 directory.
58683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
58684         search path to sysdeps/powerpc/powerpc64/power8 directory.
58685         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
58686         power7 directories.
58687         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
58688         power7 directories.
58690 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
58692         * INSTALL: Regenerate.
58694         * nscd/connections.c (nscd_init): Fix comment.
58696 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
58698         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
58700         [BZ #15667]
58701         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
58702         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
58704 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
58706         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
58707         DL_DST_REQ_STATIC.
58708         (DL_DST_REQ_STATIC): Remove macro.
58710 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
58712         [BZ #7006]
58713         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
58714         with a shift of 0 bits.
58716 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
58718         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
58719         $(tststatic-ENV).
58721 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58723         [BZ #15655]
58724         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
58726 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58728         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
58729         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
58730         accepts -fno-tree-loop-distribute-patterns.
58731         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
58732         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
58733         recursive call.
58734         * string/memset.c (memset): Likewise.
58735         * string/test-memmove.c (simple_memmove): Disable loop transformation
58736         to library calls.
58737         * string/test-memset.c (simple_memset): Likewise.
58738         * benchtests/bench-memmove.c (simple_memmove): Likewise.
58739         * benchtests/bench-memset.c (simple_memset): Likewise.
58740         * configure: Regenerated.
58742 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
58744         * math/test-misc.c (main): Ignore fesetround failure when failures
58745         of subsequent rounding tests would be ignored.
58747         [BZ #15654]
58748         * math/fedisblxcpt.c (fedisableexcept): Return 0.
58749         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
58750         * math/fegetenv.c (__fegetenv): Return 0.
58751         * math/fegetexcept.c (fegetexcept): Return 0.
58752         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
58753         FE_TONEAREST.
58754         * math/feholdexcpt.c (feholdexcept): Return 0.
58755         * math/fesetenv.c (__fesetenv): Return 0.
58756         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
58757         argument FE_TONEAREST.
58758         * math/feupdateenv.c (__feupdateenv): Return 0.
58759         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
58761 2013-06-18  Roland McGrath  <roland@hack.frob.com>
58763         * elf/rtld-Rules (rtld-compile-command.S): New variable.
58764         (rtld-compile-command.s, rtld-compile-command.c): New variables.
58765         ($(objpfx)rtld-%.os rules): Use them.
58767 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58769         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
58770         fields.
58772 2013-06-17  Roland McGrath  <roland@hack.frob.com>
58774         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
58775         length of target pattern, then descending length of dependency pattern.
58776         * configure.in (AWK): Require gawk 3.1.2 or newer.
58777         * manual/install.texi (Tools for Compilation): Say that we do.
58778         * configure: Regenerated.
58780         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
58781         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
58782         * scripts/sysd-rules.awk: ... this new script.
58783         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
58784         than a glob-style pattern.
58786 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
58788         * math/test-misc.c (main): Do not treat incorrectly rounded
58789         conversions as failure unless ROUNDING_TESTS passes.
58791 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
58793         [BZ #15631]
58794         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
58795         restore exception state around main square root computation, then
58796         check for inexactness explicitly.
58798         * math/libm-test.inc (fma_test_data): Add another test.
58800 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58802         * manual/threads.texi (Non-POSIX Extensions): New document
58803         node.  Document pthread_getattr_default_np and
58804         pthread_setattr_default_np.
58806         * Versions.def (libpthread): Add GLIBC_2.18.
58807         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
58808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
58809         Likewise.
58810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58811         Likewise.
58812         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58813         Likewise.
58814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58815         Likewise.
58816         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
58817         Likewise.
58818         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
58819         Likewise.
58820         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
58821         Likewise.
58822         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
58823         Likewise.
58824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
58825         Likewise.
58827 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58829         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58830         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
58832 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58833             H.J. Lu  <hjl.tools@gmail.com>
58835         [BZ #15627]
58836         * sysdeps/x86_64/rtld-memset.c: Remove file.
58837         * sysdeps/x86_64/rtld-memset.S: New file.
58839 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
58841         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
58842         (test_in_one_mode): Take arguments for whether the rounding mode
58843         is supported for each floating-point type.
58844         (do_test): Pass new arguments to test_in_one_mode using
58845         ROUNDING_TESTS.
58847 2013-06-13  Roland McGrath  <roland@hack.frob.com>
58849         * posix/tst-waitid.c (do_test): Distinguish different instances of
58850         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
58851         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
58852         before entering the kernel for waitpid.
58854 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58856         * NEWS: Fix note on clock function precision.  Text by Roland
58857         McGrath.
58859 2013-06-13  Roland McGrath  <roland@hack.frob.com>
58861         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
58862         it into place only when and if the sanity check passes.
58864 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
58866         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
58867         output for whether conversion result is exact.  Take argument
58868         indicating whether type is IBM long double.
58869         (round_for_all): Change need_exact field to ibm_ld.
58870         * stdlib/tst-strtod-round.c (struct exactness): New type.
58871         (struct test): Change bool ld_ok field to struct exactness exact.
58872         (TEST): Update all definitions for change to field.
58873         (tests): Regenerate array contents.
58874         (test_in_one_mode): Take pointer to new field instead of old ld_ok
58875         field value.  Check for IBM long double here.
58876         (do_test): Update calls to test_in_one_mode.
58878 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58880         [BZ #12515]
58881         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
58882         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
58884 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58886         [BZ #15605]
58887         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
58888         generated by the compiler on loop optimizations.
58889         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
58890         general definitions.
58892 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
58894         * math/bug-nextafter.c: Include <math-tests.h>.
58895         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58896         the relevant type.
58897         * math/bug-nexttoward.c: Include <math-tests.h>.
58898         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58899         the relevant type.
58900         * math/test-misc.c: Include <math-tests.h>.
58901         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58902         the relevant type.
58904 2013-06-12  Andreas Jaeger  <aj@suse.de>
58906         * po/ia.po: Update Interlingua translation from translation
58907         project.
58909 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58911         * include/fenv.h: Include stdbool.h.
58912         (struct rm_ctx): New structure.
58913         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
58914         Define macro.
58915         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
58916         (SET_RESTORE_ROUNDF): Likewise.
58917         (SET_RESTORE_ROUNDL): Likewise.
58918         (SET_RESTORE_ROUND_NOEX): Likewise.
58919         (SET_RESTORE_ROUND_NOEXF): Likewise.
58920         (SET_RESTORE_ROUND_NOEXL): Likewise.
58921         (SET_RESTORE_ROUND_53BIT): Likewise.
58922         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
58923         (libc_feresetround_noexf_ctx): Likewise.
58924         (libc_feresetround_noexl_ctx): Likewise.
58925         (libc_feholdsetround_53bit_ctx): Likewise.
58926         (libc_feresetround_53bit_ctx): Likewise.
58927         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
58928         (libc_feholdexcept_setround_sse_ctx): New function.
58929         (libc_fesetenv_sse_ctx): Likewise.
58930         (libc_feupdateenv_sse_ctx): Likewise.
58931         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
58932         (libc_feholdexcept_setround_387_ctx): Likewise.
58933         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
58934         (libc_feholdsetround_387_prec_ctx): Likewise.
58935         (libc_feholdsetround_387_ctx): Likewise.
58936         (libc_feholdsetround_387_53bit_ctx): Likewise.
58937         (libc_feholdsetround_sse_ctx): Likewise.
58938         (libc_feresetround_sse_ctx): Likewise.
58939         (libc_feresetround_387_ctx): Likewise.
58940         (libc_feupdateenv_387_ctx): Likewise.
58941         (libc_feholdexcept_setroundf_ctx): Define macro.
58942         (libc_fesetenvf_ctx): Likewise.
58943         (libc_feupdateenvf_ctx): Likewise.
58944         (libc_feholdsetroundf_ctx): Likewise.
58945         (libc_feresetroundf_ctx): Likewise.
58946         (libc_feholdexcept_setround_ctx): Likewise.
58947         (libc_fesetenv_ctx): Likewise.
58948         (libc_feupdateenv_ctx): Likewise.
58949         (libc_feholdsetround_ctx): Likewise.
58950         (libc_feresetround_ctx): Likewise.
58951         (libc_feholdexcept_setroundl_ctx): Likewise.
58952         (libc_feupdateenvl_ctx): Likewise.
58953         (libc_feholdsetroundl_ctx): Likewise.
58954         (libc_feresetroundl_ctx): Likewise.
58955         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
58956         (libc_feresetround_53bit_ctx): Likewise.
58958 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58960         * locale/iso-639.def: Convert to UTF-8.
58962 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
58964         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
58965         (EXCEPTION_TESTS_double): Likewise.
58966         (EXCEPTION_TESTS_long_double): Likewise.
58967         (EXCEPTION_TESTS): Likewise.
58968         * math/libm-test.inc (test_exceptions): Only test exceptions if
58969         EXCEPTION_TESTS (FLOAT).
58971 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58973         * benchtests/Makefile (string-bench): Add strcpy_chk and
58974         stpcpy_chk.
58975         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
58976         * benchtests/bench-stpcpy_chk.c: New file.
58977         * benchtests/bench-strcpy_chk-ifunc.c: New file.
58978         * benchtests/bench-strcpy_chk.c: New file.
58979         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
58980         code.
58981         (do_test): Likewise.
58983 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58985         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
58986         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
58987         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
58988         with tabs where appropriate.
58989         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
58990         dl-procinfo.h.
58991         [PPC_PLATFORM_PPC440]: Likewise.
58992         [PPC_PLATFORM_PPC464]: Likewise.
58993         [PPC_PLATFORM_PPC476]: Likewise.
58994         (_dl_string_platform): Add support for detecting ppc405, ppc440,
58995         ppc464, and ppc476 platform strings merging from ports/
58996         dl-procinfo.h.
58998 2013-06-11  Andreas Schwab  <schwab@suse.de>
59000         [BZ #14991]
59001         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
59002         (from_ucs4_idx): Regenerate.
59003         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
59004         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
59005         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
59006         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
59007         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
59008         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
59009         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
59010         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
59011         from FROM_LOOP and TO_LOOP specific macros.
59012         (BODY): Handle combining characters.
59013         * iconvdata/BIG5HKSCS.irreversible: Update.
59014         * iconvdata/BIG5HKSCS.precomposed: New file.
59015         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
59016         characters.
59017         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
59019 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59021         * include/sys/time.h: Fix indentation and add copyright header.
59023         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
59024         (do_test): Likewise.
59025         * string/test-memchr.c (do_one_test): Likewise.
59026         (do_test): Likewise.
59027         * string/test-memcmp.c (do_one_test): Likewise.
59028         (do_test): Likewise.
59029         * string/test-memcpy.c (do_one_test): Likewise.
59030         (do_test): Likewise.
59031         * string/test-memmem.c (do_one_test): Likewise.
59032         (do_test): Likewise.
59033         (do_random_tests): Likewise.
59034         * string/test-memmove.c (do_one_test): Likewise.
59035         (do_test): Likewise.
59036         * string/test-memset.c (do_one_test): Likewise.
59037         (do_test): Likewise.
59038         * string/test-rawmemchr.c (do_one_test): Likewise.
59039         (do_test): Likewise.
59040         * string/test-strcasecmp.c (do_one_test): Likewise.
59041         (do_test): Likewise.
59042         * string/test-strcasestr.c (do_one_test): Likewise.
59043         (do_test): Likewise.
59044         * string/test-strcat.c (do_one_test): Likewise.
59045         (do_test): Likewise.
59046         * string/test-strchr.c (do_one_test): Likewise.
59047         (do_test): Likewise.
59048         * string/test-strcmp.c (do_one_test): Likewise.
59049         (do_test): Likewise.
59050         * string/test-strcpy.c (do_one_test): Likewise.
59051         (do_test): Likewise.
59052         * string/test-string.h: Likewise.
59053         (test_init): Likewise.
59054         * string/test-strlen.c (do_one_test): Likewise.
59055         (do_test): Likewise.
59056         * string/test-strncasecmp.c (do_one_test): Likewise.
59057         (do_test): Likewise.
59058         * string/test-strncat.c (do_one_test): Likewise.
59059         (do_test): Likewise.
59060         * string/test-strncmp.c (do_one_test): Likewise.
59061         (do_test_limit): Likewise.
59062         (do_test): Likewise.
59063         * string/test-strncpy.c (do_one_test): Likewise.
59064         (do_test): Likewise.
59065         * string/test-strnlen.c (do_one_test): Likewise.
59066         (do_test): Likewise.
59067         * string/test-strpbrk.c (do_one_test): Likewise.
59068         (do_test): Likewise.
59069         * string/test-strrchr.c (do_one_test): Likewise.
59070         (do_test): Likewise.
59071         * string/test-strspn.c (do_one_test): Likewise.
59072         (do_test): Likewise.
59073         * string/test-strstr.c (do_one_test): Likewise.
59074         (do_test): Likewise.
59076         * benchtests/Makefile (string-bench): Add string benchmarks.
59077         * benchtests/bench-bcopy-ifunc.c: New file.
59078         * benchtests/bench-bcopy.c: New file.
59079         * benchtests/bench-bzero-ifunc.c: New file.
59080         * benchtests/bench-bzero.c: New file.
59081         * benchtests/bench-memccpy-ifunc.c: New file.
59082         * benchtests/bench-memccpy.c: New file.
59083         * benchtests/bench-memchr-ifunc.c: New file.
59084         * benchtests/bench-memchr.c: New file.
59085         * benchtests/bench-memcmp-ifunc.c: New file.
59086         * benchtests/bench-memcmp.c: New file.
59087         * benchtests/bench-memmem-ifunc.c: New file.
59088         * benchtests/bench-memmem.c: New file.
59089         * benchtests/bench-memmove-ifunc.c: New file.
59090         * benchtests/bench-memmove.c: New file.
59091         * benchtests/bench-mempcpy-ifunc.c: New file.
59092         * benchtests/bench-mempcpy.c: New file.
59093         * benchtests/bench-memset-ifunc.c: New file.
59094         * benchtests/bench-memset.c: New file.
59095         * benchtests/bench-rawmemchr-ifunc.c: New file.
59096         * benchtests/bench-rawmemchr.c: New file.
59097         * benchtests/bench-stpcpy-ifunc.c: New file.
59098         * benchtests/bench-stpcpy.c: New file.
59099         * benchtests/bench-stpncpy-ifunc.c: New file.
59100         * benchtests/bench-stpncpy.c: New file.
59101         * benchtests/bench-strcasecmp-ifunc.c: New file.
59102         * benchtests/bench-strcasecmp.c: New file.
59103         * benchtests/bench-strcasestr-ifunc.c: New file.
59104         * benchtests/bench-strcasestr.c: New file.
59105         * benchtests/bench-strcat-ifunc.c: New file.
59106         * benchtests/bench-strcat.c: New file.
59107         * benchtests/bench-strchr-ifunc.c: New file.
59108         * benchtests/bench-strchr.c: New file.
59109         * benchtests/bench-strchrnul-ifunc.c: New file.
59110         * benchtests/bench-strchrnul.c: New file.
59111         * benchtests/bench-strcmp-ifunc.c: New file.
59112         * benchtests/bench-strcmp.c: New file.
59113         * benchtests/bench-strcpy-ifunc.c: New file.
59114         * benchtests/bench-strcpy.c: New file.
59115         * benchtests/bench-strcspn-ifunc.c: New file.
59116         * benchtests/bench-strcspn.c: New file.
59117         * benchtests/bench-strlen-ifunc.c: New file.
59118         * benchtests/bench-strlen.c: New file.
59119         * benchtests/bench-strncasecmp-ifunc.c: New file.
59120         * benchtests/bench-strncasecmp.c: New file.
59121         * benchtests/bench-strncat-ifunc.c: New file.
59122         * benchtests/bench-strncat.c: New file.
59123         * benchtests/bench-strncmp-ifunc.c: New file.
59124         * benchtests/bench-strncmp.c: New file.
59125         * benchtests/bench-strncpy-ifunc.c: New file.
59126         * benchtests/bench-strncpy.c: New file.
59127         * benchtests/bench-strnlen-ifunc.c: New file.
59128         * benchtests/bench-strnlen.c: New file.
59129         * benchtests/bench-strpbrk-ifunc.c: New file.
59130         * benchtests/bench-strpbrk.c: New file.
59131         * benchtests/bench-strrchr-ifunc.c: New file.
59132         * benchtests/bench-strrchr.c: New file.
59133         * benchtests/bench-strspn-ifunc.c: New file.
59134         * benchtests/bench-strspn.c: New file.
59135         * benchtests/bench-strstr-ifunc.c: New file.
59136         * benchtests/bench-strstr.c: New file.
59138         * benchtests/Makefile: Disable parallel execution of targets.
59139         (string-bench): Add memcpy.
59140         (benchset): New variable to store a list of benchmark sets.
59141         (bench-func): Renamed from bench.
59142         (bench-set): New target.
59143         (bench): Depend on bench-func and bench-set.
59144         * benchtests/README: Add section on benchmark sets.
59145         * benchtests/bench-memcpy-ifunc.c: New file.
59146         * benchtests/bench-memcpy.c: New file.
59147         * benchtests/bench-string.h: New file.
59149 2013-06-11  Andreas Schwab  <schwab@suse.de>
59151         [BZ #15577]
59152         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
59153         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
59154         values in the triple.
59155         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
59156         terminator in the group key.
59158 2013-06-11  Andreas Jaeger  <aj@suse.de>
59160         * po/zh_TW.po: Update Chinese (traditional) translation from
59161         translation project.
59163 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59165         * include/time.h (__clock_gettime): Add libc_hidden_proto.
59166         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
59167         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
59168         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59169         (clock_getcpuclockid): Likewise.
59170         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
59171         Add weak_alias and libc_hidden_def.
59172         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
59173         * rt/clock_gettime.c (clock_gettime): Rename to
59174         __clock_gettime.  Add weak_alias and libc_hidden_def.
59175         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
59176         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
59177         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
59178         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
59179         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
59180         Likewise.
59181         * rt/clock_settime.c (clock_settime): Rename to
59182         __clock_settime.  Add weak_alias and libc_hidden_def.
59183         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
59185 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
59187         * mach/err_boot.sub: Remove trailing whitespace.
59188         * mach/err_ipc.sub: Likewise.
59189         * mach/err_mach.sub: Likewise.
59191         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
59192         (ROUNDING_TESTS_double): Likewise.
59193         (ROUNDING_TESTS_long_double): Likewise.
59194         (ROUNDING_TESTS): Likewise.
59195         * math/libm-test.inc: Include <math-tests.h>.
59196         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
59197         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
59198         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
59199         (IF_ROUND_INIT_FE_UPWARD): Likewise.
59201 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59203         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
59204         of assigning.
59206 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
59208         * sysdeps/gnu/errlist.awk: Do not generate space at end of
59209         otherwise empty TRANS lines.
59210         * sysdeps/gnu/errlist.c: Regenerated.
59212         * catgets/gencat.c (error_print): Use (void) in function
59213         definition.
59214         * crypt/crypt_util.c (__init_des): Likewise.
59215         * crypt/speeds.c (Stop): Likewise.
59216         (main): Likewise.
59217         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
59218         * inet/ruserpass.c (token): Likewise.
59219         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
59220         * intl/localealias.c (extend_alias_table): Likewise.
59221         * intl/plural-exp.c (init_germanic_plural): Likewise.
59222         * libio/fcloseall.c (__fcloseall): Likewise.
59223         * libio/genops.c (_IO_flush_all): Likewise.
59224         (_IO_flush_all_linebuffered): Likewise.
59225         (_IO_cleanup): Likewise.
59226         (_IO_iter_begin): Likewise.
59227         (_IO_iter_end): Likewise.
59228         (_IO_list_lock): Likewise.
59229         (_IO_list_unlock): Likewise.
59230         (_IO_list_resetlock): Likewise.
59231         * libio/getchar.c (getchar): Likewise.
59232         * libio/getchar_u.c (getchar_unlocked): Likewise.
59233         * libio/getwchar.c (getwchar): Likewise.
59234         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
59235         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
59236         * login/getpt.c (__getpt): Likewise.
59237         * login/tst-utmp.c (main): Likewise.
59238         * malloc/hooks.c (__malloc_check_init): Likewise.
59239         * malloc/malloc.c (__malloc_stats): Likewise.
59240         * malloc/mtrace.c (tr_break): Likewise.
59241         (mtrace): Likewise.
59242         (muntrace): Likewise.
59243         * misc/fstab.c (endfsent): Likewise.
59244         * misc/getclktck.c (__getclktck): Likewise.
59245         * misc/getdtsz.c (__getdtablesize): Likewise.
59246         * misc/gethostid.c (gethostid): Likewise.
59247         * misc/getpagesize.c (__getpagesize): Likewise.
59248         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
59249         (__get_nprocs): Likewise.
59250         (__get_phys_pages): Likewise.
59251         (__get_avphys_pages): Likewise.
59252         * misc/getttyent.c (getttyent): Likewise.
59253         (setttyent): Likewise.
59254         (endttyent): Likewise.
59255         * misc/getusershell.c (getusershell): Likewise.
59256         (endusershell): Likewise.
59257         (setusershell): Likewise.
59258         (initshells): Likewise.
59259         * misc/hsearch.c (__hdestroy): Likewise.
59260         * misc/sync.c (sync): Likewise.
59261         * misc/syslog.c (closelog_internal): Likewise.
59262         (closelog): Likewise.
59263         * misc/ttyslot.c (ttyslot): Likewise.
59264         * misc/vhangup.c (vhangup): Likewise.
59265         * posix/fork.c (__fork): Likewise.
59266         * posix/getegid.c (__getegid): Likewise.
59267         * posix/geteuid.c (__geteuid): Likewise.
59268         * posix/getgid.c (__getgid): Likewise.
59269         * posix/getpid.c (__getpid): Likewise.
59270         * posix/getppid.c (__getppid): Likewise.
59271         * posix/getuid.c (__getuid): Likewise.
59272         * posix/pause.c (pause): Likewise.
59273         * posix/setpgrp.c (setpgrp): Likewise.
59274         * posix/setsid.c (__setsid): Likewise.
59275         * posix/test-vfork.c (noop): Likewise.
59276         * resolv/gethnamaddr.c (_endhtent): Likewise.
59277         (_gethtent): Likewise.
59278         (ht_endhostent): Likewise.
59279         (gethostent): Likewise.
59280         (dns_service): Likewise.
59281         * stdlib/drand48.c (drand48): Likewise.
59282         * stdlib/lrand48.c (lrand48): Likewise.
59283         * stdlib/mrand48.c (mrand48): Likewise.
59284         * stdlib/rand.c (rand): Likewise.
59285         * stdlib/random.c (__random): Likewise.
59286         * stdlib/setenv.c (clearenv): Likewise.
59287         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
59288         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
59289         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
59290         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
59291         (__get_nprocs): Likewise.
59292         (__get_phys_pages): Likewise.
59293         (__get_avphys_pages): Likewise.
59294         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
59295         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
59296         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
59297         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
59298         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
59299         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
59300         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
59301         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
59302         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
59303         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
59304         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
59305         * sysdeps/mach/hurd/sync.c (sync): Likewise.
59306         * sysdeps/posix/clock.c (clock): Likewise.
59307         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
59308         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
59309         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
59310         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
59311         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
59312         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
59313         (__get_nprocs_conf): Likewise.
59314         (__get_phys_pages): Likewise.
59315         (__get_avphys_pages): Likewise.
59316         * time/clock.c (clock): Likewise.
59317         * time/tzset.c (__tzname_max): Likewise.
59319 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
59321         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
59322         (__bswap_32): Do not use "register".
59323         * crypt/crypt.c (_ufc_doit_r): Likewise.
59324         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
59325         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
59326         * gmon/gmon.c (__monstartup): Likewise.
59327         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
59328         * hurd/hurdmalloc.c (more_memory): Likewise.
59329         (malloc): Likewise.
59330         (free): Likewise.
59331         (realloc): Likewise.
59332         (malloc_fork_prepare): Likewise.
59333         (malloc_fork_parent): Likewise.
59334         (malloc_fork_child): Likewise.
59335         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
59336         (_svcauth_des): Likewise.
59337         * inet/inet_lnaof.c (inet_lnaof): Likewise.
59338         * inet/inet_net.c (inet_network): Likewise.
59339         * inet/inet_netof.c (inet_netof): Likewise.
59340         * inet/rcmd.c (__validuser2_sa): Likewise.
59341         * io/fts.c (fts_open): Likewise.
59342         (fts_load): Likewise.
59343         (fts_close): Likewise.
59344         (fts_read): Likewise.
59345         (fts_children): Likewise.
59346         (fts_build): Likewise.
59347         (fts_stat): Likewise.
59348         (fts_sort): Likewise.
59349         (fts_alloc): Likewise.
59350         (fts_lfree): Likewise.
59351         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
59352         (_IO_file_xsgetn): Likewise.
59353         (_IO_file_xsgetn_mmap): Likewise.
59354         * libio/iofopncook.c (_IO_cookie_read): Likewise.
59355         (_IO_cookie_write): Likewise.
59356         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
59357         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
59358         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
59359         * malloc/obstack.c (_obstack_begin): Likewise.
59360         (_obstack_begin_1): Likewise.
59361         (_obstack_newchunk): Likewise.
59362         (_obstack_allocated_p): Likewise.
59363         (obstack_free): Likewise.
59364         (_obstack_memory_used): Likewise.
59365         * misc/getttyent.c (getttynam): Likewise.
59366         (getttyent): Likewise.
59367         (skip): Likewise.
59368         (value): Likewise.
59369         * misc/getusershell.c (initshells): Likewise.
59370         * misc/syslog.c (__vsyslog_chk): Likewise.
59371         * misc/ttyslot.c (ttyslot): Likewise.
59372         * nis/nis_hash.c (__nis_hash): Likewise.
59373         * posix/fnmatch_loop.c (FCT): Likewise.
59374         * posix/getconf.c (print_all): Likewise.
59375         (main): Likewise.
59376         * posix/getopt.c (exchange): Likewise.
59377         * posix/glob.c (globfree): Likewise.
59378         (prefix_array): Likewise.
59379         (__glob_pattern_type): Likewise.
59380         * resolv/arpa/nameser.h (NS_GET16): Likewise.
59381         (NS_GET32): Likewise.
59382         (NS_PUT16): Likewise.
59383         (NS_PUT32): Likewise.
59384         * resolv/gethnamaddr.c (getanswer): Likewise.
59385         (gethostbyname2): Likewise.
59386         (gethostbyaddr): Likewise.
59387         (_gethtent): Likewise.
59388         (_gethtbyname2): Likewise.
59389         (_gethtbyaddr): Likewise.
59390         * resolv/ns_print.c (dst_s_get_int16): Likewise.
59391         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
59392         * resolv/res_init.c (__res_vinit): Likewise.
59393         (net_mask): Likewise.
59394         * resolv/res_mkquery.c (outchar): Likewise.
59395         (PRINT): Likewise.
59396         * stdio-common/printf_fp.c (outchar): Likewise.
59397         (PRINT): Likewise.
59398         * stdio-common/printf_fphex.c (outchar): Likewise.
59399         (PRINT): Likewise.
59400         * stdio-common/printf_size.c (outchar): Likewise.
59401         (PRINT): Likewise.
59402         * stdio-common/test_rdwr.c (main): Likewise.
59403         * stdio-common/tfformat.c (matches): Likewise.
59404         * stdio-common/vfprintf.c (outchar): Likewise.
59405         (printf_unknown): Likewise.
59406         (buffered_vfprintf): Likewise.
59407         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
59408         * stdio-common/xbug.c (AppendToBuffer): Likewise.
59409         (ReadFile): Likewise.
59410         * stdlib/qsort.c (SWAP): Likewise.
59411         (_quicksort): Likewise.
59412         * stdlib/setenv.c (__add_to_environ): Likewise.
59413         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
59414         * stdlib/strtol_l.c (__strtol_l): Likewise.
59415         * stdlib/tst-strtod.c (main): Likewise.
59416         * stdlib/tst-strtol.c (main): Likewise.
59417         * stdlib/tst-strtoll.c (main): Likewise.
59418         * string/bits/string2.h (__strcmp_cc): Likewise.
59419         (__strcmp_cg): Likewise.
59420         (__strcspn_c1): Likewise.
59421         (__strcspn_c2): Likewise.
59422         (__strcspn_c3): Likewise.
59423         (__strspn_c1): Likewise.
59424         (__strspn_c2): Likewise.
59425         (__strspn_c3): Likewise.
59426         (__strsep_1c): Likewise.
59427         (__strsep_2c): Likewise.
59428         (__strsep_3c): Likewise.
59429         * string/memccpy.c (__memccpy): Likewise.
59430         * string/stpcpy.c (__stpcpy): Likewise.
59431         * string/strcmp.c (strcmp): Likewise.
59432         * string/strrchr.c (strrchr): Likewise.
59433         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
59434         Likewise.
59435         * sysdeps/mach/hurd/getcwd.c
59436         (_hurd_canonicalize_directory_name_internal): Likewise.
59437         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
59438         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
59439         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
59440         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
59441         Likewise, in both definitions.
59442         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
59443         definitions.
59444         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
59445         64] (__bswap_64): Likewise.
59446         * time/test_time.c (main): Likewise.
59447         * time/tzfile.c (__tzfile_read): Likewise.
59448         (__tzfile_compute): Likewise.
59449         * time/tzset.c (__tzset_parse_tz): Likewise.
59450         (tzset_internal): Likewise.
59451         (compute_change): Likewise.
59452         * wcsmbs/wcscat.c (__wcscat): Likewise.
59453         * wcsmbs/wcschr.c (wcschr): Likewise.
59454         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
59455         * wcsmbs/wcscspn.c (wcscspn): Likewise.
59456         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
59457         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
59458         * wcsmbs/wcsspn.c (wcsspn): Likewise.
59459         * wcsmbs/wcsstr.c (wcsstr): Likewise.
59460         * wcsmbs/wmemchr.c (wmemchr): Likewise.
59461         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59462         * wcsmbs/wmemset.c (wmemset): Likewise.
59464 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
59466         * scripts/config.guess: Update to version 2013-05-16.
59467         * scripts/config.sub: Update to version 2013-04-24.
59468         * scripts/install-sh: Update to version 2011-11-20.07.
59469         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
59470         * scripts/move-if-change: Update to version 2012-01-06 07:23.
59472 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
59474         * debug/fgetws_u_chk.c: Fix leading whitespaces.
59475         * elf/sln.c: Likewise.
59476         * hurd/hurd/ioctl.h: Likewise.
59477         * hurd/hurdmalloc.c: Likewise.
59478         * hurd/xattr.c: Likewise.
59479         * include/shlib-compat.h: Likewise.
59480         * inet/ruserpass.c: Likewise.
59481         * libio/iofgets_u.c: Likewise.
59482         * libio/iofgetws_u.c: Likewise.
59483         * locale/programs/ld-identification.c: Likewise.
59484         * locale/programs/ld-time.c: Likewise.
59485         * mach/msg-destroy.c: Likewise.
59486         * nss/nss_files/files-netgrp.c: Likewise.
59487         * resolv/res_data.c: Likewise.
59488         * soft-fp/op-1.h: Likewise.
59489         * soft-fp/op-2.h: Likewise.
59490         * soft-fp/op-4.h: Likewise.
59491         * soft-fp/op-common.h: Likewise.
59492         * stdio-common/printf_fphex.c: Likewise.
59493         * stdlib/strtod_l.c: Likewise.
59494         * sunrpc/rpc/clnt.h: Likewise.
59495         * sysdeps/generic/framestate.c: Likewise.
59496         * sysdeps/i386/bsd-_setjmp.S: Likewise.
59497         * sysdeps/i386/bsd-setjmp.S: Likewise.
59498         * sysdeps/i386/__longjmp.S: Likewise.
59499         * sysdeps/i386/setjmp.S: Likewise.
59500         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59501         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59502         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59503         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59504         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59505         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
59506         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59507         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59508         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59509         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
59510         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
59511         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
59512         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
59513         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
59514         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
59515         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59516         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
59517         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
59518         * sysdeps/ieee754/support.c: Likewise.
59519         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59520         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
59521         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
59522         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
59523         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
59524         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
59525         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
59526         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
59527         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
59528         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
59529         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
59530         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
59531         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
59532         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
59533         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
59534         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
59535         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
59538 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
59540         * posix/transbug.c: Remove executable mode.
59542 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
59544         * crypt/speeds.c: Remove trailing whitespace.
59545         * dlfcn/default.c: Likewise.
59546         * elf/ifuncdep2.c: Likewise.
59547         * elf/ifuncmain1.c: Likewise.
59548         * elf/ifuncmain1vis.c: Likewise.
59549         * elf/testobj.h: Likewise.
59550         * elf/tst-stackguard1.c: Likewise.
59551         * gmon/sys/gmon.h: Likewise.
59552         * hurd/hurdmsg.c: Likewise.
59553         * hurd/new-fd.c: Likewise.
59554         * hurd/ports-get.c: Likewise.
59555         * iconvdata/ibm1008_420.c: Likewise.
59556         * inet/tst-getni1.c: Likewise.
59557         * inet/tst-getni2.c: Likewise.
59558         * libio/ioungetc.c: Likewise.
59559         * libio/wfiledoalloc.c: Likewise.
59560         * manual/libm-err-tab.pl: Likewise.
59561         * math/w_dremf.c: Likewise.
59562         * misc/ftruncate.c: Likewise.
59563         * posix/bug-glob2.c: Likewise.
59564         * posix/tst-pcre.c: Likewise.
59565         * posix/wait4.c: Likewise.
59566         * resolv/README: Likewise.
59567         * resolv/res_debug.h: Likewise.
59568         * resolv/tst-inet_ntop.c: Likewise.
59569         * setjmp/bug269-setjmp.c: Likewise.
59570         * soft-fp/extended.h: Likewise.
59571         * soft-fp/op-1.h: Likewise.
59572         * soft-fp/op-2.h: Likewise.
59573         * soft-fp/op-4.h: Likewise.
59574         * soft-fp/op-8.h: Likewise.
59575         * soft-fp/testit.c: Likewise.
59576         * stdio-common/bug16.c: Likewise.
59577         * stdlib/random.c: Likewise.
59578         * sunrpc/rpcsvc/rquota.x: Likewise.
59579         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
59580         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59581         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59582         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59583         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59584         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59585         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59586         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59587         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59588         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59589         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59590         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
59591         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59592         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
59593         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59594         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
59595         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
59596         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59597         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
59598         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59599         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59600         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59601         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
59602         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
59603         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
59604         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
59605         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59606         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
59607         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59608         * sysdeps/ieee754/s_lib_version.c: Likewise.
59609         * sysdeps/mach/hurd/check_fds.c: Likewise.
59610         * sysdeps/mach/hurd/getsockname.c: Likewise.
59611         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
59612         * sysdeps/mach/hurd/recvfrom.c: Likewise.
59613         * sysdeps/powerpc/bits/link.h: Likewise.
59614         * sysdeps/powerpc/dl-procinfo.c: Likewise.
59615         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
59616         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
59617         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
59618         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
59619         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
59620         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
59621         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
59622         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
59623         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
59624         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
59625         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
59626         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
59627         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
59628         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
59629         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
59630         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
59631         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
59632         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
59633         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59634         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59635         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
59636         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59637         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
59638         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
59639         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
59640         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
59641         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59642         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59643         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
59644         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
59645         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
59646         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59647         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59648         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
59649         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
59650         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
59651         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
59652         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
59653         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
59654         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
59655         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
59656         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
59657         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
59658         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
59659         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
59660         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
59661         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
59662         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
59663         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
59664         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59665         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59666         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59667         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59668         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
59669         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
59670         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
59671         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59672         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
59673         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
59674         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
59675         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
59676         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
59677         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59678         * sysdeps/powerpc/sysdep.h: Likewise.
59679         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59680         * sysdeps/s390/s390-64/sub_n.S: Likewise.
59681         * sysdeps/sh/dl-trampoline.S: Likewise.
59682         * sysdeps/sh/memset.S: Likewise.
59683         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
59684         * sysdeps/sh/strlen.S: Likewise.
59685         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
59686         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
59687         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
59688         * sysdeps/sparc/sparc32/rem.S: Likewise.
59689         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
59690         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
59691         * sysdeps/sparc/sparc32/strchr.S: Likewise.
59692         * sysdeps/sparc/sparc32/udiv.S: Likewise.
59693         * sysdeps/sparc/sparc32/urem.S: Likewise.
59694         * sysdeps/sparc/sparc64/add_n.S: Likewise.
59695         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
59696         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
59697         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
59698         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
59699         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
59700         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
59701         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
59702         * sysdeps/unix/bsd/times.c: Likewise.
59703         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
59704         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
59705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
59706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
59707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
59708         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
59709         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
59710         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
59711         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
59712         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
59713         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
59714         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
59715         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
59716         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
59717         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
59718         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
59719         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
59720         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
59721         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
59722         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
59723         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
59724         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
59725         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
59726         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
59727         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
59728         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
59729         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
59730         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
59731         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
59732         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
59733         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
59734         * sysdeps/x86_64/strcspn.S: Likewise.
59736 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59738         * locale/C-translit.h: Revert #include <stdint.h> because this is a
59739         generated file.  Regenerate properly from gen-translit.pl.
59740         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
59741         locale/C-translit.h.
59743 2013-06-05  Andreas Schwab  <schwab@suse.de>
59745         [BZ #15100]
59746         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
59747         week as 6 instead of -1.
59748         * time/tst-strptime.c (day_tests): Add test case.
59750 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59752         * sysdeps/generic/math_private.h
59753         (libc_feholdexcept_setround_53bit): Replace with
59754         libc_feholdsetround_53bit.
59755         (libc_feupdateenv_53bit): Replace with
59756         libc_feresetround_53bit.
59757         (SET_RESTORE_ROUND_53BIT): Adjust.
59759 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
59761         * string/test-strchrnul.c: Add copyright header.
59763         * posix/tst-getaddrinfo4.c: Increase test timeout.
59765 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
59767         [BZ #15536]
59768         * math/libm-test.inc (MAX_EXP): Remove
59769         (MIN_EXP): Define.
59770         (ulp): Use MIN_EXP - MANT_DIG.
59771         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
59773 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
59775         * po/be.po: Revert last change.
59776         * po/zh_CN.po: Likewise.
59777         * po/header.pot: Likewise.
59779 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
59781         * Makefile ($(common-objpfx)linkobj/libc.so): Define
59782         link-libc-deps to empty as target-specific variable.
59783         * Makerules (link-libc-args): New variable.
59784         (libc-for-link): Likewise.
59785         (link-libc-deps): Likewise.
59786         (lib%.so): Depend on $(link-libc-deps).  Link with
59787         $(link-libc-args).
59788         (build-module): Link with $(link-libc-args).
59789         (build-module-asneeded): Likewise.
59790         (build-module-helper-objlist): Filter out $(link-libc-deps) from
59791         list of objects.
59792         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
59793         target-specific variable.
59794         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
59795         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
59796         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
59797         libc.
59798         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
59799         libc and ld.so.
59800         ($(objpfx)libpcprofile.so): Likewise.
59801         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
59802         libc_nonshared.a.
59803         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
59804         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
59805         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
59806         $(link-libc-deps).
59807         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
59808         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
59809         * login/Makefile ($(objpfx)libutil.so): Likewise.
59810         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
59811         * math/Makefile ($(objpfx)libm.so): Likewise.
59812         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
59813         $(objpfx)libnsl.so): Define libc-for-link as target-specific
59814         variable instead of depending directly on libc.
59815         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
59816         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
59817         $(link-libc-deps).
59818         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
59819         libc.
59820         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
59821         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
59822         ($(objpfx)libanl.so): Likewise.
59823         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
59824         ld.so.
59825         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
59826         $(link-libc-deps).
59827         * sysdeps/i386/fpu/Makefile: Remove file.
59828         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
59829         ($(objpfx)libm.so): Remove dependency on ld.so.
59831 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
59833         [BZ # 15553]
59834         * nis/yp_xdr.c (XDRMAXNAME): Define.
59835         (XDRMAXRECORD): Define.
59836         (xdr_domainname): Use XDRMAXNAME.
59837         (xdr_mapname): Likewise.
59838         (xdr_peername): Likewise.
59839         (xdr_keydat): Use XDRMAXRECORD.
59840         (xdr_valdat): Likewise.
59842 2013-05-30  Jeff Law  <law@redhat.com>
59844         [BZ #14256]
59845         * manual/errno.texi (ESTALE): Update to account for more than
59846         just NFS file systems.
59847         * sysdeps/gnu/errlist.c: Regenerated.
59849 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59851         [BZ #15465]
59852         * elf/Makefile (tests): Add tst-null-argv.
59853         (modules-names):  Add tst-null-argv-lib.
59854         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
59855         (tst-null-argv-ENV): Set environment for tst-null-argv.
59856         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
59857         (RTLD_PROGNAME): New macro.
59858         * elf/tst-null-argv.c: New test case.
59859         * elf/tst-null-argv-lib.c: Library for test case.
59860         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
59861         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
59862         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
59863         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
59864         * elf/dl-init.c (call_init): Likewise.
59865         (_dl_init): Likewise.
59866         * elf/dl-load.c (print_search_path): Likewise.
59867         (_dl_map_object): Likewise.
59868         * elf/dl-lookup.c (do_lookup_x): Likewise.
59869         (add_dependency): Likewise.
59870         (_dl_lookup_symbol_x): Likewise.
59871         (_dl_debug_bindings): Likewise.
59872         * elf/dl-open.c (_dl_show_scope): Likewise.
59873         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
59874         * elf/dl-version.c (match_symbol): Likewise.
59875         (_dl_check_map_versions): Likewise.
59876         * elf/rtld.c (dl_main): Likewise.
59877         (print_unresolved): Use RTLD_PROGNAME.
59878         (print_missing_version): Likewise.
59879         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
59880         (elf_machine_rela): Likewise.
59881         * sysdeps/powerpc/powerpc32/dl-machine.c
59882         (__process_machine_rela): Likewise.
59883         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59884         Likewise.
59885         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59886         Likewise.
59887         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
59888         Likewise.
59889         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59890         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
59891         Likewise.
59892         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
59893         Likewise.
59894         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59896 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
59898         * po/be.po: Add descriptive title.
59899         * po/zh_CN.po: Likewise.
59900         * po/header.pot: Likewise.
59902 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
59904         * locale/programs/locarchive.c (create_archive): Inlucde fname in
59905         error message.
59906         (enlarge_archive): Likewise.
59908 2013-05-28  Ben North  <ben@redfrontdoor.org>
59910         * manual/arith.texi (frexp): It is the magnitude of the return
59911         value which lies in [0.5, 1), not the return value itself.
59913 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59917 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
59919         * stdio-common/bug26.c (main): Correct fscanf template.
59921         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
59922         declare _dl_skip_args.
59924         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
59925         Don't declare.
59927         * manual/platform.texi: Add missing @end deftypefun.
59929 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
59931         [BZ #15529]
59932         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
59933         bit of mantissa of 2^16382.
59934         * math/libm-test.inc (hypot_test_data): Add more tests.
59936         * math/libm-test.inc: Add drem and pow10 to list of tested
59937         functions.
59938         (pow10_test): New function.
59939         (drem_test): Likewise.
59940         (drem_test_tonearest): Likewise.
59941         (drem_test_towardzero): Likewise.
59942         (drem_test_downward): Likewise.
59943         (drem_test_upward): Likewise.
59944         (main): Call the new functions.
59946         * math/libm-test.inc (finite_test_data): Remove.
59947         (finite_test): Run tests from isfinite_test_data.
59948         (gamma_test_data): Remove.
59949         (gamma_test): Run tests from lgamma_test_data.
59950         * sysdeps/i386/fpu/libm-test-ulps: Update.
59951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59953 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59955         * manual/platform.texi: Add PowerPC PPR function set documentation.
59956         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
59957         implementation.
59959 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
59961         * math/libm-test.inc (MAX_EXP): Define.
59962         (ULPDIFF): Define.
59963         (ulp): New function.
59964         (check_float_internal): Use ULPDIFF.
59965         (cpow_test): Disable failing test.
59966         (check_ulp): Test ulp() implementation.
59967         (main): Call check_ulp before starting tests.
59969 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
59971         * math/gen-libm-test.pl (generate_testfile): Do not handle
59972         START_DATA and END_DATA.
59973         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
59974         END_DATA.
59975         (acos_tonearest_test_data): Likewise.
59976         (acos_towardzero_test_data): Likewise.
59977         (acos_downward_test_data): Likewise.
59978         (acos_upward_test_data): Likewise.
59979         (acosh_test_data): Likewise.
59980         (asin_test_data): Likewise.
59981         (asin_tonearest_test_data): Likewise.
59982         (asin_towardzero_test_data): Likewise.
59983         (asin_downward_test_data): Likewise.
59984         (asin_upward_test_data): Likewise.
59985         (asinh_test_data): Likewise.
59986         (atan_test_data): Likewise.
59987         (atanh_test_data): Likewise.
59988         (atan2_test_data): Likewise.
59989         (cabs_test_data): Likewise.
59990         (cacos_test_data): Likewise.
59991         (cacosh_test_data): Likewise.
59992         (carg_test_data): Likewise.
59993         (casin_test_data): Likewise.
59994         (casinh_test_data): Likewise.
59995         (catan_test_data): Likewise.
59996         (catanh_test_data): Likewise.
59997         (cbrt_test_data): Likewise.
59998         (ccos_test_data): Likewise.
59999         (ccosh_test_data): Likewise.
60000         (ceil_test_data): Likewise.
60001         (cexp_test_data): Likewise.
60002         (cimag_test_data): Likewise.
60003         (clog_test_data): Likewise.
60004         (clog10_test_data): Likewise.
60005         (conj_test_data): Likewise.
60006         (copysign_test_data): Likewise.
60007         (cos_test_data): Likewise.
60008         (cos_tonearest_test_data): Likewise.
60009         (cos_towardzero_test_data): Likewise.
60010         (cos_downward_test_data): Likewise.
60011         (cos_upward_test_data): Likewise.
60012         (cosh_test_data): Likewise.
60013         (cosh_tonearest_test_data): Likewise.
60014         (cosh_towardzero_test_data): Likewise.
60015         (cosh_downward_test_data): Likewise.
60016         (cosh_upward_test_data): Likewise.
60017         (cpow_test_data): Likewise.
60018         (cproj_test_data): Likewise.
60019         (creal_test_data): Likewise.
60020         (csin_test_data): Likewise.
60021         (csinh_test_data): Likewise.
60022         (csqrt_test_data): Likewise.
60023         (ctan_test_data): Likewise.
60024         (ctan_tonearest_test_data): Likewise.
60025         (ctan_towardzero_test_data): Likewise.
60026         (ctan_downward_test_data): Likewise.
60027         (ctan_upward_test_data): Likewise.
60028         (ctanh_test_data): Likewise.
60029         (ctanh_tonearest_test_data): Likewise.
60030         (ctanh_towardzero_test_data): Likewise.
60031         (ctanh_downward_test_data): Likewise.
60032         (ctanh_upward_test_data): Likewise.
60033         (erf_test_data): Likewise.
60034         (erfc_test_data): Likewise.
60035         (exp_test_data): Likewise.
60036         (exp_tonearest_test_data): Likewise.
60037         (exp_towardzero_test_data): Likewise.
60038         (exp_downward_test_data): Likewise.
60039         (exp_upward_test_data): Likewise.
60040         (exp10_test_data): Likewise.
60041         (exp2_test_data): Likewise.
60042         (expm1_test_data): Likewise.
60043         (fabs_test_data): Likewise.
60044         (fdim_test_data): Likewise.
60045         (finite_test_data): Likewise.
60046         (floor_test_data): Likewise.
60047         (fma_test_data): Likewise.
60048         (fma_towardzero_test_data): Likewise.
60049         (fma_downward_test_data): Likewise.
60050         (fma_upward_test_data): Likewise.
60051         (fmax_test_data): Likewise.
60052         (fmin_test_data): Likewise.
60053         (fmod_test_data): Likewise.
60054         (fpclassify_test_data): Likewise.
60055         (frexp_test_data): Likewise.
60056         (gamma_test_data): Likewise.
60057         (hypot_test_data): Likewise.
60058         (ilogb_test_data): Likewise.
60059         (isfinite_test_data): Likewise.
60060         (isgreater_test_data): Likewise.
60061         (isgreaterequal_test_data): Likewise.
60062         (isinf_test_data): Likewise.
60063         (isless_test_data): Likewise.
60064         (islessequal_test_data): Likewise.
60065         (islessgreater_test_data): Likewise.
60066         (isnan_test_data): Likewise.
60067         (isnormal_test_data): Likewise.
60068         (issignaling_test_data): Likewise.
60069         (isunordered_test_data): Likewise.
60070         (j0_test_data): Likewise.
60071         (j1_test_data): Likewise.
60072         (jn_test_data): Likewise.
60073         (ldexp_test_data): Likewise.
60074         (lgamma_test_data): Likewise.
60075         (lrint_test_data): Likewise.
60076         (lrint_tonearest_test_data): Likewise.
60077         (lrint_towardzero_test_data): Likewise.
60078         (lrint_downward_test_data): Likewise.
60079         (lrint_upward_test_data): Likewise.
60080         (llrint_test_data): Likewise.
60081         (llrint_tonearest_test_data): Likewise.
60082         (llrint_towardzero_test_data): Likewise.
60083         (llrint_downward_test_data): Likewise.
60084         (llrint_upward_test_data): Likewise.
60085         (log_test_data): Likewise.
60086         (log10_test_data): Likewise.
60087         (log1p_test_data): Likewise.
60088         (log2_test_data): Likewise.
60089         (logb_test_data): Likewise.
60090         (logb_downward_test_data): Likewise.
60091         (lround_test_data): Likewise.
60092         (llround_test_data): Likewise.
60093         (modf_test_data): Likewise.
60094         (nearbyint_test_data): Likewise.
60095         (nextafter_test_data): Likewise.
60096         (nexttoward_test_data): Likewise.
60097         (pow_test_data): Likewise.
60098         (pow_tonearest_test_data): Likewise.
60099         (pow_towardzero_test_data): Likewise.
60100         (pow_downward_test_data): Likewise.
60101         (pow_upward_test_data): Likewise.
60102         (remainder_test_data): Likewise.
60103         (remainder_tonearest_test_data): Likewise.
60104         (remainder_towardzero_test_data): Likewise.
60105         (remainder_downward_test_data): Likewise.
60106         (remainder_upward_test_data): Likewise.
60107         (remquo_test_data): Likewise.
60108         (rint_test_data): Likewise.
60109         (rint_tonearest_test_data): Likewise.
60110         (rint_towardzero_test_data): Likewise.
60111         (rint_downward_test_data): Likewise.
60112         (rint_upward_test_data): Likewise.
60113         (round_test_data): Likewise.
60114         (scalb_test_data): Likewise.
60115         (scalbn_test_data): Likewise.
60116         (scalbln_test_data): Likewise.
60117         (signbit_test_data): Likewise.
60118         (sin_test_data): Likewise.
60119         (sin_tonearest_test_data): Likewise.
60120         (sin_towardzero_test_data): Likewise.
60121         (sin_downward_test_data): Likewise.
60122         (sin_upward_test_data): Likewise.
60123         (sincos_test_data): Likewise.
60124         (sinh_test_data): Likewise.
60125         (sinh_tonearest_test_data): Likewise.
60126         (sinh_towardzero_test_data): Likewise.
60127         (sinh_downward_test_data): Likewise.
60128         (sinh_upward_test_data): Likewise.
60129         (sqrt_test_data): Likewise.
60130         (tan_test_data): Likewise.
60131         (tan_tonearest_test_data): Likewise.
60132         (tan_towardzero_test_data): Likewise.
60133         (tan_downward_test_data): Likewise.
60134         (tan_upward_test_data): Likewise.
60135         (tanh_test_data): Likewise.
60136         (tgamma_test_data): Likewise.
60137         (trunc_test_data): Likewise.
60138         (y0_test_data): Likewise.
60139         (y1_test_data): Likewise.
60140         (yn_test_data): Likewise.
60141         (significand_test_data): Likewise.
60143         * math/gen-libm-test.pl (@functions): Remove variable.
60144         (generate_testfile): Don't handle START and END lines.
60145         * math/libm-test.inc (START): New macro.
60146         (END): Likewise.
60147         (END_COMPLEX): Likewise.
60148         (acos_test): Use END macro without arguments.
60149         (acos_test_tonearest): Likewise.
60150         (acos_test_towardzero): Likewise.
60151         (acos_test_downward): Likewise.
60152         (acos_test_upward): Likewise.
60153         (acosh_test): Likewise.
60154         (asin_test): Likewise.
60155         (asin_test_tonearest): Likewise.
60156         (asin_test_towardzero): Likewise.
60157         (asin_test_downward): Likewise.
60158         (asin_test_upward): Likewise.
60159         (asinh_test): Likewise.
60160         (atan_test): Likewise.
60161         (atanh_test): Likewise.
60162         (atan2_test): Likewise.
60163         (cabs_test): Likewise.
60164         (cacos_test): Use END_COMPLEX macro without arguments.
60165         (cacosh_test): Likewise.
60166         (carg_test): Use END macro without arguments.
60167         (casin_test): Use END_COMPLEX macro without arguments.
60168         (casinh_test): Likewise.
60169         (catan_test): Likewise.
60170         (catanh_test): Likewise.
60171         (cbrt_test): Use END macro without arguments.
60172         (ccos_test): Use END_COMPLEX macro without arguments.
60173         (ccosh_test): Likewise.
60174         (ceil_test): Use END macro without arguments.
60175         (cexp_test): Use END_COMPLEX macro without arguments.
60176         (cimag_test): Use END macro without arguments.
60177         (clog_test): Use END_COMPLEX macro without arguments.
60178         (clog10_test): Likewise.
60179         (conj_test): Likewise.
60180         (copysign_test): Use END macro without arguments.
60181         (cos_test): Likewise.
60182         (cos_test_tonearest): Likewise.
60183         (cos_test_towardzero): Likewise.
60184         (cos_test_downward): Likewise.
60185         (cos_test_upward): Likewise.
60186         (cosh_test): Likewise.
60187         (cosh_test_tonearest): Likewise.
60188         (cosh_test_towardzero): Likewise.
60189         (cosh_test_downward): Likewise.
60190         (cosh_test_upward): Likewise.
60191         (cpow_test): Use END_COMPLEX macro without arguments.
60192         (cproj_test): Likewise.
60193         (creal_test): Use END macro without arguments.
60194         (csin_test): Use END_COMPLEX macro without arguments.
60195         (csinh_test): Likewise.
60196         (csqrt_test): Likewise.
60197         (ctan_test): Likewise.
60198         (ctan_test_tonearest): Likewise.
60199         (ctan_test_towardzero): Likewise.
60200         (ctan_test_downward): Likewise.
60201         (ctan_test_upward): Likewise.
60202         (ctanh_test): Likewise.
60203         (ctanh_test_tonearest): Likewise.
60204         (ctanh_test_towardzero): Likewise.
60205         (ctanh_test_downward): Likewise.
60206         (ctanh_test_upward): Likewise.
60207         (erf_test): Use END macro without arguments.
60208         (erfc_test): Likewise.
60209         (exp_test): Likewise.
60210         (exp_test_tonearest): Likewise.
60211         (exp_test_towardzero): Likewise.
60212         (exp_test_downward): Likewise.
60213         (exp_test_upward): Likewise.
60214         (exp10_test): Likewise.
60215         (exp2_test): Likewise.
60216         (expm1_test): Likewise.
60217         (fabs_test): Likewise.
60218         (fdim_test): Likewise.
60219         (finite_test): Likewise.
60220         (floor_test): Likewise.
60221         (fma_test): Likewise.
60222         (fma_test_towardzero): Likewise.
60223         (fma_test_downward): Likewise.
60224         (fma_test_upward): Likewise.
60225         (fmax_test): Likewise.
60226         (fmin_test): Likewise.
60227         (fmod_test): Likewise.
60228         (fpclassify_test): Likewise.
60229         (frexp_test): Likewise.
60230         (gamma_test): Likewise.
60231         (hypot_test): Likewise.
60232         (ilogb_test): Likewise.
60233         (isfinite_test): Likewise.
60234         (isgreater_test): Likewise.
60235         (isgreaterequal_test): Likewise.
60236         (isinf_test): Likewise.
60237         (isless_test): Likewise.
60238         (islessequal_test): Likewise.
60239         (islessgreater_test): Likewise.
60240         (isnan_test): Likewise.
60241         (isnormal_test): Likewise.
60242         (issignaling_test): Likewise.
60243         (isunordered_test): Likewise.
60244         (j0_test): Likewise.
60245         (j1_test): Likewise.
60246         (jn_test): Likewise.
60247         (ldexp_test): Likewise.
60248         (lgamma_test): Likewise.
60249         (lrint_test): Likewise.
60250         (lrint_test_tonearest): Likewise.
60251         (lrint_test_towardzero): Likewise.
60252         (lrint_test_downward): Likewise.
60253         (lrint_test_upward): Likewise.
60254         (llrint_test): Likewise.
60255         (llrint_test_tonearest): Likewise.
60256         (llrint_test_towardzero): Likewise.
60257         (llrint_test_downward): Likewise.
60258         (llrint_test_upward): Likewise.
60259         (log_test): Likewise.
60260         (log10_test): Likewise.
60261         (log1p_test): Likewise.
60262         (log2_test): Likewise.
60263         (logb_test): Likewise.
60264         (logb_test_downward): Likewise.
60265         (lround_test): Likewise.
60266         (llround_test): Likewise.
60267         (modf_test): Likewise.
60268         (nearbyint_test): Likewise.
60269         (nextafter_test): Likewise.
60270         (nexttoward_test): Likewise.
60271         (pow_test): Likewise.
60272         (pow_test_tonearest): Likewise.
60273         (pow_test_towardzero): Likewise.
60274         (pow_test_downward): Likewise.
60275         (pow_test_upward): Likewise.
60276         (remainder_test): Likewise.
60277         (remainder_test_tonearest): Likewise.
60278         (remainder_test_towardzero): Likewise.
60279         (remainder_test_downward): Likewise.
60280         (remainder_test_upward): Likewise.
60281         (remquo_test): Likewise.
60282         (rint_test): Likewise.
60283         (rint_test_tonearest): Likewise.
60284         (rint_test_towardzero): Likewise.
60285         (rint_test_downward): Likewise.
60286         (rint_test_upward): Likewise.
60287         (round_test): Likewise.
60288         (scalb_test): Likewise.
60289         (scalbn_test): Likewise.
60290         (scalbln_test): Likewise.
60291         (signbit_test): Likewise.
60292         (sin_test): Likewise.
60293         (sin_test_tonearest): Likewise.
60294         (sin_test_towardzero): Likewise.
60295         (sin_test_downward): Likewise.
60296         (sin_test_upward): Likewise.
60297         (sincos_test): Likewise.
60298         (sinh_test): Likewise.
60299         (sinh_test_tonearest): Likewise.
60300         (sinh_test_towardzero): Likewise.
60301         (sinh_test_downward): Likewise.
60302         (sinh_test_upward): Likewise.
60303         (sqrt_test): Likewise.
60304         (tan_test): Likewise.
60305         (tan_test_tonearest): Likewise.
60306         (tan_test_towardzero): Likewise.
60307         (tan_test_downward): Likewise.
60308         (tan_test_upward): Likewise.
60309         (tanh_test): Likewise.
60310         (tgamma_test): Likewise.
60311         (trunc_test): Likewise.
60312         (y0_test): Likewise.
60313         (y1_test): Likewise.
60314         (yn_test): Likewise.
60315         (significand_test): Likewise.
60317 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
60319         [BZ #15381]
60320         * libio/genops.c (_IO_no_init): Initialize wide struct info.
60322 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
60324         [BZ #14894]
60325         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
60326         __ppc_mdoio and __ppc_mdoom.
60327         * manual/platform.texi: Document new functions __ppc_yield,
60328         __ppc_mdoio and __ppc_mdoom.
60330 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
60332         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
60333         (main): Mention "tls" pseudo-hwcap is legacy.
60334         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
60336 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
60338         * math/gen-libm-test.pl (parse_args): Output only string of
60339         arguments as text for test name, not full call or descriptions of
60340         tests for extra outputs.
60341         (generate_testfile): Do not pass function name to parse_args.
60342         Generate this_func variable from START.
60343         * math/libm-test.inc (struct test_f_f_data): Rename test_name
60344         field to arg_str.
60345         (struct test_ff_f_data): Likewise.
60346         (test_ff_f_data_nexttoward): Likewise.
60347         (struct test_fi_f_data): Likewise.
60348         (struct test_fl_f_data): Likewise.
60349         (struct test_if_f_data): Likewise.
60350         (struct test_fff_f_data): Likewise.
60351         (struct test_c_f_data): Likewise.
60352         (struct test_f_f1_data): Likewise.  Remove field extra_name.
60353         (struct test_fF_f1_data): Likewise.
60354         (struct test_ffI_f1_data): Likewise.
60355         (struct test_c_c_data): Rename test_name field to arg_str.
60356         (struct test_cc_c_data): Likewise.
60357         (struct test_f_i_data): Likewise.
60358         (struct test_ff_i_data): Likewise.
60359         (struct test_f_l_data): Likewise.
60360         (struct test_f_L_data): Likewise.
60361         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
60362         and extra2_name.
60363         (COMMON_TEST_SETUP): New macro.
60364         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
60365         (COMMON_TEST_CLEANUP): Likewise.
60366         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
60367         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
60368         macros.
60369         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
60370         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
60371         macros.
60372         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
60373         (RUN_TEST_fff_f): Take argument string.  Call new setup and
60374         cleanup macros.
60375         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
60376         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
60377         macros.
60378         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
60379         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
60380         macros.
60381         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
60382         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
60383         cleanup macros.
60384         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
60385         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
60386         cleanup macros.
60387         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
60388         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
60389         cleanup macros.
60390         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
60391         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
60392         macros.
60393         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
60394         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
60395         macros.
60396         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
60397         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
60398         macros.
60399         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
60400         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
60401         cleanup macros.
60402         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
60403         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
60404         cleanup macros.
60405         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
60406         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
60407         macros.
60408         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
60409         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
60410         cleanup macros.
60411         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
60412         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
60413         macros.
60414         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
60415         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
60416         macros.
60417         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
60418         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
60419         cleanup macros.
60420         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
60422 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
60424         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
60425         to _sifields.sigfault.
60426         (si_addr_lsb): Define new macro.
60427         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
60428         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60429         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
60431 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
60433         [BZ #15441]
60434         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
60435         returns -1.
60436         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
60437         null return -1.
60438         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
60439         loading the domain.
60441 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
60443         * math/gen-libm-test.pl (parse_args): Do not include expected
60444         result in test name.
60445         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
60446         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60447         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60448         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60449         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60452 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60454         * benchtests/Makefile: Sort function entries.
60456         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
60457         tanh, asinh, acosh, atanh.
60458         * benchtests/acos-inputs: New file.
60459         * benchtests/acosh-inputs: New file.
60460         * benchtests/asin-inputs: New file.
60461         * benchtests/asinh-inputs: New file.
60462         * benchtests/atanh-inputs: New file.
60463         * benchtests/cosh-inputs: New file.
60464         * benchtests/log-inputs: New file.
60465         * benchtests/sinh-inputs: New file.
60466         * benchtests/tanh-inputs: New file.
60468 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
60470         [BZ #15339]
60471         * posix/tst-getaddrinfo4.c: New test.
60472         * posix/Makefile (tests): Add it.
60474 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60476         [BZ #15339]
60477         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
60478         when no services were used.
60479         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
60480         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
60482 2013-05-21  Andreas Schwab  <schwab@suse.de>
60484         [BZ #15014]
60485         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
60486         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
60487         successful.
60488         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
60489         redundant variable declarations and reallocation of buffer when
60490         parsing as IPv6 address.  Always set NSS status when called from
60491         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
60492         buffer too small.  Correct computation of needed size.
60493         * nss/Makefile (tests): Add test-digits-dots.
60494         * nss/test-digits-dots.c: New test.
60496 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60498         * benchtests/Makefile: Remove instructions for adding
60499         benchmark tests.
60500         * benchtests/README: New file to explain how to execute and
60501         enhance the benchmark tests.
60503 2013-05-21  Andreas Schwab  <schwab@suse.de>
60505         [BZ #15493]
60506         * setjmp/Makefile (tests): Add tst-sigsetjmp.
60507         * setjmp/tst-sigsetjmp.c: New test.
60509 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
60511         * sysdeps/x86_64/memset.S (memset): New implementation.
60512         (__bzero): Likewise.
60513         (__memset_tail): New function.
60515 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
60517         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
60518         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
60519         __memcpy_sse2_unaligned ifunc selection.
60520         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60521         Add memcpy-sse2-unaligned.S.
60522         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60523         Add: __memcpy_sse2_unaligned.
60525 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
60527         [BZ #15490]
60528         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
60529         math_force_eval before restoring floating-point envrionment.
60530         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
60531         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
60532         Likewise.
60533         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
60534         <math_private.h>.
60535         (__nearbyintl): Use math_force_eval before restoring
60536         floating-point environment.
60537         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
60539         * math/gen-libm-test.pl (special_functions): Remove.
60540         (parse_args): Don't handle TEST_extra.  Handle functions with no
60541         return value.
60542         * math/libm-test.inc (struct test_sincos_data): Replace with
60543         struct test_fFF_11_data.
60544         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
60545         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
60546         (sincos_test_data): Change element type to struct
60547         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
60548         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
60549         RUN_TEST_LOOP_sincos.
60550         * math/README.libm-test: Don't mention special handling of
60551         individual functions.
60552         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
60553         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60554         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60555         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60556         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60559         * math/gen-libm-test.pl (get_variable): Remove function.
60560         (parse_args): Don't show pointer parameters to call in test
60561         names.  Use "extra output N" in test names for extra outputs
60562         rather than naming variables.
60564 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
60566         [BZ #15488]
60567         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
60568         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
60569         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
60570         double tests.
60571         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
60572         disable.
60573         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
60574         check_long_double.
60576         * math/gen-libm-test.pl (@tests): Remove variable.
60577         ($count): Likewise.
60578         (new_test): Remove function.
60579         (show_exceptions): New function.
60580         (special_functions): Use show_exceptions instead of new_test.
60581         (parse_args): Likewise.
60582         (generate_testfile): Pass only function name in generated call to
60583         print_max_error or print_complex_max_error.
60584         (get_ulps): Do not handle complex tests specially.
60585         (output_test): Rename to ...
60586         (get_all_ulps_for_test): ... this.  Return a string rather than
60587         printing to a file.  Require ulps to be present.
60588         (output_ulps): Generate arrays rather than #defines.
60589         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
60590         (struct ulp_data): New type.
60591         (BUILD_COMPLEX_ULP): Remove macro.
60592         (compare_ulp_data): New function.
60593         (find_ulps): Likewise.
60594         (find_test_ulps): Likewise.
60595         (find_function_ulps): Likewise.
60596         (find_complex_function_ulps): Likewise.
60597         (print_max_error): Determine allowed ulps using
60598         find_function_ulps.
60599         (print_complex_max_error): Determine allowed ulps using
60600         find_complex_function_ulps.
60601         (check_float_internal): Determine max ulps using find_test_ulps.
60602         (check_float): Do not take max_ulp parameter.  Update call to
60603         check_float_internal.
60604         (check_complex): Likewise.
60605         (check_int): Do not take max_ulp parameter.
60606         (check_long): Likewise.
60607         (check_bool): Likewise.
60608         (check_longlong): Likewise.
60609         (struct test_f_f_data): Remove max_ulp field.
60610         (struct test_ff_f_data): Likewise.
60611         (struct test_ff_f_data_nexttoward): Likewise.
60612         (struct test_fi_f_data): Likewise.
60613         (struct test_fl_f_data): Likewise.
60614         (struct test_if_f_data): Likewise.
60615         (struct test_fff_f_data): Likewise.
60616         (struct test_c_f_data): Likewise.
60617         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
60618         (struct test_fF_f1_data): Likewise.
60619         (struct test_ffI_f1_data): Likewise.
60620         (struct test_c_c_data): Remove max_ulp field.
60621         (struct test_cc_c_data): Likewise.
60622         (struct test_f_i_data): Likewise.
60623         (struct test_ff_i_data): Likewise.
60624         (struct test_f_l_data): Likewise.
60625         (struct test_f_L_data): Likewise.
60626         (struct test_sincos_data): Likewise.
60627         (RUN_TEST_f_f): Do not handle ulps.
60628         (RUN_TEST_LOOP_f_f): Likewise.
60629         (RUN_TEST_2_f): Likewise.
60630         (RUN_TEST_LOOP_2_f): Likewise.
60631         (RUN_TEST_fff_f): Likewise.
60632         (RUN_TEST_LOOP_fff_f): Likewise.
60633         (RUN_TEST_c_f): Likewise.
60634         (RUN_TEST_LOOP_c_f): Likewise.
60635         (RUN_TEST_f_f1): Likewise.
60636         (RUN_TEST_LOOP_f_f1): Likewise.
60637         (RUN_TEST_fF_f1): Likewise.
60638         (RUN_TEST_LOOP_fF_f1): Likewise.
60639         (RUN_TEST_fI_f1): Likewise.
60640         (RUN_TEST_LOOP_fI_f1): Likewise.
60641         (RUN_TEST_ffI_f1): Likewise.
60642         (RUN_TEST_LOOP_ffI_f1): Likewise.
60643         (RUN_TEST_c_c): Likewise.
60644         (RUN_TEST_LOOP_c_c): Likewise.
60645         (RUN_TEST_cc_c): Likewise.
60646         (RUN_TEST_LOOP_cc_c): Likewise.
60647         (RUN_TEST_f_i): Likewise.
60648         (RUN_TEST_LOOP_f_i): Likewise.
60649         (RUN_TEST_f_i_tg): Likewise.
60650         (RUN_TEST_LOOP_f_i_tg): Likewise.
60651         (RUN_TEST_ff_i_tg): Likewise.
60652         (RUN_TEST_LOOP_ff_i_tg): Likewise.
60653         (RUN_TEST_f_b): Likewise.
60654         (RUN_TEST_LOOP_f_b): Likewise.
60655         (RUN_TEST_f_b_tg): Likewise.
60656         (RUN_TEST_LOOP_f_b_tg): Likewise.
60657         (RUN_TEST_f_l): Likewise.
60658         (RUN_TEST_LOOP_f_l): Likewise.
60659         (RUN_TEST_f_L): Likewise.
60660         (RUN_TEST_LOOP_f_L): Likewise.
60661         (RUN_TEST_sincos): Likewise.
60662         (RUN_TEST_LOOP_sincos): Likewise.
60664 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
60666         [BZ #15480]
60667         [BZ #15485]
60668         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
60669         main case of finite arguments, set rounding mode to FE_TONEAREST
60670         and discard exceptions.
60671         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
60672         exceptions.
60673         (remainder_tonearest_test_data): New variable.
60674         (remainder_test_tonearest): New function.
60675         (remainder_towardzero_test_data): New variable.
60676         (remainder_test_towardzero): New function.
60677         (remainder_downward_test_data): New variable.
60678         (remainder_test_downward): New function.
60679         (remainder_upward_test_data): New variable.
60680         (remainder_test_upward): New function.
60681         (main): Call the new test functions.
60683         * math/libm-test.inc (struct test_f_f1_data): Remove field
60684         extra_init.
60685         (struct test_fF_f1_data): Likewise.
60686         (struct test_ffI_f1_data): Likewise.
60687         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
60688         based on value of EXTRA_EXPECTED.
60689         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
60690         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
60691         EXTRA_VAR based on value of EXTRA_EXPECTED.
60692         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
60693         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
60694         EXTRA_VAR based on value of EXTRA_EXPECTED.
60695         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
60696         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
60697         EXTRA_VAR based on value of EXTRA_EXPECTED.
60698         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
60699         * math/gen-libm-test.pl (parse_args): Don't output initializers
60700         for extra output values.
60702         * math/libm-test.inc (check_int): Expect result to be exactly
60703         equal to expected value and do not handle ulps.
60704         (check_long): Likewise.
60705         (check_longlong): Likewise.
60707         * math/libm-test.inc (ceil_test_data): Test for "inexact"
60708         exceptions.
60709         (cimag_test_data): Likewise.
60710         (conj_test_data): Likewise.
60711         (copysign_test_data): Likewise.
60712         (cproj_test_data): Likewise.
60713         (creal_test_data): Likewise.
60714         (fabs_test_data): Likewise.
60715         (fdim_test_data): Likewise.
60716         (finite_test_data): Likewise.
60717         (floor_test_data): Likewise.
60718         (fmax_test_data): Likewise.
60719         (fmin_test_data): Likewise.
60720         (fmod_test_data): Likewise.
60721         (fpclassify_test_data): Likewise.
60722         (frexp_test_data): Likewise.
60723         (ilogb_test_data): Likewise.
60724         (isfinite_test_data): Likewise.
60725         (isgreater_test_data): Likewise.
60726         (isgreaterequal_test_data): Likewise.
60727         (isinf_test_data): Likewise.
60728         (isless_test_data): Likewise.
60729         (islessequal_test_data): Likewise.
60730         (islessgreater_test_data): Likewise.
60731         (isnan_test_data): Likewise.
60732         (isnormal_test_data): Likewise.
60733         (issignaling_test_data): Likewise.
60734         (isunordered_test_data): Likewise.
60735         (ldexp_test_data): Likewise.
60736         (lrint_test_data): Likewise.
60737         (lrint_test_data) [TEST_FLOAT]: Disable one test.
60738         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
60739         (lrint_tonearest_test_data): Test for "inexact" exceptions.
60740         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
60741         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
60742         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
60743         test input.
60744         (lrint_towardzero_test_data): Test for "inexact" exceptions.
60745         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
60746         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
60747         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
60748         that test input.
60749         (lrint_downward_test_data): Test for "inexact" exceptions.
60750         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
60751         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
60752         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
60753         test input.
60754         (lrint_upward_test_data): Test for "inexact" exceptions.
60755         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
60756         test input.
60757         (llrint_test_data): Test for "inexact" exceptions.
60758         (llrint_test_data) [TEST_FLOAT]: Disable one test.
60759         (llrint_tonearest_test_data): Test for "inexact" exceptions.
60760         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
60761         (llrint_towardzero_test_data): Test for "inexact" exceptions.
60762         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
60763         (llrint_downward_test_data): Test for "inexact" exceptions.
60764         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
60765         (llrint_upward_test_data): Test for "inexact" exceptions.
60766         (logb_test_data): Likewise.
60767         (logb_downward_test_data): Likewise.
60768         (nextafter_test_data): Likewise.
60769         (nexttoward_test_data): Likewise.
60770         (remainder_test_data): Likewise.
60771         (remquo_test_data): Likewise.
60772         (scalbn_test_data): Likewise.
60773         (scalbln_test_data): Likewise.
60774         (signbit_test_data): Likewise.
60775         (sqrt_test_data): Likewise.
60776         (significand_test_data): Likewise.
60778 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
60780         [BZ #15424]
60781         * benchtests/bench-modf.c (struct args): Mark arg0 as
60782         volatile.
60783         * scripts/bench.pl: Mark members of struct args as volatile.
60785 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60787         [BZ # 15497]
60788         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
60789         negative infinity on POWER6 or lower.
60790         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
60792 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
60794         [BZ #15442]
60795         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
60796         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
60797         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
60798         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
60799         (_FP_SETQNAN): New macro.
60800         (_FP_SETQNAN_SEMIRAW): Likewise.
60801         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
60802         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
60803         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
60804         (FP_EXTEND): Use _FP_FRAC_SNANP.
60805         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
60806         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
60807         into account.
60808         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
60809         New macro.
60810         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
60811         Likewise.
60813 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60815         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
60816         with DIVIDE_BY_ZERO_EXCEPTION.
60817         (gamma_test_data): Likewise.
60818         (lgamma_test_data): Likewise.
60819         (log_test_data): Likewise.
60820         (log10_test_data): Likewise.
60821         (log2_test_data): Likewise.
60822         (tgamma_test_data): Likewise.
60824         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
60825         (acos_test_tonearest): Likewise.
60826         (acos_test_towardzero): Likewise.
60827         (acos_test_downward): Likewise.
60828         (acos_test_upward): Likewise.
60829         (acosh_test): Likewise.
60830         (asin_test): Likewise.
60831         (asin_test_tonearest): Likewise.
60832         (asin_test_towardzero): Likewise.
60833         (asin_test_downward): Likewise.
60834         (asin_test_upward): Likewise.
60835         (asinh_test): Likewise.
60836         (atan_test): Likewise.
60837         (atanh_test): Likewise.
60838         (atan2_test): Likewise.
60839         (cabs_test): Likewise.
60840         (cacos_test): Likewise.
60841         (cacosh_test): Likewise.
60842         (casin_test): Likewise.
60843         (casinh_test): Likewise.
60844         (catan_test): Likewise.
60845         (catanh_test): Likewise.
60846         (cbrt_test): Likewise.
60847         (ccos_test): Likewise.
60848         (ccosh_test): Likewise.
60849         (cexp_test): Likewise.
60850         (clog_test): Likewise.
60851         (clog10_test): Likewise.
60852         (cos_test): Likewise.
60853         (cos_test_tonearest): Likewise.
60854         (cos_test_towardzero): Likewise.
60855         (cos_test_downward): Likewise.
60856         (cos_test_upward): Likewise.
60857         (cosh_test): Likewise.
60858         (cosh_test_tonearest): Likewise.
60859         (cosh_test_towardzero): Likewise.
60860         (cosh_test_downward): Likewise.
60861         (cosh_test_upward): Likewise.
60862         (cpow_test): Likewise.
60863         (csin_test): Likewise.
60864         (csinh_test): Likewise.
60865         (csqrt_test): Likewise.
60866         (ctan_test): Likewise.
60867         (ctan_test_tonearest): Likewise.
60868         (ctan_test_towardzero): Likewise.
60869         (ctan_test_downward): Likewise.
60870         (ctan_test_upward): Likewise.
60871         (ctanh_test): Likewise.
60872         (ctanh_test_tonearest): Likewise.
60873         (ctanh_test_towardzero): Likewise.
60874         (ctanh_test_downward): Likewise.
60875         (ctanh_test_upward): Likewise.
60876         (erf_test): Likewise.
60877         (erfc_test): Likewise.
60878         (exp_test): Likewise.
60879         (exp_test_tonearest): Likewise.
60880         (exp_test_towardzero): Likewise.
60881         (exp_test_downward): Likewise.
60882         (exp_test_upward): Likewise.
60883         (exp10_test): Likewise.
60884         (exp2_test): Likewise.
60885         (expm1_test): Likewise.
60886         (fmod_test): Likewise.
60887         (gamma_test): Likewise.
60888         (hypot_test): Likewise.
60889         (j0_test): Likewise.
60890         (j1_test): Likewise.
60891         (jn_test): Likewise.
60892         (lgamma_test): Likewise.
60893         (log_test): Likewise.
60894         (log10_test): Likewise.
60895         (log1p_test): Likewise.
60896         (log2_test): Likewise.
60897         (logb_test_downward): Likewise.
60898         (pow_test): Likewise.
60899         (pow_test_tonearest): Likewise.
60900         (pow_test_towardzero): Likewise.
60901         (pow_test_downward): Likewise.
60902         (pow_test_upward): Likewise.
60903         (remainder_test): Likewise.
60904         (remquo_test): Likewise.
60905         (sin_test): Likewise.
60906         (sin_test_tonearest): Likewise.
60907         (sin_test_towardzero): Likewise.
60908         (sin_test_downward): Likewise.
60909         (sin_test_upward): Likewise.
60910         (sincos_test): Likewise.
60911         (sinh_test): Likewise.
60912         (sinh_test_tonearest): Likewise.
60913         (sinh_test_towardzero): Likewise.
60914         (sinh_test_downward): Likewise.
60915         (sinh_test_upward): Likewise.
60916         (sqrt_test): Likewise.
60917         (tan_test): Likewise.
60918         (tan_test_tonearest): Likewise.
60919         (tan_test_towardzero): Likewise.
60920         (tan_test_downward): Likewise.
60921         (tan_test_upward): Likewise.
60922         (tanh_test): Likewise.
60923         (tgamma_test): Likewise.
60924         (y0_test): Likewise.
60925         (y1_test): Likewise.
60926         (yn_test): Likewise.
60928         * math/gen-libm-test.pl (adjust_arg): Remove function.
60929         (special_function): Remove argument $in_func.  Only handle
60930         generating output for tables of tests, not inside functions.
60931         (parse_args): Likewise.
60932         (generate_testfile): Remove variable $in_func.  Update call to
60933         parse_args.
60934         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
60935         (MINUS_ZERO_INIT): Rename macro to minus_zero.
60936         (PLUS_INFTY_INIT): Rename macro to plus_infty.
60937         (MINUS_INFTY_INIT): Rename macro to minus_infty.
60938         (QNAN_VALUE_INIT): Rename macro to qnan_value.
60939         (MAX_VALUE_INIT): Rename macro to max_value.
60940         (MIN_VALUE_INIT): Rename macro to min_value.
60941         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
60942         (plus_zero): Remove variable.
60943         (minus_zero): Likewise.
60944         (plus_infty): Likewise.
60945         (minus_infty): Likewise.
60946         (qnan_value): Likewise.
60947         (max_value): Likewise.
60948         (min_value): Likewise.
60949         (min_subnorm_value): Likewise.
60951 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60953         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
60954         uint64_t or uint32_t usage.
60955         * crypt/sha256-block.c: Likewise.
60956         * crypt/sha256-crypt.c: Likewise.
60957         * crypt/sha256.c: Likewise.
60958         * crypt/sha512-block.c: Likewise.
60959         * crypt/sha512-crypt.c: Likewise.
60960         * crypt/sha512.c: Likewise.
60961         * debug/backtrace-tst.c: Likewise.
60962         * debug/pcprofiledump.c: Likewise.
60963         * elf/cache.c: Likewise.
60964         * elf/dl-cache.c: Likewise.
60965         * elf/dl-misc.c: Likewise.
60966         * elf/dl-profile.c: Likewise.
60967         * elf/dl-support.c: Likewise.
60968         * elf/ldconfig.c: Likewise.
60969         * elf/sprof.c: Likewise.
60970         * iconv/dummy-repertoire.c: Likewise.
60971         * iconv/iconv_charmap.c: Likewise.
60972         * iconv/skeleton.c: Likewise.
60973         * iconvdata/8bit-generic.c: Likewise.
60974         * iconvdata/cp737.h: Likewise.
60975         * iconvdata/cp775.h: Likewise.
60976         * iconvdata/ibm1008.h: Likewise.
60977         * iconvdata/ibm1025.h: Likewise.
60978         * iconvdata/ibm1046.h: Likewise.
60979         * iconvdata/ibm1097.h: Likewise.
60980         * iconvdata/ibm1112.h: Likewise.
60981         * iconvdata/ibm1122.h: Likewise.
60982         * iconvdata/ibm1123.h: Likewise.
60983         * iconvdata/ibm1124.h: Likewise.
60984         * iconvdata/ibm1129.h: Likewise.
60985         * iconvdata/ibm1130.h: Likewise.
60986         * iconvdata/ibm1132.h: Likewise.
60987         * iconvdata/ibm1133.h: Likewise.
60988         * iconvdata/ibm1137.h: Likewise.
60989         * iconvdata/ibm1140.h: Likewise.
60990         * iconvdata/ibm1141.h: Likewise.
60991         * iconvdata/ibm1142.h: Likewise.
60992         * iconvdata/ibm1143.h: Likewise.
60993         * iconvdata/ibm1144.h: Likewise.
60994         * iconvdata/ibm1145.h: Likewise.
60995         * iconvdata/ibm1146.h: Likewise.
60996         * iconvdata/ibm1147.h: Likewise.
60997         * iconvdata/ibm1148.h: Likewise.
60998         * iconvdata/ibm1149.h: Likewise.
60999         * iconvdata/ibm1153.h: Likewise.
61000         * iconvdata/ibm1154.h: Likewise.
61001         * iconvdata/ibm1155.h: Likewise.
61002         * iconvdata/ibm1156.h: Likewise.
61003         * iconvdata/ibm1157.h: Likewise.
61004         * iconvdata/ibm1158.h: Likewise.
61005         * iconvdata/ibm1160.h: Likewise.
61006         * iconvdata/ibm1161.h: Likewise.
61007         * iconvdata/ibm1162.h: Likewise.
61008         * iconvdata/ibm1163.h: Likewise.
61009         * iconvdata/ibm1164.h: Likewise.
61010         * iconvdata/ibm1166.h: Likewise.
61011         * iconvdata/ibm1167.h: Likewise.
61012         * iconvdata/ibm12712.h: Likewise.
61013         * iconvdata/ibm1390.h: Likewise.
61014         * iconvdata/ibm1399.h: Likewise.
61015         * iconvdata/ibm16804.h: Likewise.
61016         * iconvdata/ibm4517.h: Likewise.
61017         * iconvdata/ibm4899.h: Likewise.
61018         * iconvdata/ibm4909.h: Likewise.
61019         * iconvdata/ibm4971.h: Likewise.
61020         * iconvdata/ibm5347.h: Likewise.
61021         * iconvdata/ibm803.h: Likewise.
61022         * iconvdata/ibm856.h: Likewise.
61023         * iconvdata/ibm901.h: Likewise.
61024         * iconvdata/ibm902.h: Likewise.
61025         * iconvdata/ibm9030.h: Likewise.
61026         * iconvdata/ibm9066.h: Likewise.
61027         * iconvdata/ibm921.h: Likewise.
61028         * iconvdata/ibm922.h: Likewise.
61029         * iconvdata/ibm9448.h: Likewise.
61030         * iconvdata/isiri-3342.h: Likewise.
61031         * iconvdata/jis0201.h: Likewise.
61032         * include/link.h: Likewise.
61033         * include/netdb.h: Likewise.
61034         * inet/check_native.c: Likewise.
61035         * inet/check_pf.c: Likewise.
61036         * inet/getipv4sourcefilter.c: Likewise.
61037         * inet/getnameinfo.c: Likewise.
61038         * inet/getsourcefilter.c: Likewise.
61039         * inet/htonl.c: Likewise.
61040         * inet/setipv4sourcefilter.c: Likewise.
61041         * inet/setsourcefilter.c: Likewise.
61042         * inet/test-inet6_opt.c: Likewise.
61043         * inet/tst-network.c: Likewise.
61044         * locale/C-collate.c: Likewise.
61045         * locale/C-ctype.c: Likewise.
61046         * locale/C-time.c: Likewise.
61047         * locale/C-translit.h: Likewise.
61048         * locale/loadarchive.c: Likewise.
61049         * locale/programs/3level.h: Likewise.
61050         * locale/programs/charmap.c: Likewise.
61051         * locale/programs/charmap.h: Likewise.
61052         * locale/programs/ld-address.c: Likewise.
61053         * locale/programs/ld-collate.c: Likewise.
61054         * locale/programs/ld-ctype.c: Likewise.
61055         * locale/programs/ld-identification.c: Likewise.
61056         * locale/programs/ld-measurement.c: Likewise.
61057         * locale/programs/ld-messages.c: Likewise.
61058         * locale/programs/ld-monetary.c: Likewise.
61059         * locale/programs/ld-name.c: Likewise.
61060         * locale/programs/ld-numeric.c: Likewise.
61061         * locale/programs/ld-paper.c: Likewise.
61062         * locale/programs/ld-telephone.c: Likewise.
61063         * locale/programs/ld-time.c: Likewise.
61064         * locale/programs/linereader.c: Likewise.
61065         * locale/programs/locale.c: Likewise.
61066         * locale/programs/locarchive.c: Likewise.
61067         * locale/programs/locfile.h: Likewise.
61068         * locale/programs/repertoire.c: Likewise.
61069         * locale/programs/simple-hash.c: Likewise.
61070         * locale/programs/simple-hash.h: Likewise.
61071         * malloc/memusage.c: Likewise.
61072         * malloc/memusagestat.c: Likewise.
61073         * nis/nis_defaults.c: Likewise.
61074         * nis/nis_hash.c: Likewise.
61075         * nis/nis_print.c: Likewise.
61076         * nis/nis_xdr.c: Likewise.
61077         * nscd/connections.c: Likewise.
61078         * nscd/hstcache.c: Likewise.
61079         * nscd/nscd_gethst_r.c: Likewise.
61080         * nscd/nscd_getserv_r.c: Likewise.
61081         * nscd/nscd_helper.c: Likewise.
61082         * nscd/servicescache.c: Likewise.
61083         * nss/makedb.c: Likewise.
61084         * nss/nss_db/db-XXX.c: Likewise.
61085         * nss/nss_db/db-initgroups.c: Likewise.
61086         * nss/nss_db/db-netgrp.c: Likewise.
61087         * nss/nss_files/files-network.c: Likewise.
61088         * nss/nss_files/files-parse.c: Likewise.
61089         * posix/bug-regex5.c: Likewise.
61090         * posix/fnmatch_loop.c: Likewise.
61091         * posix/regcomp.c: Likewise.
61092         * posix/regexec.c: Likewise.
61093         * posix/tst-rfc3484-2.c: Likewise.
61094         * posix/tst-rfc3484-3.c: Likewise.
61095         * posix/tst-rfc3484.c: Likewise.
61096         * resolv/nss_dns/dns-canon.c: Likewise.
61097         * resolv/nss_dns/dns-network.c: Likewise.
61098         * resolv/res_init.c: Likewise.
61099         * resolv/res_mkquery.c: Likewise.
61100         * resolv/tst-aton.c: Likewise.
61101         * stdlib/cxa_atexit.c: Likewise.
61102         * stdlib/cxa_finalize.c: Likewise.
61103         * stdlib/gen-fpioconst.c: Likewise.
61104         * stdlib/strtol_l.c: Likewise.
61105         * string/tst-endian.c: Likewise.
61106         * sunrpc/auth_des.c: Likewise.
61107         * sunrpc/clnt_udp.c: Likewise.
61108         * sunrpc/rtime.c: Likewise.
61109         * sunrpc/svcauth_des.c: Likewise.
61110         * sunrpc/xdr.c: Likewise.
61111         * sunrpc/xdr_intXX_t.c: Likewise.
61112         * sunrpc/xdr_rec.c: Likewise.
61113         * sysdeps/generic/ldconfig.h: Likewise.
61114         * sysdeps/generic/ldsodefs.h: Likewise.
61115         * sysdeps/generic/memusage.h: Likewise.
61116         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
61117         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
61118         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
61119         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
61120         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61121         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61122         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
61123         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
61124         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
61125         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61126         * sysdeps/posix/getaddrinfo.c: Likewise.
61127         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61128         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61129         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
61130         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61131         * sysdeps/powerpc/test-gettimebase.c: Likewise.
61132         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
61133         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
61134         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
61135         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
61136         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
61137         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
61138         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
61139         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
61140         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
61141         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
61142         * sysdeps/x86_64/dl-tls.h: Likewise.
61143         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
61144         * time/alt_digit.c: Likewise.
61145         * time/era.c: Likewise.
61146         * wcsmbs/tst-c16c32-1.c: Likewise.
61148 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61150         * math/libm-test.inc (struct test_sincos_data): New type.
61151         (RUN_TEST_LOOP_sincos): New macro.
61152         (sincos_test_data): New variable.
61153         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
61155 2013-05-16  Richard Henderson  <rth@redhat.com>
61157         * math/atest-exp2.c (LIMB64): New macro.
61158         (CONSTSZ): New macro.
61159         (mp_exp1, mp_exp_m1, mp_log2): New variables.
61160         (hexdig): Move ...
61161         (print_mpn_fp): ... to function scope.
61162         (read_mpn_hex): Remove.
61163         (get_log2): Remove.
61164         (exp2_mpn): Use mp_log2.
61165         (main): Use mp_exp1.
61167 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61169         * math/libm-test.inc: Remove comment about not testing "inexact"
61170         exceptions.
61171         (INEXACT_EXCEPTION): New macro.
61172         (NO_INEXACT_EXCEPTION): Likewise.
61173         (INVALID_EXCEPTION_OK): Update value.
61174         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61175         (OVERFLOW_EXCEPTION_OK): Likewise.
61176         (UNDERFLOW_EXCEPTION_OK): Likewise.
61177         (IGNORE_ZERO_INF_SIGN): Likewise.
61178         (ERRNO_UNCHANGED): Likewise.
61179         (ERRNO_EDOM): Likewise.
61180         (ERRNO_ERANGE): Likewise.
61181         (test_exceptions): Handle testing "inexact" exceptions.
61182         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
61183         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
61184         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
61185         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
61186         INEXACT_EXCEPTION.
61187         (rint_towardzero_test_data): Likewise.
61188         (rint_downward_test_data): Likewise.
61189         (rint_upward_test_data): Likewise.
61191         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
61192         with OVERFLOW_EXCEPTION.
61193         (exp10_test_data): Likewise.
61194         (exp2_test_data): Likewise.
61195         (expm1_test_data): Likewise.
61196         (lgamma_test_data): Likewise.
61197         (pow_test_data): Likewise.
61198         (tgamma_test_data): Likewise.
61199         (yn_test_data): Remove duplicate test of overflow.
61201         * math/libm-test.inc (struct test_cc_c_data): New type.
61202         (RUN_TEST_LOOP_cc_c): New macro.
61203         (cpow_test_data): New variable.
61204         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
61206         * math/libm-test.inc (struct test_f_L_data): New type.
61207         (RUN_TEST_LOOP_f_L): New macro.
61208         (llrint_test_data): New variable.
61209         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
61210         (llrint_tonearest_test_data): New variable.
61211         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
61212         (llrint_towardzero_test_data): New variable.
61213         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
61214         (llrint_downward_test_data): New variable.
61215         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
61216         (llrint_upward_test_data): New variable.
61217         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
61218         (llround_test_data): New variable.
61219         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
61221 2013-05-13  Peter Collingbourne  <pcc@google.com>
61223         * math/atest-exp2.c (get_log2): Remove const attribute.
61225 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
61227         * math/libm-test.inc (struct test_f_l_data): New type.
61228         (RUN_TEST_LOOP_f_l): New macro.
61229         (lrint_test_data): New variable.
61230         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
61231         (lrint_tonearest_test_data): New variable.
61232         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
61233         (lrint_towardzero_test_data): New variable.
61234         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
61235         (lrint_downward_test_data): New variable.
61236         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
61237         (lrint_upward_test_data): New variable.
61238         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
61239         (lround_test_data): New variable.
61240         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
61242 2013-05-15  Peter Collingbourne  <pcc@google.com>
61244         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
61245         (EXTRACT_WORDS64) Use where appropriate.
61246         (INSERT_WORDS64) Likewise.
61248         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
61249         constraints with x constraints.
61250         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
61252         * malloc/obstack.c (_obstack_compat): Add initializer.
61254 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
61256         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
61257         si_trapno and add si_addr_lsb to _sifields.sigfault.
61258         (si_trapno): Remove macro.
61259         (si_addr_lsb): Define new macro.
61260         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
61262 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
61264         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
61265         instead of TEST_f_l.
61266         (llrint_test_tonearest): Likewise.
61267         (llrint_test_towardzero): Likewise.
61268         (llrint_test_downward): Likewise.
61269         (llrint_test_upward): Likewise.
61270         (llround_test): Likewise.
61272         * math/libm-test.inc (struct test_f_i_data): Add comment.
61273         (RUN_TEST_LOOP_f_b): New macro.
61274         (RUN_TEST_LOOP_f_b_tg): Likewise.
61275         (finite_test_data): New variable.
61276         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
61277         (isfinite_test_data): New variable.
61278         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61279         (isinf_test_data): New variable.
61280         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61281         (isnan_test_data): New variable.
61282         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61283         (isnormal_test_data): New variable.
61284         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61285         (issignaling_test_data): New variable.
61286         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61287         (signbit_test_data): New variable.
61288         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61290         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
61291         with INVALID_EXCEPTION.
61292         (acosh_test_data): Likewise.
61293         (asin_test_data): Likewise.
61294         (atanh_test_data): Likewise.
61295         (fmod_test_data): Likewise.
61296         (log_test_data): Likewise.
61297         (log10_test_data): Likewise.
61298         (log2_test_data): Likewise.
61299         (pow_test_data): Likewise.
61300         (sqrt_test_data): Likewise.
61301         (y0_test_data): Likewise.
61302         (y1_test_data): Likewise.
61303         (yn_test_data): Likewise.
61305         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
61306         function contents.
61308         * math/libm-test.inc (struct test_ff_i_data): New type.
61309         (RUN_TEST_LOOP_ff_i_tg): New macro.
61310         (isgreater_test_data): New variable.
61311         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61312         (isgreaterequal_test_data): New variable.
61313         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61314         (isless_test_data): New variable.
61315         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61316         (islessequal_test_data): New variable.
61317         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61318         (islessgreater_test_data): New variable.
61319         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61320         (isunordered_test_data): New variable.
61321         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61323 2013-05-14  David S. Miller  <davem@davemloft.net>
61325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61327 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
61329         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
61331         * math/libm-test.inc (struct test_fF_f1_data): Change type of
61332         extra_test to int.
61333         (struct test_f_i_data): Change type of max_ulp to int.
61335         * math/libm-test.inc (test_ffI_f1_data): New type.
61336         (RUN_TEST_LOOP_ffI_f1): New macro.
61337         (remquo_test_data): New variable.
61338         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
61340         * setjmp/tst-setjmp-fp.c: New file.
61341         * setjmp/Makefile (tests): Add tst-setjmp-fp.
61342         (link-libm): New variable.
61343         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
61345         * math/libm-test.inc (struct test_f_i_data): New type.
61346         (RUN_TEST_LOOP_f_i): New macro.
61347         (RUN_TEST_LOOP_f_i_tg): Likewise.
61348         (fpclassify_test_data): New variable.
61349         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
61350         (ilogb_test_data): New variable.
61351         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
61353         * math/libm-test.inc (scalbln_test): Correct function name in END
61354         call.
61356         * math/libm-test.inc (struct test_f_f1_data): Add comment.
61357         (RUN_TEST_LOOP_fI_f1): New macro.
61358         (frexp_test_data): New variable.
61359         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
61361         * math/libm-test.inc (struct test_fF_f1_data): New type.
61362         (RUN_TEST_LOOP_fF_f1): New macro.
61363         (modf_test_data): New variable.
61364         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
61366         * math/libm-test.inc (struct test_f_f1_data): New type.
61367         (RUN_TEST_LOOP_f_f1): New macro.
61368         (gamma_test_data): New variable.
61369         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
61370         (lgamma_test_data): New variable.
61371         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
61373 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
61375         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
61376         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
61377         (main): Comment "tls" pseudo-hwcap.
61379 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
61381         * math/libm-test.inc (struct test_fl_f_data): New type.
61382         (RUN_TEST_LOOP_fl_f): New variable.
61383         (scalbln_test_data): New variable.
61384         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
61386         * math/libm-test.inc (struct test_fi_f_data): New type.
61387         (RUN_TEST_LOOP_fi_f): New macro.
61388         (ldexp_test_data): New variable.
61389         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
61390         (scalbn_test_data): New variable.
61391         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
61393         * math/libm-test.inc (struct test_c_f_data): New type.
61394         (RUN_TEST_LOOP_c_f): New macro.
61395         (cabs_test_data): New variable.
61396         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
61397         (carg_test_data): New variable.
61398         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
61399         (cimag_test_data): New variable.
61400         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
61401         (creal_test_data): New variable.
61402         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
61404         * math/libm-test.inc (struct test_if_f_data): New type.
61405         (RUN_TEST_LOOP_if_f): New macro.
61406         (jn_test_data): New variable.
61407         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
61408         (yn_test_data): New variable.
61409         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
61411         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
61413 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61415         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
61416         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
61418 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61420         * benchtests/Makefile (CPPFLAGS-nonlib): Add
61421         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
61422         (bench-deps): Add bench-timing.h.
61423         * benchtests-bench-skeleton.c: Include bench-timing.h.
61424         (main): Use TIMING_* macros instead of clock_gettime.
61425         * benchtests/bench-timing.h: New file.
61427         [BZ #14582]
61428         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
61429         Renamed from _LIB_VERSION.
61430         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
61432 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
61434         * math/libm-test.inc (struct test_fff_f_data): New type.
61435         (RUN_TEST_LOOP_fff_f): New macro.
61436         (fma_test_data): New variable.
61437         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
61438         (fma_towardzero_test_data): New variable.
61439         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
61440         (fma_downward_test_data): New variable.
61441         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
61442         (fma_upward_test_data): New variable.
61443         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
61445         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
61446         (struct test_c_c_data): New type.
61447         (RUN_TEST_LOOP_c_c): New macro.
61448         (cacos_test_data): New variable.
61449         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
61450         (cacosh_test_data): New variable.
61451         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
61452         (casin_test_data): New variable.
61453         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
61454         (casinh_test_data): New variable.
61455         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
61456         (catan_test_data): New variable.
61457         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
61458         (catanh_test_data): New variable.
61459         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
61460         (ccos_test_data): New variable.
61461         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
61462         (ccosh_test_data): New variable.
61463         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
61464         (cexp_test_data): New variable.
61465         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
61466         (clog_test_data): New variable.
61467         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
61468         (clog10_test_data): New variable.
61469         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
61470         (conj_test_data): New variable.
61471         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
61472         (cproj_test_data): New variable.
61473         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
61474         (csin_test_data): New variable.
61475         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
61476         (csinh_test_data): New variable.
61477         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
61478         (csqrt_test_data): New variable.
61479         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
61480         (ctan_test_data): New variable.
61481         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
61482         (ctan_tonearest_test_data): New variable.
61483         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
61484         (ctan_towardzero_test_data): New variable.
61485         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
61486         (ctan_downward_test_data): New variable.
61487         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
61488         (ctan_upward_test_data): New variable.
61489         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
61490         (ctanh_test_data): New variable.
61491         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
61492         (ctanh_tonearest_test_data): New variable.
61493         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
61494         (ctanh_towardzero_test_data): New variable.
61495         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
61496         (ctanh_downward_test_data): New variable.
61497         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
61498         (ctanh_upward_test_data): New variable.
61499         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
61500         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
61501         of BUILD_COMPLEX.
61503         * math/libm-test.inc (struct test_ff_f_data): New type.
61504         (struct test_ff_f_data_nexttoward): Likewise.
61505         (RUN_TEST_LOOP_2_f): New macro.
61506         (RUN_TEST_LOOP_ff_f): Likewise.
61507         (atan2_test_data): New variable.
61508         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
61509         (copysign_test_data): New variable.
61510         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
61511         (fdim_test_data): New variable.
61512         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
61513         (fmax_test_data): New variable.
61514         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
61515         (fmin_test_data): New variable.
61516         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
61517         (fmod_test_data): New variable.
61518         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
61519         (hypot_test_data): New variable.
61520         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
61521         (nextafter_test_data): New variable.
61522         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
61523         (nexttoward_test_data): New variable.
61524         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
61525         (pow_test_data): New variable.
61526         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
61527         (pow_tonearest_test_data): New variable.
61528         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
61529         (pow_towardzero_test_data): New variable.
61530         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
61531         (pow_downward_test_data): New variable.
61532         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
61533         (pow_upward_test_data): New variable.
61534         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
61535         (remainder_test_data): New variable.
61536         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
61537         (scalb_test_data): New variable.
61538         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
61539         * sysdeps/i386/fpu/libm-test-ulps: Update.
61541 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
61543         * math/libm-test.inc (fma_test): Use max_value instead of local
61544         variable fltmax.
61545         (nextafter_test): Likewise.
61547         * math/libm-test.inc (acos_towardzero_test_data): New variable.
61548         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61549         (acos_downward_test_data): New variable.
61550         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61551         (acos_upward_test_data): New variable.
61552         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61553         (acosh_test_data): New variable.
61554         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
61555         (asin_test_data): New variable.
61556         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
61557         (asin_tonearest_test_data): New variable.
61558         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61559         (asin_towardzero_test_data): New variable.
61560         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61561         (asin_downward_test_data): New variable.
61562         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61563         (asin_upward_test_data): New variable.
61564         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61565         (asinh_test_data): New variable.
61566         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
61567         (atan_test_data): New variable.
61568         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
61569         (atanh_test_data): New variable.
61570         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
61571         (cbrt_test_data): New variable.
61572         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
61573         (ceil_test_data): New variable.
61574         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
61575         (cos_test_data): New variable.
61576         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
61577         (cos_tonearest_test_data): New variable.
61578         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61579         (cos_towardzero_test_data): New variable.
61580         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61581         (cos_downward_test_data): New variable.
61582         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61583         (cos_upward_test_data): New variable.
61584         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61585         (cosh_test_data): New variable.
61586         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
61587         (cosh_tonearest_test_data): New variable.
61588         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61589         (cosh_towardzero_test_data): New variable.
61590         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61591         (cosh_downward_test_data): New variable.
61592         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61593         (cosh_upward_test_data): New variable.
61594         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61595         (erf_test_data): New variable.
61596         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
61597         (erfc_test_data): New variable.
61598         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
61599         (exp_test_data): New variable.
61600         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
61601         (exp_tonearest_test_data): New variable.
61602         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61603         (exp_towardzero_test_data): New variable.
61604         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61605         (exp_downward_test_data): New variable.
61606         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61607         (exp_upward_test_data): New variable.
61608         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61609         (exp10_test_data): New variable.
61610         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
61611         (exp2_test_data): New variable.
61612         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
61613         (expm1_test_data): New variable.
61614         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
61615         (fabs_test_data): New variable.
61616         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
61617         (floor_test_data): New variable.
61618         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
61619         (j0_test_data): New variable.
61620         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
61621         (j1_test_data): New variable.
61622         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
61623         (log_test_data): New variable.
61624         (log_test): Run tests with RUN_TEST_LOOP_f_f.
61625         (log10_test_data): New variable.
61626         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
61627         (log1p_test_data): New variable.
61628         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
61629         (log2_test_data): New variable.
61630         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
61631         (logb_test_data): New variable.
61632         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
61633         (logb_downward_test_data): New variable.
61634         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61635         (nearbyint_test_data): New variable.
61636         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
61637         (rint_test_data): New variable.
61638         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
61639         (rint_tonearest_test_data): New variable.
61640         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61641         (rint_towardzero_test_data): New variable.
61642         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61643         (rint_downward_test_data): New variable.
61644         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61645         (rint_upward_test_data): New variable.
61646         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61647         (round_test_data): New variable.
61648         (round_test): Run tests with RUN_TEST_LOOP_f_f.
61649         (sin_test_data): New variable.
61650         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
61651         (sin_tonearest_test_data): New variable.
61652         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61653         (sin_towardzero_test_data): New variable.
61654         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61655         (sin_downward_test_data): New variable.
61656         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61657         (sin_upward_test_data): New variable.
61658         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61659         (sinh_test_data): New variable.
61660         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
61661         (sinh_tonearest_test_data): New variable.
61662         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61663         (sinh_towardzero_test_data): New variable.
61664         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61665         (sinh_downward_test_data): New variable.
61666         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61667         (sinh_upward_test_data): New variable.
61668         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61669         (sqrt_test_data): New variable.
61670         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
61671         (tan_test_data): New variable.
61672         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
61673         (tan_tonearest_test_data): New variable.
61674         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61675         (tan_towardzero_test_data): New variable.
61676         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61677         (tan_downward_test_data): New variable.
61678         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61679         (tan_upward_test_data): New variable.
61680         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61681         (tanh_test_data): New variable.
61682         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
61683         (tgamma_test_data): New variable.
61684         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
61685         (trunc_test_data): New variable.
61686         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
61687         (y0_test_data): New variable.
61688         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
61689         (y1_test_data): New variable.
61690         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
61691         (significand_test_data): New variable.
61692         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
61694 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
61696         [BZ #12387]
61697         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
61699 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61701         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
61703 2013-05-10  Andreas Jaeger  <aj@suse.de>
61705         [BZ #15448]
61706         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
61707         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
61709 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
61711         * math/gen-libm-test.pl (adjust_arg): New function.
61712         (special_functions): Handle generating output in both functions
61713         and arrays.
61714         (parse_args): Likewise.
61715         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
61716         $in_func argument to parse_args.
61717         * math/libm-test.inc (struct test_f_f_data): New type.
61718         (IF_ROUND_INIT_): New macro.
61719         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
61720         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
61721         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
61722         (IF_ROUND_INIT_FE_UPWARD): Likewise.
61723         (ROUND_RESTORE_): Likewise.
61724         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
61725         (ROUND_RESTORE_FE_TONEAREST): Likewise.
61726         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
61727         (ROUND_RESTORE_FE_UPWARD): Likewise.
61728         (RUN_TEST_LOOP_f_f): New macro.
61729         (acos_test_data): New variable.
61730         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
61731         (acos_tonearest_test_data): New variable.
61732         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61734 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61736         * benchtests/bench-skeleton.c (startup): Fix coding style.
61738 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
61740         [BZ #6809]
61741         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
61742         negative infinity argument.
61743         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
61744         negative infinity argument.
61745         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
61746         negative infinity argument.
61747         * math/libm-test.inc (tgamma_test): Expect errno to be set for
61748         domain errors.
61750 2013-05-10  Florian Weimer  <fweimer@redhat.com>
61752         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
61753         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
61754         * iconv/iconv_prog.c (main): Likewise.
61755         * locale/programs/charmap-dir.c (charmap_readdir)
61756         (fopen_uncompressed): Likewise.
61757         * locale/programs/locfile.c (siblings_uncached)
61758         (write_locale_data): Use lstat64 instead of lstat.
61759         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
61760         stat.
61762 2013-05-10  Andreas Jaeger  <aj@suse.de>
61764         [BZ #15395]
61765         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
61766         localization.
61767         Include <locale.h>.
61769 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
61771         * elf/dl-close.c (_dl_close_worker): Add comments.
61773 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
61775         [BZ #15359]
61776         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
61777         high part of pi/2.
61778         (__ieee754_rem_pio2l): Update comments.
61780         [BZ #15429]
61781         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
61782         high part of pi/2.
61783         (__ieee754_rem_pio2l): Update comments.
61785         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
61786         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
61788         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
61789         M_PI_4l.
61791         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
61792         (M_PI_34_LOG10El): Likewise.
61793         (M_PI2_LOG10El): Likewise.
61794         (M_PI4_LOG10El): Likewise.
61795         (M_PI_LOG10El): Likewise.
61797 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61799         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61801 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
61803         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
61804         (MINUS_ZERO_INIT): Likewise.
61805         (PLUS_INFTY_INIT): Likewise.
61806         (MINUS_INFTY_INIT): Likewise.
61807         (QNAN_VALUE_INIT): Likewise.
61808         (MAX_VALUE_INIT): Likewise.
61809         (MIN_VALUE_INIT): Likewise.
61810         (MIN_SUBNORM_VALUE_INIT): Likewise.
61811         (plus_zero): Initialize with PLUS_ZERO_INIT.
61812         (minus_zero): Initialize with MINUS_ZERO_INIT.
61813         (plus_infty): Initialize with PLUS_INFTY_INIT.
61814         (minus_infty): Initialize with MINUS_INFTY_INIT.
61815         (qnan_value): Initialize with QNAN_VALUE_INIT.
61816         (max_value): Initialize with MAX_VALUE_INIT.
61817         (min_value): Initialize with MIN_VALUE_INIT.
61818         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
61820         * math/libm-test.inc (RUN_TEST_if_f): New macro.
61821         (jn_test): Use TEST_if_f instead of TEST_ff_f.
61822         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
61823         (yn_test): Use TEST_if_f instead of TEST_ff_f.
61825         * math/libm-test.inc (RUN_TEST_f_f): New macro.
61826         (RUN_TEST_2_f): Likewise.
61827         (RUN_TEST_ff_f): Likewise.
61828         (RUN_TEST_fi_f): Likewise.
61829         (RUN_TEST_fl_f): Likewise.
61830         (RUN_TEST_fff_f): Likewise.
61831         (RUN_TEST_c_f): Likewise.
61832         (RUN_TEST_f_f1): Likewise.
61833         (RUN_TEST_fF_f1): Likewise.
61834         (RUN_TEST_fI_f1): Likewise.
61835         (RUN_TEST_ffI_f1): Likewise.
61836         (RUN_TEST_c_c): Likewise.
61837         (RUN_TEST_cc_c): Likewise.
61838         (RUN_TEST_f_i): Likewise.
61839         (RUN_TEST_f_i_tg): Likewise.
61840         (RUN_TEST_ff_i_tg): Likewise.
61841         (RUN_TEST_f_b): Likewise.
61842         (RUN_TEST_f_b_tg): Likewise.
61843         (RUN_TEST_f_l): Likewise.
61844         (RUN_TEST_f_L): Likewise.
61845         (RUN_TEST_sincos): Likewise.
61846         * math/gen-libm-test.pl (new_test): Take new argument to indicate
61847         whether to show exceptions.  Do not include ");\n" in return
61848         value.
61849         (special_functions): Output call to RUN_TEST_sincos instead of
61850         check_float calls.  Update calls to new_test.
61851         (parse_args): Output call to single RUN_TEST_* macro instead of
61852         check_* calls and other assignments.  Update calls to new_test.
61854         [BZ #2546]
61855         [BZ #2560]
61856         [BZ #5159]
61857         [BZ #15426]
61858         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
61859         input to result for tgamma overflow.
61860         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
61861         (gamma_coeff): New variable.
61862         (NCOEFF): New macro.
61863         (gamma_positive): New function.
61864         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
61865         underflow here.  Use gamma_positive instead of exp (lgamma) for
61866         other arguments.
61867         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
61868         (gamma_coeff): New variable.
61869         (NCOEFF): New macro.
61870         (gammaf_positive): New function.
61871         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
61872         underflow here.  Use gamma_positive instead of exp (lgamma) for
61873         other arguments.
61874         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
61875         (gamma_coeff): New variable.
61876         (NCOEFF): New macro.
61877         (gammal_positive): New function.
61878         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
61879         underflow here.  Use gamma_positive instead of exp (lgamma) for
61880         other arguments.
61881         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
61882         (gamma_coeff): New variable.
61883         (NCOEFF): New macro.
61884         (gammal_positive): New function.
61885         (__ieee754_gammal_r): Handle positive infinity, overflow and
61886         underflow here.  Handle NaN the same as positive infinity.  Remove
61887         check x < 0xffffffff for negative integers.  Use gamma_positive
61888         instead of exp (lgamma) for other arguments.
61889         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
61890         (gamma_coeff): New variable.
61891         (NCOEFF): New macro.
61892         (gammal_positive): New function.
61893         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
61894         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
61895         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
61896         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
61897         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
61898         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
61899         * sysdeps/generic/math_private.h (__gamma_productf): New
61900         prototype.
61901         (__gamma_product): Likewise.
61902         (__gamma_productl): Likewise.
61903         * math/Makefile (libm-calls): Add gamma_product.
61904         * math/libm-test.inc (tgamma_test): Add more tests.
61905         * sysdeps/i386/fpu/libm-test-ulps: Update.
61906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61908 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
61910         * benchtests/bench-skeleton.c (main): Preheat CPU.
61912 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
61914         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
61916 2013-05-07  Roland McGrath  <roland@hack.frob.com>
61918         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
61919         and _dl_skip_args_internal.
61921 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
61923         * manual/message.texi (Message Translation): Talk about users.
61924         Message to key mapping impacts design.
61926 2013-05-06  Roland McGrath  <roland@hack.frob.com>
61928         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
61930         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
61932         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
61933         * sysdeps/wordsize-64/glob64.c: ... here.
61935         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
61936         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
61937         New macros.
61939         * debug/getlogin_r_chk.c: Moved to ...
61940         * login/getlogin_r_chk.c: ... here.
61941         * debug/Makefile (routines): Move getlogin_r_chk to ...
61942         * login/Makefile (routines): ... here.
61943         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
61944         * login/Versions (libc: GLIBC_2.4): ... here.
61946         * io/poll.c (__poll): Renamed from poll.
61947         Add libc_hidden_def.
61948         (poll): Define as weak alias.
61950         * debug/ptsname_r_chk.c: Moved to ...
61951         * login/ptsname_r_chk.c: ... here.
61952         * debug/Makefile (routines): Move ptsname_r_chk to ...
61953         * login/Makefile (routines): ... here.
61954         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
61955         * login/Versions (libc: GLIBC_2.4): ... here.
61957         * posix/getlogin.c: Moved to ...
61958         * login/getlogin.c: ... here.
61959         * posix/getlogin_r.c: Moved to ...
61960         * login/getlogin_r.c: ... here.
61961         * posix/getlogin_r.c: Moved to ...
61962         * login/getlogin_r.c: ... here.
61963         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
61964         * login/Makefile (routines): ... here.
61965         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
61966         * login/Versions (libc: GLIBC_2.0): ... here.
61968         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
61969         (setrlimit): Define as weak alias.
61971         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
61972         Call __ names for open, ftruncate, and close.
61973         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
61974         (truncate): Define as weak alias.
61976 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
61978         * math/gen-libm-test.pl (parse_args): Initialize x before each
61979         test of frexp, modf and remquo.
61981         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
61982         test signgam value.
61984 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61986         [BZ #15418]
61987         [BZ #15419]
61988         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
61989         internal tests.
61990         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61992 2013-05-06  Roland McGrath  <roland@hack.frob.com>
61994         * elf/dl-writev.h: New file.
61995         * elf/dl-misc.c: Include it.
61996         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
61997         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
61999 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
62001         * math/libm-test.inc (noXFails): Remove variable.
62002         (noXPasses): Likewise.
62003         (BUILD_COMPLEX_INT): Remove macro.
62004         (print_screen): Remove xfail argument.
62005         (print_screen_max_error): Likewise.
62006         (update_stats): Likewise.
62007         (print_max_error): Likewise.  Update calls to other affected
62008         functions.
62009         (print_complex_max_error): Likewise.
62010         (test_single_exception): Update calls to print_screen.
62011         (test_single_errno): Likewise.
62012         (check_float_internal): Remove xfail argument.  Update calls to
62013         other affected functions.
62014         (check_float): Likewise.
62015         (check_complex): Likewise.
62016         (check_int): Likewise.
62017         (check_long): Likewise.
62018         (check_bool): Likewise.
62019         (check_longlong): Likewise.
62020         (main): Don't print noXFails and noXPasses.
62021         * math/gen-libm-test.pl (top level): Don't mention expected
62022         failure handling in comment.
62023         (new_test): Don't handle expected failures.
62024         (parse_args): Don't mention expected failure handling in comment.
62025         (generate_testfile): Don't handle expected failures.
62026         (parse_ulps): Likewise.
62027         (print_ulps_file): Likewise.
62028         (get_failure): Remove function.
62029         (output_test): Don't handle expected failures.
62030         * make/README.libm-test: Don't mention expected failure handling.
62032         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
62033         (minus_zero): Likewise.
62034         (plus_infty): Likewise.
62035         (minus_infty): Likewise.
62036         (qnan_value): Likewise.
62037         (max_value): Likewise.
62038         (min_value): Likewise.
62039         (min_subnorm_value): Likewise.
62040         (initialize): Do not initialize those variables dynamically.
62042 2013-05-03  Roland McGrath  <roland@hack.frob.com>
62044         * io/open.c (__open_2): Moved to ...
62045         * io/open_2.c: ... this new file.
62046         * io/open64.c (__open64_2): Moved to ...
62047         * io/open64_2.c: ... this new file.
62048         * io/openat.c (__openat_2): Moved to ...
62049         * io/openat_2.c: ... this new file.
62050         * io/openat64.c (__openat64_2): Moved to ...
62051         * io/openat64_2.c: ... this new file.
62052         * io/Makefile (routines): Add them.
62053         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
62054         * sysdeps/unix/sysv/linux/open_2.c: File removed.
62055         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
62056         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
62057         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
62058         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
62059         (__openat64): Add hidden_ver.
62060         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
62061         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
62063         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
62064         Separately conditionalize setting of GLRO(dl_sysinfo) so
62065         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
62066         as well, but the actual setting is only under [NEED_DL_SYSINFO].
62068 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62070         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
62071         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
62072         definition.
62073         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
62074         * sysdeps/unix/sysv/linux/powerpc/init-first.c
62075         (_libc_vdso_platform_setup): Add __vdso_time initialization.
62076         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
62077         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
62079 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
62081         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
62082         test signgam value.
62084         * math/libm-test.inc (hypot_test): Do not use
62085         IGNORE_ZERO_INF_SIGN.
62087 2013-05-03  Andreas Jaeger  <aj@suse.de>
62089         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
62090         Linux 3.9.
62091         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
62092         (PF_MAX): Adjust for VSOCK change.
62094 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62098 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
62100         [BZ #15264]
62101         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
62102         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
62103         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
62105 2013-05-02  David S. Miller  <davem@davemloft.net>
62107         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62109 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
62111         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
62113 2013-05-01  Roland McGrath  <roland@hack.frob.com>
62115         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
62117 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
62119         [BZ #14952]
62120         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
62121         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
62122         Use __attribute__ ((__gnu_inline__)).
62123         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
62124         Don't use __attribute__ ((__gnu_inline__)).
62126 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
62128         [BZ #15423]
62129         * math/s_catan.c (__catan): Handle small real or imaginary part of
62130         input specially to avoid spurious underflow.
62131         * math/s_catanf.c (__catanf): Likewise.
62132         * math/s_catanh.c (__catanh): Likewise.
62133         * math/s_catanhf.c (__catanhf): Likewise.
62134         * math/s_catanhl.c (__catanhl): Likewise.
62135         * math/s_catanl.c (__catanl): Likewise.
62136         * math/libm-test.inc (catan_test): Add more tests.
62137         (catanh_test): Likewise.
62138         * sysdeps/i386/fpu/libm-test-ulps: Update.
62139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62141 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62145 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
62147         [BZ #15416]
62148         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
62149         accurately for denominator in atan2.
62150         * math/s_catanf.c (__catanf): Likewise.
62151         * math/s_catanh.c (__catanh): Likewise.
62152         * math/s_catanhf.c (__catanhf): Likewise.
62153         * math/s_catanhl.c (__catanhl): Likewise.
62154         * math/s_catanl.c (__catanl): Likewise.
62155         * math/libm-test.inc (catan_test): Add more tests.
62156         (catanh_test): Likewise.
62157         * sysdeps/i386/fpu/libm-test-ulps: Update.
62158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62160 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62162         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
62164         * benchtests/Makefile (bench): Remove slow benchmarks.
62165         * benchtests/atan-inputs: Add slow benchmark inputs.
62166         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
62167         (BENCH_FUNC): Accept variant offset.
62168         (VARIANT): Define.
62169         * benchtests/bench-skeleton.c (main): Run benchmark for each
62170         variant.
62171         * benchtests/cos-inputs: Add slow benchmark inputs.
62172         * benchtests/exp-inputs: Likewise.
62173         * benchtests/pow-inputs: Likewise.
62174         * benchtests/sin-inputs: Likewise.
62175         * benchtests/slowatan-inputs: Remove.
62176         * benchtests/slowatan.c: Remove.
62177         * benchtests/slowcos-inputs: Remove.
62178         * benchtests/slowcos.c: Remove.
62179         * benchtests/slowexp-inputs: Remove.
62180         * benchtests/slowexp.c: Remove.
62181         * benchtests/slowpow-inputs: Remove.
62182         * benchtests/slowpow.c: Remove.
62183         * benchtests/slowsin-inputs: Remove.
62184         * benchtests/slowsin.c: Remove.
62185         * benchtests/slowtan-inputs: Remove.
62186         * benchtests/slowtan.c: Remove.
62187         * benchtests/tan-inputs: Add slow benchmark inputs.
62188         * scripts/bench.pl: Parse comments and directives.
62190         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
62191         in CPPFLAGS.
62192         ($(objpfx)bench-%.c): Remove *-ITER.
62193         * benchtests/bench-modf.c: Remove definition of ITER.
62194         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
62195         (main): Loop for DURATION seconds instead of fixed number of
62196         iterations.
62197         * scripts/bench.pl: Don't expect iterations in parameters.
62199 2013-04-29  Roland McGrath  <roland@hack.frob.com>
62201         * io/fchdir.c (__fchdir): Renamed from fchdir.
62202         (fchdir): Define as weak alias.
62204 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
62206         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
62207         (ERRNO_EDOM): Likewise.
62208         (ERRNO_ERANGE): Likewise.
62209         (noErrnoTests): New variable.
62210         (init_max_error): Set errno to 0.
62211         (test_single_errno): New function.
62212         (test_errno): Likewise.
62213         (check_float_internal): Call test_errno.  Set errno to 0.
62214         (check_complex): Refer to errno tests in comment.
62215         (check_int): Call test_errno.  Set errno to 0.
62216         (check_long): Likewise.
62217         (check_bool): Likewise.
62218         (check_longlong): Likewise.
62219         (cos_test): Use ERRNO_* flags for errno tests instead of
62220         check_int.
62221         (expm1_test): Likewise.
62222         (fmod_test): Likewise.
62223         (ilogb_test): Likewise.
62224         (lgamma_test): Likewise.
62225         (pow_test): Likewise.
62226         (remainder_test): Likewise.
62227         (sin_test): Likewise.
62228         (tan_test): Likewise.
62229         (yn_test): Likewise.
62230         (initialize): Set errno to 0.
62231         (main): Print number of errno tests.
62232         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
62234 2013-04-29  Andreas Jaeger  <aj@suse.de>
62236         [BZ #15084]
62237         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
62238         and RES_USEVC.
62240         [BZ #15085]
62241         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
62242         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
62243         unimplemented.
62245         [BZ #15380]
62246         * stdlib/random.c (__initstate): Return NULL if
62247         __initstate fails.
62249         [BZ #15086]
62250         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
62251         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
62252         RES_SNGLKUPREOP.
62254 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62258 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
62260         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
62261         of individual tests.
62262         (casin_test): Likewise.
62263         (casinh_test): Likewise.
62265 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
62267         [BZ #15409]
62268         * math/s_catan.c (__catan): Handle arguments with large real or
62269         imaginary part separately without squaring.
62270         * math/s_catanf.c (__catanf): Likewise.
62271         * math/s_catanh.c (__catanh): Likewise.
62272         * math/s_catanhf.c (__catanhf): Likewise.
62273         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
62274         and redefine.
62275         (__catanhl): Handle arguments with large real or imaginary part
62276         separately without squaring.
62277         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
62278         and redefine.
62279         (__catanl): Handle arguments with large real or imaginary part
62280         separately without squaring.
62281         * math/libm-test.inc (catan_test): Add more tests.
62282         (catanh_test): Likewise.
62283         * sysdeps/i386/fpu/libm-test-ulps: Update.
62284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62286 2013-04-27  Andreas Jaeger  <aj@suse.de>
62288         [BZ #15007]
62289         * stdlib/stdlib.h: Update guards for qecvt.
62290         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
62291         <stdlib.h>.
62293 2013-04-27  Allan McRae  <allan@archlinux.org>
62295         * sysdeps/i386/fpu/libm-test-ulps: Update.
62297 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
62299         [BZ #15406]
62300         * math/s_catan.c: Include <float.h>.
62301         (__catan): Ensure underflow exception occurs for underflowed
62302         result.
62303         * math/s_catanf.c: Include <float.h>.
62304         (__catanf): Ensure underflow exception occurs for underflowed
62305         result.
62306         * math/s_catanh.c: Include <float.h>.
62307         (__catanh): Ensure underflow exception occurs for underflowed
62308         result.
62309         * math/s_catanhf.c: Include <float.h>.
62310         (__catanhf): Ensure underflow exception occurs for underflowed
62311         result.
62312         * math/s_catanhl.c: Include <float.h>.
62313         (__catanhl): Ensure underflow exception occurs for underflowed
62314         result.
62315         * math/s_catanl.c: Include <float.h>.
62316         (__catanl): Ensure underflow exception occurs for underflowed
62317         result.
62318         * math/libm-test.inc (catan_test): Add more tests.
62319         (catanh_test): Likewise.
62321         [BZ #15405]
62322         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
62323         underflowed result.
62324         * math/s_ccoshf.c (__ccoshf): Likewise.
62325         * math/s_ccoshl.c (__ccoshl): Likewise.
62326         * math/s_csin.c (__csin): Likewise.
62327         * math/s_csinf.c (__csinf): Likewise.
62328         * math/s_csinh.c (__csinh): Likewise.
62329         * math/s_csinhf.c (__csinhf): Likewise.
62330         * math/s_csinhl.c (__csinhl): Likewise.
62331         * math/s_csinl.c (__csinl): Likewise.
62332         * math/libm-test.inc (ccos_test): Add more tests.
62333         (ccosh_test): Likewise.
62334         (csin_test): Likewise.
62335         (csinh_test): Likewise.
62337 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62339         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
62340         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
62341         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
62342         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
62343         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
62344         powerpc/power5+/fpu folders.
62345         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
62348 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
62350         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62352 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
62354         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
62355         additions to variable.
62356         [$(config-machine) = x86_64] (modules-names): Likewise.
62357         ($(objpfx)tst-audit3): Remove dependency.
62358         ($(objpfx)tst-audit3.out): Likewise.
62359         ($(objpfx)tst-audit4): Likewise.
62360         ($(objpfx)tst-audit4.out): Likewise.
62361         ($(objpfx)tst-audit5): Likewise.
62362         ($(objpfx)tst-audit5.out): Likewise.
62363         ($(objpfx)tst-audit6): Likewise.
62364         ($(objpfx)tst-audit6.out): Likewise.
62365         ($(objpfx)tst-audit7): Likewise.
62366         ($(objpfx)tst-audit7.out): Likewise.
62367         (tst-audit3-ENV): Remove variable.
62368         (tst-audit4-ENV): Likewise.
62369         (tst-audit5-ENV): Likewise.
62370         (tst-audit6-ENV): Likewise.
62371         (tst-audit7-ENV): Likewise.
62372         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
62373         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
62374         addition to variable.
62375         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
62376         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
62377         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
62378         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
62379         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
62380         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
62381         tst-audit3, tst-audit4 and tst-audit5.
62382         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
62383         tst-audit6 and tst-audit7.
62384         [$(subdir) = elf] (modules-names): Add audit modules for those
62385         tests.
62386         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
62387         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
62388         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
62389         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
62390         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
62391         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
62392         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
62393         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
62394         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
62395         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
62396         [$(subdir) = elf] (tst-audit3-ENV): New variable.
62397         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
62398         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
62399         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
62400         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
62401         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
62402         Likewise.
62403         [$(subdir) = elf && $(config-cflags-avx) = yes]
62404         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
62405         [$(subdir) = elf && $(config-cflags-avx) = yes]
62406         (CFLAGS-tst-auditmod4a.c): Likewise.
62407         [$(subdir) = elf && $(config-cflags-avx) = yes]
62408         (CFLAGS-tst-auditmod4b.c): Likewise.
62409         [$(subdir) = elf && $(config-cflags-avx) = yes]
62410         (CFLAGS-tst-auditmod6b.c): Likewise.
62411         [$(subdir) = elf && $(config-cflags-avx) = yes]
62412         (CFLAGS-tst-auditmod6c.c): Likewise.
62413         [$(subdir) = elf && $(config-cflags-avx) = yes]
62414         (CFLAGS-tst-auditmod7b.c): Likewise.
62415         * elf/tst-audit3.c: Move to ...
62416         * sysdeps/x86_64/tst-audit3.c: ... here.
62417         * elf/tst-audit4.c: Move to ...
62418         * sysdeps/x86_64/tst-audit4.c: ... here.
62419         * elf/tst-audit5.c: Move to ...
62420         * sysdeps/x86_64/tst-audit5.c: ... here.
62421         * elf/tst-audit6.c: Move to ...
62422         * sysdeps/x86_64/tst-audit6.c: ... here.
62423         * elf/tst-audit7.c: Move to ...
62424         * sysdeps/x86_64/tst-audit7.c: ... here.
62425         * elf/tst-auditmod3a.c: Move to ...
62426         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
62427         * elf/tst-auditmod3b.c: Move to ...
62428         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
62429         * elf/tst-auditmod4a.c: Move to ...
62430         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
62431         * elf/tst-auditmod4b.c: Move to ...
62432         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
62433         * elf/tst-auditmod5a.c: Move to ...
62434         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
62435         * elf/tst-auditmod5b.c: Move to ...
62436         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
62437         * elf/tst-auditmod6a.c: Move to ...
62438         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
62439         * elf/tst-auditmod6b.c: Move to ...
62440         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
62441         * elf/tst-auditmod6c.c: Move to ...
62442         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
62443         * elf/tst-auditmod7a.c: Move to ...
62444         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
62445         * elf/tst-auditmod7b.c: Move to ...
62446         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
62448 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
62450         [BZ #15366]
62451         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
62452         define unconditionally.
62453         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
62454         define unconditionally.
62455         (INT8_C, INT16_C, etc.): Likewise.
62457 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
62459         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
62460         __ehdr_start with hidden visibility.
62462         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
62464 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
62466         * math/libm-test.inc (cos_test): Use accurate hex constants.
62467         (sincost_test): Likewise.
62469 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
62471         * math/libm-test.inc (catan_test): Add more tests.
62472         (catanh_test): Likewise.
62474         * math/s_catanf.c (__catanf): Use suffixed floating-point
62475         constants.
62476         * math/s_catanhf.c (__catanhf): Likewise.
62477         * math/s_catanhl.c (__catanhl): Likewise.
62478         * math/s_catanl.c (__catanl): Likewise.
62480         [BZ #15394]
62481         * math/s_catan.c (__catan): Calculate imaginary part of result
62482         with log1p not log unless computing log of number close to 0.
62483         * math/s_catanf.c (__catanf): Likewise.
62484         * math/s_catanl.c (__catanl): Likewise.
62485         * math/s_catanh.c (__catanh): Calculate real part of result with
62486         log1p not log unless computing log of number close to 0.
62487         * math/s_catanhf.c (__catanhf): Likewise.
62488         * math/s_catanhl.c (__catanhl): Likewise.
62489         * math/libm-test.inc (catan_test): Add more tests.
62490         (catanh_test): Likewise.
62491         * sysdeps/i386/fpu/libm-test-ulps: Update.
62492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62494 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
62496         * benchtests/Makefile: Mention files in which fast and slow
62497         paths of math functions are implemented.
62499 2013-04-23  Roland McGrath  <roland@hack.frob.com>
62501         * sysdeps/posix/timespec_get.c: New file.
62503 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62505         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
62506         POWER.
62507         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
62508         for POWER.
62509         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
62510         powerpc/power5/fpu folders.
62511         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
62512         * benchtests/Makefile: Add modf testcase.
62513         * benchtests/bench-modf.c: New file: Benchmark test for mo
62515 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
62517         [BZ #14888]
62518         * time/Makefile (tests): Add tst-strptime-whitespace.
62519         * time/strptime_l.c (get_number): Use ISSPACE.
62520         (__strptime_internal): Likewise.
62521         * time/tst-strptime-whitespace.c: New test case.
62523 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
62525         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
62526         member.
62527         (_nss_files_init): Set it here.
62529 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
62531         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
62532         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
62533         unsigned.
62535 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
62537         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
62539 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62541         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
62542         size just once.
62544 2013-04-21  David S. Miller  <davem@davemloft.net>
62546         * po/ru.po: Update Russion translation from translation project.
62548 2013-04-17  Adam Conrad  <adconrad@0c3.net>
62550         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
62551         and setfsgid.
62553 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
62555         * configure.in: Remove i386 configure warning. Remove i386 case.
62556         * configure: Regenerate.
62557         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
62558         Add example to error message.
62559         * sysdeps/i386/configure: Regenerate.
62561 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
62563         * benchtests/Makefile (bench): Add cos, tan, slowcos and
62564         slowtan.
62565         * benchtests/cos-inputs: New file.
62566         * benchtests/slowcos-inputs: New file.
62567         * benchtests/slowcos.c: New file.
62568         * benchtests/slowtan-inputs: New file.
62569         * benchtests/slowtan.c: New file.
62570         * benchtests/tan-inputs: New file.
62572 2013-04-16  Roland McGrath  <roland@hack.frob.com>
62574         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
62575         considered kosher.
62577 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
62579         * benchtests/Makefile: Include cppflags-iterator.mk to add
62580         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
62582         * Makefile.in (bench-clean): New target.
62583         * benchtests/Makefile (bench-clean): Likewise.
62585 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
62587         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
62589 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
62591         * stdio-common/tstdiomisc.c: Fix coding-style violation.
62593 2013-04-15  Andreas Schwab  <schwab@suse.de>
62595         * nscd/grpcache.c (cache_addgr): Properly check for short write.
62596         * nscd/initgrcache.c (addinitgroupsX): Likewise.
62597         * nscd/pwdcache.c (cache_addpw): Likewise.
62598         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
62599         more than recsize.
62601 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62603         * benchtests/Makefile (bench): Write all output to
62604         bench-out.tmp together.
62606 2013-04-15  Andreas Schwab  <schwab@suse.de>
62608         * nscd/nscd.c (main): Don't fork again after closing files.
62610 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62612         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
62614         * benchtests/Rules (bench-deps): Collect dependencies into a
62615         single variable.  Add Makefile to dependencies.
62616         ($(objpfx)bench-%.c): Depend on bench-deps.
62618 2013-04-12  Roland McGrath  <roland@hack.frob.com>
62619             Xavier Roche  <roche+kml2@exalead.com>
62621         [BZ #15361]
62622         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
62623         just that it's a file descriptor.
62624         * manual/llio.texi (Synchronizing AIO Operations): Update description
62625         for EBADF error from aio_fsync.
62627 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
62629         * Rules (bench): Move target definition...
62630         * benchtests/Makefile: ... here.
62632 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
62634         * math/libm-test.inc (cos_test): Fix PI/2 test.
62635         (sincos_test): Likewise.
62636         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
62637         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
62639 2013-04-11  Andreas Schwab  <schwab@suse.de>
62641         [BZ #13988]
62642         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
62643         accept exponent character only when digits were seen.
62644         * stdio-common/Makefile (tests): Add bug26.
62645         * stdio-common/bug26.c: New file.
62647         [BZ #14293]
62648         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
62649         non-freeable.
62651 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62653         * Makeconfig (rtld-prefix): Define built linker prefix.
62654         * Rules (run-bench): Use it.
62655         * math/Makefile (run-regen-ulps): Likewise.
62657         * Rules (bench): Remove eval.
62659 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62660             Roland McGrath  <roland@hack.frob.com>
62661             Ondrej Bilka  <neleai@seznam.cz>
62663         [BZ #15346]
62664         * time/getdate.c: Include ctype.h and alloca.h.
62665         (__getdate_r): Trim leading and trailing spaces of input.
62666         * time/tst-getdate.c (tests): Add tests with leading and
62667         trailing spaces.
62669 2013-04-08  Roland McGrath  <roland@hack.frob.com>
62671         [BZ #14280]
62672         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
62673         when computing value.
62675 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62677         * math/README.libm-test (How can I generate "libm-test-ulps"?):
62678         Use testrun.sh to run libm tests.
62680         [BZ #15309]
62681         * elf/dl-open.c (dl_open_worker): memset all of seen array.
62683 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
62685         [BZ #15264]
62686         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
62688 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62690         * Makefile.in (regen-ulps): New target.
62691         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
62692         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
62693         [ifneq (no,$(PERL)] (regen-ulps): New target.
62694         [ifeq (no,$(PERL)] (regen-ulps): New target.
62695         * math/libm-test.inc (ulps_file_name): Define.
62696         (output_dir): New variable.
62697         (options): Add "output-dir" option.
62698         (parse_opt): Handle 'o' case.
62699         (main): If output_dir is non-NULL use it as a prefix
62700         otherwise use "".
62701         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
62703 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62705         [BZ #10060, #10062]
62706         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
62707         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
62708         fail configure if __sync_val_compare_and_swap is not inlined.
62709         * sysdeps/i386/configure: Regenerate.
62710         * configure.in: Build for i686 when configured for i386.
62711         * configure: Regenerate.
62712         * README: Remove i386 reference.
62714 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62716         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
62717         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62719 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
62721         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
62722         (lmsnanval): New variables.
62723         (F): Add conversion tests.
62724         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
62725         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
62727         * stdio-common/tstdiomisc.c (F): Properly collect individual
62728         tests' results.
62730         [BZ #14686, #15336]
62731         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
62732         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
62733         Instead, use input NaN values or generate a qNaN by arithmetic
62734         operation.  Also fix bugs to comply with the standard.
62735         * math/libm-test.inc (remainder_test): Add more tests.
62737         [BZ #15335, #15342]
62738         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
62739         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
62740         input NaN values or generate a qNaN by arithmetic operation.
62742         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
62743         unreachable code.
62745         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
62746         definitions.
62748 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
62750         [BZ #14478]
62751         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
62752         underflowed result.
62753         * math/s_cexpf.c (__cexpf): Likewise.
62754         * math/s_cexpl.c (__cexpl): Likewise.
62755         * math/libm-test.inc (cexp_test): Add more tests.
62757 2013-04-03  Andreas Schwab  <schwab@suse.de>
62759         [BZ #15330]
62760         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
62761         order arrays from heap if bigger than alloca cutoff.
62763 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
62765         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
62766         (SNAN_TESTS_double): Refer to GCC PR56831.
62767         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
62768         GCC PR56828.
62770 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
62772         * Rules (bench): Move bench.out after the run is complete.
62774         * Rules (bench): Echo currently running benchmark.
62776         * benchtests/Makefile (bench): Add atan and slowatan.
62777         * benchtests/atan-inputs: New file.
62778         * benchtests/slowatan-inputs: New file.
62779         * benchtests/slowatan.c: New file.
62781         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
62782         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
62783         its value.
62785         [BZ #15305]
62786         * sysdeps/unix/sysv/linux/kernel-features.h
62787         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
62788         __ASSUME_XFS_RESTRICTED_CHOWN.
62789         * sysdeps/unix/sysv/linux/pathconf.c
62790         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
62791         Save and restore errno.
62793 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
62795         [BZ #15327]
62796         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
62797         arguments using __kernel_casinh.
62798         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
62799         arguments using __kernel_casinhf.
62800         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
62801         arguments using __kernel_casinhl.
62802         * math/libm-test.inc (cacosh_test): Add more tests.
62803         * sysdeps/i386/fpu/libm-test-ulps: Update.
62804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62806 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
62808         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
62809         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
62811         * bench/Makefile (bench): Add sin and slowsin.
62812         * benchtests/sin-inputs: New file.
62813         * benchtests/slowsin-inputs: New file.
62814         * benchtests/slowsin.c: New file.
62816         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
62817         (bench): Add slowexp and slowpow.
62818         (exp-ITER): Increase iterations.
62819         (pow-ITER): Likewise.
62820         * benchtests/exp-inputs: Change input.
62821         * benchtests/pow-inputs: Likewise.
62822         * benchtests/slowexp-inputs: New file.
62823         * benchtests/slowexp.c: New file.
62824         * benchtests/slowpow-inputs: New file.
62825         * benchtests/slowpow.c: New file.
62827 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62829         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
62830         instructions.
62831         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
62832         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
62833         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62834         * benchtests/Makefile: Add rint benchtest.
62835         * benchtests/rint-inputs: Input for rint benchtest.
62837 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
62839         * Versions.def (libm): Add GLIBC_2.18.
62840         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
62841         hidden libm prototypes.
62842         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
62843         * math/Makefile (libm-calls): Add s_issignaling.
62844         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
62845         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
62846         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
62847         declaration.
62848         * math/math.h [__USE_GNU] (issignaling): New macro.
62849         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
62850         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
62851         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
62852         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
62853         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
62854         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
62855         * manual/arith.texi (issignaling): New section.
62856         * manual/libm-err-tab.pl (@all_functions): Update comment.
62857         * math/gen-libm-test.pl (parse_args): Apply special handling for
62858         issignaling.
62859         * math/libm-test.inc (print_float, issignaling_test): New
62860         functions.
62861         (check_float_internal): Add issignaling checks.
62862         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
62863         default definition.
62864         * sysdeps/powerpc/math-tests.h: New file.
62865         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
62866         tests.
62867         * math/test-snan.c (TEST_FUNC): Likewise.
62869 2013-03-30  David S. Miller  <davem@davemloft.net>
62871         * po/de.po: Update from translation team.
62873 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
62875         [BZ #10357]
62876         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62877         imaginary part less than 1.0 and real part less than 0.5
62878         specially.
62879         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62880         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62881         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
62882         (cacos_test): Add more tests.
62883         (casin_test): Likewise.
62884         (casinh_test): Likewise.
62885         * sysdeps/i386/fpu/libm-test-ulps: Update.
62886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62888 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62890         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
62891         ONE with its value.
62893         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
62894         (__pow_mp): Replace ONE and MONE with their values.
62895         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62896         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
62897         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62898         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
62899         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62900         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62902         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
62904         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
62905         (__pow_mp): Replace ZERO and MZERO with their values.
62906         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
62907         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62908         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62909         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
62910         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62911         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
62912         (__sqr): Likewise.
62914         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
62916         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
62918 2013-03-28  Roland McGrath  <roland@hack.frob.com>
62920         * include/stdlib.h [!SHARED] (__call_tls_dtors):
62921         Declare with __attribute__ ((weak)).
62922         * stdlib/exit.c (__libc_atexit) [!SHARED]:
62923         Call __call_tls_dtors only if it's not NULL.
62925 2013-03-28  Roland McGrath  <roland@hack.frob.com>
62927         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
62928         didn't do it already, then set _dl_phdr and _dl_phnum based on the
62929         magic __ehdr_start linker symbol if it's defined.
62930         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
62931         them up here if it was already done.
62933         * elf/dl-support.c (_dl_phdr): Make pointer to const.
62934         (_dl_aux_init): Use const in cast when setting it.
62935         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
62936         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
62937         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
62939         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
62940         Declare them here.
62941         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
62942         * csu/libc-tls.c: Nor here.
62943         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
62945         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
62946         (__libc_message): Never call vsyslog.
62948 2013-03-28  Alan Modra  <amodra@gmail.com>
62950         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
62951         Define as empty.
62952         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
62953         Likewise.
62955 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62957         [BZ #15214]
62958         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
62959         underflow.
62960         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62962 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62964         [BZ #15304]
62965         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
62966         Don't add gid passed as argument.
62968         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
62970 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
62972         [BZ #15307]
62973         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62974         imaginary part between 1.0 and 1.5 and real part less than 0.5
62975         specially.
62976         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62977         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62978         * math/libm-test.inc (cacos_test): Add more tests.
62979         (casin_test): Likewise.
62980         (casinh_test): Likewise.
62981         * sysdeps/i386/fpu/libm-test-ulps: Update.
62982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62984 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62986         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
62987         constants.
62988         (norm): Likewise.
62989         (denorm): Likewise.
62990         (__dbl_mp): Likewise.
62991         (add_magnitudes): Likewise.
62992         (sub_magnitudes): Likewise.
62993         (__add): Likewise.
62994         (__sub): Likewise.
62995         (__mul): Likewise.
62996         (__sqr): Likewise.
62997         (__inv): Likewise.
62998         (__dvd): Likewise.
63000         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
63001         commented code.
63002         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
63003         (__dubcos): Likewise.
63004         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
63005         (__ieee754_acos): Likewise.
63006         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
63007         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
63008         (__exp1): Likewise.
63009         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
63010         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
63011         (log1): Likewise.
63012         (my_log2): Likewise.
63013         (checkint): Likewise.
63014         * sysdeps/ieee754/dbl-64/e_remainder.c
63015         (__ieee754_remainder): Likewise.
63016         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
63017         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
63018         (bsloww): Likewise.
63019         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
63021         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
63022         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
63023         MANTISSA_STORE_T to store computations on mantissa.  Use
63024         macros for rounding and division.
63025         (denorm): Likewise.
63026         (__dbl_mp): Likewise.
63027         (add_magnitudes): Likewise.
63028         (sub_magnitudes): Likewise.
63029         (__mul): Likewise.
63030         (__sqr): Likewise.
63031         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
63032         powers of two in terms of TWOPOW macro.
63033         (mp_no): Make type of mantissa as MANTISSA_T.
63034         [!RADIXI]: Define RADIXI.
63035         [!TWO52]: Define TWO52.
63036         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
63038 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63040         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
63041         llroundl symbol when building for PPC32.
63043 2013-03-24  Mark H Weaver  <mhw@netris.org>
63045         * manual/arith.texi (Normalization Functions): Fix prototypes for
63046         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
63048 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63050         [BZ #13889]
63051         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
63052         high value to check if expl overflow.
63053         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
63054         to check for underflow and overflow.
63055         * math/libm-test.inc: Add exp test.
63057 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
63059         [BZ #11120]
63060         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
63061         with NOT_IN_libc.
63063 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63065         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
63066         symbol.
63068 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
63070         * math/gen-libm-test.pl (parse_args, special_functions): Properly
63071         wrap blocks consisting of several statements.
63073         * sysdeps/generic/math-tests.h: New file.
63074         * sysdeps/i386/fpu/math-tests.h: Likewise.
63075         * math/test-snan.c: Include it.
63076         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
63078 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
63080         [BZ #15285]
63081         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
63082         (__ieee754_j0l): Do not improve calculations using cos of twice
63083         input for inputs above LDBL_MAX / 2.0L.
63084         (__ieee754_y0l): Likewise.
63085         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
63086         (__ieee754_j1l): Do not improve calculations using cos of twice
63087         input for inputs above LDBL_MAX / 2.0L.
63088         (__ieee754_y1l): Likewise.
63089         * math/libm-test.inc (j0_test): Add another test.
63090         (j1_test): Likewise.
63091         (y0_test): Likewise.
63092         (y1_test): Likewise.
63093         * sysdeps/i386/fpu/libm-test-ulps: Update.
63095 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63097         * Rules ($(objpfx)bench-%.c): Include code from a C source
63098         file.
63100 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
63102         [BZ #15287]
63103         * math/k_casinh.c (__kernel_casinh): Handle arguments with
63104         imaginary part 1.0 and real part less than 0.5 specially.
63105         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63106         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63107         * math/libm-test.inc (cacos_test): Add more tests.
63108         (casin_test): Likewise.
63109         (casinh_test): Likewise.
63110         * sysdeps/i386/fpu/libm-test-ulps: Update.
63111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63113 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63115         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
63116         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
63118 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
63120         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
63121         * config.make.in (config-cflags-sse4): Remove variable.
63122         (config-cflags-avx): Likewise.
63123         (config-cflags-sse2avx): Likewise.
63124         (config-cflags-novzeroupper): Likewise.
63125         (config-asflags-i686): Likewise.
63126         (have-mfma4): Likewise.
63127         (have-as-vis3): Likewise.
63128         (MIG): Likewise.
63129         * configure.in (MIG): Do not AC_SUBST.
63130         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
63131         (libc_cv_cc_sse4): Do not AC_SUBST.
63132         (libc_cv_cc_avx): Likewise.
63133         (libc_cv_cc_sse2avx): Likewise.
63134         (libc_cv_cc_novzeroupper): Likewise.
63135         (libc_cv_cc_fma4): Likewise.
63136         (libc_cv_as_i686): Likewise.
63137         (libc_cv_sparc_as_vis3): Likewise.
63138         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
63139         LIBC_CONFIG_VAR.
63140         (config-asflags-i686): Likewise.
63141         (config-cflags-avx): Likewise.
63142         (config-cflags-sse2avx): Likewise.
63143         (have-mfma4): Likewise.
63144         (config-cflags-novzeroupper): Likewise.
63145         * sysdeps/mach/configure.in (MIG): Likewise.
63146         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
63147         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
63148         LIBC_CONFIG_VAR.
63149         (config-cflags-avx): Likewise.
63150         (config-cflags-sse2avx): Likewise.
63151         (have-mfma4): Likewise.
63152         (config-cflags-novzeroupper): Likewise.
63153         * configure: Regenerated.
63154         * sysdeps/i386/configure: Likewise.
63155         * sysdeps/mach/configure: Likewise.
63156         * sysdeps/sparc/configure: Likewise.
63157         * sysdeps/x86_64/configure: Likewise.
63159 2013-03-20  Roland McGrath  <roland@hack.frob.com>
63161         [BZ #14812]
63162         * locale/programs/localedef.c (options): Put N_ translation marker
63163         on argument names, not just descriptions.
63165 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63167         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
63169 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
63171         [BZ #14176]
63172         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
63174 2013-03-19  Roland McGrath  <roland@hack.frob.com>
63176         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
63177         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
63178         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
63179         [!BEFORE_ABORT] (before_abort): New function.
63180         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
63181         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
63182         (writev_for_fatal): New function.
63183         (WRITEV_FOR_FATAL): New macro; call that.
63184         (backtrace_and_maps): New function.
63185         (BEFORE_ABORT): New macro; call that.
63186         (struct str_list): Type removed.
63187         (__libc_message, __libc_fatal): Functions removed.
63188         Include <sysdeps/posix/libc_fatal.c> instead.
63190 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
63192         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
63193         constants.
63194         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
63195         double constants.
63197 2013-03-19  Andreas Schwab  <schwab@suse.de>
63199         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
63200         * sysdeps/gnu/configure: Regenerate.
63202         * configure.in: Substitute libc_cv_rtlddir.
63203         * configure: Regenerate.
63204         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
63205         * Makeconfig (rtlddir, inst_rtlddir): New variables.
63206         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
63207         * elf/Makefile (install-others, CFLAGS-interp.c)
63208         (ldso_install, common-ldd-rewrite): Likewise.
63209         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
63210         $(inst_slibdir)/$(rtld-installed-name).
63211         * scripts/rellns-sh: Add -p option.
63212         * Makerules (make-shlib-link): Use rellns-sh to get relative name
63213         for source.
63215 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63217         * manual/nptl.texi: Renamed to ...
63218         * manual/threads.texi: ... this.
63219         * manual/Makefile (chapters): Update.
63221 2013-03-18  Roland McGrath  <roland@hack.frob.com>
63223         [BZ #14812]
63224         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
63225         on argument names, not just descriptions.
63226         * malloc/memusagestat.c (options): Likewise.
63227         * nss/getent.c (options): Likewise.
63229 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
63231         [BZ #14812]
63232         * iconv/iconv_prog.c (options): Put N_ translation marker
63233         on argument names, not just descriptions.
63234         * iconv/iconvconfig.c (options): Likewise.
63236 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
63238         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
63239         implementation which is faster on all x86_64 architectures.
63240         Tested on AMD, Intel Nehalem, SNB, IVB.
63241         * sysdeps/x86_64/strnlen.S: Likewise.
63243         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63244         Remove all multiarch strlen and strnlen versions.
63245         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
63246         Remove strlen and strnlen related parts.
63248         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
63249         Inline strlen part.
63250         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
63252         * sysdeps/x86_64/multiarch/strlen.S: Remove.
63253         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
63254         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
63255         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
63256         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
63257         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
63259 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
63261         * manual/memory.texi (Malloc Tunable Parameters):
63262         Sort parameters alphabetically. Add comments for missing entries.
63264 2013-03-17  David S. Miller  <davem@davemloft.net>
63266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63268 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
63270         [BZ #15283]
63271         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
63272         for arguments at most half maximum finite value.
63273         * math/libm-test.inc (j0_test): Add more tests.
63274         (j1_test): Likewise.
63275         (y0_test): Likewise.
63276         (y1_test): Likewise.
63277         * sysdeps/i386/fpu/libm-test-ulps: Update.
63278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63280         [BZ #14155]
63281         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
63282         1 / x and functions P and Q for arguments above 0x1p256L.
63283         (__ieee754_y0l): Likewise.
63284         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
63285         (__ieee754_y1l): Likewise.
63286         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
63287         (j1_test): Likewise.
63288         (y0_test): Likewise.
63289         (y1_test): Likewise.
63291 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
63293         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
63294         variable.
63296 2013-03-15  Roland McGrath  <roland@hack.frob.com>
63298         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
63299         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
63300         zero since it's initialized to EXEC_PAGESIZE.
63302         * sysdeps/unix/sysv/linux/ldsodefs.h
63303         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
63304         * sysdeps/generic/ldsodefs.h: ... here.
63306 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
63308         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
63310         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
63311         math/test-snan.c.
63312         * math/test-snan.c: Renamed from
63313         sysdeps/powerpc/fpu/test-powerpc-snan.c.
63314         * math/Makefile (tests): Add test-snan.
63315         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
63316         test-powerpc-snan.
63318         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
63319         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
63320         functions.
63321         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
63322         __builtin_nan family of functions.
63323         * math/libm-test.inc (initialize): Initialize qnan_value with
63324         __builtin_nan family of functions.
63325         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
63326         Remove variables.
63327         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
63328         Remove functions.
63329         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
63330         storage class.  Initialize qNaN_var and sNaN_var with
63331         __builtin_nan and __builtin_nans families of functions,
63332         respectively.
63334         * math/libm-test.inc (acosh_test): Also test with qNaN input.
63335         (sqrt_test): Remove duplicate test with qNaN input.
63336         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
63337         (round_test, signbit_test, significand_test): Note missing +/-Inf
63338         as well as qNaN tests.
63340         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
63341         qNaN_var.  Fix a few strings, too.
63342         * math/libm-test.inc (nan_value): Rename to qnan_value.
63343         * math/gen-libm-test.pl (%beautify): Adjust to that.
63344         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
63345         * math/test-misc.c (main): Likewise.
63346         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
63347         to __qnan_bytes, and __qnan_union, respectively.
63348         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
63349         Likewise.
63350         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
63351         and lqnanval, respectively.
63352         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
63353         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
63354         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
63355         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
63357         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
63358         * math/test-misc.c (main) [__x86_64__]: Enable test for long
63359         doubles.
63361         * math/test-misc.c (main): Fix copy'n'pastos.
63362         * misc/tst-efgcvt.c (special): Likewise.
63364         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
63365         Remove declarations.
63367 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63369         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
63370         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
63371         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
63372         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
63374 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63376         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
63377         macro to return vdso values correctly in IFUNC implementations.
63378         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
63379         Optimization by using IFUNC.
63381 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63382             Richard Henderson  <rth@redhat.com>
63383             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63385         * Makefile.in (bench): New target.
63386         * NEWS: Mention the benchmark framework.
63387         * Rules (bench): Likewise.
63388         (binaries-bench): Generate binaries for functions to
63389         benchmark.
63390         * benchtests/Makefile: New makefile for benchmark tests.
63391         * benchtests/bench-skeleton.c: New skeleton file for benchmark
63392         programs.
63393         * benchtests/exp-inputs: New input file for EXP function.
63394         * benchtests/pow-inputs: New input file for POW function.
63395         * scripts/bench.pl: New script to generate source files for
63396         benchmark programs.
63398 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63400         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
63401         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
63402         computations on mantissa.  Use macros for rounding and
63403         division.
63404         (denorm): Likewise.
63405         (__dbl_mp): Likewise.
63406         (add_magnitudes): Likewise.
63407         (sub_magnitudes): Likewise.
63408         (__mul): Likewise.
63409         (__sqr): Likewise.
63410         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
63411         powers of two in terms of TWOPOW macro.
63412         (mp_no): Make type of mantissa as MANTISSA_T.
63413         [!RADIXI]: Define RADIXI.
63414         [!TWO52]: Define TWO52.
63415         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
63417         * manual/nptl.texi (cindex): Modify threads to pthreads.
63419 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
63421         * sysdeps/x86_64/preconfigure: Regenerated.
63423 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
63425         [BZ #14155]
63426         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
63427         0x1p28 and above.
63428         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
63429         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
63430         0x1p28 and above.
63431         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
63432         * math/libm-test.inc (j0_test): Do not allow one spurious
63433         underflow exception.
63434         (y1_test): Likewise.
63436 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63438         * manual/Makefile (chapters): Add nptl.
63439         * manual/debug.texi (Debugging Support): Add link to Threads
63440         chapter.
63441         * manual/nptl.texi: New file.
63443         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
63445 2013-03-14  Petr Baudis  <pasky@ucw.cz>
63447         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
63448         for non-NULL pointer before the memory validity test. Pointed
63449         out by Holger Brunck <holger.brunck@keymile.com>.
63451 2013-03-13  Andreas Schwab  <schwab@suse.de>
63453         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
63454         instead of .os.
63456 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
63458         * timezone/zic.c: Update from tzcode 2013b.
63460 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
63462         * manual/install.texi (Configuring and compiling):
63463         Mention i686 and i586.
63464         * INSTALL: Regenerate.
63466 2013-03-12  Roland McGrath  <roland@hack.frob.com>
63468         * sysdeps/init_array/elf-init.c: New file.
63469         * csu/elf-init.c
63470         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
63471         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
63473         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
63474         __gmon_start__ as global, but as static with a .preinit_array pointer.
63475         * sysdeps/init_array/gmon-start.c: New file.  Use that.
63476         * sysdeps/init_array/crti.S: New file, empty except for comments.
63477         * sysdeps/init_array/crtn.S: Likewise.
63479 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
63481         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
63482         definining bcopy.
63483         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63484         Remove Prefer_SSE_for_memop.
63485         * sysdeps/x86_64/multiarch/init-arch.h: Remove
63486         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
63487         HAS_PREFER_SSE_FOR_MEMOP.
63488         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
63489         memset-x86-64.
63490         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63491         Remove bzero, memset ifunc support.
63492         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
63493         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
63494         * sysdeps/x86_64/multiarch/memset.S: Likewise.
63495         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
63497 2013-03-11  Andreas Schwab  <schwab@suse.de>
63499         [BZ #15234]
63500         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
63501         by SHLIB_COMPAT.
63502         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
63503         (GLIBC_2.16): Remove pthread_atfork.
63505 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
63507         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
63508         (ptestcases.h): Likewise.
63510 2013-03-08  Roland McGrath  <roland@hack.frob.com>
63512         * Makeconfig ($(common-objpfx)config.status): Depend on
63513         sysdeps/*/preconfigure{,.in} too.
63515 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
63517         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
63518         (__free_hook): Use void * instead of __malloc_ptr_t.
63519         (__malloc_hook): Likewise.
63520         (__realloc_hook): Likewise.
63521         (__memalign_hook): Likewise.
63522         (__after_morecore_hook): Likewise.
63523         * malloc/arena.c (save_malloc_hook): Likewise.
63524         (save_free_hook): Likewise.
63525         * malloc/hooks.c (malloc_hook_ini): Likewise.
63526         (realloc_hook_ini): Likewise.
63527         (memalign_hook_ini): Likewise.
63528         * malloc/malloc.c (malloc_hook_ini): Likewise.
63529         (realloc_hook_ini): Likewise.
63530         (memalign_hook_ini): Likewise.
63531         (__free_hook): Likewise.
63532         (__malloc_hook): Likewise.
63533         (__realloc_hook): Likewise.
63534         (__memalign_hook): Likewise.
63535         (__libc_malloc): Likewise.
63536         (__libc_free): Likewise.
63537         (__libc_realloc): Likewise.
63538         (__libc_memalign): Likewise.
63539         (__libc_valloc): Likewise.
63540         (__libc_pvalloc): Likewise.
63541         (__libc_calloc): Likewise.
63542         (__posix_memalign): Likewise.
63543         * malloc/morecore.c (__sbrk): Likewise.
63544         (__default_morecore): Likewise.
63546         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
63548         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
63549         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
63550         __malloc_ptrdiff_t.
63552         * malloc/malloc.h (__malloc_size_t): Remove macro.
63553         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
63554         __malloc_size_t.
63555         (old_memalign_hook): Likewise.
63556         (old_realloc_hook): Likewise.
63557         (struct hdr): Likewise.
63558         (flood): Likewise.
63559         (mallochook): Likewise.
63560         (memalignhook): Likewise.
63561         (reallochook): Likewise.
63562         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
63563         (tr_old_realloc_hook): Likewise.
63564         (tr_old_memalign_hook): Likewise.
63565         (tr_mallochook): Likewise.
63566         (tr_reallochook): Likewise.
63567         (tr_memalignhook): Likewise.
63569 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63571         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
63572         default_ldbl_pack and using as default implementation.
63573         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
63574         implementation.
63575         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
63576         redundant definition.
63577         (ldbl_insert_mantissa): Likewise.
63578         (ldbl_canonicalize): Likewise.
63579         (ldbl_nearbyint): Likewise.
63580         (ldbl_pack): Rename to ldbl_pack_ppc.
63581         (ldbl_unpack): Rename to ldbl_unpack_ppc.
63582         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
63583         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
63585 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
63587         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
63588         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
63589         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
63590         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
63591         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
63592         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
63593         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
63594         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
63596 2013-03-07  Andreas Jaeger  <aj@suse.de>
63598         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63599         bits/mman-linux.h.
63601 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
63603         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
63604         Include mpa.h and declare __MPEXP.
63605         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
63606         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
63607         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
63608         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
63609         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
63610         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
63611         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
63613         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
63614         (__slowpow): Use long double EXPL and LOGL functions to
63615         compute POW.
63616         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
63617         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
63618         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
63619         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
63620         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
63621         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
63623         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
63624         intermediate variable to calculate exponent.
63625         (__sqr): Likewise.
63626         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
63627         Likewise.
63628         (__sqr): Likewise.
63630         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
63631         [!NO__SQR]: Define __sqr.
63632         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
63633         and NO__SQR.  Remove all code except __mul and __sqr.  Include
63634         sysdeps/ieee754/dbl-64/mpa.c.
63635         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63637         [BZ #12723]
63638         * posix/Makefile (tests): Add tst-pathconf.
63639         * posix/tst-pathconf.c: New test case.
63640         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
63641         _PC_PIPE_BUF.
63642         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
63644 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
63646         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
63648 2013-03-06  Andreas Jaeger  <aj@suse.de>
63650         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
63651         definition via __MAP_ANONYMOUS.
63653         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
63654         it's not part of Linux headers.
63656         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
63657         (MAP_HUGE_MASK): Define.
63659         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63660         Define.
63661         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63662         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63663         Define.
63664         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63665         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63666         Define.
63667         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63668         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
63669         Define.
63670         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63672         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
63673         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
63674         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
63675         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
63676         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
63677         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
63679         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63680         Handle f2fs.
63682         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63683         Handle f2fs and efivarfs.
63685         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
63686         f2fs.
63688         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
63689         (EFIVARFS_MAGIC): Add.
63690         (F2FS_LINK_MAX): Add.
63692 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
63694         * stdio-common/vfprintf.c: Replace __builtin_expect with
63695         __glibc_unlikely.
63697 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
63699         [BZ #13550]
63700         * sysdeps/generic/bp-sym.h: Remove file.
63701         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
63702         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
63703         <bp-sym.h> and <bp-asm.h>.
63704         (__longjmp): Don't use BP_SYM.
63705         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
63706         and <bp-asm.h>.
63707         (memcpy): Don't use BP_SYM.
63708         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
63709         <bp-sym.h> and <bp-asm.h>.
63710         (memcpy): Don't use BP_SYM.
63711         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
63712         <bp-asm.h>.
63713         (memcpy): Don't use BP_SYM.
63714         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
63715         <bp-asm.h>.
63716         (memset): Don't use BP_SYM.
63717         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63718         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63719         (__bzero): Don't use BP_SYM.
63720         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63721         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63722         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
63723         <bp-sym.h> and <bp-asm.h>.
63724         (memcmp): Don't use BP_SYM.  Remove comment about bounded
63725         pointers.
63726         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
63727         <bp-sym.h> and <bp-asm.h>.
63728         (memcpy): Don't use BP_SYM.
63729         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
63730         <bp-sym.h> and <bp-asm.h>.
63731         (memset): Don't use BP_SYM.
63732         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63733         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63734         (__bzero): Don't use BP_SYM.
63735         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63736         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63737         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
63738         <bp-sym.h> and <bp-asm.h>.
63739         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63740         pointers.
63741         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
63742         <bp-sym.h> and <bp-asm.h>.
63743         (memcpy): Don't use BP_SYM.
63744         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
63745         <bp-sym.h> and <bp-asm.h>.
63746         (memset): Don't use BP_SYM.
63747         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63748         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63749         (__bzero): Don't use BP_SYM.
63750         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63751         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63752         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
63753         <bp-sym.h> and <bp-asm.h>.
63754         (__memchr): Don't use BP_SYM.
63755         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
63756         <bp-sym.h> and <bp-asm.h>.
63757         (memcmp): Don't use BP_SYM.  Remove comment about bounded
63758         pointers.
63759         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
63760         <bp-sym.h> and <bp-asm.h>.
63761         (memcpy): Don't use BP_SYM.
63762         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
63763         <bp-sym.h> and <bp-asm.h>.
63764         (__mempcpy): Don't use BP_SYM.
63765         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
63766         <bp-sym.h> and <bp-asm.h>.
63767         (__memrchr): Don't use BP_SYM.
63768         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
63769         <bp-sym.h> and <bp-asm.h>.
63770         (memset): Don't use BP_SYM.
63771         (__bzero): Likewise.
63772         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
63773         <bp-sym.h> and <bp-asm.h>.
63774         (__rawmemchr): Don't use BP_SYM.
63775         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
63776         <bp-sym.h> and <bp-asm.h>.
63777         (__STRCMP): Don't use BP_SYM.
63778         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
63779         <bp-sym.h> and <bp-asm.h>.
63780         (strchr): Don't use BP_SYM.
63781         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
63782         <bp-sym.h> and <bp-asm.h>.
63783         (__strchrnul): Don't use BP_SYM.
63784         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
63785         <bp-sym.h> and <bp-asm.h>.
63786         (strlen): Don't use BP_SYM.
63787         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
63788         <bp-sym.h> and <bp-asm.h>.
63789         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63790         pointers.
63791         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
63792         <bp-sym.h> and <bp-asm.h>.
63793         (__strnlen): Don't use BP_SYM.
63794         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
63795         <bp-sym.h> and <bp-asm.h>.
63796         (__GI__setjmp): Don't use BP_SYM.
63797         (_setjmp): Likewise.
63798         (__sigsetjmp): Likewise.
63799         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
63800         (L(start_addresses)): Don't use BP_SYM.
63801         (_start): Likewise.
63802         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
63803         <bp-asm.h>.
63804         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
63805         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
63806         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63807         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63808         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
63809         <bp-asm.h>.
63810         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
63811         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
63812         about bounded pointers.
63813         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63814         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63815         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
63816         <bp-asm.h>.
63817         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
63818         about bounded pointers.  Remove GKM FIXME comments.
63819         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63820         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
63821         <bp-asm.h>.
63822         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
63823         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
63824         Remove GKM FIXME comments.
63825         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63826         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63827         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
63828         <bp-asm.h>.
63829         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
63830         about bounded pointers.  Remove GKM FIXME comment.
63831         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
63832         and <bp-asm.h>.
63833         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63834         pointers.
63835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
63836         <bp-sym.h> and <bp-asm.h>.
63837         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
63838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
63839         <bp-sym.h> and <bp-asm.h>.
63840         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
63841         comment.
63843 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
63845         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
63846         call free(NULL).
63848 2013-03-05  David S. Miller  <davem@davemloft.net>
63850         * po/es.po: Update from translation team.
63852 2013-03-05  Andreas Jaeger  <aj@suse.de>
63854         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
63855         <bits/mman-linux.h>.
63856         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63857         is fine.
63858         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
63859         <bits/mman-linux.h> to end of file.
63860         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63861         is fine.
63862         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
63863         <bits/mman-linux.h> to end of file.
63864         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63865         is fine.
63866         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
63867         <bits/mman-linux.h> to end of file.
63869         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
63870         (MCL_CURRENT, MCL_FUTURE): Define here.
63872 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63874         [BZ #15232]
63875         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
63876         attribute_hidden.
63877         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
63879 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63881         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
63882         fourth parameter needed for rt_sigprocmask syscall.
63883         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
63884         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
63885         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
63886         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
63887         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
63888         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
63890 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
63892         [BZ #13550]
63893         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
63894         comment about bounded pointers.
63895         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
63896         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
63898 2013-03-04  Andreas Jaeger  <aj@suse.de>
63900         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
63901         common definitions.
63903         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
63904         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
63905         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
63906         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63907         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63908         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63910 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63912         [BZ #15055]
63913         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
63914         __ieee754_sqrl instead of __sqrl.
63916 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
63918         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
63919         * sysdeps/powerpc/fpu_control.h: ... here.
63920         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
63921         * sysdeps/powerpc/bits/fenvinline.h: ... here.
63922         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
63923         * sysdeps/powerpc/bits/mathinline.h: ... here.
63925 2013-03-01  Roland McGrath  <roland@hack.frob.com>
63927         * elf/dl-hwcaps.c (_dl_important_hwcaps):
63928         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
63929         to just [NEED_DL_SYSINFO_DSO].
63930         * elf/dl-support.c: Likewise.
63931         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
63932         * elf/rtld.c (dl_main): Likewise.
63933         * elf/setup-vdso.h (setup_vdso): Likewise.
63934         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
63935         * sysdeps/unix/sysv/linux/dl-sysdep.c
63936         (_dl_discover_osversion): Likewise.
63938 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
63940         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
63941         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
63943 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
63945         * NEWS: Mention libm performance improvements and non-x86 PI
63946         futex support.
63948         * csu/libc-start.c (__pthread_initialize_minimal): Change
63949         function arguments.
63950         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
63952 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
63954         [BZ #13550]
63955         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
63956         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
63957         <bp-sym.h> and <bp-asm.h>.
63958         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63959         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
63960         and <bp-asm.h>.
63961         (memcpy): Don't use BP_SYM.
63962         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
63963         <bp-asm.h>.
63964         (__mpn_add_n): Don't use BP_SYM.
63965         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
63966         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
63967         and <bp-asm.h>.
63968         (__mpn_addmul_1): Don't use BP_SYM.
63969         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63970         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
63971         <bp-sym.h>.
63972         (_setjmp): Don't use BP_SYM.
63973         (__novmx_setjmp): Likewise.
63974         (__GI__setjmp): Likewise.
63975         (__vmx_setjmp): Likewise.
63976         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
63977         <bp-sym.h>.
63978         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
63979         (__bzero): Don't use BP_SYM.
63980         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63981         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63982         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
63983         <bp-sym.h> and <bp-asm.h>.
63984         (memcpy): Don't use BP_SYM.
63985         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
63986         <bp-sym.h> and <bp-asm.h>.
63987         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63988         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
63989         <bp-sym.h> and <bp-asm.h>.
63990         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63991         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
63992         <bp-asm.h>.
63993         (__mpn_lshift): Don't use BP_SYM.
63994         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63995         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
63996         <bp-asm.h>.
63997         (memset): Don't use BP_SYM.
63998         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63999         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64000         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
64001         <bp-asm.h>.
64002         (__mpn_mul_1): Don't use BP_SYM.
64003         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64004         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
64005         <bp-sym.h> and <bp-asm.h>.
64006         (memcmp): Don't use BP_SYM.
64007         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
64008         <bp-sym.h> and <bp-asm.h>.
64009         (memcpy): Don't use BP_SYM.
64010         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
64011         <bp-sym.h> and <bp-asm.h>.
64012         (memset): Don't use BP_SYM.
64013         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
64014         <bp-sym.h> and <bp-asm.h>.
64015         (strncmp): Don't use BP_SYM.
64016         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
64017         <bp-sym.h> and <bp-asm.h>.
64018         (memcpy): Don't use BP_SYM.
64019         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
64020         <bp-sym.h> and <bp-asm.h>.
64021         (memset): Don't use BP_SYM.
64022         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
64023         <bp-sym.h> and <bp-asm.h>.
64024         (__memchr): Don't use BP_SYM.
64025         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
64026         <bp-sym.h> and <bp-asm.h>.
64027         (memcmp): Don't use BP_SYM.
64028         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
64029         <bp-sym.h> and <bp-asm.h>.
64030         (memcpy): Don't use BP_SYM.
64031         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
64032         <bp-sym.h> and <bp-asm.h>.
64033         (__mempcpy): Don't use BP_SYM.
64034         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
64035         <bp-sym.h> and <bp-asm.h>.
64036         (__memrchr): Don't use BP_SYM.
64037         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
64038         <bp-sym.h> and <bp-asm.h>.
64039         (memset): Don't use BP_SYM.
64040         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
64041         <bp-sym.h> and <bp-asm.h>.
64042         (__rawmemchr): Don't use BP_SYM.
64043         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
64044         <bp-sym.h> and <bp-asm.h>.
64045         (__STRCMP): Don't use BP_SYM.
64046         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
64047         <bp-sym.h> and <bp-asm.h>.
64048         (strchr): Don't use BP_SYM.
64049         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
64050         <bp-sym.h> and <bp-asm.h>.
64051         (__strchrnul): Don't use BP_SYM.
64052         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
64053         <bp-sym.h> and <bp-asm.h>.
64054         (strlen): Don't use BP_SYM.
64055         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
64056         <bp-sym.h> and <bp-asm.h>.
64057         (strncmp): Don't use BP_SYM.
64058         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
64059         <bp-sym.h> and <bp-asm.h>.
64060         (__strnlen): Don't use BP_SYM.
64061         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
64062         <bp-asm.h>.
64063         (__mpn_rshift): Don't use BP_SYM.
64064         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64065         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
64066         <bp-sym.h> and <bp-asm.h>.
64067         (__sigsetjmp): Don't use BP_SYM.
64068         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
64069         (L(start_addresses)): Don't use BP_SYM.
64070         (_start): Likewise.
64071         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
64072         <bp-asm.h>.
64073         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
64074         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64075         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64076         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
64077         <bp-asm.h>.
64078         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
64079         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64080         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64081         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
64082         <bp-asm.h>.
64083         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
64084         comments.
64085         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64086         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
64087         <bp-asm.h>.
64088         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
64089         FIXME comments.
64090         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64091         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64092         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
64093         <bp-asm.h>.
64094         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
64095         comment.
64096         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
64097         and <bp-asm.h>.
64098         (strncmp): Don't use BP_SYM,
64099         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
64100         <bp-asm.h>.
64101         (__mpn_sub_n): Don't use BP_SYM.
64102         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64103         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
64104         and <bp-asm.h>.
64105         (__mpn_submul_1): Don't use BP_SYM.
64106         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
64108         <bp-sym.h> and <bp-asm.h>.
64109         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
64110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
64111         <bp-sym.h> and <bp-asm.h>.
64112         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
64113         comment.
64115 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64117         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
64118         Use ZK to minimize writes to Z.
64119         (sub_magnitudes): Simplify code a bit.
64120         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
64121         Use ZK to minimize writes to Z.
64122         (sub_magnitudes): Simplify code a bit.
64124 2013-02-27  Roland McGrath  <roland@hack.frob.com>
64126         * csu/gmon-start.c: Add special exception to license text.
64128 2013-02-27  Richard Henderson  <rth@redhat.com>
64130         * scripts/config.guess: Update from config.git.
64131         * scripts/config.sub: Likewise.
64133 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64135         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
64137         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
64139         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
64141         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
64143         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
64145 2013-02-26  Roland McGrath  <roland@hack.frob.com>
64147         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
64148         [$(build-shared = yes].
64150 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64152         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
64153         (__mul): Reduce iterations for calculating mantissa.
64155         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
64156         MPTWO.
64157         (__mpranred): Likewise.
64159         [BZ #15160]
64160         * malloc/memusagestat.c (main): Draw graphs for heap and stack
64161         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
64163 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
64165         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
64166         Define __attribute__.
64168 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64170         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
64171         unused.
64172         * posix/regex_internal.h (__attribute): Remove.
64173         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
64174         (re_string_context_at): Likewise.
64175         (bitset_not): Use __attribute__ and mark function as possibly
64176         unused.
64177         (bitset_merge): Likewise.
64178         (bitset_mask): Likewise.
64179         (re_string_char_size_at): Likewise.
64180         (re_string_wchar_at): Likewise.
64181         (re_string_elem_size_at): Likewise.
64183 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64185         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
64186         code.
64187         (cc32): Likewise.
64189         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
64190         (__acr): Likewise.
64191         (__cpy): Likewise.
64192         (norm): Likewise.
64193         (denorm): Likewise.
64194         (__dbl_mp): Likewise.
64195         (add_magnitudes): Likewise.
64196         (sub_magnitudes): Likewise.
64197         (__mul): Likewise.
64198         (__inv): Likewise.
64200         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
64201         style.
64203         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
64204         style.
64206         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
64207         code.
64209         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
64210         up changes with default code.
64211         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
64212         Likewise.
64214 2013-02-24  Allan McRae  <allan@archlinux.org>
64216         * manual/socket.texi (The Internet Namespace): Order menu items
64217         to match that in the file.
64219         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
64220         node listing of the info page menu.
64222 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
64224         [BZ #13550]
64225         * sysdeps/i386/bp-asm.h: Remove file.
64226         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
64227         (PARMS): Do not use macros from bp-asm.h.
64228         (S1): Likewise.
64229         (S2): Likewise.
64230         (SIZE): Likewise.
64231         (__mpn_add_n): Do not use BP_SYM
64232         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
64233         "bp-asm.h".
64234         (PARMS): Do not use macros from bp-asm.h.
64235         (S1): Likewise.
64236         (SIZE): Likewise.
64237         (__mpn_addmul_1): Do not use BP_SYM
64238         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
64239         "bp-asm.h".
64240         (PARMS): Do not use macros from bp-asm.h.
64241         (SIGMSK): Likewise.
64242         (_setjmp): Likewise.  Do not use BP_SYM.
64243         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
64244         "bp-asm.h".
64245         (PARMS): Do not use macros from bp-asm.h.
64246         (SIGMSK): Likewise.
64247         (setjmp): Likewise.  Do not use BP_SYM.
64248         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
64249         "bp-asm.h".
64250         (PARMS): Do not use macros from bp-asm.h.
64251         (__frexp): Do not use BP_SYM.
64252         (frexp): Likewise.
64253         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
64254         "bp-asm.h".
64255         (PARMS): Do not use macros from bp-asm.h.
64256         (__frexpf): Do not use BP_SYM.
64257         (frexpf): Likewise.
64258         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
64259         "bp-asm.h".
64260         (PARMS): Do not use macros from bp-asm.h.
64261         (__frexpl): Do not use BP_SYM.
64262         (frexpl): Likewise.
64263         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
64264         "bp-asm.h".
64265         (PARMS): Do not use macros from bp-asm.h.
64266         (__remquo): Do not use BP_SYM.
64267         (remquo): Likewise.
64268         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
64269         "bp-asm.h".
64270         (PARMS): Do not use macros from bp-asm.h.
64271         (__remquof): Do not use BP_SYM.
64272         (remquof): Likewise.
64273         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
64274         "bp-asm.h".
64275         (PARMS): Do not use macros from bp-asm.h.
64276         (__remquol): Do not use BP_SYM.
64277         (remquol): Likewise.
64278         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
64279         "bp-asm.h".
64280         (PARMS): Do not use macros from bp-asm.h.
64281         (DEST): Likewise.
64282         (SRC): Likewise.
64283         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
64284         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
64285         "bp-asm.h".
64286         (PARMS): Do not use macros from bp-asm.h.
64287         (strlen): Do not use BP_SYM.
64288         * sysdeps/i386/i586/add_n.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         (S2): Likewise.
64293         (SIZE): Likewise.
64294         (__mpn_add_n): Do not use BP_SYM.
64295         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
64296         "bp-asm.h".
64297         (PARMS): Do not use macros from bp-asm.h.
64298         (S1): Likewise.
64299         (SIZE): Likewise.
64300         (__mpn_addmul_1): Do not use BP_SYM.
64301         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
64302         weak_alias.
64303         (bzero): Likewise.
64304         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
64305         "bp-asm.h".
64306         (PARMS): Do not use macros from bp-asm.h.
64307         (S): Likewise.
64308         (SIZE): Likewise.
64309         (__mpn_lshift): Do not use BP_SYM.
64310         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
64311         "bp-asm.h".
64312         (PARMS): Do not use macros from bp-asm.h.
64313         (DEST): Likewise.
64314         (SRC): Likewise.
64315         (LEN): Likewise.
64316         (memcpy): Likewise.  Do not use BP_SYM.
64317         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
64318         libc_hidden_def and weak_alias.
64319         (mempcpy): Do not use BP_SYM in weak_alias.
64320         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
64321         "bp-asm.h".
64322         (PARMS): Do not use macros from bp-asm.h.
64323         (DEST): Likewise.
64324         (LEN): Likewise.
64325         [!BZERO_P] (CHR): Likewise.
64326         (memset): Likewise.  Do not use BP_SYM.
64327         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
64328         "bp-asm.h".
64329         (PARMS): Do not use macros from bp-asm.h.
64330         (S1): Likewise.
64331         (SIZE): Likewise.
64332         (__mpn_mul_1): Do not use BP_SYM.
64333         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
64334         "bp-asm.h".
64335         (PARMS): Do not use macros from bp-asm.h.
64336         (S): Likewise.
64337         (SIZE): Likewise.
64338         (__mpn_rshift): Do not use BP_SYM.
64339         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
64340         "bp-asm.h".
64341         (PARMS): Do not use macros from bp-asm.h.
64342         (STR): Likewise.
64343         (CHR): Likewise.
64344         (strchr): Likewise.  Do not use BP_SYM.
64345         (index): Do not use BP_SYM in weak_alias.
64346         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
64347         "bp-asm.h".
64348         (PARMS): Do not use macros from bp-asm.h.
64349         (DEST): Likewise.
64350         (SRC): Likewise.
64351         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
64352         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
64353         "bp-asm.h".
64354         (PARMS): Do not use macros from bp-asm.h.
64355         (strlen): Do not use BP_SYM.
64356         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
64357         "bp-asm.h".
64358         (PARMS): Do not use macros from bp-asm.h.
64359         (S1): Likewise.
64360         (S2): Likewise.
64361         (SIZE): Likewise.
64362         (__mpn_sub_n): Do not use BP_SYM.
64363         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
64364         "bp-asm.h".
64365         (PARMS): Do not use macros from bp-asm.h.
64366         (S1): Likewise.
64367         (SIZE): Likewise.
64368         (__mpn_submul_1): Do not use BP_SYM.
64369         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
64370         "bp-asm.h".
64371         (PARMS): Do not use macros from bp-asm.h.
64372         (S1): Likewise.
64373         (S2): Likewise.
64374         (SIZE): Likewise.
64375         (__mpn_add_n): Do not use BP_SYM.
64376         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
64377         weak_alias.
64378         (bzero): Likewise.
64379         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
64380         "bp-asm.h".
64381         (PARMS): Do not use macros from bp-asm.h.
64382         (BLK2): Likewise.
64383         (LEN): Likewise.
64384         (memcmp): Do not use BP_SYM.
64385         (bcmp): Do not use BP_SYM in weak_alias.
64386         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
64387         "bp-asm.h".
64388         (PARMS): Do not use macros from bp-asm.h.
64389         (DEST): Likewise.
64390         (SRC): Likewise.
64391         (LEN): Likewise.
64392         (memcpy): Likewise.  Do not use BP_SYM.
64393         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
64394         "bp-asm.h".
64395         (PARMS): Do not use macros from bp-asm.h.
64396         (DEST): Likewise.
64397         (SRC): Likewise.
64398         (LEN): Likewise.
64399         (memmove): Likewise.  Do not use BP_SYM.
64400         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
64401         "bp-asm.h".
64402         (PARMS): Do not use macros from bp-asm.h.
64403         (DEST): Likewise.
64404         (SRC): Likewise.
64405         (LEN): Likewise.
64406         (__mempcpy): Likewise.  Do not use BP_SYM.
64407         (mempcpy): Do not use BP_SYM in weak_alias.
64408         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
64409         "bp-asm.h".
64410         (PARMS): Do not use macros from bp-asm.h.
64411         (DEST): Likewise.
64412         (LEN): Likewise.
64413         [!BZERO_P] (CHR): Likewise.
64414         (memset): Likewise.  Do not use BP_SYM.
64415         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
64416         "bp-asm.h".
64417         (PARMS): Do not use macros from bp-asm.h.
64418         (STR2): Likewise.
64419         (strcmp): Do not use BP_SYM.
64420         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
64421         "bp-asm.h".
64422         (PARMS): Do not use macros from bp-asm.h.
64423         (STR): Likewise.
64424         (DELIM): Likewise.
64425         [USE_AS_STRTOK_R] (SAVE): Likewise.
64426         (FUNCTION): Likewise.  Do not use BP_SYM.
64427         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
64428         aliases.
64429         (strtok_r): Likewise.
64430         (__GI___strtok_r): Likewise.
64431         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
64432         (PARMS): Do not use macros from bp-asm.h.
64433         (S): Likewise.
64434         (SIZE): Likewise.
64435         (__mpn_lshift): Do not use BP_SYM.
64436         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
64437         (PARMS): Do not use macros from bp-asm.h.
64438         (STR): Likewise.
64439         (CHR): Likewise.
64440         (__memchr): Do not use BP_SYM.
64441         (memchr): Do not use BP_SYM in weak_alias.
64442         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
64443         (PARMS): Do not use macros from bp-asm.h.
64444         (BLK2): Likewise.
64445         (LEN): Likewise.
64446         (memcmp): Do not use BP_SYM.
64447         (bcmp): Do not use BP_SYM in weak_alias.
64448         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
64449         (PARMS): Do not use macros from bp-asm.h.
64450         (S1): Likewise.
64451         (SIZE): Likewise.
64452         (__mpn_mul_1): Do not use BP_SYM.
64453         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
64454         "bp-asm.h".
64455         (PARMS): Do not use macros from bp-asm.h.
64456         (STR): Likewise.
64457         (CHR): Likewise.
64458         (__rawmemchr): Do not use BP_SYM.
64459         (rawmemchr): Do not use BP_SYM in weak_alias.
64460         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
64461         (PARMS): Do not use macros from bp-asm.h.
64462         (S): Likewise.
64463         (SIZE): Likewise.
64464         (__mpn_rshift): Do not use BP_SYM.
64465         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
64466         (PARMS): Do not use macros from bp-asm.h.
64467         (SIGMSK): Likewise.
64468         (__sigsetjmp): Likewise.  Do not use BP_SYM.
64469         * sysdeps/i386/start.S: Do not include "bp-sym.h".
64470         (_start): Do not use BP_SYM.
64471         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
64472         (PARMS): Do not use macros from bp-asm.h.
64473         (DEST): Likewise.
64474         (SRC): Likewise.
64475         (__stpcpy): Likewise.  Do not use BP_SYM.
64476         (stpcpy): Do not use BP_SYM in weak_alias.
64477         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
64478         "bp-asm.h".
64479         (PARMS): Do not use macros from bp-asm.h.
64480         (DEST): Likewise.
64481         (SRC): Likewise.
64482         (LEN): Likewise.
64483         (__stpncpy): Likewise.  Do not use BP_SYM.
64484         (stpncpy): Do not use BP_SYM in weak_alias.
64485         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
64486         (PARMS): Do not use macros from bp-asm.h.
64487         (STR): Likewise.
64488         (CHR): Likewise.
64489         (strchr): Likewise.  Do not use BP_SYM.
64490         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
64491         "bp-asm.h".
64492         (PARMS): Do not use macros from bp-asm.h.
64493         (STR): Likewise.
64494         (CHR): Likewise.
64495         (__strchrnul): Likewise.  Do not use BP_SYM.
64496         (strchrnul): Do not use BP_SYM in weak_alias.
64497         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
64498         "bp-asm.h".
64499         (PARMS): Do not use macros from bp-asm.h.
64500         (STOP): Likewise.
64501         (strcspn): Do not use BP_SYM.
64502         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
64503         "bp-asm.h".
64504         (PARMS): Do not use macros from bp-asm.h.
64505         (STR): Likewise.
64506         (STOP): Likewise.
64507         (strpbrk): Likewise.  Do not use BP_SYM.
64508         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
64509         "bp-asm.h".
64510         (PARMS): Do not use macros from bp-asm.h.
64511         (STR): Likewise.
64512         (CHR): Likewise.
64513         (strrchr): Likewise.  Do not use BP_SYM.
64514         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
64515         (PARMS): Do not use macros from bp-asm.h.
64516         (SKIP): Likewise.
64517         (strspn): Do not use BP_SYM.
64518         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
64519         (PARMS): Do not use macros from bp-asm.h.
64520         (STR): Likewise.
64521         (DELIM): Likewise.
64522         (SAVE): Likewise.
64523         (FUNCTION): Likewise.  Do not use BP_SYM.
64524         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
64525         aliases.
64526         (strtok_r): Likewise.
64527         (__GI___strtok_r): Likewise.
64528         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
64529         (PARMS): Do not use macros from bp-asm.h.
64530         (S1): Likewise.
64531         (S2): Likewise.
64532         (SIZE): Likewise.
64533         (__mpn_sub_n): Do not use BP_SYM.
64534         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
64535         "bp-asm.h".
64536         (PARMS): Do not use macros from bp-asm.h.
64537         (S1): Likewise.
64538         (SIZE): Likewise.
64539         (__mpn_submul_1): Do not use BP_SYM.
64540         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
64541         <bp-sym.h>.
64542         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
64543         and <bp-asm.h>.
64544         (PARMS): Do not use macros from bp-asm.h.
64545         (FLAGS): Likewise.
64546         (PTID): Likewise.
64547         (TLS): Likewise.
64548         (CTID): Likewise.
64549         (__clone): Do not use BP_SYM.
64550         (clone): Do not use BP_SYM in weak_alias.
64551         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
64552         and <bp-asm.h>.
64553         (PARMS): Do not use macros from bp-asm.h.
64554         (LEN): Likewise.
64555         (__mmap64): Do not use BP_SYM.
64556         (mmap64): Do not use BP_SYM in weak_alias.
64557         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
64558         <bp-sym.h> and <bp-asm.h>.
64559         (PARMS): Do not use macros from bp-asm.h.
64560         (__posix_fadvise64_l64): Do not use BP_SYM.
64561         * sysdeps/unix/sysv/linux/i386/semtimedop.S
64562         (PARMS): Do not use macros from bp-asm.h.
64563         (NSOPS): Likewise.
64564         (semtimedop): Do not use BP_SYM.
64565         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
64566         and <bp-asm.h>.
64568 2013-02-21  Allan McRae  <allan@archlinux.org>
64570         * manual/message.texi (Charset conversion in gettext):
64571         Move @end statement to beginning of line.
64573 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64575         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
64576         static.
64577         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
64578         Likewise.
64580         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
64581         (denorm): Likewise.
64582         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
64583         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
64585 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64587         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
64588         tail-call to the resolved function if pltexit isn't needed.
64590 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64592         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
64593         or Y being zero as being unlikely.
64594         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
64595         Likewise.
64597 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
64599         * manual/nss.texi (System Databases and Name Service Switch):
64600         Remove frobnicate @pxref.
64602 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
64604         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
64605         __attribute__ ((unused)) to __attribute__ ((__unused__)).
64607 2013-02-20  Petr Machata  <pmachata@redhat.com>
64609         * elf/elf.h (R_ARM_TARGET1): New macro.
64610         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
64611         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
64612         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
64613         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
64614         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
64615         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
64616         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
64617         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
64618         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
64619         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
64620         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
64621         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
64622         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
64623         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
64624         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
64625         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
64626         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
64627         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
64628         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
64629         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
64630         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
64631         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
64632         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
64633         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
64634         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
64635         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
64636         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
64637         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
64638         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
64639         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
64640         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
64641         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
64642         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
64643         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
64644         (R_ARM_THM_GOT_BREL12): Likewise.
64645         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
64646         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
64647         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
64648         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
64649         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
64650         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
64651         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
64652         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
64653         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
64655 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
64657         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
64658         __attribute_used__ to __attribute__ ((unused)).
64660 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
64662         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
64663         powerpc mpa.c.
64664         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
64665         comment formatting.
64666         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
64668 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
64670         [BZ #13550]
64671         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
64672         Remove macro.
64673         (ENTER): Remove both macro definitions.
64674         (LEAVE): Likewise.
64675         (CHECK_BOUNDS_LOW): Likewise.
64676         (CHECK_BOUNDS_HIGH): Likewise.
64677         (CHECK_BOUNDS_BOTH): Likewise.
64678         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
64679         (RETURN_BOUNDED_POINTER): Likewise.
64680         (RETURN_NULL_BOUNDED_POINTER): Likewise.
64681         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
64682         (POP_ERRNO_LOCATION_RETURN): Likewise.
64683         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
64684         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64685         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
64686         macros.
64687         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64688         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
64689         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
64690         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
64691         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
64692         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
64693         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
64694         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
64695         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
64696         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
64697         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
64698         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
64699         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64700         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
64701         removed macros.
64702         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64703         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
64704         macros.
64705         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64706         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
64707         * sysdeps/i386/i586/memset.S (memset): Likewise.
64708         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
64709         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64710         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
64711         macros.
64712         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64713         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
64714         Change uses of L(2) to L(out).
64715         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
64716         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
64717         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
64718         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64719         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
64720         removed macros.
64721         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64722         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
64723         macros.
64724         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64725         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
64726         (RETURN): Do not use macro LEAVE.
64727         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
64728         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
64729         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
64730         * sysdeps/i386/i686/memset.S (memset): Likewise.
64731         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
64732         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
64733         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64734         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
64735         Likewise.
64736         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64737         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
64738         L(1_2) and L(1_3) into L(1).
64739         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
64740         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
64741         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64742         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
64743         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64744         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
64745         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
64746         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64747         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
64748         macros.
64749         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
64750         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64751         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
64752         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
64753         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
64754         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64755         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
64756         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
64757         * sysdeps/i386/strcspn.S (strcspn): Likewise.
64758         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
64759         * sysdeps/i386/strrchr.S (strrchr): Likewise.
64760         * sysdeps/i386/strspn.S (strspn): Likewise.
64761         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
64762         conditional code.
64763         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64764         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
64765         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
64766         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
64767         L(1_3) into L(1_1).
64768         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
64769         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64770         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
64771         macros.
64772         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64774 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
64776         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
64777         macro.
64779 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
64781         * math/atest-exp.c (exp_mpn): Remove ROUND.
64782         * math/atest-exp2.c (exp_mpn): Likewise.
64783         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
64785         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
64786         * stdlib/tst-tls-atexit-lib.c: Likewise.
64787         * stdlib/tst-tls-atexit.c: Likewise.
64789 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64791         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
64792         and __attribute_alloc_size__.
64794 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64796         * include/programs/xmalloc.h: Change __attribute_alloc_size to
64797         __attribute_alloc_size__.
64798         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
64799         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
64801 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64803         * include/programs/xmalloc.h: New file.
64804         * catgets/gencat.c: Include it.
64805         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
64806         * elf/pldd.c: Likewise.
64807         * iconv/iconv_charmap.c: Likewise.
64808         * iconv/iconvconfig.c: Likewise.
64809         * iconv/strtab.c: Likewise.
64810         * locale/programs/locale.c: Likewise.
64811         * locale/programs/localedef.h: Likewise.
64812         * locale/programs/simple-hash.c: Likewise.
64813         * nscd/nscd.h: Likewise.
64814         * nss/makedb.c: Likewise.
64815         * sysdeps/generic/ldconfig.h: Likewise.
64817 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64819         * Versions.def: Add GLIBC_2.18.
64820         * include/link.h (struct link_map): New member l_tls_dtor_count.
64821         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
64822         (__call_tls_dtors): Likewise.
64823         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
64824         __cxa_thread_atexit_impl.
64825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64826         Likewise.
64827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64828         Likewise.
64829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
64830         Likewise.
64831         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
64832         Likewise.
64833         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64834         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
64835         Likewise.
64836         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
64837         Likewise.
64838         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64839         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64840         Likewise.
64841         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
64842         (tests): Add test case tst-tls-atexit.
64843         (modules-names): Add shared library for tst-tls-atexit.
64844         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
64845         (GLIBC_PRIVATE): Add __call_tls_dtors.
64846         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
64847         for libstdc++.
64848         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
64849         * stdlib/tst-tls-atexit.c: New test case.
64850         * stdlib/tst-tls-atexit-lib.c: New test case.
64852         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
64854         * elf/Versions (ld): Add _dl_find_dso_for_object.
64855         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
64856         * elf/dl-open.c (_dl_find_dso_for_object): New function.
64857         (dl_open_worker): Use _dl_find_dso_for_object.
64858         * elf/dl-sym.c (do_sym): Likewise.
64859         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
64861 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64863         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
64864         Syntactic changes only.
64865         (_dl_runtime_profile): Do a tail-call to the resolved function.
64867 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
64869         [BZ #13550]
64870         * sysdeps/x86_64/bp-asm.h: Remove file.
64871         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
64872         <bp-sym.h> and <bp-asm.h>.
64873         (__clone): Do not use BP_SYM.
64874         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
64875         <bp-sym.h> and <bp-asm.h>.
64876         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64877         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
64878         "bp-asm.h".
64879         (_setjmp): Do not use BP_SYM.
64880         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
64881         "bp-asm.h".
64882         (setjmp): Do not use BP_SYM.
64883         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
64884         libc_hidden_def.
64885         (mempcpy): Do not use BP_SYM in weak_alias.
64886         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
64887         "bp-asm.h".
64888         (strchr): Do not use BP_SYM.
64889         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
64890         "bp-asm.h".
64891         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
64892         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
64893         (_start): Do not use BP_SYM.
64894         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
64895         "bp-asm.h".
64896         (strcat): Do not use BP_SYM.
64897         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
64898         "bp-asm.h".
64899         (STRCMP): Do not use BP_SYM.
64900         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
64901         "bp-asm.h".
64902         (STRCPY): Do not use BP_SYM.
64903         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
64904         "bp-asm.h".
64905         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
64906         "bp-asm.h".
64907         (FUNCTION): Do not use BP_SYM.
64908         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
64909         weak_alias.
64910         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
64912 2013-02-17  Andreas Jaeger  <aj@suse.de>
64914         * time/Versions: Sort entries.
64915         * string/Versions: Likewise.
64916         * resolv/Versions: Likewise.
64917         * posix/Versions: Likewise.
64918         * iconv/Versions: Likewise.
64919         * elf/Versions: Likewise.
64920         * wcsmbs/Versions: Likewise.
64922 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64924         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
64925         loop termination condition.
64927         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
64928         variable to calculate EZ.
64929         (__sqr): Likewise.
64931         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
64932         the lower precision input.
64934 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
64936         [BZ #13550]
64937         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
64938         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
64939         (run-via-rtld-prefix): Do not handle %-bp tests.
64940         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
64941         (all-object-suffixes): Remove .ob.
64942         (bppfx): Remove variable.
64943         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
64944         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
64945         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
64946         [$(build-bounded) = yes] (libtype.ob): Likewise.
64947         * Makerules (elide-routines.ob): Remove variable.
64948         (do-tests-clean): Do not handle *-bp.out.
64949         (common-mostlyclean): Do not handle *-bp and *-bp.out.
64950         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
64951         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
64952         (tests): Do not include $(tests-bp.out).
64953         (xtests): Do not include $(xtests-bp.out).
64954         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
64955         [$(build-bounded) = yes] ($(addprefix
64956         $(objpfx),$(binaries-bounded))): Remove rule.
64957         ($(objpfx)%-bp.out): Remove rule.
64958         * config.make.in (build-bounded): Remove variable.
64959         * crypt/Makefile [$(build-bounded) = yes]
64960         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
64961         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
64962         append to variable.
64963         [$(build-bounded) = yes] (install-lib): Likewise.
64964         [$(build-bounded) = yes] (generated): Likewise.
64965         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
64966         Remove rule.
64967         * intl/Makefile [$(build-bounded) = yes]
64968         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
64969         * math/Makefile [$(build-bounded) = yes]
64970         ($(tests:%=$(objpfx)%-bp): Likewise.
64971         * misc/Makefile [$(build-bounded) = yes]
64972         ($(objpfx)tst-tsearch-bp): Likewise.
64973         * nptl/Makeconfig (bounded-thread-library): Remove variable.
64974         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
64975         Remove dependency.
64976         * string/Makefile (o-objects.ob): Remove variable.
64977         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
64978         (CFLAGS-.ob): Remove variable.
64979         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
64980         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
64981         both definitions of variable.
64982         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
64983         (ASFLAGS-.ob): Remove variable.
64985 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
64987         [BZ #13550]
64988         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
64989         Remove __BOUNDED_POINTERS__ from condition.
64990         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
64991         * string/bits/string2.h [!__NO_STRING_INLINES &&
64992         !__BOUNDED_POINTERS__]: Likewise.
64993         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
64994         Likewise.
64995         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
64996         Remove conditional code.
64997         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
64998         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
64999         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
65000         condition.
65002         [BZ #13550]
65003         * csu/libc-start.c: Do not include <bp-sym.h>.
65004         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
65005         * elf/dl-open.c: Do not include <bp-sym.h>.
65006         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
65007         * math/fegetenv.c: Do not include <bp-sym.h>.
65008         (fegetenv): Do not use BP_SYM in versioned symbols.
65009         * nptl/sysdeps/pthread/bits/libc-lockP.h
65010         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
65011         <bp-sym.h>.
65012         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65013         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
65014         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65015         (__pthread_mutex_destroy): Likewise.
65016         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65017         (__pthread_mutex_lock): Likewise.
65018         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65019         (__pthread_mutex_trylock): Likewise.
65020         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65021         (__pthread_mutex_unlock): Likewise.
65022         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65023         (__pthread_mutexattr_init): Likewise.
65024         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65025         (__pthread_mutexattr_destroy): Likewise.
65026         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65027         (__pthread_mutexattr_settype): Likewise.
65028         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65029         (__pthread_rwlock_init): Likewise.
65030         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65031         (__pthread_rwlock_destroy): Likewise.
65032         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65033         (__pthread_rwlock_rdlock): Likewise.
65034         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65035         (__pthread_rwlock_tryrdlock): Likewise.
65036         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65037         (__pthread_rwlock_wrlock): Likewise.
65038         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65039         (__pthread_rwlock_trywrlock): Likewise.
65040         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65041         (__pthread_rwlock_unlock): Likewise.
65042         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65043         (__pthread_key_create): Likewise.
65044         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65045         (__pthread_setspecific): Likewise.
65046         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65047         (__pthread_getspecific): Likewise.
65048         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
65049         Likewise.
65050         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65051         (_pthread_cleanup_push_defer): Likewise.
65052         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65053         (_pthread_cleanup_pop_restore): Likewise.
65054         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65055         (pthread_setcancelstate): Likewise.
65056         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
65057         <bp-sym.h>.
65058         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
65059         (memchr): Do not use BP_SYM in weak_alias.
65060         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
65061         (fegetenv): Do not use BP_SYM in versioned symbols.
65062         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
65063         (fesetenv): Do not use BP_SYM in versioned symbols.
65064         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
65065         (feupdateenv): Do not use BP_SYM in versioned symbols.
65066         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
65067         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
65068         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
65069         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
65070         (open64): Do not use BP_SYM in weak_alias.
65071         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
65072         (fegetenv): Do not use BP_SYM in versioned symbols.
65073         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
65074         (fesetenv): Do not use BP_SYM in versioned symbols.
65075         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
65076         (feupdateenv): Do not use BP_SYM in versioned symbols.
65077         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
65078         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
65079         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
65080         (feraiseexcept): Do not use BP_SYM in versioned symbols.
65081         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
65082         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
65083         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
65084         <bp-sym.h>.
65085         (__libc_start_main): Do not use BP_SYM.
65087 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65089         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
65090         redundant return line.
65091         (norm): Likewise.
65092         (denorm): Likewise.
65093         (dbl_mp): Likewise.
65094         (sub_magnitudes): Likewise.
65095         (__add): Likewise.
65096         (__sub): Likewise.
65097         (__mul): Likewise.
65098         (__inv): Likewise.
65099         (__dvd): Likewise.
65100         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
65101         (norm): Likewise.
65102         (denorm): Likewise.
65103         (dbl_mp): Likewise.
65104         (sub_magnitudes): Likewise.
65105         (__add): Likewise.
65106         (__sub): Likewise.
65107         (__mul): Likewise.
65108         (__inv): Likewise.
65109         (__dvd): Likewise.
65111         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
65112         instead of __mul.
65113         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
65114         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
65115         (cc32): Likewise.
65117         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
65118         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
65119         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
65120         of __mul for squares.
65121         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
65122         function
65123         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
65124         Likewise.
65125         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
65126         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65128 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
65130         [BZ #13550]
65131         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
65132         code.
65133         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
65134         prototype or function definition.  Rename ubp_* variables and
65135         parameters.  Remove argv definitions conditional on
65136         [__BOUNDED_POINTERS__].
65137         * debug/backtrace.c (__backtrace): Do not use __unbounded.
65138         * elf/dl-runtime.c (_dl_fixup): Likewise.
65139         * include/set-hooks.h (RUN_HOOK): Likewise.
65140         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
65141         definition.
65142         * string/strcpy.c (strcpy): Do not use __unbounded.
65143         * sysdeps/generic/frame.h (struct layout): Likewise.
65144         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
65145         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
65146         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
65147         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
65148         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
65149         (__backtrace): Likewise.
65150         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
65151         use __ptrvalue.
65152         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
65153         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
65154         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
65155         Likewise.
65156         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
65157         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
65158         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
65159         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
65160         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
65161         Do not use __unbounded.
65162         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
65163         Rename __unboundedrlimits parameter to rlimits in prototype.
65164         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
65165         Do not use __unbounded.
65166         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
65167         not use __ptrvalue.
65168         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
65169         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
65170         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
65171         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
65172         __ptrvalue or __unbounded.
65173         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
65174         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
65175         use __unbounded.
65176         (__new_msgctl): Do not use __ptrvalue.
65177         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
65178         __unbounded.
65179         (__libc_msgrcv): Do not use __ptrvalue.
65180         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
65181         startup_info): Do not use __unbounded.
65182         (__libc_start_main): Likewise.  Rename ubp_* variables and
65183         parameters.  Remove argv definitions conditional on
65184         [__BOUNDED_POINTERS__].
65185         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
65186         __ptrvalue.
65187         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
65188         use __unbounded.
65189         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
65190         or __ptrvalue.
65191         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
65192         use __unbounded.
65193         (__new_shmctl): Do not use __ptrvalue.
65194         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
65195         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
65196         Likewise.
65197         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
65198         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
65199         (__libc_sigaction): Likewise.
65200         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
65201         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
65202         Likewise.
65203         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
65205 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
65207         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
65209         * string/mempcpy.c: Implement by calling memcpy.
65211 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65213         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
65215         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
65216         evaluation.
65218         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
65219         values in the mantissa.
65221         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
65222         minimize writes to Z.
65223         (sub_magnitudes): Simplify code a bit.
65225 2013-02-12  Roland McGrath  <roland@hack.frob.com>
65227         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
65228         from the message.  The linker prefixes all warnings with that already.
65230 2013-02-12  Andreas Schwab  <schwab@suse.de>
65232         [BZ #15078]
65233         * posix/regexec.c (extend_buffers): Add parameter min_len.
65234         (check_matching): Pass minimum needed length.
65235         (clean_state_log_if_needed): Likewise.
65236         (get_subexp): Likewise.
65237         * posix/Makefile (tests): Add bug-regex34.
65238         (bug-regex34-ENV): Define.
65239         * posix/bug-regex34.c: New file.
65241         [BZ #11561]
65242         * posix/regcomp.c (parse_bracket_exp): When looking up collating
65243         elements compare against the byte sequence of it, not its name.
65244         * posix/Makefile (tests): Add bug-regex35.
65245         (bug-regex35-ENV): Define.
65246         * posix/bug-regex35.c: New file.
65248 2013-02-11  Tom de Vries  <tom@codesourcery.com>
65250         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
65251         comment.
65252         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
65253         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
65254         (CHECK_EOL): Add undef.
65256 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
65258         * bits/stdlib-bsearch.h: New file.
65259         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
65260         * stdlib/stdlib.h: Likewise.
65262 2013-02-11  Roland McGrath  <roland@hack.frob.com>
65264         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
65265         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
65266         declaration.
65267         * manual/search.texi (Array Search Function): Add missing const in
65268         lfind prototype.
65269         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
65270         declaration to use rlim_t.
65271         (Basic Scheduling Functions): Remove erroneous const from
65272         sched_getparam prototype.  Remove erroneous * from
65273         sched_get_priority_max and sched_get_priority_min prototypes.
65274         (Resource Usage): Fix summary @comment on vtimes to refer to
65275         sys/vtimes.h rather than vtimes.h.
65276         Add missing *s in vtimes prototype.
65277         (Limits on Resources): Fix ulimit prototype to return long int.
65278         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
65279         prototypes to use long int rather than double.
65280         (BSD Random): Fix initstate and setstate to use char *, not void *.
65281         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
65282         prototype to make second argument 'struct aiocb64 *const[]'.
65283         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
65284         (Status of AIO Operations): Remove erroneous const in aio_return and
65285         aio_return64 prototypes.
65286         (Synchronizing I/O): Fix sync prototype to return void.
65287         * manual/startup.texi (Suboptions): Remove an erroneous const in
65288         getsubopt prototype.
65289         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
65290         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
65291         use size_t rather than int.
65292         (Scanning All Users): Likewise for getpwent_r.
65293         (Setting Groups): Add missing const to setgroups prototype.
65294         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
65295         * manual/socket.texi (Host Names): Fix gethostbyaddr and
65296         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
65297         'const void *' rather than 'const char *'.
65298         (Host Address Functions): Likewise for inet_ntop.
65299         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
65300         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
65301         ssize_t for return value.
65302         (Sending Data): Likewise for send, sendto, sendmsg.
65303         (Socket Option Functions): Add a missing const in setsockopt prototype.
65304         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
65305         use wchar_t for the argument.
65306         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
65307         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
65308         take no arguments.
65309         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
65310         double/float/long double for second argument.
65311         Fix return types of significand, significandf, significandl.
65312         * manual/filesys.texi (Setting Permissions): Use mode_t for second
65313         argument in fchmod prototype.
65314         (File Owner): Use uid_t and gid_t in fchown prototype.
65315         (File Times): Add const to utimes, futimes, and lutimes prototypes.
65316         (Making Special Files): Use mode_t and dev_t in mknod prototype.
65317         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
65318         use 'const struct dirent **' as argument types to CMP function pointer
65319         argument.
65320         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
65321         (File Times): Fix summary magic @comment for struct utimbuf and utime
65322         to refer to utime.h, not time.h.
65323         * manual/string.texi (Argz Functions): Add missing const in
65324         argz_extract and argz_next prototypes.
65325         (Finding Tokens in a String): Likewise for basename.
65326         (String/Array Comparison): Fix typo in wcscasecmp prototype.
65327         (Copying and Concatenation): Fix typo in wmemmove prototype.
65328         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
65329         (Signal Stack): Remove erroneous const in sigstack prototype.
65330         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
65331         prototype.
65332         (Simple Calendar Time): Likewise for stime.
65333         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
65334         prototype.
65335         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
65336         say sys/sysctl.h instead.
65337         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
65338         and vsyslog prototypes.
65340 2013-02-11  Tom de Vries  <tom@codesourcery.com>
65342         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
65343         Remove.
65345 2013-02-11  Roland McGrath  <roland@hack.frob.com>
65347         * misc/sys/mman.h: Fix typo in mremap comment.
65349 2013-02-08  Roland McGrath  <roland@hack.frob.com>
65351         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
65352         the '\0' terminator.
65354 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
65356         [BZ #13550]
65357         * debug/segfault.c: Don't include <bp-checks.h>.
65358         * sysdeps/generic/bp-checks.h: Remove file.
65359         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
65360         (__GETDENTS): Don't use CHECK_N.
65361         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
65362         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
65363         (__getgroups): Don't use CHECK_N.
65364         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
65365         (setgroups): Don't use CHECK_N.
65366         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
65367         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
65368         (__libc_msgrcv): Don't use CHECK_N.
65369         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
65370         (__libc_msgsnd): Don't use CHECK_N.
65371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
65372         <bp-checks.h>.
65373         (__libc_pread): Don't use CHECK_N.
65374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
65375         include <bp-checks.h>.
65376         (__libc_pread64): Don't use CHECK_N.
65377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
65378         include <bp-checks.h>.
65379         (__libc_pwrite): Don't use CHECK_N.
65380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
65381         include <bp-checks.h>.
65382         (__libc_pwrite64): Don't use CHECK_N.
65383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
65384         <bp-checks.h>.
65385         (__libc_pread): Don't use CHECK_N.
65386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
65387         include <bp-checks.h>.
65388         (__libc_pread64): Don't use CHECK_N.
65389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
65390         include <bp-checks.h>.
65391         (__libc_pwrite): Don't use CHECK_N.
65392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
65393         include <bp-checks.h>.
65394         (__libc_pwrite64): Don't use CHECK_N.
65395         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
65396         (do_pread): Don't use CHECK_N.
65397         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
65398         (do_pread64): Don't use CHECK_N.
65399         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
65400         (do_pwrite): Don't use CHECK_N.
65401         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
65402         (do_pwrite64): Don't use CHECK_N.
65403         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
65404         (__libc_readv): Don't use CHECK_N.
65405         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
65406         (semop): Don't use CHECK_N.
65407         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
65408         <bp-checks.h>.
65409         (semtimedop): Don't use CHECK_N.
65410         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
65411         (__libc_pread): Don't use CHECK_N.
65412         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
65413         <bp-checks.h>.
65414         (__libc_pread64): Don't use CHECK_N.
65415         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
65416         <bp-checks.h>.
65417         (__libc_pwrite): Don't use CHECK_N.
65418         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
65419         <bp-checks.h>.
65420         (__libc_pwrite64): Don't use CHECK_N.
65421         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
65422         <bp-checks.h>.
65423         (__libc_msgrcv): Don't use CHECK_N.
65424         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
65425         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
65426         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
65427         (__libc_writev): Don't use CHECK_N.
65429 2013-02-08  Roland McGrath  <roland@hack.frob.com>
65431         * string/strcpy.c: Removed unused variable.
65433         * Makeconfig (+sysdep-includes): Define with := rather than =.
65434         Use an existing include/ subdir of each sysdeps dir before it.
65436 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65438         * nscd/connection.c (register_traced_file): Comment function.
65439         [HAVE_INOTIFY] (union __inev): Define.
65440         [HAVE_INOTIFY] (inotify_check_files): New function.
65441         [HAVE_INOTIFY] (clear_db_cache): Likewise.
65442         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
65443         clear_db_cache.
65444         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
65446 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65448         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
65449         loaded if not already and that a failure is permanent.
65451 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65453         [BZ #15006]
65454         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
65455         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
65457 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
65459         [BZ #13550]
65460         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
65461         (CHECK_1_NULL_OK): Likewise.
65462         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
65463         (__fxstat): Do not use CHECK_1.
65464         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
65465         <bp-checks.h>.
65466         (___fxstat64): Do not use CHECK_1.
65467         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
65468         <bp-checks.h>.
65469         (__fxstatat): Do not use CHECK_1.
65470         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
65471         <bp-checks.h>.
65472         (__fxstatat64): Do not use CHECK_1.
65473         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
65474         <bp-checks.h>.
65475         (__fxstat): Do not use CHECK_1.
65476         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
65477         <bp-checks.h>.
65478         (__fxstatat): Do not use CHECK_1.
65479         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
65480         <bp-checks.h>.
65481         (__getresgid): Do not use CHECK_1.
65482         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
65483         <bp-checks.h>.
65484         (__getresuid): Do not use CHECK_1.
65485         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
65486         <bp-checks.h>.
65487         (__lxstat): Do not use CHECK_1.
65488         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
65489         <bp-checks.h>.
65490         (__old_msgctl): Do not use CHECK_1.
65491         (__new_msgctl): Likewise.
65492         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
65493         <bp-checks.h>.
65494         (__new_setrlimit): Do not use CHECK_1.
65495         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
65496         <bp-checks.h>.
65497         (__old_shmctl): Do not use CHECK_1.
65498         (__new_shmctl): Likewise.
65499         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
65500         <bp-checks.h>.
65501         (__xstat): Do not use CHECK_1.
65502         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
65503         (__lxstat): Do not use CHECK_1.
65504         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
65505         <bp-checks.h>.
65506         (___lxstat64): Do not use CHECK_1.
65507         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
65508         (__old_msgctl): Do not use CHECK_1.
65509         (__new_msgctl): Likewise.
65510         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
65511         <bp-checks.h>.
65512         (__gettimeofday): Do not use CHECK_1.
65513         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
65514         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
65515         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
65516         <bp-checks.h>.
65517         (__gettimeofday): Do not use CHECK_1.
65518         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
65519         (__old_shmctl): Do not use CHECK_1_NULL_OK.
65520         (__new_shmctl): Do not use CHECK_1.
65521         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
65522         <bp-checks.h>.
65523         (do_sigtimedwait): Do not use CHECK_1.
65524         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
65525         <bp-checks.h>.
65526         (do_sigwaitinfo): Do not use CHECK_1.
65527         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
65528         <bp-checks.h>.
65529         (msgctl): Do not use CHECK_1.
65530         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
65531         <bp-checks.h>.
65532         (shmctl): Do not use CHECK_1.
65533         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
65534         (ustat): Do not use CHECK_1.
65535         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
65536         <bp-checks.h>.
65537         (__fxstat): Do not use CHECK_1.
65538         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
65539         <bp-checks.h>.
65540         (__fxstatat): Do not use CHECK_1.
65541         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
65542         <bp-checks.h>.
65543         (__lxstat): Do not use CHECK_1.
65544         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
65545         <bp-checks.h>.
65546         (__xstat): Do not use CHECK_1.
65547         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
65548         (__xstat): Do not use CHECK_1.
65549         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
65550         (___xstat64): Do not use CHECK_1.
65552         [BZ #13550]
65553         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
65554         definitions.
65555         (CHECK_BOUNDS_HIGH): Likewise.
65556         * string/strcpy.c: Do not include <bp-checks.h>.
65557         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
65559 2013-02-07  Roland McGrath  <roland@hack.frob.com>
65561         * nscd/nscd-client.h (__nscd_drop_map_ref):
65562         Add __attribute__ ((unused)).
65563         * nis/nss-nisplus.h (niserr2nss): Likewise.
65565         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
65566         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
65568         * csu/libc-tls.c (init_static_tls, init_slotinfo):
65569         Remove inline keyword.
65570         * include/rounding-mode.h (round_away): Likewise.
65571         * libio/wfileops.c (adjust_wide_data): Likewise.
65572         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
65573         (__m128i_strloadu_tolower): Likewise.
65574         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
65575         (__m128i_strloadu_tolower): Likewise.
65576         * time/mktime.c (ydhms_diff): Likewise.
65577         * locale/elem-hash.h (elem_hash): Likewise.
65578         * locale/setlocale.c (setdata): Likewise.
65579         * posix/regex_internal.h (re_string_char_size_at): Likewise.
65580         (re_string_wchar_at): Likewise.
65581         (bitset_not, bitset_merge, bitset_mask): Likewise.
65582         [!(__GNUC__ > 3)] (inline): Remove macro.
65583         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
65584         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
65585         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
65586         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
65587         * string/memcmp.c (memcmp_bytes): Likewise.
65588         * locale/programs/locarchive.c (compute_hashval): Likewise.
65589         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
65590         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
65591         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
65592         * nss/getent.c (print_rpc, print_protocols): Likewise.
65593         (print_passwd, print_group, print_aliases): Likewise.
65594         * nis/nss-nisplus.h (niserr2nss): Likewise.
65595         * nscd/connections.c (restart_p): Likewise.
65596         Change return type to bool.
65598 2013-02-05  Roland McGrath  <roland@hack.frob.com>
65600         * Makeconfig (all-Depend-files): Add existing
65601         $(sorted-subdirs:=/Depend) files.
65602         (all-subdirs): Remove nss.
65603         * sysdeps/unix/inet/Subdirs: Add it here instead.
65604         * hesiod/Depend: New file.
65606         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
65607         instead of calling alloca.
65609         * io/lseek.c (__lseek): Rename to __libc_lseek.
65610         Define __lseek as an alias.
65612         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
65614 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
65616         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
65617         else clause and remove check for non-standard endianness.
65619 2013-02-04  David S. Miller  <davem@davemloft.net>
65621         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65623 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
65625         [BZ #13550]
65626         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
65627         (__ubp_memchr): Remove prototype.
65628         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
65629         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
65630         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
65631         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
65632         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
65633         Remove alias.
65634         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
65635         (__ubp_memchr): Likewise.
65636         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
65637         (__ubp_memchr): Likewise.
65638         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
65639         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
65640         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
65641         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
65642         CHECK_STRING.
65643         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
65644         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
65645         (__getcwd): Do not use CHECK_STRING.
65646         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
65647         <bp-checks.h>.
65648         (__real_chown): Do not use CHECK_STRING.
65649         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
65650         <bp-checks.h>.
65651         (fchownat): Do not use CHECK_STRING.
65652         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
65653         CHECK_STRING.
65654         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
65655         <bp-checks.h>.
65656         (__lchown): Do not use CHECK_STRING.
65657         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
65658         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
65659         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
65660         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
65661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
65662         include <bp-checks.h>.
65663         (truncate64): Do not use CHECK_STRING.
65664         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
65665         <bp-checks.h>.
65666         (__real_chown): Do not use CHECK_STRING.
65667         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
65668         <bp-checks.h>.
65669         (__lchown): Do not use CHECK_STRING.
65670         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65671         <bp-checks.h>.
65672         (__chown): Do not use CHECK_STRING.
65673         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
65674         <bp-checks.h>.
65675         (truncate64): Do not use CHECK_STRING.
65676         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
65677         Likewise.
65678         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
65679         (__xmknod): Do not use CHECK_STRING.
65680         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
65681         <bp-checks.h>.
65682         (__xmknodat): Do not use CHECK_STRING.
65683         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
65684         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
65686 2013-02-04  Andreas Schwab  <schwab@suse.de>
65688         [BZ #14142]
65689         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
65690         * include/netdb.h: Likewise for h_errno.
65691         * elf/tst-stackguard1.c: Include <tls.h>.
65693 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
65695         * elf/link.h (struct link_map): Extend the l_addr comment.
65696         * include/link.h (struct link_map): Likewise.
65698 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
65700         [BZ #13550]
65701         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
65702         (BOUNDED_1): Remove macro.
65703         * debug/backtrace.c: Don't include <bp-checks.h>.
65704         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
65705         (__backtrace): Likewise.
65706         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
65707         <bp-checks.h>.
65708         (__backtrace): Don't use BOUNDED_1.
65709         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
65710         <bp-checks.h>.
65711         (__backtrace): Don't use BOUNDED_1.
65712         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
65713         (__backtrace): Don't use BOUNDED_1.
65714         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
65715         (shmat): Don't use BOUNDED_N.
65717 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
65719         [BZ #13550]
65720         * sysdeps/generic/bp-start.h: Remove file.
65721         * csu/libc-start.c: Don't include <bp-start.h>.
65722         (LIBC_START_MAIN): Set up __environ directly instead of using
65723         INIT_ARGV_and_ENVIRON.
65724         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
65725         <bp-start.h>.
65727         [BZ #13550]
65728         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
65729         definitions.
65730         (CHECK_FCNTL): Likewise.
65731         (CHECK_N_PAGES): Likewise.
65733         [BZ #13550]
65734         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
65735         definitions.
65736         (CHECK_SIGSET_NULL_OK): Likewise.
65737         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
65738         <bp-checks.h>.
65739         (sigpending): Don't use CHECK_SIGSET.
65740         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
65741         <bp-checks.h>.
65742         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65743         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
65744         <bp-checks.h>.
65745         (do_sigsuspend): Don't use CHECK_SIGSET.
65746         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
65747         use CHECK_SIGSET.
65748         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
65749         (do_sigwait): Don't use CHECK_SIGSET.
65750         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
65751         use CHECK_SIGSET.
65752         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
65753         include <bp-checks.h>.
65754         (sigpending): Don't use CHECK_SIGSET.
65755         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
65756         include <bp-checks.h>.
65757         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65758         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
65759         <bp-checks.h>.
65760         (sigpending): Don't use CHECK_SIGSET.
65761         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
65762         <bp-checks.h>.
65763         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65765         [BZ #13550]
65766         * sysdeps/generic/bp-semctl.h: Remove file.
65767         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
65768         <bp-checks.h> and <bp-semctl.h>.
65769         (__old_semctl): Don't use CHECK_SEMCTL.
65770         (__new_semctl): Likewise.
65771         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
65772         and <bp-semctl.h>.
65773         (__old_semctl): Don't use CHECK_SEMCTL.
65774         (__new_semctl): Likewise.
65775         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
65776         <bp-checks.h> and <bp-semctl.h>.
65777         (__old_semctl): Don't use CHECK_SEMCTL.
65778         (__new_semctl): Likewise.
65779         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
65780         <bp-checks.h> and <bp-semctl.h>.
65781         (semctl): Don't use CHECK_SEMCTL.
65783         [BZ #13550]
65784         * Makerules (elide-bp-thunks): Remove variable.
65785         (elide-routines.oS): Don't use $(elide-bp-thunks).
65786         (elide-routines.os): Likewise.
65787         (elide-routines.o): Likewise.
65788         (elide-routines.op): Likewise.
65789         (elide-routines.og): Likewise.
65790         (objects): Don't use $(bp-thunks).
65791         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
65792         include.
65793         (common-generated): Do not add s-proto-bp.d.
65794         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
65795         (int): Likewise.
65796         (typ): Likewise.
65797         Do not generate makefile rules for bounded-pointer thunks.
65798         * sysdeps/generic/bp-thunks.h: Remove file.
65799         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
65800         * sysdeps/unix/s-proto-bp.S: Likewise.
65802         [BZ #15062]
65803         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
65804         parts of result separately when argument is not close to line from
65805         -i to i and one part of argument is small.
65806         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65807         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65808         * math/libm-test.inc (cacos_test): Add more tests.
65809         (casin_test): Likewise.
65810         (casinh_test): Likewise.
65811         * sysdeps/i386/fpu/libm-test-ulps: Update.
65812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65814 2013-01-31  David S. Miller  <davem@davemloft.net>
65816         * po/de.po: Update from translation team.
65818 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
65820         * time/tzfile.c: Include stdint.h for SIZE_MAX.
65822 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
65824         * configure.in (_AC_PROG_CC_C89): New definition.
65825         * configure: Regenerate.
65827         * configure.in (AC_PROG_CPP): New definition.
65828         * configure: Regenerate.
65830 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
65832         * debug/tst-backtrace.h: New file.
65833         * debug/tst-backtrace2.c: Include tst-backtrace.h.
65834         (ret): Remove variable.
65835         (x): Likewise.
65836         (FAIL): Remove macro.
65837         (NO_INLINE): Likewise.
65838         (fn1): Use match function instead of strstr.
65839         * debug/tst-backtrace3.c: Include tst-backtrace.h.
65840         (ret): Remove variable.
65841         (x): Likewise.
65842         (FAIL): Remove macro.
65843         (NO_INLINE): Likewise.
65844         (fn): Use match function instead of strstr.
65845         * debug/tst-backtrace4.c: Include tst-backtrace.h.
65846         (ret): Remove variable.
65847         (x): Likewise.
65848         (FAIL): Remove macro.
65849         (NO_INLINE): Likewise.
65850         (handle_signal): Use match function instead of strstr.
65851         * debug/tst-backtrace5.c: Include tst-backtrace.h.
65852         (ret): Remove variable.
65853         (x): Likewise.
65854         (FAIL): Remove macro.
65855         (NO_INLINE): Likewise.
65856         (handle_signal): Use match function instead of strstr.
65858 2013-01-23  Roland McGrath  <roland@hack.frob.com>
65860         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
65862 2013-01-23  David S. Miller  <davem@davemloft.net>
65864         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
65865         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
65866         argument of CAS if possible.
65867         * sysdeps/sparc/sparc64/bits/atomic.h
65868         (__arch_compare_and_exchange_val_32_acq): Likewise.
65869         (__arch_compare_and_exchange_val_64_acq): Likewise.
65871 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
65873         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
65874         * sysdeps/posix/ulimit.c: ... this.
65875         Include <limits.h>.
65876         * sysdeps/unix/bsd/ulimit.c: Remove file.
65878 2013-01-23  Adam Conrad  <adconrad@0c3.net>
65880         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
65881         (LDFLAGS-tst-array5): Likewise.
65883 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
65885         [BZ #15036]
65886         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
65887         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
65888         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
65889         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
65891 2013-01-21  David S. Miller  <davem@davemloft.net>
65893         * sysdeps/sparc/backtrace.c: New file.
65894         * sysdeps/sparc/sparc32/backtrace.h: New file.
65895         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
65896         * sysdeps/sparc/sparc64/backtrace.h: New file.
65897         * sysdeps/sparc/sparc64/backtrace.c: Delete.
65898         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
65899         -funwind-tables.
65901 2013-01-21  Andreas Schwab  <schwab@suse.de>
65903         [BZ #15020]
65904         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
65905         closed its stdout.
65907 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
65909         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
65910         "mpa2.h".
65911         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65913 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
65914             Mark Mitchell  <mark@codesourcery.com>
65915             Tom de Vries  <tom@codesourcery.com>
65916             Paul Pluzhnikov  <ppluzhnikov@google.com>
65918         * debug/tst-backtrace2.c: New file.
65919         * debug/tst-backtrace3.c: Likewise.
65920         * debug/tst-backtrace4.c: Likewise.
65921         * debug/tst-backtrace5.c: Likewise.
65922         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
65923         (CFLAGS-tst-backtrace3.c): Likewise.
65924         (CFLAGS-tst-backtrace4.c): Likewise.
65925         (CFLAGS-tst-backtrace5.c): Likewise.
65926         (LDFLAGS-tst-backtrace2): Likewise.
65927         (LDFLAGS-tst-backtrace3): Likewise.
65928         (LDFLAGS-tst-backtrace4): Likewise.
65929         (LDFLAGS-tst-backtrace5): Likewise.
65930         (tests): Add new tests tst-backtrace2, tst-backtrace3,
65931         tst-backtrace4 and tst-backtrace5.
65933 2013-01-18  Anton Blanchard  <anton@samba.org>
65934             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65936         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
65937         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
65938         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
65939         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
65940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
65941         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
65942         "+r" and remove output regs list as redundant.  Add explicit inline
65943         asm to specify register of return val to work around compiler codegen
65944         bug.  Remove (int) cast on return value.  Add return type parameter to
65945         use in macro so that this macro does not truncate return value for
65946         64-bit values.
65947         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
65948         pass to INTERNAL_VSYSCALL_NCS.
65949         (INLINE_VSYSCALL): Add 'long int' as return type to
65950         INTERNAL_VSYSCALL_NCS macro invocation.
65951         (INTERNAL_VSYSCALL): Add 'long int' as return type to
65952         INTERNAL_VSYSCALL_NCS macro invocation.
65953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65955 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
65957         [BZ #14496]
65958         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
65959         Fix application of SIMD FP exception mask.
65961         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
65962         mp_no from a power of two.
65963         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
65964         __mpexp_twomm1.  Use __pow_mp.
65966         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
65967         multiplication.
65969 2013-01-17  David S. Miller  <davem@davemloft.net>
65971         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65973 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
65975         [BZ #15023]
65976         * include/complex.h: Condition contents on [!_COMPLEX_H].
65977         (__kernel_casinhf): New prototype.
65978         (__kernel_casinh): Likewise.
65979         (__kernel_casinhl): Likewise.
65980         * math/Makefile (libm_calls): Add k_casinh.
65981         * math/k_casinh.c: New file.
65982         * math/k_casinhf.c: Likewise.
65983         * math/k_casinhl.c: Likewise.
65984         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
65985         finite nonzero arguments.
65986         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
65987         finite nonzero arguments.
65988         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
65989         finite nonzero arguments.
65990         * math/s_casinh.c: Do not include <float.h>.
65991         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
65992         * math/s_casinhf.c: Do not include <float.h>.
65993         (__casinhf): Move code for finite nonzero arguments to
65994         k_casinhf.c.
65995         * math/s_casinhl.c: Do not include <float.h>.
65996         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
65997         redefine.
65998         (__casinhl): Move code for finite nonzero arguments to
65999         k_casinhl.c.
66000         * math/libm-test.inc (cacos_test): Add more tests.
66001         * sysdeps/i386/fpu/libm-test-ulps: Update.
66002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66004 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
66006         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
66007         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
66008         [!HAVE_MREMAP]: Remove [defined linux] case.
66009         * malloc/arena.c: Do not include <malloc-sysdep.h>.
66011 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
66013         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
66015 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
66017         * elf/elf.h (R_386_SIZE32): New relocation.
66018         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
66019         R_386_SIZE32.
66020         (elf_machine_rela): Likewise.
66021         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66022         R_X86_64_SIZE64 and R_X86_64_SIZE32.
66024 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
66026         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
66027         (FP_FAST_FMA): Do not define.
66028         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
66029         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
66030         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
66031         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
66032         !_SOFT_FLOAT]: Likewise.
66033         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
66034         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
66035         value.
66036         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
66037         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
66038         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
66039         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
66040         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
66041         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
66042         file.
66044 2013-01-16  Andreas Schwab  <schwab@suse.de>
66046         [BZ #14327]
66047         * include/stdlib.h (__mktemp): Add declaration.
66048         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
66049         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
66051 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66053         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
66054         definitions.
66055         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
66056         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
66057         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
66058         definitions here.
66059         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
66060         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
66061         definitions.
66062         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
66063         and ONE.
66064         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
66065         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
66066         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
66067         definitions.
66068         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
66069         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
66070         definitions.
66071         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
66073         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
66075 2013-01-15  David S. Miller  <davem@davemloft.net>
66077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66078         trunc{,f} to libm-sysdep_routes.
66079         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
66081         file.
66082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
66083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
66084         file.
66085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
66086         file.
66087         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
66088         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
66089         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
66090         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
66091         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
66092         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
66093         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
66094         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
66096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66097         nearbyint{,f} to libm-sysdep_routes.
66098         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
66100         New file.
66101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
66102         file.
66103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
66104         New file.
66105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
66106         file.
66107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
66108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
66109         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
66110         file.
66111         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
66112         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
66113         file.
66114         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
66115         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
66116         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
66118         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66119         libc_feholdexcept and libc_fesetenv.
66121 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
66123         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
66125 2013-01-14  David S. Miller  <davem@davemloft.net>
66127         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
66128         (SPARC_ASM_VIS2_IFUNC): Likewise.
66129         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
66130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
66131         use of 'siam' instruction.
66132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
66133         Likewise.
66134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
66135         Likewise.
66136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
66137         Likewise.
66138         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
66139         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
66140         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
66141         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
66142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
66143         file.
66144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
66145         file.
66146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
66147         file.
66148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
66149         file.
66150         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
66151         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
66152         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
66153         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
66154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
66155         new VIS2 routines.
66156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66159         Likewise.
66160         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
66161         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
66162         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
66163         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
66164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
66165         routines to libm-sysdep_routines.
66166         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66169         fdim/fdimf to libm-sysdep_routines.
66170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
66171         file.
66172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
66173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
66174         file.
66175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
66176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
66177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
66178         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
66179         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
66180         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
66181         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
66183 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
66185         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
66186         to optimize copies.
66188         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
66189         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66190         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66192         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
66193         local variable MPTWO.
66194         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
66195         Likewise.
66197 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66199         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
66200         GLOB_NOESCAPE.
66202 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66204         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
66206 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66208         * manual/pattern.texi (glob_t): Document gl_flags.
66209         (glob64_t): Likewise.
66211 2013-01-11  David S. Miller  <davem@davemloft.net>
66213         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
66214         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
66215         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
66216         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
66217         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
66218         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
66219         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
66220         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
66221         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
66222         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
66223         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
66224         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
66225         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
66227         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
66228         sparc V9 rather than using V8 code.
66229         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66230         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66232         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
66233         Move to...
66234         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
66235         Here.
66237 2013-01-11  Roland McGrath  <roland@hack.frob.com>
66239         [BZ #14941]
66240         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
66241         not in the main loop.
66242         * configure: Regenerated.
66244 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
66246         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
66247         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
66248         to just #else.
66249         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
66250         [!__GLIBC_HAVE_LONG_LONG] case.
66251         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
66252         condition to just #else.
66253         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
66254         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
66255         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
66256         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
66257         unconditional.
66258         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
66259         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
66260         #elif condition to just #else.
66261         * sysdeps/unix/sysv/linux/sys/sysmacros.h
66262         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
66263         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
66264         #elif condition to just #else.
66266 2013-01-11  Steve Ellcey  <sellcey@mips.com>
66268         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
66269         (EF_MIPS_ARCH_64): Fix value.
66270         (EF_MIPS_ARCH_32R2): New.
66271         (EF_MIPS_ARCH_64R2): New.
66273 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
66275         * Makeconfig (+link-pie-before-libc): New.
66276         (+link-pie-after-libc): Likewise.
66277         (+link-pie-tests): Likewise.
66278         (+link-pie): Rewritten.
66279         (link-before-libc): Remove $(config-LDFLAGS).
66280         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
66281         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
66282         (config-LDFLAGS): Renamed to ...
66283         (rtld-LDFLAGS): This.
66284         (rtld-tests-LDFLAGS): New macro.
66285         (link-libc-rpath-link): Likewise.
66286         (link-libc-tests-rpath-link): Likewise.
66287         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
66288         (link-libc): Prepand $(link-libc-rpath-link).
66289         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
66290         (test-program-prefix): New macro.
66291         (test-via-rtld-prefix): Likewise.
66292         (test-program-cmd): Likewise.
66293         (host-test-program-cmd): Likewise.
66294         * Makefile ($(common-objpfx)testrun.sh): Replace
66295         $(run-program-prefix) with $(test-program-prefix).
66296         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
66297         $(rtld-LDFLAGS).
66298         ($(common-objpfx)shlib.lds): Likewise.
66299         (build-module-helper): Likewise.
66300         ($(common-objpfx)format.lds): Likewise.
66301         * Rules (binaries-pie-tests): New.
66302         (binaries-pie-notests): Likewise.
66303         (binaries-pie): Rewritten.
66304         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
66305         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
66306         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
66307         (make-test-out): Replace $(host-built-program-cmd) with
66308         $(host-test-program-cmd).
66309         * config.make.in (build-hardcoded-path-in-tests): New variable.
66310         * configure.in (--enable-hardcoded-path-in-tests): New configure
66311         option.
66312         (hardcoded_path_in_tests): New AC_SUBST.
66313         * configure: Regenerated.
66314         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
66315         $(built-program-cmd) with $(test-program-cmd).
66316         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
66317         (test_program_cmd): This.
66318         * elf/Makefile ($(objpfx)order.out): Run test with
66319         $(test-program-prefix).
66320         ($(objpfx)order2.out): Likewise.
66321         ($(objpfx)tst-initorder.out): Likewise.
66322         ($(objpfx)tst-initorder2.out): Likewise.
66323         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
66324         $(test-program-cmd).
66325         ($(objpfx)tst-array1-static.out): Likewise.
66326         ($(objpfx)tst-array2.out): Likewise.
66327         ($(objpfx)tst-array3.out): Likewise.
66328         ($(objpfx)tst-array4.out): Likewise.
66329         ($(objpfx)tst-array5.out): Likewise.
66330         ($(objpfx)tst-array5-static.out): Likewise.
66331         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
66332         $(test-program-cmd).
66333         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
66334         $(run-program-prefix) with $(test-program-prefix).
66335         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
66336         (test_program_prefix): This.
66337         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
66338         $(run-program-prefix) with $(test-program-prefix).
66339         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
66340         (test_program_prefix): This.
66341         * iconvdata/tst-tables.sh: Likewise.
66342         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
66343         $(run-program-prefix) with $(test-program-prefix).
66344         ($(objpfx)tst-translit.out): Likewise.
66345         ($(objpfx)tst-gettext2.out): Likewise.
66346         ($(objpfx)tst-gettext4.out): Likewise.
66347         ($(objpfx)tst-gettext6.out): Likewise.
66348         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
66349         (test_program_prefix): This.
66350         * intl/tst-gettext2.sh: Likewise.
66351         * intl/tst-gettext4.sh  Likewise.
66352         * intl/tst-gettext6.sh: Likewise.
66353         * intl/tst-translit.sh: Likewise.
66354         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
66355         with $(test-program-cmd).
66356         * libio/Makefile ($(objpfx)test-freopen.out): Replace
66357         $(run-program-prefix) with $(test-program-prefix).
66358         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
66359         (test_program_prefix): This.
66360         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
66361         $(run-program-prefix) with $(test-program-prefix).
66362         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
66363         (test_program_prefix): This.
66364         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
66365         * posix/Makefile ($(objpfx)globtest.out): Replace
66366         $(run-via-rtld-prefix) and $(test-wrapper) with
66367         $(test-program-prefix) and $(test-via-rtld-prefix).
66368         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
66369         $(test-program-prefix).
66370         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
66371         $(host-test-program-cmd).
66372         (tst-spawn-ARGS): Likewise.
66373         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
66374         $(test-program-prefix).
66375         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
66376         (test_via_rtld_prefix): This.
66377         (test_wrapper): Renamed to ...
66378         (test_program_prefix): This.
66379         (run_program_prefix): Replaced by test_program_prefix.
66380         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
66381         (test_program_prefix): This.
66382         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
66383         with $(host-test-program-cmd).
66384         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
66385         $(run-program-prefix) with $(test-program-prefix).
66386         ($(objpfx)tst-printf.out): Likewise.
66387         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
66388         $(test-program-cmd).
66389         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
66390         (test_program_prefix): This.
66391         * stdio-common/tst-unbputc.sh: Likewise.
66392         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
66393         $(run-program-prefix) with $(test-program-prefix).
66394         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
66395         (test_program_prefix): This.
66396         * string/Makefile ($(objpfx)tst-svc.out):  Replace
66397         $(built-program-cmd) with $(test-program-cmd).
66399 2013-01-11  Andreas Jaeger  <aj@suse.de>
66401         [BZ #15003]
66402         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
66403         value. Sync with Linux 3.7.
66405 2013-01-10  David S. Miller  <davem@davemloft.net>
66407         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
66408         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66409         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66411 2013-01-10  Roland McGrath  <roland@hack.frob.com>
66413         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
66414         never set.
66415         * configure: Regenerated.
66417 2013-01-10  David S. Miller  <davem@davemloft.net>
66419         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
66420         sparc V9 rather than using V8 code.
66421         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66422         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66424 2013-01-10  Roland McGrath  <roland@hack.frob.com>
66426         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
66427         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
66428         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
66429         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
66430         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
66431         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
66432         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
66433         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
66434         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
66435         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
66436         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
66437         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
66438         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
66439         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
66440         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
66441         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
66442         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
66443         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
66444         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
66445         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
66446         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
66447         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
66448         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
66449         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
66450         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
66451         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
66452         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
66454 2013-01-10  David S. Miller  <davem@davemloft.net>
66456         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66458 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
66460         * posix/Makefile (tests-static): New variable.
66461         (tests): Add $(tests-static).
66462         (tst-exec-static-ARGS): New variable.
66463         (tst-spawn-static-ARGS): Likewise.
66464         * posix/tst-exec-static.c: New file.
66465         * posix/tst-spawn-static.c: Likewise.
66466         * posix/tst-exec.c: Support run directly.
66467         * posix/tst-spawn.c: Likewise.
66469 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
66471         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
66472         long.
66473         * math/bits/mathcalls.h (llrint): Likewise.
66474         (llround): Likewise.
66475         * stdlib/stdlib.h (struct drand48_data): Likewise.
66476         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
66477         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
66478         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
66479         Likewise.
66480         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
66481         Likewise.
66482         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
66483         (elf_greg_t): Likewise.
66484         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
66485         (__jmp_buf): Likewise.
66486         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
66487         definitions.
66488         (llrint): Likewise, for all definitions.
66489         (llrintl): Likewise.
66491         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
66492         Remove [__GNUC__] condition.
66493         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
66494         condition to just [__USE_ISOC99].
66495         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
66497 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
66499         [BZ #14200]
66500         * sysdeps/unix/sysv/linux/x86/bits/environments.h
66501         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
66502         defined.
66503         (_POSIX_V6_ILP32_OFF32): Likewise.
66504         (_XBS5_ILP32_OFF32): Likewise.
66505         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
66506         (__ILP32_OFFBIG_LDFLAGS): Likewise.
66508 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66510         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
66512         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
66513         doubles __mpexp_twomm1.  Adjust usage.
66514         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
66515         Remove.
66517 2013-01-10  Andreas Schwab  <schwab@suse.de>
66519         [BZ #14964]
66520         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
66521         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
66523 2013-01-09  David S. Miller  <davem@davemloft.net>
66525         [BZ #15003]
66526         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
66527         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
66528         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
66529         (TCP_FASTOPEN): Define.
66530         (tcp_repair_opt): New structure.
66531         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
66532         enum values.
66533         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
66534         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
66535         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
66536         (tcp_cookie_transactions): New structure.
66538 2013-01-09  Anton Blanchard  <anton@samba.org>
66540         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
66541         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
66542         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
66543         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
66545 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
66547         * include/features.h (__USE_ANSI): Remove.
66549 2013-01-09  Roland McGrath  <roland@hack.frob.com>
66551         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
66553         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
66555 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
66557         * sysdeps/s390/fpu/libm-test-ulps: Update.
66559         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66561         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
66562         (__acr): Likewise.
66563         (__cpy): Likewise.
66564         (norm): Likewise.
66565         (denorm): Likewise.
66566         (__mp_dbl): Likewise.
66567         (__dbl_mp): Likewise.
66568         (add_magnitudes): Likewise.
66569         (sub_magnitudes): Likewise.
66570         (__add): Likewise.
66571         (__sub): Likewise.
66572         (__mul): Likewise.
66573         (__inv): Likewise.
66574         (__dvd): Likewise.
66575         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
66576         (__acr): Likewise.
66577         (__cpy): Likewise.
66578         (norm): Likewise.
66579         (denorm): Likewise.
66580         (__mp_dbl): Likewise.
66581         (__dbl_mp): Likewise.
66582         (add_magnitudes): Likewise.
66583         (sub_magnitudes): Likewise.
66584         (__add): Likewise.
66585         (__sub): Likewise.
66586         (__mul): Likewise.
66587         (__inv): Likewise.
66588         (__dvd): Likewise.
66589         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
66590         (__acr): Likewise.
66591         (__cpy): Likewise.
66592         (norm): Likewise.
66593         (denorm): Likewise.
66594         (__mp_dbl): Likewise.
66595         (__dbl_mp): Likewise.
66596         (add_magnitudes): Likewise.
66597         (sub_magnitudes): Likewise.
66598         (__add): Likewise.
66599         (__sub): Likewise.
66600         (__mul): Likewise.
66601         (__inv): Likewise.
66602         (__dvd): Likewise.
66604 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
66606         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
66607         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
66608         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
66609         2 && __USE_EXTERN_INLINES]: Likewise.
66611 2013-01-08  Andreas Jaeger  <aj@suse.de>
66613         [BZ #14985]
66614         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
66615         Remove.
66616         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
66617         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
66619 2013-01-07  Anton Blanchard  <anton@samba.org>
66621         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
66622         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
66623         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
66624         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
66625         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
66626         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
66627         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
66628         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
66629         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66630         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66631         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
66632         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
66633         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
66634         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
66635         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
66636         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
66637         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
66638         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
66639         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
66640         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
66641         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
66642         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
66643         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
66644         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
66645         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
66646         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
66647         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
66648         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
66649         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
66650         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
66651         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
66652         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66653         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66654         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
66655         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
66656         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
66657         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
66658         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
66659         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
66660         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
66661         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
66662         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66663         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
66665 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
66667         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
66668         (__MALLOC_PMT): Likewise.
66669         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
66670         [__GNUC__], only on [_LIBC].
66671         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
66672         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
66673         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
66674         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
66675         forward declaration.
66676         (realloc_hook_ini): Likewise.
66677         (memalign_hook_ini): Likewise.
66678         (__libc_memalign): Do not use __MALLOC_PMT in variable
66679         declaration.
66680         (__libc_valloc): Likewise.
66681         (__libc_pvalloc): Likewise.
66682         (__libc_calloc): Likewise.
66683         (__posix_memalign): Likewise.
66685         [BZ #14996]
66686         * math/s_casinh.c: Include <float.h>.
66687         (__casinh): Do not do computation with squaring and square root
66688         for large arguments.
66689         * math/s_casinhf.c: Include <float.h>.
66690         (__casinhf): Do not do computation with squaring and square root
66691         for large arguments.
66692         * math/s_casinhl.c: Include <float.h>.
66693         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
66694         (__casinhl): Do not do computation with squaring and square root
66695         for large arguments.
66696         * math/libm-test.inc (casin_test): Add more tests.
66697         (casinh_test): Likewise.
66698         * sysdeps/i386/fpu/libm-test-ulps: Update.
66699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66701 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
66703         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
66704         (__x86_64_raw_data_cache_size): Likewise.
66705         (__x86_64_data_cache_size_half): Likewise.
66706         (__x86_64_raw_data_cache_size_half): Likewise.
66707         (__x86_64_shared_cache_size): Likewise.
66708         (__x86_64_raw_shared_cache_size): Likewise.
66709         (__x86_64_shared_cache_size_half): Likewise.
66710         (__x86_64_raw_shared_cache_size_half): Likewise.
66711         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
66712         to ...
66713         (__x86_data_cache_size): This.
66714         (__x86_64_raw_data_cache_size): Renamed to ...
66715         (__x86_raw_data_cache_size): This.
66716         (__x86_64_data_cache_size_half): Renamed to ...
66717         (__x86_data_cache_size_half): This.
66718         (__x86_64_raw_data_cache_size_half): Renamed to ...
66719         (__x86_raw_data_cache_size_half): This.
66720         (__x86_64_shared_cache_size): Renamed to ...
66721         (__x86_shared_cache_size): This.
66722         (__x86_64_raw_shared_cache_size): Renamed to ...
66723         (__x86_raw_shared_cache_size): This.
66724         (__x86_64_shared_cache_size_half): Renamed to ...
66725         (__x86_shared_cache_size_half): This.
66726         (__x86_64_raw_shared_cache_size_half): Renamed to ...
66727         (__x86_raw_shared_cache_size_half): This.
66728         * sysdeps/x86_64/memcpy.S: Updated.
66729         * sysdeps/x86_64/memset.S: Likewise.
66730         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
66731         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
66732         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
66734 2013-01-04  David S. Miller  <davem@davemloft.net>
66736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66738 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
66740         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
66741         1 to avoid redefinition warning.
66742         (__USE_GNU): Don't define.
66743         (init_signaling_nan): Protoize.
66745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66747 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66749         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
66750         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
66751         (__cpymn): Likewise.
66752         (norm): Remove commented code.
66753         (denorm): Likewise.
66754         (__mp_dbl): Likewise.
66755         (__inv): Likewise.
66756         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
66757         (__cpymn): Likewise.
66758         (norm): Remove commented code.
66759         (denorm): Likewise.
66760         (__mp_dbl): Likewise.
66761         (__inv): Likewise.
66763         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
66764         mp_no value for 1.0 and 2.0.
66765         (norm): Use RADIXI instead of radixi.d.
66766         (denorm): Likewise.
66767         (__mul): Use 0.0 instead of zero.d.
66768         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
66769         mp_no value for 1.0 and 2.0.
66770         (norm): Use RADIXI instead of radixi.d.
66771         (denorm): Likewise.
66772         (__mul): Use 0.0 instead of zero.d.
66774 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
66776         [BZ #14994]
66777         * math/s_casinh.c (__casinh): Reduce finite argument to first
66778         quadrant then set signs of results at the end.
66779         * math/s_casinhf.c (__casinhf): Likewise.
66780         * math/s_casinhl.c (__casinhl): Likewise.
66781         * math/libm-test.inc (casin_test): Add more tests.
66782         (casinh_test): Likewise.
66783         * sysdeps/i386/fpu/libm-test-ulps: Update.
66784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66786 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66788         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
66790         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
66792         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
66793         declarations.
66794         (denorm): Likewise.
66795         (__mp_dbl): Likewise.
66796         (__inv): Likewise.
66798         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
66799         and adjust the header comment.
66801         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
66802         variable name from declaration.
66804 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
66806         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66807         Initialize COMMON_CPUID_INDEX_7 element.
66808         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
66809         (CPUID_RTM): Likewise.
66810         (HAS_RTM): Likewise.
66811         (COMMON_CPUID_INDEX_7): New enum.
66813 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
66815         [BZ #14981]
66816         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
66817         size is zero, record memory as freed.
66819 2013-01-03  Andreas Jaeger  <aj@suse.de>
66821         * po/ia.po: Add new Interlingua translation.
66823 2012-01-03  Allan McRae  <allan@archlinux.org>
66825         * locale/programs/localedef.c: Fix description of '--posix' flag.
66827 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
66829         * NEWS: Update dates in second copyright notice.
66830         * README: Update copyright dates in example.
66831         * manual/libc.texinfo: Update copyright dates.
66832         * scripts/test-installation.pl: Update copyright date in --version
66833         output.
66835         * hurd/ctty-input.c: Fix copyright notice formatting.
66836         * hurd/ctty-output.c: Likewise.
66837         * hurd/dtable.c: Likewise.
66838         * hurd/hurd-raise.c: Likewise.
66839         * hurd/hurdprio.c: Likewise.
66840         * hurd/msgportdemux.c: Likewise.
66841         * misc/sys/file.h: Likewise.
66842         * misc/sys/ioctl.h: Likewise.
66843         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
66844         * sysdeps/mach/hurd/chdir.c: Likewise.
66845         * sysdeps/mach/hurd/fchdir.c: Likewise.
66846         * sysdeps/mach/hurd/rename.c: Likewise.
66847         * sysdeps/mach/hurd/rmdir.c: Likewise.
66848         * sysdeps/mach/hurd/seekdir.c: Likewise.
66849         * sysdeps/mach/hurd/setsid.c: Likewise.
66850         * sysdeps/posix/wait3.c: Likewise.
66852         * All files with FSF copyright notices: Update copyright dates
66853         using scripts/update-copyrights.
66854         * intl/plural.c: Regenerated.
66855         * locale/programs/charmap-kw.h: Likewise.
66856         * locale/programs/locfile-kw.h: Likewise.
66858 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
66860         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
66861         four values.
66863         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
66864         calculation loop and add branch prediction.
66866         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
66867         check access beyond bounds of m1np.
66869         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
66870         MPTWO.
66871         (__inv): Remove local variable MPTWO to use the global
66872         constant.
66873         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
66874         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
66875         variable MPTWO.
66876         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
66877         MP3HALFS static const.
66879 2013-01-01  David S. Miller  <davem@davemloft.net>
66881         * po/ca.po: Update from translation team.
66883 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
66885         * scripts/update-copyrights: New file.
66886         * Makeconfig: Reformat copyright notice.
66887         * ctype/ctype.h: Likewise.
66888         * debug/swprintf_chk.c: Likewise.
66889         * elf/dl-cache.c: Likewise.
66890         * elf/dl-debug.c: Likewise.
66891         * elf/dl-object.c: Likewise.
66892         * grp/initgroups.c: Likewise.
66893         * hurd/Makefile: Likewise.
66894         * hurd/hurd/signal.h: Likewise.
66895         * hurd/hurdfault.c: Likewise.
66896         * hurd/hurdioctl.c: Likewise.
66897         * hurd/hurdlookup.c: Likewise.
66898         * hurd/intr-msg.c: Likewise.
66899         * iconv/gconv_open.c: Likewise.
66900         * libio/swprintf.c: Likewise.
66901         * locale/lc-ctype.c: Likewise.
66902         * locale/nl_langinfo.c: Likewise.
66903         * mach/Machrules: Likewise.
66904         * mach/Makefile: Likewise.
66905         * malloc/obstack.h: Likewise.
66906         * manual/Makefile: Likewise.
66907         * manual/tsort.awk: Likewise.
66908         * misc/bits/stab.def: Likewise.
66909         * nis/nis_print_group_entry.c: Likewise.
66910         * nis/nis_table.c: Likewise.
66911         * nis/nss_compat/compat-pwd.c: Likewise.
66912         * nis/nss_compat/compat-spwd.c: Likewise.
66913         * po/Makefile: Likewise.
66914         * posix/fnmatch.c: Likewise.
66915         * posix/regex.h: Likewise.
66916         * resolv/Makefile: Likewise.
66917         * resolv/nss_dns/dns-network.c: Likewise.
66918         * resolv/res_hconf.c: Likewise.
66919         * scripts/gen-sorted.awk: Likewise.
66920         * soft-fp/soft-fp.h: Likewise.
66921         * stdio-common/printf.h: Likewise.
66922         * stdlib/monetary.h: Likewise.
66923         * stdlib/random.c: Likewise.
66924         * stdlib/random_r.c: Likewise.
66925         * sysdeps/generic/Makefile: Likewise.
66926         * sysdeps/gnu/Makefile: Likewise.
66927         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66928         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66929         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66930         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66931         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66932         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66933         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66934         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66935         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66936         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66937         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66938         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66939         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66940         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66941         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
66942         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66943         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66944         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66945         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66946         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66947         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66948         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66949         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66950         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
66951         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
66952         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
66953         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
66954         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
66955         * sysdeps/mach/hurd/errnos.awk: Likewise.
66956         * sysdeps/mach/hurd/fork.c: Likewise.
66957         * sysdeps/mach/hurd/getcwd.c: Likewise.
66958         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
66959         * sysdeps/mach/hurd/mmap.c: Likewise.
66960         * sysdeps/mach/hurd/utimes.c: Likewise.
66961         * sysdeps/mach/hurd/xmknod.c: Likewise.
66962         * sysdeps/posix/profil.c: Likewise.
66963         * sysdeps/posix/readdir_r.c: Likewise.
66964         * sysdeps/powerpc/bits/mathdef.h: Likewise.
66965         * sysdeps/powerpc/bits/setjmp.h: Likewise.
66966         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
66967         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
66968         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66969         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
66970         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66971         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66972         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66973         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
66974         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66975         * sysdeps/pthread/lio_listio.c: Likewise.
66976         * sysdeps/sparc/dl-procinfo.h: Likewise.
66977         * sysdeps/unix/i386/sysdep.S: Likewise.
66978         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
66979         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
66980         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
66981         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
66982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66983         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
66984         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
66985         * sysdeps/unix/sysv/linux/speed.c: Likewise.
66986         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
66987         * sysdeps/wordsize-32/divdi3.c: Likewise.
66988         * time/sys/time.h: Likewise.
66989         * wcsmbs/Makefile: Likewise.
66991 2013-01-01  David S. Miller  <davem@davemloft.net>
66993         * po/fr.po: Update from translation team.
66995         * catgets/gencat.c: Update copyright year.
66996         * csu/version.c: Likewise.
66997         * debug/catchsegv.sh: Likewise.
66998         * debug/pcprofiledump.c: Likewise.
66999         * debug/xtrace.sh: Likewise.
67000         * elf/ldconfig.c: Likewise.
67001         * elf/ldd.bash.in: Likewise.
67002         * elf/pldd.c: Likewise.
67003         * elf/sotruss.ksh: Likewise.
67004         * elf/sprof.c: Likewise.
67005         * iconv/iconv_prog.c: Likewise.
67006         * iconv/iconvconfig.c: Likewise.
67007         * locale/programs/locale.c: Likewise.
67008         * locale/programs/localedef.c: Likewise.
67009         * login/programs/pt_chown.c: Likewise.
67010         * malloc/memusage.sh: Likewise.
67011         * malloc/memusagestat.c: Likewise.
67012         * malloc/mtrace.pl: Likewise.
67013         * nscd/nscd.c: Likewise.
67014         * nss/getent.c: Likewise.
67015         * nss/makedb.c: Likewise.
67016         * posix/getconf.c: Likewise.
67018 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
67020         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
67021         numbers.
67023 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
67025         * math/bits/mathcalls.h (modf): Use __nonnull.
67027 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
67029         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
67030         (split): Use macro CN instead of the bare value.
67031         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
67032         could be used.
67033         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
67034         instead of the bare value.
67035         (power1): Likewise.
67037 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67039         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
67040         __ATAN_TWOM.
67041         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67043         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
67044         their values.
67045         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
67046         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67047         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
67048         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
67050 2012-12-28  Andreas Jaeger  <aj@suse.de>
67052         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
67053         values are from Linux 3.7.
67055         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
67056         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
67058 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67060         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
67061         TRUE case.
67063         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
67064         (norm): Likewise.
67065         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
67066         variables with preprocessor constants.
67067         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67068         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
67069         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
67071 2012-12-27  Bruno Haible  <bruno@clisp.org>
67073         [BZ #14317]
67074         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
67075         only if needed.
67077 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67079         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
67080         and use variable directly.
67081         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
67083         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
67084         MPONE.
67085         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
67086         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
67087         variable MPONE.
67088         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67089         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
67090         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
67091         include directive.  Remove local variable MPONE.
67092         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
67093         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
67094         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67096 2012-12-25  David S. Miller  <davem@davemloft.net>
67098         * version.h (RELEASE): Set to "development".
67099         (VERSION): Set to "2.17.90".
67100         * NEWS: Add 2.18 section.
67102 2012-12-21  David S. Miller  <davem@davemloft.net>
67104         * po/hr.po: Update from translation team.
67106 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67108         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
67110 2012-12-19  Steve Ellcey  <sellcey@mips.com>
67112         * NEWS:  Mention new memcpy for MIPS.
67114 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67116         * manual/contrib.texi (Contributors): Spelling correction.
67118 2012-12-15  David S. Miller  <davem@davemloft.net>
67120         * po/ru.po: Update from translation team.
67122 2012-12-13  David S. Miller  <davem@davemloft.net>
67124         * NEWS: Mention IFUNC testsuite enhancements.
67126         * po/pl.po: Update from translation team.
67127         * po/bg.po: Likewise.
67129         * manual/contrib.texi (Contributors): Update entries for Hongjiu
67130         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
67132 2012-12-11  David S. Miller  <davem@davemloft.net>
67134         * po/sv.po: Update from translation team.
67136         * po/vi.po: Update from translation team.
67138         * po/cs.po: Update from translation team.
67140         * po/de.po: Update from translation team.
67141         * po/eo.po: Likewise.
67142         * po/nl.po: Likewise.
67144 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
67146         [BZ #14246]
67147         * manual/argp.texi (Argp Helper Functions): Move node to follow
67148         Argp Parsing State.
67150         [BZ #14872]
67151         * manual/conf.texi (Limits on File System Capacity): Mention if
67152         terminating null is included in the max size.
67154 2012-12-10  Andreas Jaeger  <aj@suse.de>
67156         * po/cs.po: Update from translation team.
67158 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
67160         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
67161         void pointer and cast to uintptr_t.
67162         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
67163         path.
67164         * sysdeps/s390/s390-64/memcpy.S: Likewise.
67165         * sysdeps/s390/s390-64/memset.S: Likewise.
67167 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
67169         [BZ #14833]
67170         * menual/message.texi (Message Translation): Fix typos.
67171         (Helper programs for gettext): Likewise.
67173 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
67175         [BZ #14898]
67176         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
67177         Change to -1.
67179 2012-12-07  David S. Miller  <davem@davemloft.net>
67181         * po/libc.pot: Update.
67183 2012-12-07  Richard Henderson  <rth@redhat.com>
67185         [BZ #10114]
67186         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
67187         normal/normal case to before the switch.
67188         (_FP_DIV): Likewise.
67190 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
67191             Mike Frysinger  <vapier@gentoo.org>
67193         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
67194         check for __NR_fadvise64_64.
67196 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
67198         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
67199         0, not just to plain "0" as a statement.
67200         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
67201         with cw.
67203 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
67205         * NEWS: Use sourceware.org in Bugzilla URL.
67207 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
67209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
67210         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
67212         * stdio-common/tst-put-error.c (do_test): Add newline to the
67213         padded test to ensure flush.
67215 2012-12-05  Jeff Law  <law@redhat.com>
67217         * sunrpc/etc.rpc (fedfs_admin): Add entry.
67219 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
67221         * README: Don't refer to ports add-on as distributed separately.
67222         Mention AArch64 in list of systems supported in the ports add-on.
67224         * LICENSES: Add more non-FSF copyright and license notices.
67226         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
67227         ((unused)).
67229         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
67231         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
67232         10000 as width of padded output.
67234 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
67236         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
67238         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
67239         variable LX with __attribute__ ((unused)).
67240         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
67241         Likewise.
67242         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
67243         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67244         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
67245         with __attribute__ ((unused)).
67247 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
67249         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
67251 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
67253         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
67254         (CFLAGS-nldbl-acos.c): New variable.
67255         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
67256         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
67257         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
67258         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
67259         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
67260         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
67261         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
67262         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
67263         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
67264         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
67265         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
67266         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
67267         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
67268         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
67269         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
67270         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
67271         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
67272         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
67273         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
67274         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
67275         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
67276         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
67277         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
67278         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
67279         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
67280         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
67281         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
67282         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
67283         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
67284         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
67285         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
67286         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
67287         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
67288         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
67289         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
67290         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
67291         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
67292         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
67293         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
67294         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
67295         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
67296         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
67297         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
67298         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
67299         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
67300         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
67301         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
67302         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
67303         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
67304         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
67305         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
67306         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
67307         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
67308         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
67309         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
67310         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
67311         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
67312         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
67313         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
67314         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
67315         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
67316         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
67317         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
67318         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
67319         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
67320         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
67321         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
67322         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
67323         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
67324         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
67325         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
67326         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
67327         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
67328         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
67329         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
67330         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
67331         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
67332         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
67333         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
67334         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
67335         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
67336         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
67337         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
67338         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
67339         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
67340         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
67341         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
67342         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
67343         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
67344         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
67345         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
67346         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
67347         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
67348         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
67349         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
67350         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
67351         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
67353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
67354         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
67356         [BZ #14914]
67357         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
67358         whole low double instead of just low 47 bits when splitting values
67359         into two parts.
67361 2012-12-03  Allan McRae  <allan@archlinux.org>
67363         * manual/stdio.texi (Predefined Printf Handlers): Remove
67364         @hsep and @vsep usage.
67366 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
67368         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
67369         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
67371 2012-12-03  Jeff Law  <law@redhat.com>
67373         * time/sys/time.h (settimeofday): Do not mark TV argument
67374         as __nonnull.
67376 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
67378         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
67379         when currently writing and seek to current position when not.
67380         * libio/Makefile (tests): Remove bug-fclose1.
67381         * libio/bug-fclose1.c: Delete.
67383 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
67385         * manual/arith.texi (feenableexcept): Fix typo.
67386         (fedisableexcept): Likewise.
67388 2012-11-30  Roland McGrath  <roland@hack.frob.com>
67390         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
67391         second, differently-typed declaration, rather than a cast.
67393 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
67395         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
67396         * include/rpc/svc.h: ... here.
67398 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
67400         [BZ #13013]
67401         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
67402         depending n and resplen2 to catch cases where answer
67403         equals answerp2.
67405 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
67407         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
67408         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
67410 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
67412         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
67414 2012-11-29  Roland McGrath  <roland@hack.frob.com>
67416         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
67418 2012-11-28  Jeff Law  <law@redhat.com>
67420         [BZ #13761]
67421         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
67422         dataset_temporary.  Track alloca usage into alloca_used.
67423         If dataset is large allocate and release it via malloc/free.
67425 2012-06-04  Florian Weimer  <fweimer@redhat.com>
67427         [BZ #14197]
67428         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
67430 2012-11-28  David S. Miller  <davem@davemloft.net>
67432         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67434 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
67436         [BZ #14803]
67437         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
67438         of pi/2 rounded to nearest to 64 bits.
67439         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
67440         nearest to 64 bits.
67441         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
67442         bits.
67444 2012-11-28  Jeff Law <law@redhat.com>
67445             Martin Osvald <mosvald@redhat.com>
67447         [BZ #14889]
67448         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
67449         * sunrpc/svc.c: Include time.h.
67450         (__svc_accept_failed): New function.
67451         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
67452         any reason other than EINTR, call __svc_accept_failed.
67453         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
67454         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
67456 2012-11-28  Andreas Schwab  <schwab@suse.de>
67458         * scripts/abilist.awk: Also handle indirect functions in .opd
67459         section.
67461 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
67463         [BZ #13881]
67464         * sysdeps/x86/fpu/powl_helper.c: New file.
67465         * sysdeps/x86/fpu/Makefile: Likewise.
67466         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
67467         (p3): New object.
67468         (__ieee754_powl): Use __powl_helper for finite arguments except
67469         integer exponents below 8.
67470         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
67471         (p3): New object.
67472         (__ieee754_powl): Use __powl_helper for finite arguments except
67473         integer exponents below 8.
67474         * math/libm-test.inc (pow_test): Add more tests and enable some
67475         previously disabled tests.
67476         * sysdeps/i386/fpu/libm-test-ulps: Update.
67477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67479 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67480             Carlos O'Donell  <carlos_odonell@mentor.com>
67482         * nss/makedb.c (is_prime): Assert that input is odd and greater
67483         than 4.  Note that fact in a comment too.
67484         (next_prime): Add 4 to input.
67486 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67488         [BZ #11741]
67489         * libio/Makefile (tests): Add test case tst-fwrite-error.
67490         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
67491         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
67492         * libio/tst-fwrite-error.c: New test case.
67494 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
67496         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
67497         before casting to void *.
67498         * include/libc-internal.h (__pointer_type): New macro.
67499         (__integer_if_pointer_type_sub): Likewise.
67500         (__integer_if_pointer_type): Likewise.
67501         (cast_to_integer): Likewise.
67502         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
67503         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
67504         before casting to atomic64_t.
67505         (atomic_exchange_acq): Likewise.
67506         (__arch_exchange_and_add_body): Likewise.
67507         (__arch_add_body): Likewise.
67508         (atomic_add_negative): Likewise.
67509         (atomic_add_zero): Likewise.
67511 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
67513         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
67514         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
67515         (add_fdes): Likewise.
67516         (linear_search_fdes): Likewise.
67517         (binary_search_unencoded_fdes): Likewise.
67519 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
67521         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
67523 2012-11-24  Adam Conrad  <adconrad@0c3.net>
67525         * configure.in: Autodetect C++ header directories.
67526         * configure: Regenerated.
67528 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
67530         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
67532 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
67534         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67536 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
67538         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
67539         LDBL_MANT_DIG == 106]: Disable some tests.
67540         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
67541         Likewise.
67542         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
67543         Likewise.
67545         [BZ #14871]
67546         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
67547         input for small inputs.  Return +/- pi/2 for large inputs.
67548         * math/libm-test.inc (atan_test): Add more tests.
67550         * sysdeps/generic/unwind-dw2-fde-glibc.c
67551         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
67552         __attribute__ ((unused)).
67554         [BZ #14645]
67555         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
67556         x * y if x and y are nonzero and z is zero.
67558         [BZ #14811]
67559         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
67560         nonzero exponents with absolute value below 0x1p-117 to +/-
67561         0x1p-117.
67563         [BZ #14869]
67564         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
67565         up arguments below 2**-450, not just those below 2**-500.
67566         * math/libm-test.inc (hypot_test): Add another test.
67568         [BZ #14868]
67569         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
67570         Return a+b for ratio over 2**120, not 2**60.
67571         * math/libm-test.inc (hypot_test): Add another test.
67573         * math/libm-test.inc (clog_test): Use
67574         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
67575         (clog10_test): Likewise.
67577         [BZ #6778]
67578         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
67580 2012-11-22  Andreas Schwab  <schwab@suse.de>
67582         * sysdeps/i386/fpu/libm-test-ulps: Update.
67584 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
67586         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
67587         printf output with newline.
67589 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
67591         [BZ #14865]
67592         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
67593         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
67594         -z nodlopen, -z initfirst and -z execstack support.
67595         * configure: Regenerated.
67597         * elf/elf.h (DF_1_NODIRECT): New macro.
67598         (DF_1_IGNMULDEF): Likewise.
67599         (DF_1_NOKSYMS): Likewise.
67600         (DF_1_NOHDR): Likewise.
67601         (DF_1_EDITED): Likewise.
67602         (DF_1_NORELOC): Likewise.
67603         (DF_1_SYMINTPOSE): Likewise.
67604         (DF_1_GLOBAUDIT): Likewise.
67605         (DF_1_SINGLETON): Likewise.
67606         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
67607         DT_1_SUPPORTED_MASK bits.
67608         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
67610 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
67612         * sysdeps/unix/make-syscalls.sh: Document prefixes.
67614 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
67616         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
67617         macro.
67619         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
67620         (sendmmsg): Move declarations...
67621         * socket/sys/socket.h: ... here.
67622         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
67623         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
67624         include it from...
67625         * socket/recvmmsg.c: ... this new file.
67626         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
67627         (sendmmsg): Rename to __sendmmsg, create weak alias and make
67628         definition of __sendmmsg hidden.
67629         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
67630         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
67631         Move ENOSYS stub into and include it from...
67632         * socket/sendmmsg.c: ... this new file.
67633         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
67634         (sysdep_routines): Move recvmmsg and sendmmsg...
67635         * socket/Makefile (routines): ... here.
67636         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
67637         (GLIBC_PRIVATE): Add __sendmmsg.
67638         * include/sys/socket.h (__sendmmsg): Add declarations.
67639         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
67640         sendmmsg.
67642 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
67644         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
67645         variable I1 with __attribute__ ((unused)).
67646         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
67648 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
67650         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
67651         DUMMY variables with __attribute__ ((unused)).
67653         * bits/byteswap.h: Include <bits/types.h>.
67654         (__bswap_64): Use __uint64_t instead of unsigned long long int.
67656 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
67658         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
67659         string_t.  Do not manually set errno.
67660         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
67661         length with __strnlen.  Make sure to both set errno and return it on
67662         failure.
67664 2012-11-19  David S. Miller  <davem@davemloft.net>
67666         With help from Joseph Myers.
67667         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
67668         very large arguments properly.
67669         * math/libm-test.inc (atan_test): New tests.
67670         (atan2_test): New tests.
67671         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67672         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67674 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
67676         [BZ #14856]
67677         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
67678         Define to 3.
67680         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
67681         [POSIX] (EADDRNOTAVAIL): Likewise.
67682         [POSIX] (EAFNOSUPPORT): Likewise.
67683         [POSIX] (EALREADY): Likewise.
67684         [POSIX] (ECONNABORTED): Likewise.
67685         [POSIX] (ECONNREFUSED): Likewise.
67686         [POSIX] (ECONNRESET): Likewise.
67687         [POSIX] (EDESTADDRREQ): Likewise.
67688         [POSIX] (EDQUOT): Likewise.
67689         [POSIX] (EHOSTUNREACH): Likewise.
67690         [POSIX] (EIDRM): Likewise.
67691         [POSIX] (EISCONN): Likewise.
67692         [POSIX] (ELOOP): Likewise.
67693         [POSIX] (EMULTIHOP): Likewise.
67694         [POSIX] (ENETDOWN): Likewise.
67695         [POSIX] (ENETUNREACH): Likewise.
67696         [POSIX] (ENOBUFS): Likewise.
67697         [POSIX] (ENODATA): Likewise.
67698         [POSIX] (ENOLINK): Likewise.
67699         [POSIX] (ENOMSG): Likewise.
67700         [POSIX] (ENOPROTOOPT): Likewise.
67701         [POSIX] (ENOSR): Likewise.
67702         [POSIX] (ENOSTR): Likewise.
67703         [POSIX] (ENOTCONN): Likewise.
67704         [POSIX] (ENOTSOCK): Likewise.
67705         [POSIX] (EOPNOTSUPP): Likewise.
67706         [POSIX] (EOVERFLOW): Likewise.
67707         [POSIX] (EPROTO): Likewise.
67708         [POSIX] (EPROTONOSUPPORT): Likewise.
67709         [POSIX] (EPROTOTYPE): Likewise.
67710         [POSIX] (ESTALE): Likewise.
67711         [POSIX] (ETIME): Likewise.
67712         [POSIX] (ETXTBSY): Likewise.
67713         [POSIX] (EWOULDBLOCK): Likewise.
67714         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
67715         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
67716         [POSIX] (SEEK_CUR): Likewise.
67717         [POSIX] (SEEK_END): Likewise.
67718         [POSIX || UNIX98] (mode_t): Do not require.
67719         [POSIX] (off_t): Likewise.
67720         [POSIX] (pid_t): Likewise.
67721         [POSIX] (sys/stat.h): Do not allow header.
67722         [POSIX] (unistd.h): Likewise.
67723         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
67724         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
67725         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
67726         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
67727         require.
67728         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
67729         sigevent): Specify elements.
67730         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
67731         entry.
67732         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
67733         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
67735         * conform/data/cpio.h-data [POSIX]: Disable whole file.
67736         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
67737         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
67738         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
67739         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
67740         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
67741         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
67742         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
67743         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
67744         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
67745         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
67746         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
67747         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
67748         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
67749         Likewise.
67750         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
67751         Likewise.
67752         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
67753         Likewise.
67754         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
67755         Likewise.
67756         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
67757         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
67758         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
67759         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
67760         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
67761         Specify lower bound on value.
67762         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
67763         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
67764         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
67765         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
67766         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
67767         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
67768         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
67769         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
67770         value.
67771         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
67772         as optional.
67773         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
67774         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
67775         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
67776         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
67777         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
67778         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
67779         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
67780         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
67781         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
67782         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
67783         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
67784         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
67785         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
67786         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
67787         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
67788         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
67789         entry.
67790         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
67791         optional.
67792         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
67793         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
67794         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
67795         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
67796         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
67797         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
67798         Likewise.
67799         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
67800         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
67801         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
67802         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
67803         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
67804         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
67805         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
67806         as optional.
67807         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
67808         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
67809         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
67810         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
67811         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
67812         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
67813         specify as optional.
67814         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
67815         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
67816         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
67817         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
67818         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
67819         [XPG3] (NL_LANGMAX): Likewise.
67820         [POSIX || XPG3] (NL_MSGMAX): Likewise.
67821         [POSIX || XPG3] (NL_NMAX): Likewise.
67822         [POSIX || XPG3] (NL_SETMAX): Likewise.
67823         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
67824         [XPG3] (NZERO): Likewise.
67825         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
67826         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
67827         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
67828         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
67829         (REG_ERANGE): Expect.
67830         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
67831         optional-constant.
67832         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
67833         Use (void) in prototype.
67834         [POSIX] (*_t): Allow.
67835         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
67836         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
67837         (WRDE_BADVAL): Expect.
67839         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
67840         expect.
67841         [XPG3 || XPG4] (O_RSYNC): Likewise.
67842         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
67843         Likewise.
67844         [XPG3 || XPG4] (pthread_sigmask): Likewise.
67845         [XPG3 || XPG4] (sigqueue): Likewise.
67846         [XPG3 || XPG4] (sigtimedwait): Likewise.
67847         [XPG3 || XPG4] (sigwaitinfo): Likewise.
67848         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
67849         [XPG3 || XPG4] (vsnprintf): Likewise.
67850         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
67851         Likewise.
67852         [XPG3 || XPG4] (blksize_t): Likewise.
67853         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
67854         Likewise.
67855         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
67856         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
67857         [XPG3 || XPG4] (struct itimerspec): Likewise.
67858         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
67859         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
67860         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
67861         [XPG3 || XPG4] (clockid_t): Likewise.
67862         [XPG3 || XPG4] (timer_t): Likewise.
67863         [XPG3 || XPG4] (clock_getres): Likewise.
67864         [XPG3 || XPG4] (clock_gettime): Likewise.
67865         [XPG3 || XPG4] (clock_settime): Likewise.
67866         [XPG3 || XPG4] (nanosleep): Likewise.
67867         [XPG3 || XPG4] (timer_create): Likewise.
67868         [XPG3 || XPG4] (timer_delete): Likewise.
67869         [XPG3 || XPG4] (timer_gettime): Likewise.
67870         [XPG3 || XPG4] (timer_getoverrun): Likewise.
67871         [XPG3 || XPG4] (timer_settime): Likewise.
67872         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
67873         [XPG3 || XPG4] (getlogin_r): Likewise.
67874         [XPG3 || XPG4] (pread): Likewise.
67875         [XPG3 || XPG4] (pthread_atfork): Likewise.
67876         [XPG3 || XPG4] (pwrite): Likewise.
67878         [BZ #14835]
67879         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
67880         <bits/siginfo.h>.
67882 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
67884         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
67885         finalizing MALLSTREAM.
67887         * sysdeps/mach/hurd/syncfs.c: New file.
67889 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67891         [BZ #14719]
67892         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
67893         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
67894         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
67895         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
67896         (_nss_dns_gethostbyname4_r): Likewise.
67897         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
67898         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
67900 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
67902         [BZ #13763]
67903         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
67905 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
67907         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
67908         * elf/cache.c (print_entry): Print ",AArch64" for
67909         FLAG_AARCH64_LIB64
67911         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
67912         * elf/cache.c (print_entry): Print ",hard-float" for
67913         FLAG_ARM_LIBHF.
67915 2012-11-18  David S. Miller  <davem@davemloft.net>
67917         With help from Joseph Myers.
67918         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
67919         cutoff to 2**-13.
67920         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
67921         cutoff to 2**-25.
67922         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
67923         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
67924         small.
67925         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
67926         * math/libm-test.inc (y0_test): New tests.
67927         (y1_test): New tests.
67928         * sysdeps/i386/fpu/libm-test-ulps: Update.
67929         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67932 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
67934         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
67935         64-bit targets.
67936         * configure: Regenerated.
67938 2012-11-17  David S. Miller  <davem@davemloft.net>
67940         [BZ #14811]
67941         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
67942         nonzero exponents with absolute value below 0x1p-128 to +/-
67943         0x1p-128.
67945 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
67947         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
67949         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
67951         * posix/getconf-speclist.c: New file.
67952         * posix/posix-envs.def: Likewise.
67953         * posix/confstr.c (START_ENV_GROUP): New macro.
67954         (END_ENV_GROUP): Likewise.
67955         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
67956         (KNOWN_PRESENT_ENV_STRING): Likewise.
67957         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
67958         (UNKNOWN_ENVIRONMENT): Likewise.
67959         (confstr): Include posix-envs.def instead of handling
67960         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
67961         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
67962         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
67963         (END_ENV_GROUP): Likewise.
67964         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
67965         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
67966         (UNKNOWN_ENVIRONMENT): Likewise.
67967         (__sysconf): Include posix-envs.def instead of handling associated
67968         cases directly here.
67969         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
67970         preprocessing getconf-speclist.c rather than running getconf or
67971         generating empty file.
67973 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
67975         * scripts/check-local-headers.sh: Ignore 'mach' headers.
67977 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
67979         [BZ #14672]
67980         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
67982 2012-11-16  David S. Miller  <davem@davemloft.net>
67984         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
67985         smaller than LDBL_EPSILON/2.0L, just return xm1.
67987 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
67989         * elf/tst-array1.c (init): Set constructor priority to 1000.
67990         (fini): Set destructor priority to 1000.
67991         * elf/tst-array2dep.c: Likewise.
67993 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67995         [BZ #11741]
67996         * libio/fileops.c (_IO_new_file_write): Correctly return error.
67997         (_IO_new_file_xsputn): Also return EOF if none of the input
67998         data was written when overflow failed.
67999         * libio/iopadn.c (_IO_padn): Likewise.
68000         * libio/iowpadn.c (_IO_wpadn): Likewise.
68001         * stdio-common/tst-put-error.c: Add copyright notice.
68002         (do_test): Add case for printing padded string.
68003         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
68004         _IO_padn returned error.
68005         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
68006         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
68007         return EOF.
68009 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68011         * libio/libioP.h: Add comment note that the references to C++
68012         bits are now obsolete.
68014 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68016         * math/libm-test.inc (check_complex): Use asprintf.
68018 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
68020         * debug/pcprofiledump.c (print_version): Update copyright year.
68021         * malloc/memusagestat.c (print_version): Likewise.
68023 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
68025         [BZ #14831]
68026         * elf/Makefile (tests): Add tst-audit8.
68027         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
68028         ($(objpfx)tst-audit8.out): New target.
68029         (tst-audit8-ENV): New variable.
68030         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
68031         audit if l_reloc_result is NULL.
68032         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
68033         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
68034         * elf/tst-audit8.c: New file.
68036 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68038         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
68039         * misc/Makefile (CFLAGS-select.c): Define.
68040         * posix/Makefile (CFLAGS-pause.c): Define.
68042 2012-11-13  David S. Miller  <davem@davemloft.net>
68044         * crypt/Makefile: Move test targets after toplevel Rules
68045         inclusion.  Grab any necessary sysdep routines when linking.
68046         * crypt/md5.c (md5_process_block): Remove define, we will always
68047         name it __md5_process_block.
68048         (md5_finish_ctx): Update md5_process_block call.
68049         (md5_stream): Likewise.
68050         (md5_process_bytes): Likewise.
68051         (md5_process_block): Rename to __md5_process_block and move to ...
68052         * crypt/md5-block.c: ... here.
68053         * crypt/sha256.c (sha256_process_block): Move to ...
68054         * crypt/sha256-block.c: ... here.
68055         * crypt/sha512.c (sha512_process_block): Move to ...
68056         * crypt/sha512-block.c: ... here.
68057         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
68058         path.
68059         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
68060         * sysdeps/sparc/sparc64/multiarch/Makefile
68061         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
68062         crypt subdir.
68063         (localedef-aux): Add md5 crypto assembler when in locale subdir.
68064         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
68065         multiarch changes.
68066         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
68067         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
68068         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
68069         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
68070         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
68071         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
68072         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
68073         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
68074         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
68075         file.
68076         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
68077         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
68078         file.
68079         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
68081 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
68083         * timezone/tzselect.ksh: Update from tzcode git revision
68084         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
68085         * timezone/zdump.c: Likewise.
68086         * timezone/zic.c: Likewise.
68087         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
68088         in TZVERSION setting, not $(PKGVERSION).
68089         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
68090         REPORT_BUGS_TO settings.
68092         [BZ #14838]
68093         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
68094         macro.
68096 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68098         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
68099         detection to immediately after _FP_ROUND().
68100         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
68101         bits are 0.
68103 2012-11-11  David S. Miller  <davem@davemloft.net>
68105         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
68106         inttypes.h
68107         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
68108         __close rather than their public counterparts.
68110 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
68112         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
68113         file.
68114         [UNIX98] (sem_timedwait): Do not expect.
68115         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
68116         [XPG4 || UNIX98] (sockatmark): Do not expect.
68117         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
68118         (clock_getcpuclockid): Do not expect.
68119         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
68120         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
68121         Do not expect.
68122         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
68123         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
68124         [UNIX98] (vwscanf): Likewise.
68125         [UNIX98] (vswscanf): Likewise.
68127 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
68129         * timezone/version.h: Remove file.
68130         * timezone/README: Do not refer to version.h.
68131         * timezone/Makefile ($(objpfx)zic.o): New dependency on
68132         $(objpfx)version.h.
68133         ($(objpfx)zdump.o): Likewise.
68134         ($(objpfx)version.h): New target.
68136         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
68137         2012i.
68138         * timezone/README: Don't mention modification to tzselect.ksh.
68139         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
68140         work on unmodified tzselect.ksh.  Substitute version numbers in
68141         tzselect.ksh.
68143         * Makefile (format-me): Remove.
68144         (INSTALL): Adjust indentation.  Use commands directly instead of
68145         using $(format-me).
68147         * aclocal.m4 (ACX_PKGVERSION): New macro.
68148         (ACX_BUGURL): Likewise.
68149         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
68150         (PKGVERSION): New AC_DEFINE_UNQUOTED.
68151         (REPORT_BUGS_TO): Likewise.
68152         * configure: Regenerated.
68153         * config.h.in (PKGVERSION): New macro.
68154         (REPORT_BUGS_TO): Likewise.
68155         * config.make.in (PKGVERSION): New variable.
68156         (PKGVERSION_TEXI): Likewise.
68157         (REPORT_BUGS_TO): Likewise.
68158         (REPORT_BUGS_TEXI): Likewise.
68159         * Makefile (format-me): Use -I$(common-objpfx)manual.
68160         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
68161         ($(common-objpfx)manual/%): New target.
68162         (manual/%): Remove target.
68163         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
68164         (print_version): Use PKGVERSION.
68165         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
68166         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
68167         and REPORT_BUGS_TO.
68168         ($(objpfx)xtrace): Likewise.
68169         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
68170         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
68171         (print_version): Use PKGVERSION.
68172         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
68173         (do_version): Use PKGVERSION.
68174         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
68175         REPORT_BUGS_TO.
68176         (common-ldd-rewrite): Likewise.
68177         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
68178         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
68179         (print_version): Use PKGVERSION.
68180         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
68181         * elf/pldd.c (argp_program_bug_address): Remove variable.
68182         (more_help): New function.
68183         (argp): Use more_help.
68184         (print_version): Use PKGVERSION.
68185         * elf/sln.c (main): Use PKGVERSION.
68186         (usage): Use REPORT_BUGS_TO.
68187         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
68188         (top level): Use PKGVERSION.
68189         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
68190         (print_version): Use PKGVERSION.
68191         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
68192         (print_version): Use PKGVERSION.
68193         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
68194         (print_version): Use PKGVERSION.
68195         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
68196         (print_version): Use PKGVERSION.
68197         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
68198         (print_version): Use PKGVERSION.
68199         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
68200         (print_version): Use PKGVERSION.
68201         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
68202         and BUGURL.
68203         ($(objpfx)memusage): Likewise.
68204         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
68205         (do_version): Use PKGVERSION.
68206         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
68207         (print_version): Use PKGVERSION.
68208         * malloc/mtrace.pl ($PACKAGE): Remove variable.
68209         ($PKGVERSION): New variable.
68210         ($REPORT_BUGS_TO): Likewise.
68211         (usage): Use $REPORT_BUGS_TO.
68212         (top level): Use $PKGVERSION.
68213         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
68214         ($(objpfx)pkgvers.texi): New rule.
68215         ($(objpfx)stamp-pkgvers): Likewise.
68216         * manual/install.texi: Include pkgvers.texi.
68217         (--with-pkgversion): Document new configure option.
68218         (--with-bugurl): Likewise.
68219         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
68220         than necessarily for this particular distribution.  Use
68221         REPORT_BUGS_TO for where to report bugs.
68222         * INSTALL: Regenerated.
68223         * manual/libc.texinfo: Include pkgvers.texi.
68224         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
68225         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
68226         (print_version): Use PKGVERSION.
68227         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
68228         (print_version): Use PKGVERSION.
68229         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
68230         (print_version): Use PKGVERSION.
68231         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
68232         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
68233         macro.
68234         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
68235         (print_version): Use PKGVERSION.
68236         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
68237         (print_version): Use PKGVERSION.
68238         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
68239         and PKGVERSION.
68241         * timezone/checktab.awk: Update from tzcode 2012i.
68242         * timezone/ialloc.c: Likewise.
68243         * timezone/private.h: Likewise.
68244         * timezone/scheck.c: Likewise.
68245         * timezone/tzfile.h: Likewise.
68246         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
68247         (TZVERSION): Hardcode tzcode version number.
68248         * timezone/zdump.c: Update from tzcode 2012i.
68249         * timezone/zic.c: Likewise.
68250         * timezone/version.h: New file.
68251         * timezone/README: Describe version.h.  Update upstream location.
68253         [BZ #14824]
68254         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
68255         (mktemp): Enable declaration.
68256         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
68257         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
68258         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
68259         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
68260         Likewise.
68261         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
68262         Likewise.
68263         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
68264         Likewise.
68265         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
68266         Likewise.
68267         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
68268         Likewise.
68269         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
68270         Likewise.
68272         [BZ #14821]
68273         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
68274         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
68275         for copies of such integer values.
68276         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
68277         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
68279 2012-11-09  Andreas Jaeger  <aj@suse.de>
68281         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
68282         definitions and declarations that are provided by
68283         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
68285 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68287         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
68288         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
68289         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
68290         definition.
68292 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68294         * elf/elf.h: Update comment before AArch64 relocations.
68296 2012-11-07  David S. Miller  <davem@davemloft.net>
68298         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
68299         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68300         (__start_context): Declare.
68301         (__makecontext_ret): Delete.
68302         (__makecontext): Hook up __start_context instead of
68303         __makecontext_ret.
68304         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
68305         (sysdep_routines): Add __start_context when in stdlib.
68307 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68309         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
68310         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
68311         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
68312         hardcoded "nm".
68313         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
68314         (READELF): New variable.  Use it instead of hardcoded "readelf".
68316 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
68318         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
68319         * sysdeps/x86/Makefile: Here.
68320         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
68321         * sysdeps/x86/tst-xmmymm.sh: This.
68323 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68325         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
68326         expectations.
68327         [UNIX98] (pthread_barrier_t): Do not expect.
68328         [UNIX98] (pthread_barrierattr_t): Likewise.
68329         [UNIX98] (pthread_spinlock_t): Likewise.
68330         [UNIX98] (pthread_barrier_destroy): Likewise.
68331         [UNIX98] (pthread_barrier_init): Likewise.
68332         [UNIX98] (pthread_barrier_wait): Likewise.
68333         [UNIX98] (pthread_barrierattr_destroy): Likewise.
68334         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
68335         [UNIX98] (pthread_barrierattr_init): Likewise.
68336         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
68337         [UNIX98] (pthread_getcpuclockid): Likewise.
68338         [UNIX98] (pthread_mutex_timedlock): Likewise.
68339         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
68340         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
68341         [UNIX98] (pthread_sigmask): Likewise.
68342         [UNIX98] (pthread_spin_destroy): Likewise.
68343         [UNIX98] (pthread_spin_init): Likewise.
68344         [UNIX98] (pthread_spin_lock): Likewise.
68345         [UNIX98] (pthread_spin_trylock): Likewise.
68346         [UNIX98] (pthread_spin_unlock): Likewise.
68347         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
68348         Do not expect.
68349         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
68350         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
68351         [XPG3 || XPG4] (pthread_cond_t): Likewise.
68352         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
68353         [XPG3 || XPG4] (pthread_key_t): Likewise.
68354         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
68355         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
68356         [XPG3 || XPG4] (pthread_once_t): Likewise.
68357         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
68358         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
68359         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
68360         [XPG3 || XPG4] (pthread_t): Likewise.
68362         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
68363         not expect.
68364         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
68366         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
68367         Change function return type to int.
68369         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
68370         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
68371         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
68372         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
68373         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
68374         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
68375         [!POSIX] (posix_madvise): Likewise.
68376         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
68377         && !UNIX98].
68378         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
68379         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
68380         (mode_t): Likewise.
68381         (posix_mem_offset): Likewise.
68382         (posix_typed_mem_get_info): Likewise.
68383         (posix_typed_mem_open): Likewise.
68385         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
68386         Change condition to [XOPEN2K8].
68388         * conform/conformtest.pl: Preprocess allow-header data with -x c
68389         instead of from stdin.
68390         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
68391         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
68392         [C99-based standards] (cerfc): Likewise.
68393         [C99-based standards] (cexp2): Likewise.
68394         [C99-based standards] (cexpm1): Likewise.
68395         [C99-based standards] (clog10): Likewise.
68396         [C99-based standards] (clog1p): Likewise.
68397         [C99-based standards] (clog2): Likewise.
68398         [C99-based standards] (clgamma): Likewise.
68399         [C99-based standards] (ctgamma): Likewise.
68400         [C99-based standards] (cerff): Likewise.
68401         [C99-based standards] (cerfcf): Likewise.
68402         [C99-based standards] (cexp2f): Likewise.
68403         [C99-based standards] (cexpm1f): Likewise.
68404         [C99-based standards] (clog10f): Likewise.
68405         [C99-based standards] (clog1pf): Likewise.
68406         [C99-based standards] (clog2f): Likewise.
68407         [C99-based standards] (clgammaf): Likewise.
68408         [C99-based standards] (ctgammaf): Likewise.
68409         [C99-based standards] (cerfl): Likewise.
68410         [C99-based standards] (cerfcl): Likewise.
68411         [C99-based standards] (cexp2l): Likewise.
68412         [C99-based standards] (cexpm1l): Likewise.
68413         [C99-based standards] (clog10l): Likewise.
68414         [C99-based standards] (clog1pl): Likewise.
68415         [C99-based standards] (clog2l): Likewise.
68416         [C99-based standards] (clgammal): Likewise.
68417         [C99-based standards] (ctgammal): Likewise.
68418         * conform/data/inttypes.h-data [C99-based standards]: Include
68419         stdint.h-data.  Remove all expectations for stdint.h contents.
68420         [C99-based standards] (PRI*): Do not allow.
68421         [C99-based standards] (SCN*): Likewise.
68422         [C99-based standards] (*_t): Likewise.
68423         [C99-based-standards] (PRId8): Expect macro.
68424         [C99-based-standards] (PRIi8): Likewise.
68425         [C99-based-standards] (PRIo8): Likewise.
68426         [C99-based-standards] (PRIu8): Likewise.
68427         [C99-based-standards] (PRIx8): Likewise.
68428         [C99-based-standards] (PRIX8): Likewise.
68429         [C99-based-standards] (SCNd8): Likewise.
68430         [C99-based-standards] (SCNi8): Likewise.
68431         [C99-based-standards] (SCNo8): Likewise.
68432         [C99-based-standards] (SCNu8): Likewise.
68433         [C99-based-standards] (SCNx8): Likewise.
68434         [C99-based-standards] (PRIdLEAST8): Likewise.
68435         [C99-based-standards] (PRIiLEAST8): Likewise.
68436         [C99-based-standards] (PRIoLEAST8): Likewise.
68437         [C99-based-standards] (PRIuLEAST8): Likewise.
68438         [C99-based-standards] (PRIxLEAST8): Likewise.
68439         [C99-based-standards] (PRIXLEAST8): Likewise.
68440         [C99-based-standards] (SCNdLEAST8): Likewise.
68441         [C99-based-standards] (SCNiLEAST8): Likewise.
68442         [C99-based-standards] (SCNoLEAST8): Likewise.
68443         [C99-based-standards] (SCNuLEAST8): Likewise.
68444         [C99-based-standards] (SCNxLEAST8): Likewise.
68445         [C99-based-standards] (PRIdFAST8): Likewise.
68446         [C99-based-standards] (PRIiFAST8): Likewise.
68447         [C99-based-standards] (PRIoFAST8): Likewise.
68448         [C99-based-standards] (PRIuFAST8): Likewise.
68449         [C99-based-standards] (PRIxFAST8): Likewise.
68450         [C99-based-standards] (PRIXFAST8): Likewise.
68451         [C99-based-standards] (SCNdFAST8): Likewise.
68452         [C99-based-standards] (SCNiFAST8): Likewise.
68453         [C99-based-standards] (SCNoFAST8): Likewise.
68454         [C99-based-standards] (SCNuFAST8): Likewise.
68455         [C99-based-standards] (SCNxFAST8): Likewise.
68456         [C99-based-standards] (PRId16): Likewise.
68457         [C99-based-standards] (PRIi16): Likewise.
68458         [C99-based-standards] (PRIo16): Likewise.
68459         [C99-based-standards] (PRIu16): Likewise.
68460         [C99-based-standards] (PRIx16): Likewise.
68461         [C99-based-standards] (PRIX16): Likewise.
68462         [C99-based-standards] (SCNd16): Likewise.
68463         [C99-based-standards] (SCNi16): Likewise.
68464         [C99-based-standards] (SCNo16): Likewise.
68465         [C99-based-standards] (SCNu16): Likewise.
68466         [C99-based-standards] (SCNx16): Likewise.
68467         [C99-based-standards] (PRIdLEAST16): Likewise.
68468         [C99-based-standards] (PRIiLEAST16): Likewise.
68469         [C99-based-standards] (PRIoLEAST16): Likewise.
68470         [C99-based-standards] (PRIuLEAST16): Likewise.
68471         [C99-based-standards] (PRIxLEAST16): Likewise.
68472         [C99-based-standards] (PRIXLEAST16): Likewise.
68473         [C99-based-standards] (SCNdLEAST16): Likewise.
68474         [C99-based-standards] (SCNiLEAST16): Likewise.
68475         [C99-based-standards] (SCNoLEAST16): Likewise.
68476         [C99-based-standards] (SCNuLEAST16): Likewise.
68477         [C99-based-standards] (SCNxLEAST16): Likewise.
68478         [C99-based-standards] (PRIdFAST16): Likewise.
68479         [C99-based-standards] (PRIiFAST16): Likewise.
68480         [C99-based-standards] (PRIoFAST16): Likewise.
68481         [C99-based-standards] (PRIuFAST16): Likewise.
68482         [C99-based-standards] (PRIxFAST16): Likewise.
68483         [C99-based-standards] (PRIXFAST16): Likewise.
68484         [C99-based-standards] (SCNdFAST16): Likewise.
68485         [C99-based-standards] (SCNiFAST16): Likewise.
68486         [C99-based-standards] (SCNoFAST16): Likewise.
68487         [C99-based-standards] (SCNuFAST16): Likewise.
68488         [C99-based-standards] (SCNxFAST16): Likewise.
68489         [C99-based-standards] (PRId32): Likewise.
68490         [C99-based-standards] (PRIi32): Likewise.
68491         [C99-based-standards] (PRIo32): Likewise.
68492         [C99-based-standards] (PRIu32): Likewise.
68493         [C99-based-standards] (PRIx32): Likewise.
68494         [C99-based-standards] (PRIX32): Likewise.
68495         [C99-based-standards] (SCNd32): Likewise.
68496         [C99-based-standards] (SCNi32): Likewise.
68497         [C99-based-standards] (SCNo32): Likewise.
68498         [C99-based-standards] (SCNu32): Likewise.
68499         [C99-based-standards] (SCNx32): Likewise.
68500         [C99-based-standards] (PRIdLEAST32): Likewise.
68501         [C99-based-standards] (PRIiLEAST32): Likewise.
68502         [C99-based-standards] (PRIoLEAST32): Likewise.
68503         [C99-based-standards] (PRIuLEAST32): Likewise.
68504         [C99-based-standards] (PRIxLEAST32): Likewise.
68505         [C99-based-standards] (PRIXLEAST32): Likewise.
68506         [C99-based-standards] (SCNdLEAST32): Likewise.
68507         [C99-based-standards] (SCNiLEAST32): Likewise.
68508         [C99-based-standards] (SCNoLEAST32): Likewise.
68509         [C99-based-standards] (SCNuLEAST32): Likewise.
68510         [C99-based-standards] (SCNxLEAST32): Likewise.
68511         [C99-based-standards] (PRIdFAST32): Likewise.
68512         [C99-based-standards] (PRIiFAST32): Likewise.
68513         [C99-based-standards] (PRIoFAST32): Likewise.
68514         [C99-based-standards] (PRIuFAST32): Likewise.
68515         [C99-based-standards] (PRIxFAST32): Likewise.
68516         [C99-based-standards] (PRIXFAST32): Likewise.
68517         [C99-based-standards] (SCNdFAST32): Likewise.
68518         [C99-based-standards] (SCNiFAST32): Likewise.
68519         [C99-based-standards] (SCNoFAST32): Likewise.
68520         [C99-based-standards] (SCNuFAST32): Likewise.
68521         [C99-based-standards] (SCNxFAST32): Likewise.
68522         [C99-based-standards] (PRId64): Likewise.
68523         [C99-based-standards] (PRIi64): Likewise.
68524         [C99-based-standards] (PRIo64): Likewise.
68525         [C99-based-standards] (PRIu64): Likewise.
68526         [C99-based-standards] (PRIx64): Likewise.
68527         [C99-based-standards] (PRIX64): Likewise.
68528         [C99-based-standards] (SCNd64): Likewise.
68529         [C99-based-standards] (SCNi64): Likewise.
68530         [C99-based-standards] (SCNo64): Likewise.
68531         [C99-based-standards] (SCNu64): Likewise.
68532         [C99-based-standards] (SCNx64): Likewise.
68533         [C99-based-standards] (PRIdLEAST64): Likewise.
68534         [C99-based-standards] (PRIiLEAST64): Likewise.
68535         [C99-based-standards] (PRIoLEAST64): Likewise.
68536         [C99-based-standards] (PRIuLEAST64): Likewise.
68537         [C99-based-standards] (PRIxLEAST64): Likewise.
68538         [C99-based-standards] (PRIXLEAST64): Likewise.
68539         [C99-based-standards] (SCNdLEAST64): Likewise.
68540         [C99-based-standards] (SCNiLEAST64): Likewise.
68541         [C99-based-standards] (SCNoLEAST64): Likewise.
68542         [C99-based-standards] (SCNuLEAST64): Likewise.
68543         [C99-based-standards] (SCNxLEAST64): Likewise.
68544         [C99-based-standards] (PRIdFAST64): Likewise.
68545         [C99-based-standards] (PRIiFAST64): Likewise.
68546         [C99-based-standards] (PRIoFAST64): Likewise.
68547         [C99-based-standards] (PRIuFAST64): Likewise.
68548         [C99-based-standards] (PRIxFAST64): Likewise.
68549         [C99-based-standards] (PRIXFAST64): Likewise.
68550         [C99-based-standards] (SCNdFAST64): Likewise.
68551         [C99-based-standards] (SCNiFAST64): Likewise.
68552         [C99-based-standards] (SCNoFAST64): Likewise.
68553         [C99-based-standards] (SCNuFAST64): Likewise.
68554         [C99-based-standards] (SCNxFAST64): Likewise.
68555         [C99-based-standards] (PRIdMAX): Likewise.
68556         [C99-based-standards] (PRIiMAX): Likewise.
68557         [C99-based-standards] (PRIoMAX): Likewise.
68558         [C99-based-standards] (PRIuMAX): Likewise.
68559         [C99-based-standards] (PRIxMAX): Likewise.
68560         [C99-based-standards] (PRIXMAX): Likewise.
68561         [C99-based-standards] (SCNdMAX): Likewise.
68562         [C99-based-standards] (SCNiMAX): Likewise.
68563         [C99-based-standards] (SCNoMAX): Likewise.
68564         [C99-based-standards] (SCNuMAX): Likewise.
68565         [C99-based-standards] (SCNxMAX): Likewise.
68566         [C99-based-standards] (PRIdPTR): Likewise.
68567         [C99-based-standards] (PRIiPTR): Likewise.
68568         [C99-based-standards] (PRIoPTR): Likewise.
68569         [C99-based-standards] (PRIuPTR): Likewise.
68570         [C99-based-standards] (PRIxPTR): Likewise.
68571         [C99-based-standards] (PRIXPTR): Likewise.
68572         [C99-based-standards] (SCNdPTR): Likewise.
68573         [C99-based-standards] (SCNiPTR): Likewise.
68574         [C99-based-standards] (SCNoPTR): Likewise.
68575         [C99-based-standards] (SCNuPTR): Likewise.
68576         [C99-based-standards] (SCNxPTR): Likewise.
68577         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
68578         allow.
68579         * conform/data/stdint.h-data: Update comments to clarify
68580         requirements.
68581         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
68582         type.
68583         [C99-based standards] (INT8_MAX): Likewise.
68584         [C99-based standards] (INT16_MIN): Likewise.
68585         [C99-based standards] (INT16_MAX): Likewise.
68586         [C99-based standards] (INT32_MIN): Likewise.
68587         [C99-based standards] (INT32_MAX): Likewise.
68588         [C99-based standards] (INT64_MIN): Likewise.
68589         [C99-based standards] (INT64_MAX): Likewise.
68590         [C99-based standards] (UINT8_MAX): Likewise.
68591         [C99-based standards] (UINT16_MAX): Likewise.
68592         [C99-based standards] (UINT32_MAX): Likewise.
68593         [C99-based standards] (UINT64_MAX): Likewise.
68594         [C99-based standards] (INT_LEAST8_MIN): Likewise.
68595         [C99-based standards] (INT_LEAST8_MAX): Likewise.
68596         [C99-based standards] (INT_LEAST16_MIN): Likewise.
68597         [C99-based standards] (INT_LEAST16_MAX): Likewise.
68598         [C99-based standards] (INT_LEAST32_MIN): Likewise.
68599         [C99-based standards] (INT_LEAST32_MAX): Likewise.
68600         [C99-based standards] (INT_LEAST64_MIN): Likewise.
68601         [C99-based standards] (INT_LEAST64_MAX): Likewise.
68602         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
68603         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
68604         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
68605         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
68606         [C99-based standards] (INT_FAST8_MIN): Likewise.
68607         [C99-based standards] (INT_FAST8_MAX): Likewise.
68608         [C99-based standards] (INT_FAST16_MIN): Likewise.
68609         [C99-based standards] (INT_FAST16_MAX): Likewise.
68610         [C99-based standards] (INT_FAST32_MIN): Likewise.
68611         [C99-based standards] (INT_FAST32_MAX): Likewise.
68612         [C99-based standards] (INT_FAST64_MIN): Likewise.
68613         [C99-based standards] (INT_FAST64_MAX): Likewise.
68614         [C99-based standards] (UINT_FAST8_MAX): Likewise.
68615         [C99-based standards] (UINT_FAST16_MAX): Likewise.
68616         [C99-based standards] (UINT_FAST32_MAX): Likewise.
68617         [C99-based standards] (UINT_FAST64_MAX): Likewise.
68618         [C99-based standards] (INTPTR_MIN): Likewise.
68619         [C99-based standards] (INTPTR_MAX): Likewise.
68620         [C99-based standards] (UINTPTR_MAX): Likewise.
68621         [C99-based standards] (INTMAX_MIN): Likewise.
68622         [C99-based standards] (INTMAX_MAX): Likewise.
68623         [C99-based standards] (UINTMAX_MAX): Likewise.
68624         [C99-based standards] (PTRDIFF_MIN): Likewise.
68625         [C99-based standards] (PTRDIFF_MAX): Likewise.
68626         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
68627         [C99-based standards] (SIZE_MAX): Likewise.
68628         [C99-based standards] (WCHAR_MAX): Likewise.
68629         [C99-based standards] (WINT_MAX): Likewise.
68630         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
68631         constraint on value.
68632         [C99-based standards] (WCHAR_MIN): Likewise.
68633         [C99-based standards] (WINT_MIN): Likewise.
68634         [C99-based standards] (*_t): Allow.
68635         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
68636         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
68637         Include math.h-data and complex.h-data.  Remove all expectations
68638         of math.h and complex.h contents.
68639         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
68640         at end of line.
68641         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
68642         (struct tm): Expect tag.
68643         [C99-based-standards] (wcstof): Expect function.
68644         [C99-based-standards] (wcstold): Likewise.
68645         [C99-based-standards] (wcstoll): Likewise.
68646         [C99-based-standards] (wcstoull): Likewise.
68647         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
68648         macro-int-constant.  Specify type.
68649         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
68650         constraint on value.
68651         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
68652         Specify type.
68653         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
68654         Specify value.
68655         [ISO C standards]: Do not allow headers.
68656         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
68657         wcs[abcdefghijklmnopqrstuvwxyz]*.
68658         [ISO C standards] (*_t): Do not allow.
68659         * conform/data/wctype.h-data [C99-based standards] (iswblank):
68660         Expect function.
68661         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
68662         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
68663         Specify type.
68664         [ISO C standards]: Do not allow headers.
68665         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
68666         is[abcdefghijklmnopqrstuvwxyz]*.
68667         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
68668         to[abcdefghijklmnopqrstuvwxyz]*.
68669         [ISO C standards] (*_t): Do not allow.
68670         * conform/data/stdalign.h-data: New file.
68671         * conform/data/stdbool.h-data: Likewise.
68672         * conform/data/stdnoreturn.h-data: Likewise.
68674 2012-11-07  Roland McGrath  <roland@hack.frob.com>
68676         [BZ #14815]
68677         * manual/filesys.texi (Directory Entries): Typo fix.
68678         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
68680 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68682         * elf/elf.h (EM_AARCH64): New macro.
68683         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
68684         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
68685         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
68686         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
68687         (R_AARCH64_TLSDESC): Likewise.
68688         (NT_ARM_TLS): Likewise.
68689         (NT_ARM_HW_BREAK): Likewise.
68690         (NT_ARM_HW_WATCH): Likewise.
68692 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68694         [BZ #14811]
68695         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
68696         (__ieee754_powl): Saturate nonzero exponents with absolute value
68697         below 0x1p-79 to +/- 0x1p-79.
68698         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
68699         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
68700         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
68701         nonzero exponents with absolute value below 0x1p-32 to +/-
68702         0x1p-32.
68703         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
68704         (__ieee754_powl): Saturate nonzero exponents with absolute value
68705         below 0x1p-79 to +/- 0x1p-79.
68706         * math/libm-test.inc (pow_test): Add more tests.
68708 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68710         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
68711         _dl_s390_cap_flags with kernel. Increase string length.
68712         (_dl_s390_platforms): Add z196 and zEC12.
68714 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68716         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
68717         Change XOPEN21K to XOPEN2K.
68719 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
68721         * string/memmove.c: Use memcpy when possible.
68723 2012-11-06  Andreas Jaeger  <aj@suse.de>
68725         * po/eo.po: Update from translation team.
68727 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
68729         [BZ #14793]
68730         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
68731         exponent and small x and y exponents, scale x or y up.  Increase
68732         by 2 the exponent used in scaling up.
68733         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68734         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68735         * math/libm-test.inc (fma_test): Add more tests.
68736         (fma_test_towardzero): Likewise.
68737         (fma_test_downward): Likewise.
68738         (fma_test_upward): Likewise.
68740 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
68742         [BZ #14805]
68743         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
68744         fenv_t *.
68746         [BZ #14801]
68747         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
68748         namespace for names of struct fields.
68749         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
68750         fenv_t fields.
68751         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
68752         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
68754 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68756         [BZ #3665]
68757         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
68759 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
68761         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
68762         PTR_DEMANGLE.
68764         [BZ #5246]
68765         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
68766         PTR_DEMANGLE.
68768 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
68770         [BZ #14797]
68771         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
68772         definitely overflow as x * y not x * y + z.
68773         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68774         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68775         * math/libm-test.inc (fma_test): Add more tests.
68776         (fma_test_towardzero): Likewise.
68777         (fma_test_downward): Likewise.
68778         (fma_test_upward): Likewise.
68780 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
68782         [BZ #157]
68784         * include/stub-tag.h: Remove file.
68785         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
68786         '#include' of it.
68787         * manual/maint.texi (Porting): Don't reference it.
68788         * Makerules ($(objpfx)stubs): Likewise.
68789         * dirent/closedir.c: Don't include <stub-tag.h>.
68790         * dirent/dirfd.c: Likewise.
68791         * dirent/fdopendir.c: Likewise.
68792         * dirent/getdents.c: Likewise.
68793         * dirent/getdents64.c: Likewise.
68794         * dirent/opendir.c: Likewise.
68795         * dirent/readdir.c: Likewise.
68796         * dirent/readdir64.c: Likewise.
68797         * dirent/readdir64_r.c: Likewise.
68798         * dirent/readdir_r.c: Likewise.
68799         * dirent/rewinddir.c: Likewise.
68800         * dirent/seekdir.c: Likewise.
68801         * dirent/telldir.c: Likewise.
68802         * gmon/profil.c: Likewise.
68803         * grp/setgroups.c: Likewise.
68804         * inet/if_index.c: Likewise.
68805         * io/access.c: Likewise.
68806         * io/chdir.c: Likewise.
68807         * io/chmod.c: Likewise.
68808         * io/chown.c: Likewise.
68809         * io/close.c: Likewise.
68810         * io/dup.c: Likewise.
68811         * io/dup2.c: Likewise.
68812         * io/dup3.c: Likewise.
68813         * io/euidaccess.c: Likewise.
68814         * io/faccessat.c: Likewise.
68815         * io/fchdir.c: Likewise.
68816         * io/fchmod.c: Likewise.
68817         * io/fchmodat.c: Likewise.
68818         * io/fchown.c: Likewise.
68819         * io/fchownat.c: Likewise.
68820         * io/fcntl.c: Likewise.
68821         * io/flock.c: Likewise.
68822         * io/fstatfs.c: Likewise.
68823         * io/fstatfs64.c: Likewise.
68824         * io/fstatvfs.c: Likewise.
68825         * io/fstatvfs64.c: Likewise.
68826         * io/futimens.c: Likewise.
68827         * io/fxstat.c: Likewise.
68828         * io/fxstat64.c: Likewise.
68829         * io/fxstatat.c: Likewise.
68830         * io/fxstatat64.c: Likewise.
68831         * io/getcwd.c: Likewise.
68832         * io/isatty.c: Likewise.
68833         * io/lchmod.c: Likewise.
68834         * io/lchown.c: Likewise.
68835         * io/link.c: Likewise.
68836         * io/linkat.c: Likewise.
68837         * io/lseek.c: Likewise.
68838         * io/lseek64.c: Likewise.
68839         * io/lxstat64.c: Likewise.
68840         * io/mkdir.c: Likewise.
68841         * io/mkdirat.c: Likewise.
68842         * io/mkfifo.c: Likewise.
68843         * io/mkfifoat.c: Likewise.
68844         * io/open.c: Likewise.
68845         * io/open64.c: Likewise.
68846         * io/openat.c: Likewise.
68847         * io/openat64.c: Likewise.
68848         * io/pipe.c: Likewise.
68849         * io/pipe2.c: Likewise.
68850         * io/poll.c: Likewise.
68851         * io/posix_fadvise.c: Likewise.
68852         * io/posix_fadvise64.c: Likewise.
68853         * io/posix_fallocate.c: Likewise.
68854         * io/posix_fallocate64.c: Likewise.
68855         * io/read.c: Likewise.
68856         * io/readlink.c: Likewise.
68857         * io/readlinkat.c: Likewise.
68858         * io/rmdir.c: Likewise.
68859         * io/sendfile.c: Likewise.
68860         * io/sendfile64.c: Likewise.
68861         * io/statfs.c: Likewise.
68862         * io/statfs64.c: Likewise.
68863         * io/statvfs.c: Likewise.
68864         * io/statvfs64.c: Likewise.
68865         * io/symlink.c: Likewise.
68866         * io/symlinkat.c: Likewise.
68867         * io/ttyname.c: Likewise.
68868         * io/ttyname_r.c: Likewise.
68869         * io/umask.c: Likewise.
68870         * io/unlink.c: Likewise.
68871         * io/unlinkat.c: Likewise.
68872         * io/utime.c: Likewise.
68873         * io/utimensat.c: Likewise.
68874         * io/write.c: Likewise.
68875         * io/xmknod.c: Likewise.
68876         * io/xmknodat.c: Likewise.
68877         * io/xstat.c: Likewise.
68878         * io/xstat64.c: Likewise.
68879         * login/getpt.c: Likewise.
68880         * login/grantpt.c: Likewise.
68881         * login/unlockpt.c: Likewise.
68882         * math/e_acoshl.c: Likewise.
68883         * math/e_acosl.c: Likewise.
68884         * math/e_asinl.c: Likewise.
68885         * math/e_atan2l.c: Likewise.
68886         * math/e_atanhl.c: Likewise.
68887         * math/e_coshl.c: Likewise.
68888         * math/e_expl.c: Likewise.
68889         * math/e_fmodl.c: Likewise.
68890         * math/e_gammal_r.c: Likewise.
68891         * math/e_hypotl.c: Likewise.
68892         * math/e_j0l.c: Likewise.
68893         * math/e_j1l.c: Likewise.
68894         * math/e_jnl.c: Likewise.
68895         * math/e_lgammal_r.c: Likewise.
68896         * math/e_log10l.c: Likewise.
68897         * math/e_log2l.c: Likewise.
68898         * math/e_logl.c: Likewise.
68899         * math/e_powl.c: Likewise.
68900         * math/e_rem_pio2l.c: Likewise.
68901         * math/e_sinhl.c: Likewise.
68902         * math/e_sqrtl.c: Likewise.
68903         * math/fclrexcpt.c: Likewise.
68904         * math/fedisblxcpt.c: Likewise.
68905         * math/feenablxcpt.c: Likewise.
68906         * math/fegetenv.c: Likewise.
68907         * math/fegetexcept.c: Likewise.
68908         * math/fegetround.c: Likewise.
68909         * math/feholdexcpt.c: Likewise.
68910         * math/fesetenv.c: Likewise.
68911         * math/fesetround.c: Likewise.
68912         * math/feupdateenv.c: Likewise.
68913         * math/fgetexcptflg.c: Likewise.
68914         * math/fraiseexcpt.c: Likewise.
68915         * math/fsetexcptflg.c: Likewise.
68916         * math/ftestexcept.c: Likewise.
68917         * math/k_cosl.c: Likewise.
68918         * math/k_rem_pio2l.c: Likewise.
68919         * math/k_sinl.c: Likewise.
68920         * math/k_tanl.c: Likewise.
68921         * math/s_asinhl.c: Likewise.
68922         * math/s_atanl.c: Likewise.
68923         * math/s_cbrtl.c: Likewise.
68924         * math/s_erfl.c: Likewise.
68925         * math/s_expm1l.c: Likewise.
68926         * math/s_log1pl.c: Likewise.
68927         * math/s_tanhl.c: Likewise.
68928         * misc/acct.c: Likewise.
68929         * misc/brk.c: Likewise.
68930         * misc/chflags.c: Likewise.
68931         * misc/chroot.c: Likewise.
68932         * misc/fchflags.c: Likewise.
68933         * misc/fgetxattr.c: Likewise.
68934         * misc/flistxattr.c: Likewise.
68935         * misc/fremovexattr.c: Likewise.
68936         * misc/fsetxattr.c: Likewise.
68937         * misc/fsync.c: Likewise.
68938         * misc/ftruncate.c: Likewise.
68939         * misc/futimes.c: Likewise.
68940         * misc/futimesat.c: Likewise.
68941         * misc/getdomain.c: Likewise.
68942         * misc/getdtsz.c: Likewise.
68943         * misc/gethostid.c: Likewise.
68944         * misc/gethostname.c: Likewise.
68945         * misc/getloadavg.c: Likewise.
68946         * misc/getpagesize.c: Likewise.
68947         * misc/getsysstats.c: Likewise.
68948         * misc/getxattr.c: Likewise.
68949         * misc/gtty.c: Likewise.
68950         * misc/ioctl.c: Likewise.
68951         * misc/lgetxattr.c: Likewise.
68952         * misc/listxattr.c: Likewise.
68953         * misc/llistxattr.c: Likewise.
68954         * misc/lremovexattr.c: Likewise.
68955         * misc/lsetxattr.c: Likewise.
68956         * misc/lutimes.c: Likewise.
68957         * misc/madvise.c: Likewise.
68958         * misc/mincore.c: Likewise.
68959         * misc/mlock.c: Likewise.
68960         * misc/mlockall.c: Likewise.
68961         * misc/mmap.c: Likewise.
68962         * misc/mprotect.c: Likewise.
68963         * misc/msync.c: Likewise.
68964         * misc/munlock.c: Likewise.
68965         * misc/munlockall.c: Likewise.
68966         * misc/munmap.c: Likewise.
68967         * misc/preadv.c: Likewise.
68968         * misc/preadv64.c: Likewise.
68969         * misc/ptrace.c: Likewise.
68970         * misc/pwritev.c: Likewise.
68971         * misc/pwritev64.c: Likewise.
68972         * misc/readv.c: Likewise.
68973         * misc/reboot.c: Likewise.
68974         * misc/remap_file_pages.c: Likewise.
68975         * misc/removexattr.c: Likewise.
68976         * misc/revoke.c: Likewise.
68977         * misc/select.c: Likewise.
68978         * misc/setdomain.c: Likewise.
68979         * misc/setegid.c: Likewise.
68980         * misc/seteuid.c: Likewise.
68981         * misc/sethostid.c: Likewise.
68982         * misc/sethostname.c: Likewise.
68983         * misc/setregid.c: Likewise.
68984         * misc/setreuid.c: Likewise.
68985         * misc/setxattr.c: Likewise.
68986         * misc/sstk.c: Likewise.
68987         * misc/stty.c: Likewise.
68988         * misc/swapoff.c: Likewise.
68989         * misc/swapon.c: Likewise.
68990         * misc/sync.c: Likewise.
68991         * misc/syncfs.c: Likewise.
68992         * misc/syscall.c: Likewise.
68993         * misc/truncate.c: Likewise.
68994         * misc/ualarm.c: Likewise.
68995         * misc/usleep.c: Likewise.
68996         * misc/ustat.c: Likewise.
68997         * misc/utimes.c: Likewise.
68998         * misc/vhangup.c: Likewise.
68999         * misc/writev.c: Likewise.
69000         * posix/_exit.c: Likewise.
69001         * posix/alarm.c: Likewise.
69002         * posix/execve.c: Likewise.
69003         * posix/fexecve.c: Likewise.
69004         * posix/fork.c: Likewise.
69005         * posix/fpathconf.c: Likewise.
69006         * posix/getaddrinfo.c: Likewise.
69007         * posix/getegid.c: Likewise.
69008         * posix/geteuid.c: Likewise.
69009         * posix/getgid.c: Likewise.
69010         * posix/getgroups.c: Likewise.
69011         * posix/getlogin.c: Likewise.
69012         * posix/getlogin_r.c: Likewise.
69013         * posix/getpgid.c: Likewise.
69014         * posix/getpid.c: Likewise.
69015         * posix/getppid.c: Likewise.
69016         * posix/getresgid.c: Likewise.
69017         * posix/getresuid.c: Likewise.
69018         * posix/getsid.c: Likewise.
69019         * posix/getuid.c: Likewise.
69020         * posix/glob64.c: Likewise.
69021         * posix/nanosleep.c: Likewise.
69022         * posix/pathconf.c: Likewise.
69023         * posix/pause.c: Likewise.
69024         * posix/posix_madvise.c: Likewise.
69025         * posix/pread.c: Likewise.
69026         * posix/pread64.c: Likewise.
69027         * posix/pwrite.c: Likewise.
69028         * posix/pwrite64.c: Likewise.
69029         * posix/sched_getaffinity.c: Likewise.
69030         * posix/sched_getp.c: Likewise.
69031         * posix/sched_gets.c: Likewise.
69032         * posix/sched_primax.c: Likewise.
69033         * posix/sched_primin.c: Likewise.
69034         * posix/sched_rr_gi.c: Likewise.
69035         * posix/sched_setaffinity.c: Likewise.
69036         * posix/sched_setp.c: Likewise.
69037         * posix/sched_sets.c: Likewise.
69038         * posix/sched_yield.c: Likewise.
69039         * posix/setgid.c: Likewise.
69040         * posix/setlogin.c: Likewise.
69041         * posix/setpgid.c: Likewise.
69042         * posix/setresgid.c: Likewise.
69043         * posix/setresuid.c: Likewise.
69044         * posix/setsid.c: Likewise.
69045         * posix/setuid.c: Likewise.
69046         * posix/sleep.c: Likewise.
69047         * posix/spawni.c: Likewise.
69048         * posix/sysconf.c: Likewise.
69049         * posix/times.c: Likewise.
69050         * posix/wait.c: Likewise.
69051         * posix/wait3.c: Likewise.
69052         * posix/wait4.c: Likewise.
69053         * posix/waitpid.c: Likewise.
69054         * resolv/gai_sigqueue.c: Likewise.
69055         * resource/getpriority.c: Likewise.
69056         * resource/getrlimit.c: Likewise.
69057         * resource/getrusage.c: Likewise.
69058         * resource/nice.c: Likewise.
69059         * resource/setpriority.c: Likewise.
69060         * resource/setrlimit.c: Likewise.
69061         * resource/ulimit.c: Likewise.
69062         * rt/aio_cancel.c: Likewise.
69063         * rt/aio_fsync.c: Likewise.
69064         * rt/aio_read.c: Likewise.
69065         * rt/aio_sigqueue.c: Likewise.
69066         * rt/aio_suspend.c: Likewise.
69067         * rt/aio_write.c: Likewise.
69068         * rt/clock_getres.c: Likewise.
69069         * rt/clock_gettime.c: Likewise.
69070         * rt/clock_nanosleep.c: Likewise.
69071         * rt/clock_settime.c: Likewise.
69072         * rt/lio_listio.c: Likewise.
69073         * rt/mq_close.c: Likewise.
69074         * rt/mq_getattr.c: Likewise.
69075         * rt/mq_notify.c: Likewise.
69076         * rt/mq_open.c: Likewise.
69077         * rt/mq_receive.c: Likewise.
69078         * rt/mq_send.c: Likewise.
69079         * rt/mq_setattr.c: Likewise.
69080         * rt/mq_timedreceive.c: Likewise.
69081         * rt/mq_timedsend.c: Likewise.
69082         * rt/mq_unlink.c: Likewise.
69083         * rt/shm_open.c: Likewise.
69084         * rt/shm_unlink.c: Likewise.
69085         * rt/timer_create.c: Likewise.
69086         * rt/timer_delete.c: Likewise.
69087         * rt/timer_getoverr.c: Likewise.
69088         * rt/timer_gettime.c: Likewise.
69089         * rt/timer_settime.c: Likewise.
69090         * setjmp/__longjmp.c: Likewise.
69091         * setjmp/setjmp.c: Likewise.
69092         * signal/kill.c: Likewise.
69093         * signal/killpg.c: Likewise.
69094         * signal/raise.c: Likewise.
69095         * signal/sigaction.c: Likewise.
69096         * signal/sigaltstack.c: Likewise.
69097         * signal/sigblock.c: Likewise.
69098         * signal/sigignore.c: Likewise.
69099         * signal/sigintr.c: Likewise.
69100         * signal/signal.c: Likewise.
69101         * signal/sigpause.c: Likewise.
69102         * signal/sigpending.c: Likewise.
69103         * signal/sigqueue.c: Likewise.
69104         * signal/sigreturn.c: Likewise.
69105         * signal/sigset.c: Likewise.
69106         * signal/sigsetmask.c: Likewise.
69107         * signal/sigstack.c: Likewise.
69108         * signal/sigsuspend.c: Likewise.
69109         * signal/sigtimedwait.c: Likewise.
69110         * signal/sigvec.c: Likewise.
69111         * signal/sigwait.c: Likewise.
69112         * signal/sigwaitinfo.c: Likewise.
69113         * signal/sysv_signal.c: Likewise.
69114         * socket/accept.c: Likewise.
69115         * socket/accept4.c: Likewise.
69116         * socket/bind.c: Likewise.
69117         * socket/connect.c: Likewise.
69118         * socket/getpeername.c: Likewise.
69119         * socket/getsockname.c: Likewise.
69120         * socket/getsockopt.c: Likewise.
69121         * socket/isfdtype.c: Likewise.
69122         * socket/listen.c: Likewise.
69123         * socket/recv.c: Likewise.
69124         * socket/recvfrom.c: Likewise.
69125         * socket/recvmsg.c: Likewise.
69126         * socket/send.c: Likewise.
69127         * socket/sendmsg.c: Likewise.
69128         * socket/sendto.c: Likewise.
69129         * socket/setsockopt.c: Likewise.
69130         * socket/shutdown.c: Likewise.
69131         * socket/sockatmark.c: Likewise.
69132         * socket/socket.c: Likewise.
69133         * socket/socketpair.c: Likewise.
69134         * stdio-common/ctermid.c: Likewise.
69135         * stdio-common/cuserid.c: Likewise.
69136         * stdio-common/remove.c: Likewise.
69137         * stdio-common/rename.c: Likewise.
69138         * stdio-common/renameat.c: Likewise.
69139         * stdio-common/tempname.c: Likewise.
69140         * stdlib/getcontext.c: Likewise.
69141         * stdlib/makecontext.c: Likewise.
69142         * stdlib/setcontext.c: Likewise.
69143         * stdlib/swapcontext.c: Likewise.
69144         * stdlib/system.c: Likewise.
69145         * streams/fattach.c: Likewise.
69146         * streams/fdetach.c: Likewise.
69147         * streams/getmsg.c: Likewise.
69148         * streams/getpmsg.c: Likewise.
69149         * streams/putmsg.c: Likewise.
69150         * streams/putpmsg.c: Likewise.
69151         * sysdeps/unix/bsd/getpt.c: Likewise.
69152         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
69153         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
69154         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
69155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
69156         Likewise.
69157         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
69158         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
69159         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
69160         * sysvipc/msgctl.c: Likewise.
69161         * sysvipc/msgget.c: Likewise.
69162         * sysvipc/msgrcv.c: Likewise.
69163         * sysvipc/msgsnd.c: Likewise.
69164         * sysvipc/semctl.c: Likewise.
69165         * sysvipc/semget.c: Likewise.
69166         * sysvipc/semop.c: Likewise.
69167         * sysvipc/semtimedop.c: Likewise.
69168         * sysvipc/shmat.c: Likewise.
69169         * sysvipc/shmctl.c: Likewise.
69170         * sysvipc/shmdt.c: Likewise.
69171         * sysvipc/shmget.c: Likewise.
69172         * termios/tcdrain.c: Likewise.
69173         * termios/tcflow.c: Likewise.
69174         * termios/tcflush.c: Likewise.
69175         * termios/tcgetattr.c: Likewise.
69176         * termios/tcgetpgrp.c: Likewise.
69177         * termios/tcsendbrk.c: Likewise.
69178         * termios/tcsetattr.c: Likewise.
69179         * termios/tcsetpgrp.c: Likewise.
69180         * time/adjtime.c: Likewise.
69181         * time/clock.c: Likewise.
69182         * time/getitimer.c: Likewise.
69183         * time/gettimeofday.c: Likewise.
69184         * time/setitimer.c: Likewise.
69185         * time/settimeofday.c: Likewise.
69186         * time/stime.c: Likewise.
69187         * time/time.c: Likewise.
69189 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
69191         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
69192         /usr/old/bin.
69194         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
69195         instead of spaces.
69196         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
69198 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
69200         [BZ #14796]
69201         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
69202         FE_TONEAREST before applying Dekker multiplication and Knuth
69203         addition.  Clear inexact exceptions and check for exact zero
69204         results afterwards.
69205         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69206         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
69207         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69208         * math/libm-test.inc (fma_test): Add more tests.
69209         (fma_test_towardzero): Likewise.
69210         (fma_test_downward): Likewise.
69211         (fma_test_upward): Likewise.
69212         * sysdeps/generic/math_private.h (default_libc_fesetround): New
69213         function.
69214         (libc_fesetround): New macro.
69215         (libc_fesetroundf): Likewise.
69216         (libc_fesetroundl): Likewise.
69217         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
69218         function.
69219         (libc_fesetround_387): Likewise.
69220         (libc_fesetroundf): New macro.
69221         (libc_fesetround): Likewise.
69222         (libc_fesetroundl): Likewise.
69223         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
69224         function.
69225         (libc_fesetroundf): New macro.
69226         (libc_fesetround): Likewise.
69227         (libc_fesetroundl): Likewise.
69228         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
69229         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
69230         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
69231         libm_hidden_ver.
69232         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
69233         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
69234         libm_hidden_def.
69235         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
69236         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
69237         libm_hidden_ver.
69238         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
69239         libm_hidden_def.
69241         [BZ #3439]
69242         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
69243         integer constant usable in #if and use that to give value to enum
69244         constant.
69245         (FE_DIVBYZERO): Likewise.
69246         (FE_UNDERFLOW): Likewise.
69247         (FE_OVERFLOW): Likewise.
69248         (FE_INVALID): Likewise.
69249         (FE_INVALID_SNAN): Likewise.
69250         (FE_INVALID_ISI): Likewise.
69251         (FE_INVALID_IDI): Likewise.
69252         (FE_INVALID_ZDZ): Likewise.
69253         (FE_INVALID_IMZ): Likewise.
69254         (FE_INVALID_COMPARE): Likewise.
69255         (FE_INVALID_SOFTWARE): Likewise.
69256         (FE_INVALID_SQRT): Likewise.
69257         (FE_INVALID_INTEGER_CONVERSION): Likewise.
69258         (FE_TONEAREST): Likewise.
69259         (FE_TOWARDZERO): Likewise.
69260         (FE_UPWARD): Likewise.
69261         (FE_DOWNWARD): Likewise.
69262         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
69263         (FE_DIVBYZERO): Likewise.
69264         (FE_OVERFLOW): Likewise.
69265         (FE_UNDERFLOW): Likewise.
69266         (FE_INEXACT): Likewise.
69267         (FE_TONEAREST): Likewise.
69268         (FE_DOWNWARD): Likewise.
69269         (FE_UPWARD): Likewise.
69270         (FE_TOWARDZERO): Likewise.
69271         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
69272         (FE_UNDERFLOW): Likewise.
69273         (FE_OVERFLOW): Likewise.
69274         (FE_DIVBYZERO): Likewise.
69275         (FE_INVALID): Likewise.
69276         (FE_TONEAREST): Likewise.
69277         (FE_TOWARDZERO): Likewise.
69278         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
69279         (FE_OVERFLOW): Likewise.
69280         (FE_UNDERFLOW): Likewise.
69281         (FE_DIVBYZERO): Likewise.
69282         (FE_INEXACT): Likewise.
69283         (FE_TONEAREST): Likewise.
69284         (FE_TOWARDZERO): Likewise.
69285         (FE_UPWARD): Likewise.
69286         (FE_DOWNWARD): Likewise.
69287         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
69288         (FE_DIVBYZERO): Likewise.
69289         (FE_OVERFLOW): Likewise.
69290         (FE_UNDERFLOW): Likewise.
69291         (FE_INEXACT): Likewise.
69292         (FE_TONEAREST): Likewise.
69293         (FE_DOWNWARD): Likewise.
69294         (FE_UPWARD): Likewise.
69295         (FE_TOWARDZERO): Likewise.
69297 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
69299         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
69301 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
69303         * scripts/cross-test-ssh.sh (command): Use newlines to separate
69304         commands.  Quote $PWD.
69305         (blacklist_exports): Don't use remove_newlines.  Replace "declare
69306         -x" by "export".
69307         (remove_newlines): Remove.
69309 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
69311         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
69312         * stdlib/stdlib.h (atof): Moved to ...
69313         * include/bits/stdlib-float.h: Here.  New file.
69314         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
69315         * stdlib/bits/stdlib-float.h: New file.
69316         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
69317         -mno-sse -mno-mmx.
69318         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
69319         <xmmintrin.h>.
69321 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
69323         * conform/conformtest.pl (@headers): Add fenv.h.
69324         * conform/data/fenv.h-data: New file.
69325         * include/fenv.h [_ISOMAC]: Disable all contents of file except
69326         include of <math/fenv.h>.
69328         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
69329         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
69330         && !UNIX98].  Enables tests for XOPEN2K8.
69331         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
69332         POSIX2008]: Likewise.
69334         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
69335         (struct rusage): Do not expect type or its members.
69337         [BZ #3439]
69338         * math/math.h (FP_NAN): Define macro to integer constant usable in
69339         #if and use that to give value to enum constant.
69340         (FP_INFINITE): Likewise.
69341         (FP_ZERO): Likewise.
69342         (FP_SUBNORMAL): Likewise.
69343         (FP_NORMAL): Likewise.
69345 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
69347         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
69348         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
69349         arguments.
69351 2012-11-02  Roland McGrath  <roland@hack.frob.com>
69353         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
69354         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
69355         autoconf-time if not.
69356         * configure.in: Remove AC_PREREQ.
69358 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69360         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
69361         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
69362         of the internal implementation.
69364 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
69366         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
69367         except include of <misc/sys/syslog.h>.
69369 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
69372         function returns with a NULL context exit with zero.
69374 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69376         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
69378 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
69380         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
69381         (run_program_cmd): This.
69382         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
69383         (tst_langinfo): New variable.  Use it.
69385 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
69387         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
69388         floating point opcodes.
69390 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69392         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
69393         variable.
69395         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
69397         * sysdeps/mach/hurd/powerpc: Remove directory.
69398         * sysdeps/mach/powerpc: Likewise.
69400 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69402         * scripts/check-local-headers.sh: Ignore c++ headers.
69404 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69406         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
69407         __libc_cleanup_region_start argument.
69409 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
69411         [BZ #14784]
69412         [BZ #14785]
69413         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
69414         x * y using scaling, not as x * y + z.
69415         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69416         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69417         * math/libm-test.inc (fma_test): Add more tests.
69418         (fma_test_towardzero): Likewise.
69419         (fma_test_downward): Likewise.
69420         (fma_test_upward): Likewise.
69422 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69424         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
69426 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
69428         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
69429         New variable.
69431 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
69433         * rt/tst-shm.c (worker): Correct checking for mmap failure.
69435 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
69437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69438         Fix sort order.
69439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69440         Likewise.
69442 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69445         Fix the order of the list for glibc 2.17.
69446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69447         Likewise.
69449 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
69451         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69453 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
69455         [BZ #14610]
69456         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
69457         for low part of x being zero before using __atanl (y).
69458         * math/libm-test.inc (atan2_test): Add another test.
69460         * manual/install.texi (Configuring and compiling): Document
69461         general use of test-wrapper and test-wrapper-env.
69462         * INSTALL: Regenerated.
69464         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
69465         (__fma): Do not extract and scale down low bits on after-rounding
69466         systems when result rounded to normal precision would have normal
69467         exponent.
69468         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
69469         (__fmal): Do not extract and scale down low bits on after-rounding
69470         systems when result rounded to normal precision would have normal
69471         exponent.
69472         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
69473         (__fmal): Do not extract and scale down low bits on after-rounding
69474         systems when result rounded to normal precision would have normal
69475         exponent.
69476         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
69477         macro.
69478         (fma_test): Add more tests.
69479         (fma_test_towardzero): Likewise.
69480         (fma_test_downward): Likewise.
69481         (fma_test_upward): Likewise.
69483 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
69485         * sysdeps/i386/tininess.h: Renamed to ...
69486         * sysdeps/x86/tininess.h: This.
69487         * sysdeps/x86_64/tininess.h: Removed.
69489 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
69491         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
69492         input.  Use $(build-program-cmd).
69493         ($(objpfx)tst-array1-static.out): Likewise.
69494         ($(objpfx)tst-array2.out): Likewise.
69495         ($(objpfx)tst-array3.out): Likewise.
69496         ($(objpfx)tst-array4.out): Likewise.
69497         ($(objpfx)tst-array5.out): Likewise.
69498         ($(objpfx)tst-array5-static.out): Likewise.
69500 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
69502         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
69503         if defined.
69505         * nss/nsswitch.h (nss_interface_function): Provide new
69506         macro for use with NSS functions.
69507         * grp/initgroups.c: Use new macro.
69508         * nss/getXXbyYY.c: Likewise.
69509         * nss/getXXbyYY_r.c: Likewise.
69510         * nss/getXXent.c: Likewise.
69511         * nss/getXXent_r.c: Likewise.
69512         * sysdeps/posix/getaddrinfo.c: Likewise.
69514 2012-10-30  Andreas Jaeger  <aj@suse.de>
69516         * po/ru.po: Update Russion translation from translation project.
69518 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
69520         [BZ #14152]
69521         [BZ #14783]
69522         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
69523         result and shift together with sticky bit instead of replicating
69524         round-to-nearest rounding.
69525         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69526         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69527         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
69528         missing underflow exceptions.
69529         (fma_test_towardzero): Add more tests.
69530         (fma_test_downward): Likewise.
69531         (fma_test_upward): Likewise.
69533         [BZ #14047]
69534         * sysdeps/generic/tininess.h: New file.
69535         * sysdeps/i386/tininess.h: Likewise.
69536         * sysdeps/sh/tininess.h: Likewise.
69537         * sysdeps/x86_64/tininess.h: Likewise.
69538         * stdlib/tst-strtod-underflow.c: Likewise.
69539         * stdlib/tst-tininess.c: Likewise.
69540         * stdlib/strtod_l.c: Include <tininess.h>.
69541         (round_and_return): Do not set errno for exact underflow cases.
69542         Force an underflow exception when setting errno for underflow.
69543         Determine underflow based on rounding to normal precision if
69544         TININESS_AFTER_ROUNDING.
69545         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
69546         ERANGE for exact underflow cases.
69547         * stdlib/Makefile (tests): Add tst-tininess and
69548         tst-strtod-underflow.
69549         ($(objpfx)tst-tininess): Use $(link-libm).
69550         ($(objpfx)tst-strtod-underflow): Likewise.
69552 2012-10-30  Andreas Jaeger  <aj@suse.de>
69554         [BZ #14767]
69555         * elf/Makefile (tests): Remove conditional for have-initfini-array
69556         since this is now always required and the variable does not exist
69557         anymore.
69558         (tests-static): Likewise.
69559         (modules-names): Likewise.
69561         * po/eo.po: Add Esperanto translation from translation project.
69563         * elf/tst-array1.c (fini_array): Make writeable so that it can be
69564         merged with constructor/destructor.
69565         (init_array): Likewise.
69566         * elf/tst-array2dep.c (fini_array): Likewise.
69567         (init_array): Likewise.
69569 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
69571         * manual/message.texi: Delete @cartouche tags.
69573 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
69575         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
69576         EOPNOTSUPP.
69577         * sysdeps/mach/hurd/fsync.c: Likewise.
69579         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
69580         [_POSIX_REALTIME_SIGNALS]: Change condition to
69581         [_POSIX_REALTIME_SIGNALS > 0].
69583 2012-10-27  Andreas Jaeger  <aj@suse.de>
69585         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
69586         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
69587         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
69588         [__WORDSIZE != 64]: Likewise.
69590 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
69592         *  iconvdata/tst-table.sh: Remove ${SHELL}.
69593         *  iconvdata/tst-tables.sh: Likewise.
69595 2012-10-25  David S. Miller  <davem@davemloft.net>
69597         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69598         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
69599         of strtoull.
69601         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
69602         ifunc-impl-list.c
69603         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69604         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
69605         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
69606         file.
69608 2012-10-25  Roland McGrath  <roland@hack.frob.com>
69610         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69611         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
69612         __getdirentries.
69614 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
69615             Jim Blandy  <jimb@codesourcery.com>
69617         * scripts/cross-test-ssh.sh: New file.
69618         * manual/install.texi (Configuring and compiling): Document use of
69619         cross-test-ssh.sh.
69620         * INSTALL: Regenerated.
69622 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
69624         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
69625         EOPNOTSUPP.
69627 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
69629         * Makeconfig (run-program-prefix): Fix comment.
69631 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
69632             Jim Blandy  <jimb@codesourcery.com>
69634         * Makeconfig (test-wrapper): New variable,
69635         (test-wrapper-env): Likewise.
69636         [$(cross-compiling) = yes && $(test-wrapper) != ""]
69637         (run-built-tests): Define to yes.
69638         (run-program-prefix): Use $(test-wrapper).
69639         (built-program-cmd): Likewise.
69640         * Rules (make-test-out): Use $(test-wrapper-env) and
69641         $(host-built-program-cmd).
69642         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
69643         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
69644         tst-pathopt.sh.
69645         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
69646         $(test-wrapper-env) to tst-rtld-load-self.sh.
69647         ($(objpfx)order2.out): Use $(test-wrapper).
69648         ($(objpfx)tst-initorder.out): Likewise.
69649         ($(objpfx)tst-initorder2.out): Likewise.
69650         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
69651         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
69652         (test_wrapper_env): New variable.  Use it to run ld.so.
69653         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
69654         Use it to run ld.so.
69655         (test_wrapper_env): Likewise.
69656         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
69657         $(test-wrapper) to run-iconv-test.sh.
69658         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
69659         (ICONV): Use $test_wrapper.
69660         * posix/Makefile ($(objpfx)globtest.out): Pass
69661         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
69662         globtest.sh, not $(run-program-prefix).
69663         * posix/globtest.sh (run_via_rtld_prefix): New variable.
69664         (test_wrapper): Likewise.
69665         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
69666         set together with run_via_rtld_prefix.
69667         (run_program_prefix): Define in terms of test_wrapper and
69668         run_via_rtld_prefix.
69670 2012-10-24  Roland McGrath  <roland@hack.frob.com>
69672         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
69673         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
69674         Targets removed.
69676         [BZ #14743]
69677         * include/time.h: Remove librt_hidden_proto (clock_gettime).
69678         Declare __clock_getres, __clock_gettime, __clock_settime,
69679         __clock_nanosleep, and __clock_getcpuclockid.
69680         * rt/clock_gettime.c: Define __clock_gettime as an alias.
69681         Remove librt_hidden_def (clock_gettime).
69682         * sysdeps/unix/clock_gettime.c: Likewise.
69683         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
69684         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
69685         * rt/clock_getres.c: Define __clock_getres as an alias.
69686         * sysdeps/posix/clock_getres.c: Likewise.
69687         * rt/clock_settime.c: Define __clock_settime as an alias.
69688         * sysdeps/unix/clock_settime.c: Likewise.
69689         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
69690         * sysdeps/unix/clock_nanosleep.c: Likewise.
69691         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
69692         * rt/clock-compat.c: New file.
69693         * rt/Makefile (librt-routines): Add clock-compat and move
69694         $(clock-routines) to ...
69695         (routines): ... here, new variable.
69696         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
69697         Don't add get_clockfreq here.
69698         * rt/Versions (libc: GLIBC_2.17): New version set.
69699         Add clock_* symbols here.
69700         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
69701         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
69702         (GLIBC_2.17): Add clock_* symbols.
69703         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
69704         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
69705         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
69706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69707         Likewise.
69708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69709         Likewise.
69710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
69711         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
69712         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
69713         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
69714         * NEWS: Mention the move.
69716         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
69717         Use __open, __read, __close rather than their public counterparts.
69718         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69719         (__get_clockfreq_via_cpuinfo): Likewise.
69720         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
69721         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
69723         * config.h.in (HAVE_IFUNC): New #undef.
69724         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
69725         was successful.
69726         * configure: Regenerated.
69728 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
69730         * configure.in: Move READELF check to start of file.
69731         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
69732         libc_cv_asm_gnu_indirect_function in the process.
69733         * configure: Regenerated.
69735 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
69737         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
69738         send the output to /dev/null.
69739         (libc_cv_cc_with_libunwind): Likewise.
69740         (libc_cv_as_noexecstack): Likewise.
69741         * configure: Regenerate.
69743 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
69745         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
69747         * posix/globtest.sh (TMPDIR): Do not set.
69748         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
69749         (testout): Likewise.
69751 2012-10-24  Andreas Jaeger  <aj@suse.de>
69753         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
69754         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
69755         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
69756         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
69757         posix_fadvise64, posix_fallocate64.
69759         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
69760         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
69761         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
69762         Likewise.
69763         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
69764         Likewise.
69765         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
69767         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
69768         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
69769         <bits/fcntl-linux.h>.
69770         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
69772         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
69773         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
69774         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
69775         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
69776         [__WORDSIZE != 64]: Likewise.
69778 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
69780         * Makeconfig (run-built-tests): New variable.
69781         * Rules [$(cross-compiling) = yes]: Change condition to
69782         [$(run-built-tests) = no].
69783         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
69784         to [$(run-built-tests) = yes].
69785         * elf/Makefile [$(cross-compiling) = no]: Likewise.
69786         * grp/Makefile [$(cross-compiling) = no]: Likewise.
69787         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
69788         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
69789         * intl/Makefile [$(cross-compiling) = no]: Likewise.
69790         * io/Makefile [$(cross-compiling) = no]: Likewise.
69791         * libio/Makefile [$(cross-compiling) = no]: Likewise.
69792         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
69793         * misc/Makefile [$(cross-compiling) = no]: Likewise.
69794         * posix/Makefile [$(cross-compiling) = no]: Likewise.
69795         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
69796         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
69797         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
69798         * string/Makefile [$(cross-compiling) = no]: Likewise.
69800         * posix/Makefile ($(objpfx)globtest.out): Pass
69801         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
69802         $(rtld-installed-name).
69803         * posix/globtest.sh (elf_objpfx): Remove variable.
69804         (rtld_installed_name): Likewise.
69805         (library_path): Likewise.
69806         (run_program_prefix): New variable.  Use for running globtest
69807         binary.
69809 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
69810             Joseph Myers  <joseph@codesourcery.com>
69812         * Makeconfig (host-built-program-cmd): New variable.
69813         * elf/Makefile (tst-stackguard1-ARGS): Use
69814         $(host-built-program-cmd).
69815         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
69816         (tst-spawn-ARGS): Likewise.
69817         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
69819 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
69820             Jim Blandy  <jimb@codesourcery.com>
69822         * Makeconfig (run-via-rtld-prefix): New variable.
69823         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
69824         (built-program-cmd): Likewise.
69826 2012-10-22  Andreas Jaeger  <aj@suse.de>
69828         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
69829         __O_RSYNC if it exists, otherwise to O_SYNC.
69831 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
69832             Joseph Myers  <joseph@codesourcery.com>
69834         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
69835         /dev/null.
69836         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
69837         from /dev/null
69838         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
69839         /dev/null.
69841 2012-10-22  Andreas Jaeger  <aj@suse.de>
69843         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
69844         Define always.
69845         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
69847         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69848         bits/fcntl-linux.h.
69850         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
69851         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
69853         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
69854         to __O_LARGEFILE.
69855         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
69856         to __O_LARGEFILE.
69858 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
69859             Joseph Myers  <joseph@codesourcery.com>
69861         * config.make.in (NM): New variable.
69863 2012-10-21  Andreas Jaeger  <aj@suse.de>
69865         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
69866         definitions and declarations that are provided by
69867         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
69869 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
69871         [BZ #14683]
69872         * elf/Makefile (tests-static): Add tst-leaks1-static.
69873         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
69874         ($(objpfx)tst-leaks1-static): New rule.
69875         ($(objpfx)tst-leaks1-static-mem): Likewise.
69876         (tst-leaks1-static-ENV): New macro.
69877         * elf/dl-open.c (dl_open_worker): Check the main application
69878         only if SHARED is defined.
69879         * elf/tst-leaks1-static.c: New file.
69881 2012-10-20  Andreas Jaeger  <aj@suse.de>
69883         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
69884         generic values for Linux.
69885         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
69886         and declarations that are provided by <bits/fcntl-linux.h> and
69887         include <bits/fcntl-linux.h>.
69888         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69889         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69891 2012-10-20  Roland McGrath  <roland@hack.frob.com>
69893         * io/fcntl.h: Move include of <bits/types.h> to the top and
69894         include it unconditionally.
69896 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
69898         * wcsmbs/Makefile (tests-ifunc): New variable.
69899         (tests): Add $(tests-ifunc).
69900         * wcsmbs/test-wcschr-ifunc.c: New file.
69901         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
69902         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
69903         * wcsmbs/test-wcslen-ifunc.c: Likewise.
69904         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
69905         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
69907         * string/Makefile (tests-ifunc): New variable.
69908         (tests): Add $(tests-ifunc).
69909         * string/test-memccpy.c (TEST_NAME): New macro.
69910         * string/test-memchr.c (TEST_NAME): Likewise.
69911         * string/test-memcmp.c (TEST_NAME): Likewise.
69912         * string/test-memcpy.c (TEST_NAME): Likewise.
69913         * string/test-memmem.c (TEST_NAME): Likewise.
69914         * string/test-memmove.c (TEST_NAME): Likewise.
69915         * string/test-memset.c (TEST_NAME): Likewise.
69916         * string/test-rawmemchr.c (TEST_NAME): Likewise.
69917         * string/test-stpcpy.c (TEST_NAME): Likewise.
69918         * string/test-stpncpy.c (TEST_NAME): Likewise.
69919         * string/test-strcasecmp.c (TEST_NAME): Likewise.
69920         * string/test-strcasestr.c (TEST_NAME): Likewise.
69921         * string/test-strcat.c (TEST_NAME): Likewise.
69922         * string/test-strchr.c (TEST_NAME): Likewise.
69923         * string/test-strcmp.c(TEST_NAME): Likewise.
69924         * string/test-strcpy.c (TEST_NAME): Likewise.
69925         * string/test-strcspn.c (TEST_NAME): Likewise.
69926         * string/test-strlen.c (TEST_NAME): Likewise.
69927         * string/test-strncasecmp.c (TEST_NAME): Likewise.
69928         * string/test-strncmp.c (TEST_NAME): Likewise.
69929         * string/test-strncpy.c (TEST_NAME): Likewise.
69930         * string/test-strnlen.c (TEST_NAME): Likewise.
69931         * string/test-strpbrk.c (TEST_NAME): Likewise.
69932         * string/test-strrchr.c (TEST_NAME): Likewise.
69933         * string/test-strspn.c (TEST_NAME): Likewise.
69934         * string/test-strstr.c (TEST_NAME): Likewise.
69935         * string/test-bcopy-ifunc.c: New file.
69936         * string/test-bzero-ifunc.c: Likewise.
69937         * string/test-memccpy-ifunc.c: Likewise.
69938         * string/test-memchr-ifunc.c: Likewise.
69939         * string/test-memcmp-ifunc.c: Likewise.
69940         * string/test-memcpy-ifunc.c: Likewise.
69941         * string/test-memmem-ifunc.c: Likewise.
69942         * string/test-memmove-ifunc.c: Likewise.
69943         * string/test-mempcpy-ifunc.c: Likewise.
69944         * string/test-memset-ifunc.c: Likewise.
69945         * string/test-rawmemchr-ifunc.c: Likewise.
69946         * string/test-stpcpy-ifunc.c: Likewise.
69947         * string/test-stpncpy-ifunc.c: Likewise.
69948         * string/test-strcasecmp-ifunc.c: Likewise.
69949         * string/test-strcasestr-ifunc.c: Likewise.
69950         * string/test-strcat-ifunc.c: Likewise.
69951         * string/test-strchr-ifunc.c: Likewise.
69952         * string/test-strchrnul-ifunc.c: Likewise.
69953         * string/test-strcmp-ifunc.c: Likewise.
69954         * string/test-strcpy-ifunc.c: Likewise.
69955         * string/test-strcspn-ifunc.c: Likewise.
69956         * string/test-strlen-ifunc.c: Likewise.
69957         * string/test-strncasecmp-ifunc.c: Likewise.
69958         * string/test-strncat-ifunc.c: Likewise.
69959         * string/test-strncmp-ifunc.c: Likewise.
69960         * string/test-strncpy-ifunc.c: Likewise.
69961         * string/test-strnlen-ifunc.c: Likewise.
69962         * string/test-strpbrk-ifunc.c: Likewise.
69963         * string/test-strrchr-ifunc.c: Likewise.
69964         * string/test-strspn-ifunc.c: Likewise.
69965         * string/test-strstr-ifunc.c: Likewise.
69967         * debug/Makefile (tests-ifunc): New variable.
69968         (tests): Add $(tests-ifunc).
69969         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
69970         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
69971         * debug/test-stpcpy_chk-ifunc.c: New file.
69972         * debug/test-strcpy_chk-ifunc.c: Likewise.
69974 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
69976         [BZ #13601]
69977         * elf/dl-load.c (open_verify): Retry read if the entire ELF
69978         header is not read in.
69980 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
69982         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
69983         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
69984         directly.  Pass built executable to script as
69985         $(built-program-cmd).
69986         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
69987         $testprogram without using LD_LIBRARY_PATH and $ldso.
69989         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
69990         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
69991         $(rtld-installed-name).
69992         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
69993         (rtld_installed_name): Likewise.
69994         (library_path): Likewise.
69995         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
69996         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
69997         $(run-program-prefix) to tst-tables.sh.
69998         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
69999         it to run tst-table-from and tst-table-to.
70000         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
70001         Pass it to tst-table.sh.
70002         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
70003         $(run-program-prefix) to tst-gettext.sh.
70004         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
70005         tst-translit.sh.
70006         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
70007         tst-gettext2.sh.
70008         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
70009         to run tst-gettext.
70010         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
70011         to run tst-gettext2.
70012         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
70013         to run tst-translit.
70014         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
70015         $(run-program-prefix) to tst-mtrace.sh.
70016         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
70017         to run tst-mtrace.
70018         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
70019         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
70020         $(rtld-installed-name).
70021         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
70022         (rtld_installed_name): Likewise.
70023         (run_program_prefix): New variable.  Use it to run wordexp-test.
70025         * Makeconfig (ARCH): Remove all definitions.
70026         (machine): Likewise.
70027         [ARCH]: Remove conditional code.
70028         [!objdir]: Give error.
70029         [!objdir] (objpfx): Remove.
70030         [!objdir] (common-objpfx): Likewise.
70031         [!objdir] (common-objdir): Likewise.
70032         * configure.in (config_makefile): Remove.  Hardcode Makefile in
70033         AC_CONFIG_FILES call.
70034         * configure: Regenerated.
70036         [BZ #13888]
70037         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
70038         or TMPDIR.
70039         (testout): Likewise.
70041         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
70042         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
70043         $(rtld-installed-name).
70044         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
70045         (rtld_installed_name): Likewise.
70046         (runit): Remove function.
70047         (run_getconf): New variable,  Use it for running getconf binary.
70049 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
70051         [BZ #14716]
70052         * string/test-memmem.c (check_result): New function.
70053         (do_one_test): Use it.
70054         (check1): New function.
70055         (test_main): Use it.
70057 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
70059         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
70061 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
70063         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
70064         (_G_LSEEK64): Likewise.
70065         (_G_MMAP64): Likewise.
70066         (_G_FSTAT64): Likewise.
70067         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
70068         (_G_LSEEK64): Likewise.
70069         (_G_MMAP64): Likewise.
70070         (_G_FSTAT64): Likewise.
70071         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
70072         unconditional.  Call __mmap64 directly.
70073         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
70074         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
70075         __lseek64 directly.
70076         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
70077         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
70078         __mmap64 directly.
70079         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
70080         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
70081         __lseek64 directly.
70082         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
70083         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
70084         __lseek64 directly.
70085         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
70086         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
70087         __lseek64 directly.
70088         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
70089         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
70090         __fxstat64 directly.
70091         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
70092         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
70093         unconditional.
70094         (freopen64) [!_G_OPEN64]: Remove conditional code.
70095         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
70096         unconditional.
70097         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
70098         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
70099         unconditional.
70100         (ftello64) [!_G_LSEEK64]: Remove conditional code.
70101         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
70102         unconditional.
70103         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
70104         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
70105         unconditional.
70106         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
70107         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
70108         unconditional.
70109         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
70110         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
70111         unconditional.
70112         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
70113         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
70114         unconditional.
70115         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
70117 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
70119         [BZ #12140]
70120         * manual/memory.texi (Malloc Tunable Parameters): Add note
70121         about free list pointers overwriting some perturb bytes.
70122         Wording suggested by Roland McGrath.
70124 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
70126         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
70127         (lgamma_test): Likewise.
70128         (tgamma_test): Likewise.
70130 2012-10-16  Florian Weimer  <fweimer@redhat.com>
70132         [BZ #14700]
70133         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
70134         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
70136 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
70138         * NEWS: Mention BZ #14716.
70139         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
70140         when removing AVAILABLE1_USES_J macro.
70142 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
70144         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
70145         (__bswap_64): __uint64_t for unsigned 64-bit int.
70147 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
70149         * include/string.h (memmem): Declare libc hidden alias.
70150         * string/memmem.c (memmem): Define libc hidden alias.
70151         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
70152         __read, __close instead of open, read, close.
70154 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
70156         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
70157         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
70158         global and hidden.
70159         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
70160         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
70161         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
70162         Likewise.
70163         (__rawmemchr_sse2): Likewise.
70164         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
70165         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
70166         (__strchr_sse2): Likewise.
70167         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
70168         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
70169         (__strcasecmp_sse2): Likewise.
70170         (__strncasecmp_sse2): Likewise.
70171         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
70172         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
70173         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
70174         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
70175         (__strrchr_sse2): Likewise.
70176         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
70177         ifunc-impl-list.c.
70178         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
70179         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
70180         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
70181         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
70182         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
70183         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
70184         * sysdeps/x86_64/multiarch/memset.S: Likewise.
70185         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
70186         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
70187         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
70188         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
70189         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
70190         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
70191         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
70192         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
70193         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
70194         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
70195         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
70196         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
70197         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
70198         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
70199         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
70200         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
70201         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
70202         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
70203         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
70204         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
70205         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
70206         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
70207         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
70209         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
70210         global and hidden.
70211         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
70212         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
70213         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
70214         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
70215         Likewise.
70216         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
70217         Likewise.
70218         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
70219         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
70220         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
70221         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
70222         ifunc-impl-list.c.
70223         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70224         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70225         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70226         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70227         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70228         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70229         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70230         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70231         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70232         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70233         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70234         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70235         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70236         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
70237         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
70238         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70239         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
70240         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
70241         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70242         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70243         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70244         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70245         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70246         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70247         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70248         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
70249         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
70250         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
70251         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
70252         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70253         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
70254         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70255         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70256         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
70257         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70258         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70259         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70260         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70261         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70262         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70263         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
70265         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
70266         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
70267         * include/ifunc-impl-list.h: New file.
70268         * misc/ifunc-impl-list.c: Likewise.
70269         * misc/Makefile (routines): Add ifunc-impl-list.
70270         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
70271         * string/test-string.h: Include <ifunc-impl-list.h>.
70272         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
70273         TEST_NAME]: New variables.
70274         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
70275         are defined.
70276         (test_init): Call __libc_ifunc_impl_list to initialize
70277         func_list if TEST_IFUNC and TEST_NAME are defined.
70279         * string/Makefile (strop-tests): Add bcopy and bzero.
70280         * string/test-bcopy.c: New file.
70281         * string/test-bzero.c: Likewise.
70282         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
70283         defined.
70284         * string/test-memset.c: Support bzero test if TEST_BZERO is
70285         defined.
70286         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
70287         __libc_memmove.
70288         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
70289         __libc_memset.
70290         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
70291         of memset.
70293 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
70295         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
70296         * configure: Regenerated.
70298         * Makeconfig (+link-static-before-libc): Don't include
70299         $(link-static-libc).
70301         * libio/libio.h (_IO_pos_t): Remove.
70303 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70305         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
70306         McGrath.
70308 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70310         * crypt/crypt-entry.c: Include fips-private.h.
70311         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
70312         * crypt/md5c-test.c (main): Tolerate disabled MD5.
70313         * sysdeps/unix/sysv/linux/fips-private.h: New file.
70314         * sysdeps/generic/fips-private.h: New file, dummy fallback.
70316 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70318         * crypt/crypt-private.h: Include stdbool.h.
70319         (_ufc_setup_salt_r): Return bool.
70320         * crypt/crypt-entry.c: Include errno.h.
70321         (__crypt_r): Return NULL with EINVAL for bad salt.
70322         * crypt/crypt_util.c (bad_for_salt): New.
70323         (_ufc_setup_salt_r): Check that salt is long enough and within
70324         the specified alphabet.
70325         * crypt/badsalttest.c: New file.
70326         * crypt/Makefile (tests): Add it.
70327         ($(objpfx)badsalttest): New.
70329 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
70331         * NEWS: Add entry for BZ #14602.
70333 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
70335         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
70336         type-generic.
70337         * math/libm-test.inc: Update comment listing what functions and
70338         macros are tested.
70339         (isgreater_test): New function.
70340         (isgreaterequal_test): Likewise.
70341         (isless_test): Likewise.
70342         (islessequal_test): Likewise.
70343         (islessgreater_test): Likewise.
70344         (isunordered_test): Likewise.
70345         (main): Call the new functions.
70347 2012-10-09  Roland McGrath  <roland@hack.frob.com>
70349         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
70350         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
70351         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
70352         * sysdeps/i386/configure: Regenerated.
70353         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
70354         * sysdeps/mach/configure: Regenerated.
70355         * sysdeps/mach/hurd/configure: Regenerated.
70356         * sysdeps/powerpc/configure: Regenerated.
70357         * sysdeps/powerpc/powerpc32/configure: Regenerated.
70358         * sysdeps/powerpc/powerpc64/configure: Regenerated.
70359         * sysdeps/s390/s390-32/configure: Regenerated.
70360         * sysdeps/s390/s390-64/configure: Regenerated.
70361         * sysdeps/sh/configure: Regenerated.
70362         * sysdeps/sparc/configure: Regenerated.
70363         * sysdeps/unix/sysv/linux/configure: Regenerated.
70364         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
70365         * sysdeps/x86_64/configure: Regenerated.
70367         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
70368         defined.  Don't check if MAP is NULL.
70370 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
70372         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
70373         (_G_stat64): Likewise.
70374         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
70375         (_G_stat64): Likewise.
70376         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
70377         instead of struct _G_stat64.
70378         * libio/fileops.c (mmap_remap_check): Likewise.
70379         (decide_maybe_mmap): Likewise.
70380         (_IO_new_file_seekoff): Likewise.
70381         (_IO_file_stat): Likewise.
70382         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
70383         _G_off64_t.
70384         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
70385         instead of struct _G_stat64.
70386         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
70388 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
70390         [BZ #14602]
70391         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70392         Replace with ...
70393         (CHECK_EOL): New macro.
70394         (two_way_short_needle): Check beginning of haystack for EOL.  Use
70395         CHECK_EOL.
70396         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70397         Replace with CHECK_EOL.
70398         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70399         Replace with CHECK_EOL.
70401 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
70403         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
70404         type-generic.
70405         * math/libm-test.inc: Update comment listing what functions and
70406         macros are tested.
70407         (finite_test): New function.
70408         (isinf_test): Likewise.
70409         (isnan_test): Likewise.
70410         (fpclassify_test): Test subnormal input.
70411         (isfinite_test): Likewise.
70412         (isnormal_test): Likewise.
70413         (main): Call the new functions.
70415 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
70417         [BZ #14660]
70418         * Makerules (%.dynsym): Force C locale when running
70419         $(OBJDUMP) --dynamic-syms.
70421 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
70423         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
70424         <stdint.h>.
70426 2012-10-06  David S. Miller  <davem@davemloft.net>
70428         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
70429         upper 32-bits of the length value in %o2 since we use branch-on-register
70430         tests which consider the entire 64-bit register.
70432 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
70434         * string/test-strstr.c (check2): Add a test for page boundary.
70436 2012-10-05  David S. Miller  <davem@davemloft.net>
70438         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
70439         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
70440         file.
70441         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
70442         sysdep_routines.
70443         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
70444         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
70445         and bzero when HWCAP_SPARC_CRYPTO is present.
70447 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
70449         [BZ #14602]
70450         * string/test-strstr.c (check2): New function.
70451         (test_main): Call check2.
70453         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
70454         and bug-strchr1.
70455         * string/bug-strcasestr1.c (do_test): Moved to ...
70456         * string/test-strcasestr.c (check1): Here.  New function.
70457         (do_one_test): Break out result checking code into ...
70458         (check_result): This.  New function.
70459         (do_one_test): Call check_result.
70460         (test_main): Call check1.
70461         * string/bug-strchr1.c (do_test): Moved to ...
70462         * string/test-strchr.c (check1): Here.  New function.
70463         (do_one_test): Break out result checking code into ...
70464         (check_result): This.  New function.
70465         (do_one_test): Call check_result.
70466         (test_main): Call check1.
70467         * string/bug-strstr1.c (main): Moved to ...
70468         * string/test-strstr.c (check1): Here.  New function.
70469         (do_one_test): Break out result checking code into ...
70470         (check_result): This.  New function.
70471         (do_one_test): Call check_result.
70472         (test_main): Call check1.
70473         * string/bug-strcasestr1.c: Removed.
70474         * string/bug-strchr1.c: Likewise.
70475         * string/bug-strstr1.c: Likewise.
70477         * elf/Makefile (dl-routines): Add hwcaps.
70478         * elf/dl-support.c (_dl_important_hwcaps): Removed.
70479         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
70480         (_dl_important_hwcaps): Moved to ...
70481         * elf/dl-hwcaps.c: Here.  New file.
70482         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
70484         [BZ #14557]
70485         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
70486         if IS_IN_rtld isn't defined.
70488         * elf/dl-support.c (_dl_sysinfo_map): New.
70489         Include "get-dynamic-info.h" and "setup-vdso.h".
70490         (_dl_non_dynamic_init): Call setup_vdso.
70491         * elf/dynamic-link.h: Don't include <assert.h>.
70492         (elf_get_dynamic_info): Moved to ...
70493         * elf/get-dynamic-info.h: Here.  New file.
70494         * elf/dynamic-link.h: Include "get-dynamic-info.h".
70495         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
70496         * elf/setup-vdso.h: Here.  New file.
70497         * elf/rtld.c: Include "setup-vdso.h".
70498         (dl_main): Call setup_vdso.
70500 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
70502         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
70503         creal in comment listing functions tested.  List finite, isinf,
70504         isnan, isless, islessequal, isgreater, isgreaterequal,
70505         islessgreater, isunordered, lgamma_r and pow10 as functions and
70506         macros not tested.  Mention which functions not tested are aliases
70507         for other functions.  Fix typo.  Note that signs of NaNs are not
70508         tested.
70510         * scripts/config.guess: Update from config.git.
70511         * scripts/config.sub: Likewise.
70513 2012-10-04  Roland McGrath  <roland@hack.frob.com>
70515         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
70516         * misc/madvise.c (madvise): Renamed to __madvise.
70517         Make madvise a weak alias.
70518         * include/sys/mman.h: Declare __madvise.
70519         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
70520         * sysdeps/unix/syscalls.list
70521         (madvise): Make __madvise the strong name, and madvise a weak alias.
70522         * sysdeps/unix/sysv/linux/syscalls.list
70523         (madvise, mmap): Remove redundant entries.
70524         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
70525         * malloc/malloc.c (mtrim): Likewise.
70526         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
70528 2012-10-03  Roland McGrath  <roland@hack.frob.com>
70530         * sysdeps/mach/hurd/dl-cache.c: File removed.
70531         * config.h.in (USE_LDCONFIG): New #undef.
70532         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
70533         * configure: Regenerated.
70534         * elf/Makefile (dl-routines): Add dl-cache only under
70535         [$(use-ldconfig) = yes].
70536         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
70537         cache on [USE_LDCONFIG].
70538         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
70539         [USE_LDCONFIG].
70540         * elf/rtld.c (dl_main): Likewise.
70542 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
70544         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
70545         _SC_LEVEL4_CACHE_LINESIZE.
70547 2012-10-03  Roland McGrath  <roland@hack.frob.com>
70549         * sysdeps/unix/bsd/confstr.h: File removed.
70551 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
70553         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
70554         sys/sdt-config.h.
70556 2012-10-02  Roland McGrath  <roland@hack.frob.com>
70558         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
70559         Make 'mapoff' field ElfW(Off) rather than off_t.
70561 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
70563         * nscd/Makefile: Remove nscd-cflags and all its users.
70564         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
70565         (CFLAGS-nonlib): Add compiler flags for nscd modules.
70567         [BZ #10631]
70568         * malloc.c (malloc_printerr): Clarify error message.
70570 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
70572         [BZ #14648]
70573         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70574         Set bit_FMA_Usable if FMA is supported.
70575         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
70576         macro.
70577         (bit_FMA4_Usable): Updated.
70578         (index_FMA_Usable): New macro.
70579         (CPUID_FMA): Likewise.
70580         (HAS_FMA): Defined with bit_FMA_Usable.
70582 2012-10-01  Roland McGrath  <roland@hack.frob.com>
70584         * bits/types.h (__swblk_t): Type removed.
70585         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
70586         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
70587         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70588         (__SWBLK_T_TYPE): Likewise.
70589         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
70590         (__SWBLK_T_TYPE): Likewise.
70591         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70592         (__SWBLK_T_TYPE): Likewise.
70593         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70594         (__SWBLK_T_TYPE): Likewise.
70596 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
70597             Honza Horak <hhorak@redhat.com>
70599         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
70600         (xdr_mapname): Use YPMAXMAP as maxsize.
70601         (xdr_peername): Use YPMAXPEER as maxsize.
70602         (xdr_keydat): Use YPAXRECORD as maxsize.
70603         (xdr_valdat): Use YPMAXRECORD as maxsize.
70605 2012-10-01  Roland McGrath  <roland@hack.frob.com>
70607         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
70609         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
70610         * csu/init-first.c: ... here.
70611         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
70612         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
70613         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
70614         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
70615         * sysdeps/i386/init-first.c: File removed.
70616         * sysdeps/sh/init-first.c: File removed.
70618 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
70620         [BZ #14645]
70621         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
70622         if x * y might underflow to zero and z is zero.
70623         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70624         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70625         * math/libm-test.inc (min_subnorm_value): New variable.
70626         (fma_test): Add more tests.
70627         (fma_test_towardzero): Likewise.
70628         (fma_test_downward): Likewise.
70629         (fma_test_upward): Likewise.
70630         (initialize): Set min_subnorm_value.
70632 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
70634         [BZ #14638]
70635         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
70636         0 + 0.
70637         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
70638         mode for addition resulting in exact zero.
70639         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
70640         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
70641         exact 0 + 0.
70642         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
70643         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70644         * math/libm-test.inc (fma_test): Add more tests.
70645         (fma_test_towardzero): New function.
70646         (fma_test_downward): Likewise.
70647         (fma_test_upward): Likewise.
70648         (main): Call the new functions.
70650 2012-09-28  David S. Miller  <davem@davemloft.net>
70652         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
70654 2012-09-28  Roland McGrath  <roland@hack.frob.com>
70656         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
70657         instead of SIGALRM.
70659         * sysdeps/gnu/_G_config.h: Moved to ...
70660         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
70661         * sysdeps/mach/hurd/_G_config.h: Moved to ...
70662         * sysdeps/generic/_G_config.h: ... here.
70664         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
70666         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
70668         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
70669         Conditionalize target on [libnss_test1.so-version].
70671         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
70673         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
70674         (elfobjdir): Move out of conditionals.
70676         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
70677         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
70678         (__nss_lookup_function): Conditionalize label remove_from_tree on
70679         [!DO_STATIC_NSS || SHARED], matching its only use.
70681 2012-09-28  David S. Miller  <davem@davemloft.net>
70683         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
70684         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
70685         file.
70686         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
70687         sysdep_routines.
70688         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
70689         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
70690         when HWCAP_SPARC_CRYPTO is present.
70692 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70694         * io/tst-mknodat.c: Create a FIFO instead of a socket.
70696 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
70698         [BZ #6530]
70699         * stdio-common/vfprintf.c (process_string_arg): Revert
70700         2000-07-22 change.
70702 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
70704         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
70705         for testcase.
70706         * stdio-common/tst-sprintf.c: Include <locale.h>
70707         (main): Test sprintf's handling of incomplete multibyte
70708         characters.
70710 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
70712         * elf/dl-runtime.c (VERSYMIDX): Removed.
70713         * elf/dl-version.c (VERSYMIDX): Likewise.
70714         * elf/do-rel.h (VERSYMIDX): Likewise.
70715         (VALIDX): Likewise.
70716         * elf/dynamic-link.h (VERSYMIDX): Likewise.
70717         * elf/rtld.c (VALIDX): Likewise.
70718         (ADDRIDX): Likewise.
70719         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
70720         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
70721         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
70722         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
70723         (VALIDX): Likewise.
70724         (ADDRIDX): Likewise.
70726 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70728         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
70730 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
70732         [BZ #11438]
70733         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
70734         to global scope.
70735         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
70736         addresses are in the same scope as 192.0.2/24.
70737         * posix/gai.conf: Document new scope table defaults.
70739 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70741         [BZ #5298]
70742         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
70743         for ftell.  Compute offsets from write pointers instead.
70744         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
70746 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70748         [BZ #14543]
70749         * libio/Makefile (tests): New test case tst-fseek.
70750         * libio/tst-fseek.c: New test case to verify that fseek/ftell
70751         combination works in wide mode.
70752         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
70753         state when the external buffer state changes.
70755 2012-09-27  David S. Miller  <davem@davemloft.net>
70757         [BZ #14376]
70758         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
70759         pass reloc->r_addend in as the 'high' argument to
70760         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
70762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70764 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70766         * rt/tst-aio2.c: Include <pthread.h>.
70767         * rt/tst-aio3.c: Likewise.
70769 2012-09-27  Steve Ellcey  <sellcey@mips.com>
70771         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
70773 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
70775         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
70776         contents on [SHARED].
70778 2012-09-26  Marek Polacek  <polacek@redhat.com>
70780         [BZ #14530]
70781         [BZ #13741]
70782         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
70783         for C++ and GCC <4.3 as well as for non GCC compilers.
70785 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
70787         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70789 2012-09-25  Roland McGrath  <roland@hack.frob.com>
70791         * Makefile.in (all, install): Declare with .PHONY.
70792         Reported by Michael Hope <michael.hope@linaro.org>.
70794 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70796         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
70797         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
70798         system header.
70799         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
70800         Likewise.
70801         (sydep_routines): Add the new and the internal functions.
70802         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
70803         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
70804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
70805         (GLIBC_2.17): Add the new function.
70806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
70807         (GLIBC_2.17): Likewise.
70808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
70809         (GLIBC_2.17): Likewise.
70810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
70811         (GLIBC_2.17): Likewise.
70812         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
70814 2012-09-25  Alan Modra  <amodra@gmail.com>
70816         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
70817         Add release barrier before setting once_control to say
70818         initialisation is done.  Add hints on lwarx.  Use macro in
70819         place of isync.
70820         (clear_once_control): Add release barrier.
70822 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
70824         [BZ #13629]
70825         * math/s_clog.c (__clog): Handle more values close to |z| = 1
70826         specially.
70827         * math/s_clog10.c (__clog10): Likewise.
70828         * math/s_clog10f.c (__clog10f): Likewise.
70829         * math/s_clog10l.c (__clog10l): Likewise.
70830         * math/s_clogf.c (__clogf): Likewise.
70831         * math/s_clogl.c (__clogl): Likewise.
70832         * math/Makefile (libm-calls): Add x2y2m1.
70833         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
70834         (__x2y2m1): Likewise.
70835         (__x2y2m1l): Likewise.
70836         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
70837         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
70838         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
70839         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
70840         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
70841         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
70842         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
70843         * sysdeps/i386/fpu/libm-test-ulps: Update.
70844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70846         [BZ #14621]
70847         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
70848         int as type of variable DEPTH.
70849         (glob): Use size_t instead of int as type of variables NEWCOUNT
70850         and OLD_PATHC.
70852 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70854         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
70855         Add s_sincosf-sse2.
70856         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
70857         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
70858         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
70859         macros for using routine as __sincosf_ia32.
70860         Use macro for function declaration and weak_alias.
70861         * sysdeps/i386/fpu/libm-test-ulps: Update.
70863         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
70864         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70866         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
70867         subnormal argument.
70868         * math/s_cexpf.c (__cexpf): Likewise.
70869         * math/s_csinf.c (__csinf): Likewise.
70870         * math/s_csinhf.c (__csinhf): Likewise.
70871         * math/s_ctanf.c (__ctanf): Likewise.
70872         * math/s_ctanhf.c (__ctanhf): Likewise.
70873         * math/s_ccosh.c (__ccoshf): Likewise.
70874         * math/s_cexp.c (__cexpl): Likewise.
70875         * math/s_csin.c (__csin): Likewise.
70876         * math/s_csinh.c (__csinh): Likewise.
70877         * math/s_ctan.c (__ctan): Likewise.
70878         * math/s_ctanh.c (ctanh): Likewise.
70879         * math/s_ccoshl.c (__ccoshl): Likewise.
70880         * math/s_cexpl.c (__cexpl): Likewise.
70881         * math/s_csinl.c (__csinl): Likewise.
70882         * math/s_csinhl.c (__csinhl): Likewise.
70883         * math/s_ctanl.c (__ctanl): Likewise.
70884         * math/s_ctanhl.c (__ctanhl): Likewise.
70886 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
70888         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
70889         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
70890         (_IO_off_t): Define to __off_t, not _G_off_t.
70891         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
70892         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
70893         (_IO_wint_t): Define to wint_t, not _G_wint_t.
70894         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
70895         type of __dummy and __dummy2 fields.
70896         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
70897         (_G_ssize_t): Likewise.
70898         (_G_off_t): Likewise.
70899         (_G_pid_t): Likewise.
70900         (_G_uid_t): Likewise.
70901         (_G_wchar_t): Likewise.
70902         (_G_wint_t): Likewise.
70903         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
70904         (_G_ssize_t): Likewise.
70905         (_G_off_t): Likewise.
70906         (_G_pid_t): Likewise.
70907         (_G_uid_t): Likewise.
70908         (_G_wchar_t): Likewise.
70909         (_G_wint_t): Likewise.
70910         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
70911         (_G_ssize_t): Likewise.
70912         (_G_off_t): Likewise.
70913         (_G_pid_t): Likewise.
70914         (_G_uid_t): Likewise.
70915         (_G_wchar_t): Likewise.
70916         (_G_wint_t): Likewise.
70918 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70920         * malloc/arena.c: Include malloc-sysdep.h.
70921         (shrink_heap): Use check_may_shrink_heap to decide if madvise
70922         is sufficient to shrink the heap or an unmap is needed.
70923         * sysdeps/generic/malloc-sysdep.h: New file.  Define
70924         new function check_may_shrink_heap.
70925         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
70926         new function check_may_shrink_heap.
70928 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70930         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
70931         comments.
70933 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
70935         * catgets/test-gencat.sh: Add "set -e".
70936         * elf/tst-pathopt.sh: Likewise.
70937         * grp/tst_fgetgrent.sh: Likewise.
70938         * iconvdata/run-iconv-test.sh: Likewise.
70939         * intl/tst-gettext.sh: Likewise.
70940         * intl/tst-gettext2.sh: Likewise.
70941         * intl/tst-gettext4.sh: Likewise.
70942         * intl/tst-gettext6.sh: Likewise.
70943         * intl/tst-translit.sh: Likewise.
70944         * io/ftwtest-sh: Likewise.
70945         * libio/test-freopen.sh: Likewise.
70946         * malloc/tst-mtrace.sh: Likewise.
70947         * posix/globtest.sh: Likewise.
70948         * posix/tst-getconf.sh: Likewise.
70949         * posix/wordexp-tst.sh: Likewise.
70950         * stdio-common/tst-printf.sh: Likewise.
70951         * stdio-common/tst-unbputc.sh: Likewise.
70952         * stdlib/tst-fmtmsg.sh: Likewise.
70953         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
70954         * catgets/Makefile: Do not specify -e option when running
70955         testsuite shell scripts.
70956         * elf/Makefile: Likewise.
70957         * grp/Makefile: Likewise.
70958         * iconvdata/Makefile: Likewise.
70959         * intl/Makefile: Likewise.
70960         * io/Makefile: Likewise.
70961         * libio/Makefile: Likewise.
70962         * malloc/Makefile: Likewise.
70963         * posix/Makefile: Likewise.
70964         * stdio-common/Makefile: Likewise.
70965         * stdlib/Makefile: Likewise.
70966         * sysdeps/x86_64/Makefile: Likewise.
70968         * io/ftwtest-sh: Add copyright header.
70969         * posix/globtest.sh: Likewise.
70970         * posix/tst-getconf.sh: Likewise.
70971         * posix/wordexp-tst.sh: Likewise.
70972         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
70974 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
70976         [BZ #13679]
70977         * Makeconfig (+link): Defined as $(+link-static) if
70978         $(build-shared) isn't yes.
70979         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
70980         isn't yes.
70981         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
70983         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
70985         [BZ #14562]
70986         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
70987         new chunk size with MALLOC_ALIGN_MASK.
70989 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
70991         [BZ #5044]
70992         * stdio-common/printf_fphex.c: Include <stdbool.h> and
70993         <rounding-mode.h>.
70994         (__printf_fphex): Determine rounding using get_rounding_mode and
70995         round_away.
70996         * stdio-common/tst-printf-round.c (struct hex_test): New
70997         structure.
70998         (hex_tests): New variable.
70999         (test_hex_in_one_mode): New function.
71000         (do_test): Also run tests for hex float output.
71002 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
71004         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
71005         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
71006         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
71007         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
71008         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
71009         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
71010         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
71011         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
71013 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
71015         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
71016         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
71017         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
71018         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
71020 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
71022         [BZ #14579]
71023         * elf/rtld.c (dl_main): Limit the check for self loading to normal
71024         mode only.
71025         * elf/tst-rtld-load-self.sh: New test.
71026         * elf/Makefile: Run it.
71028 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
71030         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
71031         (tst-writev-ENV): Remove.
71032         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
71034 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
71036         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
71038 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
71040         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
71041         unconditional.
71042         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
71043         Likewise.
71044         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
71045         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
71046         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
71047         Likewise.
71049 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
71051         [BZ #14587]
71052         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
71053         * config.make.in (have-cpp-asm-debuginfo): Removed.
71054         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
71055         * configure: Regenerated.
71057 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
71059         [BZ #5044]
71060         * stdio-common/printf_fp.c: Include <stdbool.h> and
71061         <rounding-mode.h>.
71062         (___printf_fp): Determine rounding using get_rounding_mode and
71063         round_away.
71064         * stdio-common/tst-printf-round.c: New file.
71065         * stdio-common/Makefile (tests): Add tst-printf-round.
71066         (link-libm): New variable.
71067         ($(objpfx)tst-printf-round): Depend in $(link-libm).
71069 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
71071         [BZ #14576]
71072         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
71073         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
71074         Likewise.
71075         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
71076         Likewise.
71078 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
71080         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
71081         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71082         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71083         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71085 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
71087         [BZ #14518]
71088         * include/rounding-mode.h: New file.
71089         * sysdeps/generic/get-rounding-mode.h: Likewise.
71090         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
71091         * stdlib/strtod_l.c: Include <rounding-mode.h>.
71092         (MAX_VALUE): New macro.
71093         (MIN_VALUE): Likewise.
71094         (overflow_value): New function.
71095         (underflow_value): Likewise.
71096         (round_and_return): Use overflow_value and underflow_value to
71097         determine return values in overflow and underflow cases.  Use
71098         round_away to determine rounding depending on rounding mode.
71099         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
71100         determine return values in overflow and underflow cases.
71101         * stdlib/tst-strtod-round.c: Include <fenv.h>.
71102         (struct test_results): New structure.
71103         (struct test): Use struct test_results to store expected results
71104         for all rounding modes.
71105         (TEST): Include expected results for all rounding modes.
71106         (test_in_one_mode): New function.
71107         (do_test): Use test_in_one_mode to compute and check results.
71108         Check results for all rounding modes.
71109         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
71110         $(link-libm).
71112 2012-12-09  Allan McRae  <allan@archlinux.org>
71114         * sysdeps/i386/fpu/libm-test-ulps: Update
71116 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
71118         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
71119         (_G_int32_t): Likewise.
71120         (_G_uint16_t): Likewise.
71121         (_G_uint32_t): Likewise.
71122         (_G_HAVE_BOOL): Likewise.
71123         (_G_HAVE_ATEXIT): Likewise.
71124         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71125         (_G_HAVE_IO_FILE_OPEN): Likewise.
71126         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
71127         (_G_int32_t): Likewise.
71128         (_G_uint16_t): Likewise.
71129         (_G_uint32_t): Likewise.
71130         (_G_HAVE_BOOL): Likewise.
71131         (_G_HAVE_ATEXIT): Likewise.
71132         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71133         (_G_HAVE_IO_FILE_OPEN): Likewise.
71134         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
71135         (_G_int32_t): Likewise.
71136         (_G_uint16_t): Likewise.
71137         (_G_uint32_t): Likewise.
71138         (_G_HAVE_BOOL): Likewise.
71139         (_G_HAVE_ATEXIT): Likewise.
71140         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71141         (_G_HAVE_IO_FILE_OPEN): Likewise.
71143 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
71145         * csu/libc-tls.c: Update copyright years.
71147 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
71149         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
71150         [!_G_USING_THUNKS]: Remove conditional code.
71151         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
71152         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
71154         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
71155         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
71156         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71157         (_G_VTABLE_LABEL_PREFIX): Likewise.
71158         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71159         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71160         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71161         (_G_VTABLE_LABEL_PREFIX): Likewise.
71162         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
71163         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71164         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71165         (_G_VTABLE_LABEL_PREFIX): Likewise.
71166         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
71168 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
71170         * libio/Makefile: Include ../Makeconfig before tests.
71171         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
71172         only if $(build-shared) is yes.
71174         * iconv/gconv_db.c: Update copyright years.
71176 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71178         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
71179         unwind info if defined PIC. Fix special cases description.
71180         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
71182         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
71183         DP_HI_MASK entry.
71184         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
71186 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
71188         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
71190         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
71191         is NULL.
71193         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
71194         (LDLIBS-tst-chk4): This.
71195         (LDFLAGS-tst-chk5): Renamed to ...
71196         (LDLIBS-tst-chk5): This.
71197         (LDFLAGS-tst-chk6): Renamed to ...
71198         (LDLIBS-tst-chk6): This.
71199         (LDFLAGS-tst-lfschk4): Renamed to ...
71200         (LDLIBS-tst-lfschk4): This.
71201         (LDFLAGS-tst-lfschk5): Renamed to ...
71202         (LDLIBS-tst-lfschk5): This.
71203         (LDFLAGS-tst-lfschk6): Renamed to ...
71204         (LDLIBS-tst-lfschk6): This.
71206         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
71207         on $(common-objpfx)soversions.mk.
71209 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
71211         [BZ #10014]
71212         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
71213         example host name.
71215 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
71217         * malloc/arena.c (arena_get_retry): New function that gets
71218         another arena for the caller to try its request on.
71219         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
71220         current arena cannot fulfill the request.
71221         (__libc_memalign): Likewise.
71222         (__libc_memalign): Likewise.
71223         (__libc_pvalloc): Likewise.
71224         (__libc_calloc): Likewise.
71226 2012-09-05  John Tobey  <john.tobey@gmail.com>
71228         [BZ #13542]
71229         * manual/arith.texi (Operations on Complex): Fix description
71230         of carg branch cut.
71232 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
71234         [BZ #10014]
71235         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
71236         host name.
71238         [BZ #10038]
71239         * manual/memory.texi (Memory): Make order of menu items match
71240         order of sections.
71242 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71244         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
71245         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
71246         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
71248 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71250         * csu/libc-tls.c (static_dtv): Renamed to ...
71251         (_dl_static_dtv): This.  Make it global.
71252         (_dl_initial_dtv): Removed.
71253         (__libc_setup_tls): Updated.
71254         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
71255         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
71256         DL_INITIAL_DTV.
71258 2012-09-06  Petr Machata  <pmachata@redhat.com>
71260         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
71261         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
71262         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
71263         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
71265 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71267         [BZ #14545]
71268         * csu/libc-tls.c (_dl_initial_dtv): New variable.
71269         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
71270         freeing dtv[-1].
71272 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71274         [BZ #14544]
71275         * Makeconfig (link-static-before-libc): Replace $(+prector)
71276         with $(+prectorT).
71277         (link-static-after-libc): Replace $(+postctor) with
71278         $(+postctorT).
71279         (link-bounded): Replace $(+prector)/$(+postctor) with
71280         $(+prectorT)/$(+postctorT).
71281         (+prectorT): New macro.
71282         (+postctorT): Likewise.
71284 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
71286         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
71287         (round_str): Handle values above the maximum for IBM long double
71288         as inexact.
71289         * stdlib/tst-strtod-round.c (tests): Regenerated.
71291 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71293         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
71294         assembler flag.
71295         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
71296         zarch_nohighgprs around the zarch optimized routines.
71297         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
71298         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
71299         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
71300         for zarch.
71302 2012-09-05  David S. Miller  <davem@davemloft.net>
71304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71306         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
71307         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
71308         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
71309         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
71310         entries.
71312 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71314         * malloc/arena.c: Fold copyright years.
71315         * malloc/mcheck.c, malloc/memusage.c: Likewise.
71317 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71319         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
71321 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71323         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
71325 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71327         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
71328         change internal state upon failure.
71330 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71332         * malloc/mcheck.c (mcheck_check_all): Fix typo.
71333         * malloc/memusage.c (mmap): Likewise.
71334         (mmap64, mremap): Likewise.  Adjust name in comment.
71336 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
71338         * libio/fileops.c: Fix typos in comments.
71339         * libio/oldfileops.c: Likewise.
71340         * libio/wfileops.c: Likewise.
71342 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
71344         [BZ #1349]
71345         * malloc/Makefile (tests): Add tst-malloc-usable test case.
71346         (tst-malloc-usable-ENV): Set environment for test case.
71347         * malloc/hooks.c (malloc_check_get_size): New function to get
71348         requested size.
71349         * malloc/malloc.c (musable): Use malloc_check_get_size.
71350         * malloc/tst-malloc-usable.c: New test case.
71352 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71354         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
71356 2012-09-05  Allan McRae  <allan@archlinux.org>
71358         [BZ #13966]
71359         * configure.in (CXX_SYSINCLUDES): Use compiler output to
71360         determine header location.
71361         * configure: Regenerated.
71363 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71365         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
71366         float format.
71367         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
71368         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
71369         format.
71370         (test): Regenerate.
71372 2012-09-04  David S. Miller  <davem@davemloft.net>
71374         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
71375         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
71376         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
71378 2012-09-04  Florian Weimer  <fweimer@redhat.com>
71380         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
71381         failures.
71383         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
71385 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
71387         [BZ #9914]
71388         * libio/iogetdelim.c: Include <limits.h>.
71389         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
71390         + len + 1 would overflow.
71392 2012-09-03  Andreas Jaeger  <aj@suse.de>
71394         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71395         * sysdeps/i386/fpu/libm-test-ulps: Update.
71397 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71399         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
71400         Add s_sinf-sse2, s_conf-sse2.
71402         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
71403         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
71404         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
71405         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
71407         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
71408         for using routine as __sinf_ia32.
71409         Use macro for function declaration and weak_alias.
71410         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
71411         for using routine as __cosf_ia32.
71412         Use macro for function declaration and weak_alias.
71414         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
71415         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
71417         * sysdeps/x86_64/fpu/s_sinf.S: New file.
71418         * sysdeps/x86_64/fpu/s_cosf.S: New file.
71419         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71421         * math/libm-test.inc (cos_test): Add more test cases.
71422         (sin_test): Likewise.
71423         (sincos_test): Likewise.
71425 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71427         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
71428         (IFUNC_RESOLVE): Make pointers to the specialized implementations
71429         hidden.
71430         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
71432 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
71434         [BZ #14538]
71435         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
71436         first element of the GOT.
71437         (elf_machine_load_address): Return the difference between
71438         the runtime address of _DYNAMIC and elf_machine_dynamic ().
71440 2012-09-01  Allan McRae  <allan@archlinux.org>
71442         [BZ #13412]
71443         * configure.in (AWK): Require gawk version 3.0 or later.
71444         * configure: Regenerated.
71446 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
71448         * sysdeps/unix/sysv/linux/kernel-features.h
71449         (__ASSUME_POSIX_CPU_TIMERS): Remove.
71450         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
71451         [__NR_clock_getres]: Make code unconditional.
71452         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
71453         (clock_getcpuclockid): Remove code left unreachable by removal of
71454         conditionals.
71455         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
71456         code unconditional.
71457         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
71458         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71459         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
71460         Make code unconditional.
71461         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
71462         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71463         * sysdeps/unix/sysv/linux/clock_settime.c
71464         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
71465         conditional code.
71466         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
71467         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71469 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
71471         [BZ #14476]
71472         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
71473         scripts/test-installation.pl.
71475         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
71476         and $ld_so_version if it is set.
71478 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
71480         [BZ #14516]
71481         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
71482         failure if reading from procfs failed.
71483         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
71485 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
71487         * sysdeps/unix/sysv/linux/kernel-features.h
71488         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
71489         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
71490         Remove conditional code.
71491         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71492         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
71493         Remove conditional code.
71494         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71495         * sysdeps/unix/sysv/linux/i386/fxstat.c
71496         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71497         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71498         * sysdeps/unix/sysv/linux/i386/fxstatat.c
71499         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71500         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71501         * sysdeps/unix/sysv/linux/i386/lxstat.c
71502         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71503         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71504         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
71505         Remove conditional code.
71506         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71507         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
71508         Remove conditional code.
71509         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71510         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
71511         <kernel-features.h>.
71512         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
71513         Remove.
71514         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
71515         Remove conditional code.
71516         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71517         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
71518         Remove conditional.
71520 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
71522         [BZ #5400]
71523         * NEWS: Add fixed bug number.
71525 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
71527         [BZ #14519]
71528         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
71529         underflowing exponent in case of negative sign.
71530         * stdlib/tst-strtod-round-data: Add more tests.
71531         * stdlib/tst-strtod-round.c (tests): Regenerated.
71533         [BZ #3479]
71534         * stdlib/strtod_l.c (NDIG): Remove.
71535         (HEXNDIG): Likewise.
71536         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
71537         smallest representable value.
71538         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
71539         lie within an exact representation of 1/2 ulp of the result.
71540         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
71541         unconditionally.
71542         (TENS_P9_IDX): Define unconditionally.
71543         (TENS_P9_SIZE): Likewise.
71544         (TENS_P10_IDX): Likewise.
71545         (TENS_P10_SIZE): Likewise.
71546         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
71547         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
71548         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
71549         entries for 10^2^13 and 10^2^14.
71550         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
71551         (TENS_P13_IDX): Define.
71552         (TENS_P13_SIZE): Likewise.
71553         (TENS_P14_IDX): Likewise.
71554         (TENS_P14_SIZE): Likewise.
71555         (_fpioconst_pow10): Change array size to
71556         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
71557         unconditional.
71558         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
71559         1024]: Add entries for 10^2^13 and 10^2^14.
71560         [LAST_POW10 > _LAST_POW10]: Remove #error.
71561         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
71562         (_fpioconst_pow10): Change array size to
71563         FPIOCONST_POW10_ARRAY_SIZE.
71564         * stdlib/gen-fpioconst.c: New file.
71565         * stdlib/gen-tst-strtod-round.c: Likewise.
71566         * stdlib/tst-strtod-round-data: Likewise.
71567         * stdlib/tst-strtod-round.c: Likewise.
71568         * stdlib/Makefile (tests): Add tst-strtod-round.
71570         [BZ #14459]
71571         * stdlib/strtod_l.c: Include <stdint.h>.
71572         (NDEBUG): Do not define.
71573         (round_and_return): Change EXPONENT parameter to type intmax_t.
71574         Rearrange calculations to avoid internal overflow possibilities.
71575         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
71576         Rearrange calculations to avoid internal overflow possibilities.
71577         Assert that number fits inside MPNSIZE limbs.
71578         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
71579         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
71580         calculations and add assertions to avoid internal overflow
71581         possibilities.  Add casts to avoid signed/unsigned operations.
71582         * stdlib/tst-strtod-overflow.c: New file.
71583         * stdlib/Makefile (tests): Add tst-strtod-overflow.
71585 2012-08-25  Marek Polacek  <polacek@redhat.com>
71587         * time/time.h: Fix some typos in comments.
71589 2012-08-23  Roland McGrath  <roland@hack.frob.com>
71591         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
71592         * posix/tst-rfc3484-2.c: Likewise.
71593         * posix/tst-rfc3484-3.c: Likewise.
71595 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
71597         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
71598         (EF_ARM_ABI_FLOAT_HARD): Likewise.
71600 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
71602         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
71603         #include of fxstatat64.c.
71605 2012-08-22  Roland McGrath  <roland@hack.frob.com>
71607         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
71608         * shadow/getspent_r.c: Likewise.
71609         * shadow/getspnam.c: Likewise.
71610         * shadow/getspnam_r.c: Likewise.
71611         * gshadow/getsgent.c: Likewise.
71612         * gshadow/getsgent_r.c: Likewise.
71613         * gshadow/getsgnam.c: Likewise.
71614         * gshadow/getsgnam_r.c: Likewise.
71615         * inet/getnetbyad.c: Likewise.
71616         * inet/getnetbyad_r.c: Likewise.
71617         * inet/getnetbynm.c: Likewise.
71618         * inet/getnetbynm_r.c: Likewise.
71619         * inet/getnetent.c: Likewise.
71620         * inet/getnetent_r.c: Likewise.
71621         * inet/getproto.c: Likewise.
71622         * inet/getproto_r.c: Likewise.
71623         * inet/getprtent.c: Likewise.
71624         * inet/getprtent_r.c: Likewise.
71625         * inet/getprtname.c: Likewise.
71626         * inet/getprtname_r.c: Likewise.
71627         * inet/getrpcbyname.c: Likewise.
71628         * inet/getrpcbyname_r.c: Likewise.
71629         * inet/getrpcbynumber.c: Likewise.
71630         * inet/getrpcbynumber_r.c: Likewise.
71631         * inet/getrpcent.c: Likewise.
71632         * inet/getrpcent_r.c: Likewise.
71633         * inet/getaliasent.c: Likewise.
71634         * inet/getaliasent_r.c: Likewise.
71635         * inet/getaliasname.c: Likewise.
71636         * inet/getaliasname_r.c: Likewise.
71637         * nscd/getgrgid_r.c: Likewise.
71638         * nscd/getgrnam_r.c: Likewise.
71639         * nscd/gethstbyad_r.c: Likewise.
71640         * nscd/gethstbynm3_r.c: Likewise.
71641         * nscd/getpwnam_r.c: Likewise.
71642         * nscd/getpwuid_r.c: Likewise.
71643         * nscd/getsrvbynm_r.c: Likewise.
71644         * nscd/getsrvbypt_r.c: Likewise.
71645         * nscd/gai.c: Likewise.
71647         * configure.in (build_nscd): New substituted variable, set
71648         by --disable-build-nscd and defaults to $use_nscd.
71649         * configure: Regenerated.
71650         * config.make.in (build-nscd): New substituted variable.
71651         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
71652         Change conditional to require [$(build-nscd) = yes] as well.
71653         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
71655         [BZ #13696]
71656         * configure.in (use_nscd): New substituted variable, set by
71657         --disable-nscd.  If enabled, define USE_NSCD.
71658         * configure: Regenerated.
71659         * config.h.in: Add USE_NSCD.
71660         * config.make.in (use-nscd): New substituted variable.
71661         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
71662         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
71663         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
71664         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
71665         (CFLAGS-getgrnam_r.c): Likewise.
71666         (CFLAGS-initgroups.c): Likewise.
71667         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
71668         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
71669         Variables removed.
71670         * inet/getnetgrent_r.c
71671         (nscd_setnetgrent): New function, broken out of ...
71672         (setnetgrent): ... here.  Call it.
71673         (innetgr): Conditionalize nscd bits on [USE_NSCD].
71674         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
71675         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
71676         * nscd/Makefile (routines, aux): Move definitions after include of
71677         Makeconfig.  Conditionalize on [$(use-nscd) != no].
71678         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
71679         Conditionalize on [USE_NSCD].
71680         (is_nscd, nscd_init_cb): Likewise.
71681         (nss_load_library): Conditionalize init callback on [USE_NSCD].
71682         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
71683         * nss/nss_db/db-init.c: Likewise.
71684         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
71685         [USE_NSCD].
71686         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
71687         (make_request): Use it.
71688         (cache_valid_p): New function.
71689         (__check_pf): Use it.
71690         * NEWS: Add item for --disable-nscd.
71692 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
71694         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
71695         to support sed >= 4.2.1-20-ga9bf076.
71696         * configure: Regenerated.
71698 2012-08-22  Roland McGrath  <roland@hack.frob.com>
71700         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
71701         Conditionalize whole body on [IREL].
71703 2012-08-22  Jeff Law <law@redhat.com>
71705         [BZ #14505]
71706         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
71707         if the family is PF_UNSPEC.
71709 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
71711         * Makerules (lib-version): Rename from V.
71712         (install-lib-nosubdir): Change V to lib-version.
71714 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
71716         [BZ #14252]
71717         * powerpc32/power6/wcschr.c: New file.
71718         * powerpc32/power6/wcscpy.c: New file.
71719         * powerpc32/power6/wcsrchr.c: New file.
71720         * powerpc64/power6/wcschr.c: New file.
71721         * powerpc64/power6/wcscpy.c: New file.
71722         * powerpc64/power6/wcsrchr.c: New file.
71724 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
71726         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
71727         (two_way_short_needle): Use it.
71728         * string/strstr.c (AVAILABLE1_USES_J): Define.
71729         * string/strcasestr.c: Likewise.
71731         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
71732         array references.
71733         * string/strcasestr.c (TOLOWER): Make side-effect safe.
71735         [BZ #11607]
71736         * NEWS: Add an entry.
71737         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
71738         define their defaults.
71739         (two_way_short_needle): Detect end-of-string on-the-fly.
71740         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
71741         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
71742         * string/bug-strcasestr1.c: New test.
71743         * string/Makefile: Run it.
71745 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
71747         [BZ #11607]
71748         * string/str-two-way.h (two_way_short_needle): Optimize matching of
71749         the first character.
71751 2012-08-21  Roland McGrath  <roland@hack.frob.com>
71753         * csu/elf-init.c (__libc_csu_irel): Function removed.
71754         * csu/libc-start.c (apply_irel): New function.
71755         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
71757 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
71759         * sysdeps/unix/sysv/linux/kernel-features.h
71760         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
71761         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
71762         <kernel-features.h>.
71763         [__NR_fadvise64_64]: Make code unconditional.
71764         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
71765         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
71766         !__NR_fadvise64_64)]: Likewise.
71767         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
71768         !__NR_fadvise64_64))]: Likewise.
71769         [__NR_fadvise64]: Make code unconditional.
71770         [!__NR_fadvise64]: Remove conditional code.
71771         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
71772         <kernel-features.h>.
71773         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71774         unconditional.
71775         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71776         conditional code.
71777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
71778         not include <kernel-features.h>.
71779         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71780         unconditional.
71781         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71782         conditional code.
71783         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
71784         include <kernel-features.h>.
71785         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71786         unconditional.
71787         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71788         conditional code.
71790 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
71792         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
71793         slight instruction rearrangements per scrollpipe analysis.
71794         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
71796 2012-08-20  Roland McGrath  <roland@hack.frob.com>
71798         * manual/syslog.texi (syslog; vsyslog, closelog):
71799         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
71800         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
71802         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
71803         DSOCAPS to match condition on defining it.
71805 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
71807         * sysdeps/unix/sysv/linux/kernel-features.h
71808         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
71809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
71810         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71811         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
71813         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71814         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
71816         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71817         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71819         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
71820         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
71822         * sysdeps/unix/sysv/linux/kernel-features.h
71823         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
71824         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
71825         unconditional.
71826         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71827         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
71828         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
71829         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71830         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
71831         Make code unconditional.
71832         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71833         (__mmap64) [!__NR_mmap2]: Likewise.
71834         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
71835         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
71836         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71837         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
71838         [__NR_mmap2]: Make code unconditional.
71839         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71840         (__mmap64) [!__NR_mmap2]: Likewise.
71842 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71844         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
71846 2012-08-18  Andreas Jaeger  <aj@suse.de>
71848         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
71850 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
71852         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
71853         * include/unistd.h (__have_sock_cloexec): Likewise.
71854         (__have_pipe2): Likewise.
71855         (__have_dup3): Likewise.
71857 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
71859         [BZ #9685]
71860         * include/unistd.h (__have_pipe2): Change define into an extern int.
71861         (__have_dup3): Likewise.
71862         * socket/have_sock_cloexec.c: Include fcntl.h.
71863         (__have_pipe2): New variable.
71864         (__have_dup3): Likewise.
71866 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
71868         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
71870 2012-08-17  Marek Polacek  <polacek@redhat.com>
71872         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
71873         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
71875 2012-08-17  Roland McGrath  <roland@hack.frob.com>
71877         * configure.in: Add AC_SUBST for sysheaders.
71878         * configure: Regenerated.
71879         * config.make.in (sysheaders): New substituted variable.
71881         * sysdeps/unix/mkfifo.c: Moved ...
71882         * sysdeps/posix/mkfifo.c: ... here.
71883         * sysdeps/unix/mkfifoat.c: Moved ...
71884         * sysdeps/posix/mkfifoat.c: ... here.
71886         * sysdeps/unix/utime.c: Moved ...
71887         * sysdeps/posix/utime.c: ... here.
71889         * sysdeps/unix/time.c: Moved ...
71890         * sysdeps/posix/time.c: ... here.
71891         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
71892         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
71894         * sysdeps/unix/nice.c: Moved ...
71895         * sysdeps/posix/nice.c: ... here.
71897         * sysdeps/unix/alarm.c: Moved ...
71898         * sysdeps/posix/alarm.c: ... here.
71900         * intl/Makefile ($(codeset_mo)): Depend on the input file.
71902 2012-08-17  Jeff Law <law@redhat.com>
71904         * intl/Makefile (codeset_mo): New variable.
71905         ($(codeset_mo)): New target.
71906         (tst-codeset.out): Depend on that.  Remove explicit rule.
71907         (tst-gettext3.out, tst-gettext5.out): Likewise.
71908         (LOCPATH-ENV, tst-codeset-ENV): New variables.
71909         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
71910         * intl/tst-codeset.sh: Remove.
71911         * intl/tst-gettext3.sh: Likewise.
71912         * intl/tst-gettext5.sh: Likewise.
71914 2012-08-17  Roland McGrath  <roland@hack.frob.com>
71916         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
71917         * sysdeps/unix/syscalls.list: ... here.
71919         * sysdeps/posix/getaddrinfo.c
71920         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
71921         (gaiconf_init, gaiconf_reload): Use them.
71922         [!_STATBUF_ST_NSEC]
71923         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
71924         Define using time_t rather than struct timespec.
71926         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
71927         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
71928         Macros removed.
71929         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
71930         [!NO_THREADS].
71931         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
71932         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
71933         Likewise.
71935         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
71936         __libc_cleanup_push argument.
71938         * bits/param.h: New file.
71939         * misc/sys/param.h: New file.
71940         * include/sys/param.h: New file.
71941         * misc/Makefile (headers): Add bits/param.h.
71942         * sysdeps/generic/sys/param.h: File removed.
71943         * sysdeps/unix/sysv/linux/bits/param.h: New file.
71944         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
71945         * sysdeps/mach/hurd/bits/param.h: New file.
71946         * sysdeps/mach/hurd/sys/param.h: File removed.
71948         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
71949         last change.
71951         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
71952         [_IO_MTSAFE_IO].
71953         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
71954         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
71955         New macros.
71957         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
71958         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
71959         rather than -D_IO_MTSAFE_IO conditionally.
71960         * stdio-common/Makefile (CPPFLAGS): Likewise.
71961         * wcsmbs/Makefile (CPPFLAGS): Likewise.
71962         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
71963         Use $(libio-mtsafe).
71964         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
71965         of -D_IO_MTSAFE_IO.
71966         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
71967         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
71968         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
71969         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
71970         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
71971         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
71972         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
71973         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
71974         (CFLAGS-fread_u_chk.c): Likewise.
71975         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
71976         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
71977         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
71978         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
71979         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
71980         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
71981         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
71982         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
71983         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
71985         * libio/Makefile: Test [$(libc-reentrant) = yes]
71986         instead of [$(filter %REENTRANT, $(defines)) nonempty].
71988         * Makeconfig
71989         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
71990         * sysdeps/pthread/configure: File removed.
71991         * sysdeps/pthread/Makeconfig: New file.
71992         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
71993         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
71995 2012-08-16  Gary Benson  <gbenson@redhat.com>
71997         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
71998         unmapping the first object in a namespace.
72000 2012-08-16  Roland McGrath  <roland@hack.frob.com>
72002         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
72003         (__internal_setnetgrent): ... this.  Add internal_function to
72004         definition.  Add libc_hidden_def.
72005         (setnetgrent): Update caller.
72006         (internal_endnetgrent): Renamed to ...
72007         (__internal_endnetgrent): ... this.  Add internal_function to
72008         definition.  Add libc_hidden_def.
72009         (endnetgrent): Update caller.
72010         (internal_getnetgrent_r): Renamed to ...
72011         (__internal_getnetgrent_r): ... this.  Add internal_function to
72012         definition.  Add libc_hidden_def.
72013         (__getnetgrent_r): Update caller.
72014         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
72016 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
72018         * stdlib/longlong.h: Update from GCC.
72020 2012-08-16  Roland McGrath  <roland@hack.frob.com>
72022         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
72023         on _QL, which is set by umul_ppmm but never used.
72024         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
72025         variables, which are set by GMP macros but never used.
72026         * stdio-common/_itowa.c (_itowa): Likewise.
72027         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
72028         * stdlib/mod_1.c (mpn_mod_1): Likewise.
72030 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
72032         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
72033         struct La_sh_regs is not constant.
72034         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
72035         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
72036         and struct La_sparc64_regs are not constant.
72038 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
72040         * sysdeps/unix/sysv/linux/kernel-features.h
72041         (__ASSUME_POSIX_TIMERS): Remove.
72042         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
72043         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72044         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
72045         Make code unconditional.
72046         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72047         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
72048         Make code unconditional.
72049         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72050         * sysdeps/unix/sysv/linux/clock_nanosleep.c
72051         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
72052         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72053         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
72054         Make code unconditional.
72055         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72056         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
72057         (__libc_missing_posix_timers): Remove.
72059 2012-08-15  Roland McGrath  <roland@hack.frob.com>
72061         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
72062         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
72064         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
72066         * elf/dl-sym.c: Include <stdlib.h>.
72068         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
72069         constants, which avoids warnings in 32-bit builds.
72071         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
72072         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
72074         * misc/lseek.c: File moved to ...
72075         * io/lseek.c: ... here.
72077         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
72079         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
72080         shifting LEN more than 31 bits at once.
72082 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72084         [BZ #14195]
72085         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
72086         segmentation fault for a case of two empty input strings.
72087         * string/test-strncasecmp.c (check1): Renamed to...
72088         (bz12205): ...this.
72089         (bz14195): Add new testcase for two empty input strings and N > 0.
72090         (test_main): Call new testcase, adapt for renamed function.
72092 2012-08-15  Andreas Jaeger  <aj@suse.de>
72094         [BZ #14090]
72095         * crypt/md5test2.c: New test, based on test supplied by Serge
72096         Belyshev <belyshev@depni.sinp.msu.ru>.
72097         * crypt/Makefile (xtests): Add md5test-giant..
72098         * crypt/Makefile ($(objpfx)md5test-giant): Add.
72100 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
72102         [BZ #14090]
72103         * crypt/md5.c (md5_process_block): Don't assume the buffer
72104         length is less than 2**32.
72105         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
72106         length is less than 2**64.
72108 2012-08-15  Roland McGrath  <roland@hack.frob.com>
72110         * string/str-two-way.h: Include <sys/param.h>.
72111         (MAX): Macro removed.
72113         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
72114         Move #define and #undef of memmove to just before and after
72115         including <string.h>.
72117         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
72118         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
72119         and after including <string.h>.  Move declarations of
72120         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
72121         to before #include "string/memmove.c".
72123         * include/dirent.h: Declare __getdirentries.
72125         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
72126         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
72128 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
72130         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
72131         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
72132         * sysdeps/i386/configure: Regenerated.
72133         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
72134         STABS_CURRENT_FILE, and STABS_FUN.
72135         (END): Remove call to STABS_FUN_END.
72136         (STABS_CURRENT_FILE1): Delete.
72137         (STABS_CURRENT_FILE): Likewise.
72138         (STABS_FUN): Likewise.
72139         (STABS_FUN_END): Likewise.
72140         (STABS_FUN2): Likewise.
72141         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
72142         * sysdeps/x86_64/configure: Regenerated.
72144 2012-08-14  Roland McGrath  <roland@hack.frob.com>
72146         * elf/dl-open.c: Include <atomic.h>.
72147         * elf/dl-lookup.c: Likewise.
72149 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
72151         * sysdeps/unix/sysv/linux/kernel-features.h
72152         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
72153         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
72154         unconditionally.
72155         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
72156         unconditionally.
72157         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
72158         condition on __ASSUME_CLONE_THREAD_FLAGS.
72160 2012-08-14  Andreas Jaeger  <aj@suse.de>
72162         * sysdeps/i386/fpu/libm-test-ulps: Update.
72164 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
72166         * include/atomic.h (atomic_exchange_and_add): Split into ...
72167         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
72168         New atomic macros.
72170 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
72172         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72174 2012-08-13  Jeff Law <law@redhat.com>
72176         * manual/stdio.texi (snprintf): Clarify handling of the trailing
72177         null byte in the output string.
72179 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
72181         * sysdeps/unix/sysv/linux/kernel-features.h
72182         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
72183         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
72184         (__ASSUME_ARG_MAX_STACK_BASED): Define.
72185         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
72186         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
72187         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
72188         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
72190 2012-08-09  Jeff Law <law@redhat.com>
72192         [BZ #13939]
72193         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
72194         When avoid_arena is set, don't retry in the that arena.  Pick the
72195         next one, whatever it might be.
72196         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
72197         (arena_lock): Pass in new parameter to arena_get2.
72198         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
72199         arena_get2.
72200         (__libc_malloc): Unify retrying after main arena failure with
72201         __libc_memalign version.
72202         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
72204 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
72206         [BZ #14166]
72207         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
72208         to __redirect_strstr.
72209         (__strstr_sse42): Use typeof __redirect_strstr.
72210         (__strstr_ia32): Likewise.
72211         (__libc_strstr): New prototype.
72212         (strstr): Renamed to ...
72213         (__libc_strstr): This.
72214         (strstr): New strong alias of __libc_strstr.
72215         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
72216         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
72217         __redirect_time.
72218         Include <time.h>.
72219         (__libc_time): New prototype.
72220         (time_ifunc): Replace time with __libc_time.
72221         (time): New strong alias and hidden definition of __libc_time.
72222         (__GI_time): Remove strong alias.
72223         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
72224         Include <stddef.h>.
72225         (memmove): Redefined to __redirect_memmove.
72226         (__memmove_sse2): Use typeof __redirect_memmove.
72227         (__memmove_ssse3): Likewise.
72228         (__memmove_ssse3_back): Likewise.
72229         (__libc_memmove): New prototype.
72230         (memmove): Renamed to ...
72231         (__libc_memmove): This.
72232         (memmove): New strong alias of __libc_memmove.
72234 2012-08-08  Mark Salter  <msalter@redhat.com>
72236         * elf/elf.h
72237         (R_MN10300_TLS_GD): Define.
72238         (R_MN10300_TLS_LD): Likewise.
72239         (R_MN10300_TLS_LDO): Likewise.
72240         (R_MN10300_TLS_GOTIE): Likewise.
72241         (R_MN10300_TLS_IE): Likewise.
72242         (R_MN10300_TLS_LE): Likewise.
72243         (R_MN10300_TLS_DTPMOD): Likewise.
72244         (R_MN10300_TLS_DTPOFF): Likewise.
72245         (R_MN10300_TLS_TPOFF): Likewise.
72246         (R_MN10300_SYM_DIFF): Likewise.
72247         (R_MN10300_ALIGN): Likewise.
72248         (R_MN10300_NUM): Update.
72250 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
72252         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
72253         Remove.
72255 2012-08-08  Roland McGrath  <roland@hack.frob.com>
72257         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
72259         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
72260         sysdeps/unix -> sysdeps/posix move.
72261         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
72263 2012-08-07      Allan McRae     <allan@archlinux.org>
72265         [BZ #14303]
72266         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
72267         (SUNOS_CPP): Likewise.
72268         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
72269         not found.
72270         (open_input): Call CPP using execvp.
72272 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
72274         * sysdeps/unix/sysv/linux/kernel-features.h
72275         (__ASSUME_PROT_GROWSUPDOWN): Remove.
72276         (__ASSUME_NO_CLONE_DETACHED): Likewise.
72277         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
72278         (__ASSUME_WAITID_SYSCALL): Likewise.
72279         * sysdeps/unix/sysv/linux/dl-execstack.c
72280         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
72281         code unconditional.
72282         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
72283         conditional code.
72284         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
72285         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
72286         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
72287         code.
72288         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
72289         unconditional.
72290         [__ASSUME_WAITID_SYSCALL]: Likewise.
72291         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
72293 2012-08-07  Roland McGrath  <roland@hack.frob.com>
72295         * sysdeps/unix/closedir.c: Renamed to ...
72296         * sysdeps/posix/closedir.c: ... here.
72297         * sysdeps/unix/dirfd.c: Renamed to ...
72298         * sysdeps/posix/dirfd.c: ... here.
72299         * sysdeps/unix/dirstream.h: Renamed to ...
72300         * sysdeps/posix/dirstream.h: ... here.
72301         * sysdeps/unix/fdopendir.c: Renamed to ...
72302         * sysdeps/posix/fdopendir.c: ... here.
72303         * sysdeps/unix/opendir.c: Renamed to ...
72304         * sysdeps/posix/opendir.c: ... here.
72305         * sysdeps/unix/readdir.c: Renamed to ...
72306         * sysdeps/posix/readdir.c: ... here.
72307         * sysdeps/unix/readdir_r.c: Renamed to ...
72308         * sysdeps/posix/readdir_r.c: ... here.
72309         * sysdeps/unix/rewinddir.c: Renamed to ...
72310         * sysdeps/posix/rewinddir.c: ... here.
72311         * sysdeps/unix/seekdir.c: Renamed to ...
72312         * sysdeps/posix/seekdir.c: ... here.
72313         * sysdeps/unix/telldir.c: Renamed to ...
72314         * sysdeps/posix/telldir.c: ... here.
72315         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
72316         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
72317         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
72318         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
72320         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
72321         * bits/fcntl.h: ... here.
72323         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
72324         not 0.
72325         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
72326         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
72327         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
72328         (struct flock): Move l_start, l_len to the beginning.
72329         Use __pid_t for l_pid.
72330         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
72331         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
72332         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
72333         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
72334         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
72335         [__USE_LARGEFILE64] (struct flock64): New type.
72336         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
72338         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
72339         * bits/dirent.h: ... here.
72341         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
72342         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
72344 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
72346         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72347         Change from 2.6.0 to 2.6.16.
72348         * sysdeps/unix/sysv/linux/configure: Regenerated.
72349         * sysdeps/unix/sysv/linux/kernel-features.h
72350         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
72351         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
72352         version.
72353         (__ASSUME_UTIMES): Likewise.
72354         (__ASSUME_CLONE_STOPPED): Remove.
72355         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
72356         architectures, not kernel version.
72357         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
72358         (__ASSUME_NO_CLONE_DETACHED): Likewise.
72359         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
72360         (__ASSUME_WAITID_SYSCALL): Likewise.
72361         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
72362         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
72363         * README: State 2.6.16 as minimum Linux kernel version.  Do not
72364         refer to older versions.
72366 2012-08-06  Roland McGrath  <roland@hack.frob.com>
72368         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
72369         Define alphasort64 as an alias.
72370         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
72371         Define versionsort64 as an alias.
72372         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
72373         Define scandir64 as an alias.
72374         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
72375         Define scandirat64 as an alias.
72376         * dirent/alphasort64.c (alphasort64):
72377         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
72378         * dirent/versionsort64.c: Likewise.
72379         * dirent/scandir64.c: Likewise.
72380         * dirent/scandirat64.c: Likewise.
72381         * sysdeps/wordsize-64/alphasort.c: File removed.
72382         * sysdeps/wordsize-64/alphasort64.c: File removed.
72383         * sysdeps/wordsize-64/scandir.c: File removed.
72384         * sysdeps/wordsize-64/scandir64.c: File removed.
72385         * sysdeps/wordsize-64/scandirat.c: File removed.
72386         * sysdeps/wordsize-64/scandirat64.c: File removed.
72387         * sysdeps/wordsize-64/versionsort.c: File removed.
72388         * sysdeps/wordsize-64/versionsort64.c: File removed.
72389         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
72390         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
72391         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
72392         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
72393         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
72394         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
72395         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
72396         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
72398         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
72399         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
72400         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
72401         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72402         [defined __arch64__ || defined __sparcv9]
72403         (__INO_T_MATCHES_INO64_T): New macro.
72404         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72405         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
72406         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
72407         * sysdeps/unix/sysv/linux/bits/dirent.h
72408         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
72409         (_DIRENT_MATCHES_DIRENT64): New macro.
72411         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
72412         Define lockf64 as an alias.
72413         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
72414         Define fseeko64 as an alias.
72415         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
72416         Define ftello64 as an alias.
72417         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
72418         Define _IO_fgetpos64 and fgetpos64 as aliases.
72419         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
72420         Define _IO_fsetpos64 and fsetpos64 as aliases.
72421         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
72422         Conditionalize body on this.
72423         * libio/fseeko64.c: Likewise.
72424         * libio/ftello64.c: Likewise.
72425         * libio/iofgetpos64.c: Likewise.
72426         * libio/iofsetpos64.c: Likewise.
72427         * sysdeps/wordsize-64/lockf.c: File removed.
72428         * sysdeps/wordsize-64/lockf64.c: File removed.
72429         * sysdeps/wordsize-64/fseeko.c: File removed.
72430         * sysdeps/wordsize-64/fseeko64.c: File removed.
72431         * sysdeps/wordsize-64/ftello.c: File removed.
72432         * sysdeps/wordsize-64/ftello64.c: File removed.
72433         * sysdeps/wordsize-64/iofgetpos.c: File removed.
72434         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
72435         * sysdeps/wordsize-64/iofsetpos.c: File removed.
72436         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
72437         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
72438         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
72439         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
72440         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
72441         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
72442         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
72443         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
72444         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
72445         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
72446         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
72448         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
72449         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
72450         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
72451         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72452         [defined __arch64__ || defined __sparcv9]
72453         (__OFF_T_MATCHES_OFF64_T): New macro.
72454         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72455         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
72456         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72457         (__OFF_T_MATCHES_OFF64_T): New macro.
72459 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
72461         * stdlib/secure-getenv.c (__secure_getenv): Replace
72462         GLIBC_2_16 with GLIBC_2_17.
72464 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
72466         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
72467         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
72469 2012-08-03  David S. Miller  <davem@davemloft.net>
72471         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72473 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
72475         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
72476         Remove.
72477         (__ASSUME_CORRECT_SI_PID): Likewise.
72478         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
72479         (__ASSUME_TMPFS_NAME): Likewise.
72480         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
72481         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
72482         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
72483         (HAVE_AUX_SECURE): Make definition unconditional.
72484         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
72485         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
72487 2012-08-03  Roland McGrath  <roland@hack.frob.com>
72489         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
72490         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
72491         * sysdeps/mach/hurd/eloop-threshold.h: New file.
72492         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
72493         __eloop_threshold instead of SYMLOOP_MAX.
72495         * sysdeps/generic/eloop-threshold.h: New file.
72496         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
72497         of MAXSYMLINKS.
72498         * elf/chroot_canon.c (chroot_canon): Likewise.
72500 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
72502         [BZ #13717]
72503         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72504         Change to 2.6.0 everywhere.
72505         * sysdeps/unix/sysv/linux/configure: Regenerated.
72506         * sysdeps/unix/sysv/linux/kernel-features.h
72507         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
72508         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
72509         kernel versions.
72510         (__ASSUME_POSIX_TIMERS): Define unconditionally.
72511         (__ASSUME_FUTEX_REQUEUE): Remove.
72512         (__ASSUME_STATFS64): Define unconditionally.
72513         (__ASSUME_AT_SECURE): Likewise.
72514         (__ASSUME_CORRECT_SI_PID): Likewise.
72515         (__ASSUME_TGKILL): Define without depending on kernel version for
72516         i386.
72517         (__ASSUME_UTIMES): Likewise.
72518         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
72519         kernel version.
72520         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
72521         (__ASSUME_TMPFS_NAME): Likewise.
72522         * README: Update reference to Linux kernel versions.
72524 2012-08-02  Marek Polacek  <polacek@redhat.com>
72526         [BZ #14150]
72527         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
72528         libc_cv_asm_type_prefix with %.
72529         * configure: Regenerated.
72530         * include/libc-symbols.h: Remove comment about
72531         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
72532         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
72533         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
72534         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
72535         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
72536         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
72537         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
72538         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
72539         * elf/tst-unique2mod1.c: Likewise.
72540         * elf/tst-unique1mod2.c: Likewise.
72541         * elf/tst-unique1mod1.c: Likewise.
72542         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
72543         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
72544         Replace ASM_TYPE_DIRECTIVE with .type.
72545         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72546         * sysdeps/i386/sysdep.h: Likewise.
72547         * sysdeps/x86_64/sysdep.h: Likewise.
72548         * sysdeps/sh/sysdep.h: Likewise.
72549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
72550         Do not define ASM_TYPE_DIRECTIVE.
72551         * sysdeps/powerpc/sysdep.h: Likewise.
72552         * sysdeps/powerpc/powerpc32/sysdep.h:
72553         Replace ASM_TYPE_DIRECTIVE with .type.
72554         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
72555         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
72556         * sysdeps/i386/fpu/e_powf.S: Likewise.
72557         * sysdeps/i386/fpu/e_expl.S: Likewise.
72558         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72559         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72560         * sysdeps/i386/fpu/e_pow.S: Likewise.
72561         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72562         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72563         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72564         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72565         * sysdeps/i386/fpu/e_log2.S: Likewise.
72566         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72567         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72568         * sysdeps/i386/fpu/e_powl.S: Likewise.
72569         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72570         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72571         * sysdeps/i386/fpu/e_logl.S: Likewise.
72572         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72573         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72574         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72575         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72576         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72577         * sysdeps/i386/fpu/e_log.S: Likewise.
72578         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72579         * sysdeps/i386/fpu/e_logf.S: Likewise.
72580         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72581         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72582         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72583         * sysdeps/i386/fpu/e_log10.S: Likewise.
72584         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72585         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72586         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72587         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72588         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72589         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
72590         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72591         * sysdeps/i386/i686/strtok.S: Likewise.
72592         * sysdeps/i386/i386-mcount.S: Likewise.
72593         * sysdeps/i386/strtok.S: Likewise.
72594         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
72595         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72596         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72597         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72598         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
72599         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72600         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72601         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72602         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72603         * sysdeps/x86_64/_mcount.S: Likewise.
72604         * sysdeps/x86_64/strtok.S: Likewise.
72605         * sysdeps/sh/_mcount.S: Likewise.
72607 2012-08-01  Roland McGrath  <roland@hack.frob.com>
72609         * libio/iofopen.c: Include <fcntl.h>.
72610         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
72611         (_IO_fopen64, fopen64): Define as aliases.
72612         * libio/iofopen64.c: Include <fcntl.h>.
72613         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
72614         Conditionalize body on this.
72615         * sysdeps/wordsize-64/iofopen.c: File removed.
72616         * sysdeps/wordsize-64/iofopen64.c: File removed.
72618 2012-08-01  Marek Polacek  <polacek@redhat.com>
72620         * libc/Makeconfig: Use elf in place of binfmt-subdir.
72621         Use dlfcn directly instead of a variable.
72622         (binfmt-subdir): Do not define.
72623         (dlfcn): Likewise.
72625 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
72627         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
72628         Remove all definitions.
72629         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
72630         <kernel-features.h>.
72631         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
72632         (miss_F_GETOWN_EX): Remove all definitions.
72633         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
72634         macro definition.
72635         [!__ASSUME_FCNTL64]: Remove conditional code.
72636         [__ASSUME_FCNTL64]: Make code unconditional.
72637         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
72638         <kernel-features.h>.
72639         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
72640         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
72641         (lockf64) [__NR_fcntl64]: Make code unconditional.
72642         (lockf64) [__ASSUME_FCNTL64]: Likewise.
72644         * sysdeps/unix/sysv/linux/kernel-features.h
72645         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
72646         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
72647         Make code unconditional.
72648         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72649         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
72651         [__NR_vfork]: Make code unconditional.
72652         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72653         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
72655         [__NR_vfork]: Make code unconditional.
72656         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72657         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72659 2012-08-01  Roland McGrath  <roland@hack.frob.com>
72661         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
72662         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
72664         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72665         Define mkstemp64 as an alias.
72666         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72667         Define mkstemps64 as an alias.
72668         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72669         Define mkostemp64 as an alias.
72670         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72671         Define mkostemps64 as an alias.
72672         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
72673         Conditionalize body on this.
72674         * misc/mkostemp64.c: Likewise.
72675         * misc/mkostemps64.c: Likewise.
72676         * misc/mkstemps64.c: Likewise.
72677         * sysdeps/wordsize-64/mkstemp64.c: File removed.
72678         * sysdeps/wordsize-64/mkostemp64.c: File removed.
72679         * sysdeps/wordsize-64/mkostemp.c: File removed.
72680         * sysdeps/wordsize-64/mkstemp.c: File removed.
72681         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
72682         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
72683         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
72684         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
72686         [BZ #14138]
72687         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
72688         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
72689         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
72690         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
72692         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
72693         compat_symbol macros from <shlib-compat.h> rather than the underlying
72694         default_symbol_version and symbol_version macros, so that DEFAULT
72695         lines in shlib-versions are respected.
72696         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
72698 2012-08-01  Florian Weimer  <fweimer@redhat.com>
72700         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
72701         Declare with warn_unused_result.
72702         (setgid, setregid, setegid, setresgid): Likewise.
72703         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
72704         Likewise.
72705         * WUR-REPORT: Remove set*id functions.
72707 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
72709         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
72711 2012-07-31  Roland McGrath  <roland@hack.frob.com>
72713         [BZ #10191]
72714         * include/sys/socket.h (__libc_accept, __libc_accept4):
72715         Add attribute_hidden.
72716         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
72718         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
72719         use of PTR_MANGLE.
72720         * inet/getnetgrent_r.c (setup): Likewise.
72722         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
72724 2012-07-31  David S. Miller  <davem@davemloft.net>
72726         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72728 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
72730         [BZ #13629]
72731         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
72732         value between 1.0 and 2.0 and smaller part has absolute value less
72733         than 1.0.
72734         * math/s_clog10.c (__clog10): Likewise.
72735         * math/s_clog10f.c (__clog10f): Likewise.
72736         * math/s_clog10l.c (__clog10l): Likewise.
72737         * math/s_clogf.c (__clogf): Likewise.
72738         * math/s_clogl.c (__clogl): Likewise.
72739         * math/libm-test.inc (clog_test): Add more tests.
72740         (clog10_test): Likewise.
72741         * sysdeps/i386/fpu/libm-test-ulps: Update.
72742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72744 2012-07-31  Florian Weimer  <fweimer@redhat.com>
72746         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
72747         Exit with zero in case no suitable GID is found, and write a
72748         message to standard error.
72750 2012-07-30  Roland McGrath  <roland@hack.frob.com>
72752         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
72753         rather than to 1.
72754         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
72755         (MAXPATHLEN): Removed.
72756         (NOGROUP, NODEV): New macros.
72757         (setbit, clrbit, isset, isclr): New macros.
72758         (howmany, roundup, powerof2): New macros.
72759         (DEV_BSIZE): New macro.
72761         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
72762         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
72764         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
72765         definition on [!__NO_LONG_DOUBLE_MATH].
72767         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
72768         PTR_MANGLE and PTR_DEMANGLE.
72770         * socket/accept4.c (accept4): Rename to __libc_accept4.
72771         Define accept4 as a weak alias.
72773         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
72774         on [_DIRENT_HAVE_D_TYPE].
72775         * io/ftw.c (ftw_dir): Likewise.
72777         * io/xmknod.c (__xmknod): Don't check PATH for being null.
72779         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
72781         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
72782         Use the BSD numbers rather than the arbitrary ones we had.
72783         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
72784         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
72785         (SIGXCPU, SIGXFSZ): New macros.
72786         (_NSIG): Now 32.
72788         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
72789         initializer on [_LIBC_REENTRANT].
72791         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
72792         definitions inside [_POSIX_MAPPED_FILES].
72794         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
72796         * dirent/opendir.c: Include <fcntl.h>.
72798         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
72799         (__libc_getspecific): Likewise.
72800         (__libc_key_create): Likewise.
72802         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
72803         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
72804         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
72805         (tmpfile64): Define as alias.
72806         * sysdeps/wordsize-64/tmpfile.c: File removed.
72807         * sysdeps/wordsize-64/tmpfile64.c: File removed.
72808         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
72809         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
72811         * stdio-common/vfscanf.c: Include <stdbool.h>.
72812         * nss/makedb.c: Likewise.
72813         * stdio-common/_i18n_number.h: Likewise.
72814         * argp/argp-help.c: Likewise.
72815         * posix/wordexp.c: Likewise.
72816         * sysdeps/posix/spawni.c: Likewise.
72817         * nss/nss_files/files-initgroups.c: Likewise.
72818         * stdio-common/reg-modifier.c: Include <stdlib.h>.
72819         * nss/nss_files/files-initgroups.c: Likewise.
72820         * nss/nss_db/db-netgrp.c: Likewise.
72821         * nss/nss_db/db-initgroups.c: Likewise.
72822         * io/fchmodat.c: Include <sys/stat.h>.
72824         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
72825         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
72827         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
72828         [HAVE_MMAP].
72830         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
72831         Add multiple inclusion protection.
72833 2012-07-27  David S. Miller  <davem@davemloft.net>
72835         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72837 2012-07-27  Gary Benson  <gbenson@redhat.com>
72839         [BZ #14298]
72840         * elf/rtld.c: Include <stap-probe.h>.
72841         (dl_main): Added static probes "init_start" and "init_complete".
72842         * elf/dl-load.c: Include <stap-probe.h>.
72843         (lose): Take new parameter "nsid".
72844         Added static probe "map_failed".
72845         (_dl_map_object_from_fd): Pass namespace id to lose.
72846         Added static probe "map_start".
72847         (open_verify): Pass namespace id to lose.
72848         * elf/dl-open.c: Include <stap-probe.h>.
72849         (dl_open_worker) Added static probes "map_complete", "reloc_start"
72850         and "reloc_complete".
72851         * elf/dl-close.c: Include <stap-probe.h>.
72852         (_dl_close_worker): Added static probes "unmap_start" and
72853         "unmap_complete".
72854         * elf/rtld-debugger-interface.txt: New file documenting the above.
72856 2012-07-26  Roland McGrath  <roland@hack.frob.com>
72858         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
72859         rather than a string variable.
72860         * sunrpc/rpc_main.c (h_output): Likewise.
72861         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
72863 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
72865         * inet/check_native.c: New file.
72867 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
72869         [BZ #13629]
72870         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
72871         if larger part has absolute value 1.0.
72872         * math/s_clog10.c (__clog10): Likewise.
72873         * math/s_clog10f.c (__clog10f): Likewise.
72874         * math/s_clog10l.c (__clog10l): Likewise.
72875         * math/s_clogf.c (__clogf): Likewise.
72876         * math/s_clogl.c (__clogl): Likewise.
72877         * math/libm-test.inc (clog_test): Add more tests.
72878         (clog10_test): Likewise.
72879         * sysdeps/i386/fpu/libm-test-ulps: Update.
72880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72882         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
72883         (pltexit): Likewise.
72884         (La_regs): Likewise.
72885         (La_retval): Likewise.
72886         (int_retval): Likewise.
72887         Update #error for removed macros to refer only to definitions in
72888         tst-audit.h.
72889         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
72890         macro.
72891         (pltexit): Likewise.
72892         (La_regs): Likewise.
72893         (La_retval): Likewise.
72894         (int_retval): Likewise.
72895         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
72896         macro.
72897         (pltexit): Likewise.
72898         (La_regs): Likewise.
72899         (La_retval): Likewise.
72900         (int_retval): Likewise.
72901         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
72902         macro.
72903         (pltexit): Likewise.
72904         (La_regs): Likewise.
72905         (La_retval): Likewise.
72906         (int_retval): Likewise.
72907         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
72908         macro.
72909         (pltexit): Likewise.
72910         (La_regs): Likewise.
72911         (La_retval): Likewise.
72912         (int_retval): Likewise.
72913         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
72914         macro.
72915         (pltexit): Likewise.
72916         (La_regs): Likewise.
72917         (La_retval): Likewise.
72918         (int_retval): Likewise.
72919         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
72920         macro.
72921         (pltexit): Likewise.
72922         (La_regs): Likewise.
72923         (La_retval): Likewise.
72924         (int_retval): Likewise.
72925         * sysdeps/generic/tst-audit.h: Update comment to refer only to
72926         macro definitions in tst-audit.h.
72927         * sysdeps/i386/tst-audit.h: New file.
72928         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
72929         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
72930         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
72931         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
72932         * sysdeps/sh/tst-audit.h: Likewise.
72933         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
72934         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
72935         * sysdeps/x86_64/tst-audit.h: Likewise.
72937 2012-07-26  Andreas Jaeger  <aj@suse.de>
72939         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
72940         ptrace.
72942         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
72943         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
72944         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
72945         PTRACE_O_MASK.
72946         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
72947         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
72948         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
72950         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
72951         value.
72953         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
72954         _sigsys.
72955         (si_call_addr, si_syscall, si_arch): Define new macro.
72956         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
72957         _sigsys.
72958         (si_call_addr, si_syscall, si_arch): Define new marcro.
72959         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
72960         _sigsys.
72961         (si_call_addr, si_syscall, si_arch): Define new macro.
72962         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
72963         _sigsys.
72964         (si_call_addr, si_syscall, si_arch): Define new macro.
72966 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
72968         [BZ #13717]
72969         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72970         Change to 2.4.21 where previously 2.4.1.
72971         * sysdeps/unix/sysv/linux/configure: Regenerated.
72972         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
72973         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
72974         Linux kernel version.
72975         (__ASSUME_STD_AUXV): Remove.
72976         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
72977         kernel version.
72978         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
72979         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
72980         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
72981         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
72982         (__ASSUME_NETLINK_SUPPORT): Likewise.
72983         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
72984         (__no_netlink_support): Remove conditional definition.
72985         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
72986         Remove.
72987         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
72988         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
72989         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
72990         (if_nameindex_ioctl): Remove.
72991         (if_nameindex_netlink): Do not handle __no_netlink_support.
72992         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
72993         code.
72994         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
72995         Remove conditional code.
72996         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
72997         code.
72998         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
72999         unconditional.
73000         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
73001         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
73002         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
73003         Remove.
73004         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
73005         [!__ASSUME_STD_AUXV]: Remove conditional code.
73006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
73007         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
73008         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
73009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
73010         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
73011         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
73012         code.
73013         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
73014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
73015         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
73016         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
73017         conditional code.
73018         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
73019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
73020         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
73021         code.
73022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
73023         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
73024         conditional code.
73025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
73026         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73027         code unconditional.
73028         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73029         conditional code.
73030         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73031         unconditional.
73032         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73033         conditional code.
73034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
73035         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73036         unconditional.
73037         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73038         conditional code.
73039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
73040         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73041         code unconditional.
73042         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73043         conditional code.
73044         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73045         unconditional.
73046         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73047         conditional code.
73048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
73049         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73050         code unconditional.
73051         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73052         conditional code.
73053         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73054         unconditional.
73055         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73056         conditional code.
73058 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
73060         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
73061         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
73062         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
73063         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
73064         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
73065         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
73066         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
73067         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
73068         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
73069         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
73070         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
73071         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
73072         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
73073         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
73074         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
73075         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
73076         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
73077         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
73078         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
73079         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
73080         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
73081         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
73082         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
73084 2012-07-25  Florian Weimer  <fweimer@redhat.com>
73086         * Versions.def: Add GLIBC_2.17.
73087         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
73088         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
73089         Introduce __libc_secure_getenv.
73090         * stdlib/Versions (2.17): Add secure_getenv
73091         (GLIBC_PRIVATE): Add __libc_secure_getenv.
73092         * stdlib/secure-getenv.c: Rename __secure_getenv to
73093         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
73094         symbol __secure_getenv for GLIBC_2.0.
73095         * stdlib/tst-secure-getenv.c: New.
73096         * stdlib/Makefile (tests): Add testcase.
73097         * manual/startup.texi (Environment Access): Document
73098         secure_getenv.
73099         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
73100         __libc_secure_getenv.
73101         * inet/ruserpass.c (ruserpass): Likewise.
73102         * malloc/mtrace.c (mtrace): Likewise.
73103         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
73104         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
73105         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
73106         * sysdeps/posix/tempname.c: Likewise.  Evaluate
73107         HAVE_SECURE_GETENV.
73108         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
73109         __secure_getenv to __libc_secure_getenv.
73110         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
73111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73112         Likewise.
73113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73114         Likewise.
73115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
73116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
73117         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
73118         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
73119         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
73120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
73121         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
73123 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
73125         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
73126         (struct La_i86_retval): Likewise.
73127         (struct La_x86_64_regs): Likewise.
73128         (struct La_x86_64_retval): Likewise.
73129         (struct La_x32_regs): Likewise.
73130         (struct La_x32_retval): Likewise.
73131         (struct La_ppc32_regs): Likewise.
73132         (struct La_ppc32_retval): Likewise.
73133         (struct La_ppc64_regs): Likewise.
73134         (struct La_ppc64_retval): Likewise.
73135         (struct La_sh_regs): Likewise.
73136         (struct La_sh_retval): Likewise.
73137         (struct La_s390_32_regs): Likewise.
73138         (struct La_s390_32_retval): Likewise.
73139         (struct La_s390_64_regs): Likewise.
73140         (struct La_s390_64_retval): Likewise.
73141         (struct La_sparc32_regs): Likewise.
73142         (struct La_sparc32_retval): Likewise.
73143         (struct La_sparc64_regs): Likewise.
73144         (struct La_sparc64_retval): Likewise.
73145         (struct audit_ifaces): Remove architecture-specific pltenter and
73146         pltexit members.
73147         * sysdeps/i386/ldsodefs.h: New file.
73148         * sysdeps/powerpc/ldsodefs.h: Likewise.
73149         * sysdeps/s390/ldsodefs.h: Likewise.
73150         * sysdeps/sh/ldsodefs.h: Likewise.
73151         * sysdeps/sparc/ldsodefs.h: Likewise.
73152         * sysdeps/x86_64/ldsodefs.h: Likewise.
73154 2012-07-25  Marek Polacek  <polacek@redhat.com>
73156         [BZ #6808]
73157         * math/libm-test.inc (yn_test): Add another test.
73158         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
73159         to ERANGE when the result is +-Inf.
73160         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
73161         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
73162         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
73163         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
73165 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
73167         * conform/data/time.h-data (NULL): Use macro-constant.  Require
73168         equal to 0.
73169         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
73170         clock_t.
73171         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
73173 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
73175         * configure.in <sysdeps resolving>: Correct printing
73176         Implies_before.
73177         * configure: Regenerate.
73179 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
73181         * math/w_ilogb.c: Include <limits.h>.
73182         * math/w_ilogbl.c: Likewise.
73184 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
73186         * manual/lang.texi (__va_copy): Document primarily as ISO C99
73187         va_copy.  Document allowing for unavailable va_copy only as
73188         pre-C99 compatibility.
73189         * manual/string.texi (Copying and Concatenation): Use va_copy
73190         instead of __va_copy in concat example.
73192 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
73194         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
73195         (__sendto): Use create_address_port.  Initialize APORT and deallocate
73196         it if not null.
73198         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
73199         with O_NOLINK passed to __file_name_lookup.
73201         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
73202         with O_NOLINK passed to __file_name_lookup.
73204         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
73205         negative N or less than NGIDS.
73207         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
73208         type to string_t.  Set ERANGE as errno and return it if NAME is not big
73209         enough.  Use memcpy instead of strncpy.
73211 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
73213         * elf/Makefile (check-data): Remove.
73214         (localplt.data): New vpath directive.
73215         ($(objpfx)check-localplt.out): Use localplt.data from vpath
73216         instead of $(check-data).
73217         * scripts/data/localplt-generic.data: Move to ...
73218         * sysdeps/generic/localplt.data: ... here.
73219         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
73220         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
73221         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
73222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
73223         ... here.
73224         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
73225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
73226         ... here.
73227         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
73228         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
73229         ... here.
73230         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
73231         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
73232         ... here.
73233         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
73234         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
73235         ... here.
73236         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
73237         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
73238         ... here.
73240 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73242         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
73243         PPC32 and PPC64 files.
73244         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
73245         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
73247 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73249         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
73250         __makecontext_ret to ...
73251         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
73252         ... here and call exit if uc_link is NULL.  New file.
73253         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
73254         __makecontext_ret.S.
73255         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
73256         __makecontext_ret to ...
73257         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
73258         ... here and call exit if uc_link is NULL.  New file.
73259         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
73260         __makecontext_ret.S.
73262 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73264         * elf/elf.h (R_390_IRELATIVE): New definition.
73265         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
73266         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
73267         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
73268         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
73269         (elf_machine_lazy_rel): Likewise.
73270         * sysdeps/s390/dl-irel.h: New file.
73271         * sysdeps/s390/s390-64/memcpy.S: New asm code.
73272         * sysdeps/s390/s390-64/memset.S: New asm code.
73273         * sysdeps/s390/s390-64/memcmp.S: New asm code.
73274         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
73275         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
73276         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
73277         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
73278         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
73279         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
73280         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
73281         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
73282         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
73283         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
73284         * sysdeps/s390/s390-32/memcpy.S: New asm code.
73285         * sysdeps/s390/s390-32/memset.S: New asm code.
73286         * sysdeps/s390/s390-32/memcmp.S: New asm code.
73288 2012-07-17  Marek Polacek  <polacek@redhat.com>
73290         [BZ #14349]
73291         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
73292         * sysdeps/s390/s390-64/configure.in: Likewise.
73293         * sysdeps/sparc/configure.in: Likewise.
73294         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
73295         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
73296         * sysdeps/i386/configure.in: Likewise.
73297         * sysdeps/x86_64/configure.in: Likewise.
73298         * sysdeps/sh/configure.in: Likewise.
73299         * sysdeps/s390/s390-32/configure: Regenerated.
73300         * sysdeps/s390/s390-64/configure: Likewise.
73301         * sysdeps/x86_64/configure: Likewise.
73302         * sysdeps/sh/configure: Likewise.
73303         * sysdeps/powerpc/powerpc64/configure: Likewise.
73304         * sysdeps/powerpc/powerpc32/configure: Likewise.
73305         * sysdeps/sparc/configure: Likewise.
73306         * sysdeps/i386/configure: Likewise.
73308         * elf/dl-open.c: Comment fixes.
73310 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
73312         * Makefile [CXX] (check-data): Remove.
73313         [CXX] (c++-types.data): New vpath directive.
73314         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
73315         vpath.  Do not allow for C++ type data being missing.
73316         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
73317         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
73318         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
73319         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
73320         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
73321         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
73322         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
73323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
73324         ... here.
73325         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
73326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
73327         ... here.
73328         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
73329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
73330         ... here.
73331         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
73332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
73333         ... here.
73334         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
73335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
73336         ... here.
73337         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
73338         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
73339         ... here.
73340         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
73341         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
73342         ... here.
73343         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
73344         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
73346         * elf/tls-macros.h (TLS_LE): Move architecture-specific
73347         definitions to architecture-specific files.
73348         (TLS_IE): Likewise.
73349         (TLS_LD): Likewise.
73350         (TLS_GD): Likewise.
73351         * sysdeps/i386/tls-macros.h: New file.
73352         * sysdeps/powerpc/tls-macros.h: Likewise.
73353         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
73354         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
73355         * sysdeps/sh/tls-macros.h: Likewise.
73356         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
73357         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
73358         * sysdeps/x86_64/tls-macros.h: Likewise.
73360 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
73362         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
73363         zero value for regular exit case.
73365         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
73366         (__start_context): Preserve zero value for regular exit case.
73368 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
73369             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73371         * manual/setjmp.texi (setcontext): Clarify normal process
73372         termination when uc_link is the null pointer.
73373         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
73374         exit call.
73376 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
73378         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
73379         preprocessor.  Test for each exception mask separately.
73381 2012-07-16  Andreas Jaeger  <aj@suse.de>
73383         * po/ru.po: Update from translation team.
73385 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
73387         * conform/data/string.h-data (NULL): Use macro-constant.  Require
73388         equal to 0.
73389         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
73390         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
73391         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
73392         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
73393         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73395 2012-07-13  Andreas Jaeger  <aj@suse.de>
73397         * po/fr.po: Update from translation team.
73399 2012-07-12  Marek Polacek  <polacek@redhat.com>
73401         [BZ #14173]
73402         * math/libm-test.inc (yn_test): Add test for BZ #14173.
73403         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
73404         loop condition.
73406 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
73408         [BZ #13717]
73409         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73410         Change to 2.4.1 where previously 2.4.0.
73411         * sysdeps/unix/sysv/linux/configure: Regenerated.
73412         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
73413         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
73414         version.
73415         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
73416         (__ASSUME_AT_CLKTCK): Remove.
73417         (__ASSUME_AT_PAGESIZE): Likewise.
73418         (__ASSUME_AT_XID): Likewise.
73419         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
73420         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
73421         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
73422         unconditionally.
73423         (HAVE_AUX_PAGESIZE): Likewise.
73424         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
73425         [__ASSUME_AT_CLKTCK]: Make code unconditional.
73426         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
73428 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
73430         [BZ #14307]
73431         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
73432         the temporary buffer used to invoke __gethostbyname2_r,
73433         __gethostbyaddr_r and gethostbyname4_r to make room for struct
73434         host_data / struct gaih_addrtuple.
73435         * resolv/nss_dns/dns-host.c (global scope): Move definition of
73436         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
73437         header file nss/nsswitch.h.
73438         * nss/nsswitch.h (global scope): Add definition of implementation
73439         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
73440         resolv/nss_dns/dns-host.c).
73442 2012-07-11  Andreas Jaeger  <aj@suse.de>
73444         * po/fr.po: Update from translation team.
73446         * po/sv.po: Update from translation team
73447         * po/fr.po: Another update from translation team.
73449 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73451         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
73452         for subnormals or multiply small sinh result by itself.
73453         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
73454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73456 2012-07-11  David S. Miller  <davem@davemloft.net>
73458         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73460 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
73462         [BZ #14347]
73463         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
73464         (INTERNAL_MARK): Shift it here.
73466 2012-07-10  Marek Polacek  <polacek@redhat.com>
73468         [BZ #14151]
73469         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
73470         libc_cv_asm_global_directive with .globl.
73471         * configure: Regenerated.
73472         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
73473         with .globl.
73474         * sysdeps/i386/configure: Regenerated.
73475         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
73476         with .globl.
73477         * sysdeps/x86_64/configure: Regenerated.
73478         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
73479         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
73480         * elf/tst-unique2mod2.c: Likewise.
73481         * elf/tst-unique2mod1.c: Likewise.
73482         * elf/tst-unique1mod2.c: Likewise.
73483         * elf/tst-unique1mod1.c: Likewise.
73484         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73485         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
73486         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73487         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
73488         * sysdeps/mach/sysdep.h: Likewise.
73489         * sysdeps/i386/sysdep.h: Likewise.
73490         * sysdeps/i386/i386-mcount.S: Likewise.
73491         * sysdeps/x86_64/_mcount.S: Likewise.
73492         * sysdeps/x86_64/sysdep.h: Likewise.
73493         * sysdeps/sh/_mcount.S: Likewise.
73494         * sysdeps/sh/sysdep.h: Likewise.
73495         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
73496         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
73497         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
73498         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73499         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
73500         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
73501         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
73502         * locale/localeinfo.h: Likewise.
73503         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
73504         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
73506 2012-07-09  Roland McGrath  <roland@hack.frob.com>
73508         [BZ #14336]
73509         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
73510         system".
73511         * manual/message.texi (The Uniforum approach): Likewise.
73512         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
73513         (glibc iconv Implementation): Likewise.
73515 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
73517         [BZ #14337]
73518         * math/s_clog.c (__clog): Avoid scaling a value down where that
73519         could result in underflow.
73520         * math/s_clog10.c (__clog10): Likewise.
73521         * math/s_clog10f.c (__clog10f): Likewise.
73522         * math/s_clog10l.c (__clog10l): Likewise.
73523         * math/s_clogf.c (__clogf): Likewise.
73524         * math/s_clogl.c (__clogl): Likewise.
73525         * math/libm-test.inc (clog_test): Add more tests.
73526         (clog10_test): Likewise.
73527         * sysdeps/i386/fpu/libm-test-ulps: Update.
73528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73530 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
73532         [BZ #14283]
73533         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
73534         by 7 not 8 to examine high bit of fractional part.
73536         [BZ #14042]
73537         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
73538         for call to __mcount_internal.
73539         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
73540         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
73541         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
73543 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
73545         [BZ #14154]
73546         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
73547         approximation for values within 0x1p-13f of an odd multiple of
73548         pi/4.
73549         * math/libm-test.inc (tan_test): Do not allow spurious underflow
73550         exception.  Add more tests.
73551         * sysdeps/i386/fpu/libm-test-ulps: Update.
73553         [BZ #6778]
73554         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
73555         inputs and return -1 for them.  Do not check for +Inf in case not
73556         reachable for +Inf.
73557         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
73558         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
73559         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
73560         and return -1 for them.  Do not check for +Inf in case not
73561         reachable for +Inf.
73562         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
73563         define.
73564         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
73565         and return -1 for them.  Do not check for +Inf in case not
73566         reachable for +Inf.
73567         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
73568         spurious underflow.
73569         * sysdeps/i386/fpu/libm-test-ulps: Update.
73570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73572 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
73574         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
73576 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
73578         [BZ #14157]
73579         [BZ #14331]
73580         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
73581         could result in spurious underflow.  Scale down values above
73582         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
73583         * math/s_csqrtf.c (__csqrtf): Likewise.
73584         * math/s_csqrtl.c (__csqrtl): Likewise.
73585         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
73586         spurious underflow.
73587         * sysdeps/i386/fpu/libm-test-ulps: Update.
73588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73590 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
73592         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
73593         xopen-msg.sed.
73594         * catgets/xopen-msg.awk: New file.
73595         * catgets/xopen-msg.sed: Removed.
73597         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
73598         po2text.sed.
73599         * intl/po2test.awk: New file.
73600         * intl/po2test.sed: Removed.
73602 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
73604         [BZ #14328]
73605         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
73606         or multiply small sinh result by itself.
73607         * math/s_ctanf.c (__ctanf): Likewise.
73608         * math/s_ctanh.c (__ctanh): Likewise.
73609         * math/s_ctanhf.c (__ctanhf): Likewise.
73610         * math/s_ctanhl.c (__ctanhl): Likewise.
73611         * math/s_ctanl.c (__ctanl): Likewise.
73612         * math/libm-test.inc (ctan_test_tonearest): New function.
73613         (ctan_test_towardzero): Likewise.
73614         (ctan_test_downward): Likewise.
73615         (ctan_test_upward): Likewise.
73616         (ctanh_test_tonearest): Likewise.
73617         (ctanh_test_towardzero): Likewise.
73618         (ctanh_test_downward): Likewise.
73619         (ctanh_test_upward): Likewise.
73620         (main): Call these new functions.
73621         * sysdeps/i386/fpu/libm-test-ulps: Update.
73622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73624 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
73626         * .gitignore: Delete /ports entry.
73628 2012-07-03  Andreas Jaeger  <aj@suse.de>
73630         * po/bg.po: Update from translation team.
73631         * po/cs.po: Likewise.
73632         * po/de.po: Likewise.
73633         * po/hr.po: Likewise.
73634         * po/nl.pl: Likewise.
73635         * po/pl.po: Likewise.
73636         * po/vi.po: Likewise.
73638 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
73640         * Makeconfig [!+link] (+link-before-libc): New variable.
73641         [!+link] (+link-after-libc): Likewise.
73642         [!+link] (+link-tests): Likewise.
73643         [!+link] (+link): Define in terms of $(+link-before-libc) and
73644         $(+link-after-libc).
73645         [!+link-static] (+link-static-before-libc): New variable.
73646         [!+link-static] (+link-static-after-libc): Likewise.
73647         [!+link-static] (+link-static-tests): Likewise.
73648         [!+link-static] (+link-static): Define in terms of
73649         $(+link-static-before-libc) and $(+link-static-after-libc).
73650         [build-shared] (link-libc-before-gnulib): New variable.
73651         [build-shared] (link-libc-tests): Likewise.
73652         [build-shared] (link-libc): Define in terms of
73653         $(link-libc-before-gnulib).
73654         [!build-shared] (link-libc-tests): New variable.
73655         (link-libc-static-tests): New variable.
73656         [!gnulib] (gnulib-arch): New variable.
73657         [!gnulib] (gnulib-tests): Likewise.
73658         [!gnulib] (static-gnulib-arch): Likewise.
73659         [!gnulib] (static-gnulib-tests): Likewise.
73660         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
73661         Define with "=" instead of ":=".
73662         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
73663         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
73664         * Rules (binaries-all-notests): New variable.
73665         (binaries-all-tests): Likewise.
73666         (binaries-static-notests): Likewise.
73667         (binaries-static-tests): Likewise.
73668         (binaries-all): Define using $(binaries-all-notests) and
73669         $(binaries-all-tests).
73670         (binaries-static): Define using $(binaries-static-notests) and
73671         $(binaries-static-tests).
73672         (binaries-shared-tests): New variable.
73673         (binaries-shared-notests): Likewise.
73674         (binaries-shared): Remove variable.
73675         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
73676         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
73677         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
73678         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
73679         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
73680         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
73681         * elf/Makefile (sln-modules): New variable.
73682         (extra-objs): Add $(sln-modules:=.o).
73683         (ldconfig-modules): Add static-stubs.
73684         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
73685         * elf/static-stubs.c: New file.
73687         [BZ #14283]
73688         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
73689         by 7 not 8 to examine high bit of fractional part.  Use volatile
73690         variables when splitting into final array of floats if
73691         __FLT_EVAL_METHOD__ != 0.
73692         * math/libm-test.inc (cos_test): Add another test.
73693         (sin_test): Likewise.
73694         * sysdeps/i386/fpu/libm-test-ulps: Update.
73696         [BZ #14273]
73697         * math/libm-test.inc (cosh_test): Add more tests.
73699         * version.h (RELEASE): Set to "development".
73700         (VERSION): Set to "2.16.90".
73702 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
73704         * NEWS: Update copyright. Remove last-updated date.
73705         Mention math library bug fixes and timezone data changes.
73706         * README: Mention GNU/Hurd, x32, and HPPA support status.
73708 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
73710         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
73712 2012-06-27  Andreas Jaeger  <aj@suse.de>
73714         * manual/contrib.texi (Contributors): Add Samuel Thibault.
73716 2012-06-25  Andreas Jaeger  <aj@suse.de>
73718         * sysdeps/s390/fpu/libm-test-ulps: Update.
73720 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
73721             Thomas Schwinge  <thomas@codesourcery.com>
73723         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
73724         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
73725         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
73726         fanotify_mark.
73728 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
73730         * sysdeps/mach/start.c: Remove file.
73731         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
73732         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
73733         * sysdeps/sh/init-first.c: Likewise.
73735         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
73736         registers for frame unwinding purposes, add CFI directives.
73737         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
73738         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
73739         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
73740         Likewise.
73742         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
73743         __fortify_fail returning.
73744         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
73746         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
73747         sysdeps/sh/____longjmp_chk.S.
73748         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
73749         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
73750         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
73751         (gen-as-const-headers): Append sigaltstack-offsets.sym.
73753         * sysdeps/sh/abort-instr.h: New file.
73754         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
73755         process in case exit returns.
73757         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
73758         initialize the GOT register before use.
73760         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
73761         calculation of ARGC > 4.
73763         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
73764         meaningful names to some local labels.
73766 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73767             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73769         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
73770         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
73771         (__arch_compare_and_exchange_val_16_acq): Likewise.
73772         (__arch_compare_and_exchange_val_32_acq): Likewise.
73773         (atomic_exchange_and_add): Fix gUSA sequence.
73774         (atomic_add): Likewise.
73775         (atomic_add_negative): Likewise.
73776         (atomic_add_zero): Likewise.
73777         (atomic_bit_test_set): Likewise.
73779 2012-06-22  Andreas Schwab  <schwab@redhat.com>
73781         [BZ #13579]
73782         * include/link.h (struct link_map): Add l_free_initfini.
73783         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
73784         l_initfini.
73785         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
73786         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
73787         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
73788         set.
73790 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
73792         * configure.in: Use AC_LANG_SOURCE.
73793         * configure: Regenerate.
73795 2012-06-22  Roland McGrath  <roland@hack.frob.com>
73797         * configure.in (libc_cv_localstatedir): New substituted variable.
73798         * configure: Regenerated.
73799         * config.make.in (localstatedir): New variable, substituted from
73800         libc_cv_localstatedir.
73801         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
73802         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
73803         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
73804         * sysdeps/gnu/configure: Regenerated.
73806 2012-06-21  Jeff Law  <law@redhat.com>
73808         [BZ #14277]
73809         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
73810         free.  Simplify list management for _LIBC case.
73812 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
73814         [BZ #14273]
73815         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
73816         Clear sign bit of 64-bit integer value before comparing against
73817         overflow value.
73819         * sysdeps/mach/configure: Regenerated.
73821 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
73823         [BZ #14278]
73824         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
73826 2012-06-21  Jeff Law  <law@redhat.com>
73828         [BZ #13882]
73829         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
73830         uint16_t for elements in the "seen" array to avoid char overflows.
73831         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73832         * elf/dl-open.c (dl_open_worker): Likewise.
73834 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
73836         * scripts/list-sources.sh: Scan PORTS for translations.
73837         * po/libc.pot: Regenerated.
73839 2012-06-21  Andreas Jaeger  <aj@suse.de>
73841         [BZ #12194]
73842         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
73843         warning.
73844         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
73845         * bits/byteswap-16.h (__bswap_16): Likewise.
73846         * bits/byteswap.h (__bswap_constant_16): Likewise.
73848 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
73850         [BZ #14117]
73851         * sysdeps/i386/fpu_control.h: Removed.
73852         * sysdeps/x86_64/fpu_control.h: Moved to ...
73853         * sysdeps/x86/fpu_control.h: Here.
73855         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
73856         (_FPU_SETCW): Likewise.
73858 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
73860         [BZ #14117]
73861         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
73862         * sysdeps/x86/fpu/bits/mathinline.h: This.
73863         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
73865         [BZ #14050]
73866         [BZ #14117]
73867         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
73868         functions if __x86_64__ is defined.
73870 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
73872         * string/endian.h: Add !__ASSEMBLER__ condition for including
73873         conversion interfaces.
73875 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
73877         [BZ #14241]
73878         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
73879         of ABS(x) in calculating zero to negative powers other than odd
73880         integers.
73881         * math/libm-test.inc (pow_test): Add more tests.
73883 2012-06-15  Andreas Jaeger  <aj@suse.de>
73885         * manual/contrib.texi (Contributors): Update entry of Liubov
73886         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
73887         Machado Filho.
73889 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
73891         * string/string.h: Add __wur to GNU version of strerror_r.
73893 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
73895         [BZ #14229]
73896         * string/Makefile (tests): Add tst-strtok_r.
73897         * string/tst-strtok_r.c: New file.
73898         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
73899         RAX_LP/RDX_LP on SAVE_PTR.
73901 2012-06-14  Roland McGrath  <roland@hack.frob.com>
73903         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
73905 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
73907         * libm_test.inc (csqrt_test): Allow more spurious underflow
73908         exceptions.
73909         (j0_test): Likewise.
73910         (j1_test): Likewise.
73911         (y0_test): Likewise.
73912         (y1_test): Likewise.
73914 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
73916         * po/Makefile (libc.pot): Use UTF-8 charset.
73918 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
73920         [BZ #14210]
73921         Suppress sign-conversion warning from FD_SET.
73922         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
73923         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
73924         not unsigned long int.
73925         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
73927 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
73929         [BZ #14050]
73930         [BZ #14117]
73931         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
73932         __extern_always_inline instead of __extern_inline.
73933         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
73934         (__signbit): Likewise.
73935         (__signbitl): Support C++ namespace.
73936         (lrintf): New inline function.
73937         (lrint): Likewise.
73938         (llrintf): Likewise.
73939         (llrint): Likewise.
73940         (fmaxf): Likewise.
73941         (fmax): Likewise.
73942         (fminf): Likewise.
73943         (fmin): Likewise.
73944         (rint): Likewise.
73945         (rintf): Likewise.
73946         (ceil): Likewise.
73947         (ceilf): Likewise.
73948         (floor): Likewise.
73949         (floorf): Likewise.
73950         (nearbyint): Likewise.
73951         (nearbyintf): Likewise.
73953 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
73955         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
73956         non-default versions.
73958 2012-06-11  Roland McGrath  <roland@hack.frob.com>
73960         [BZ #14218]
73961         * manual/argp.texi (Argp): Reword argp_parse description slightly.
73963 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
73965         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
73966         (FE_UPWARD, FE_DOWNWARD): Don't define.
73967         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
73968         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
73970         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
73971         reading it.
73972         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
73973         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73975 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73977         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73978         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
73979         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
73980         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
73982 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
73984         [BZ #14117]
73985         * sysdeps/i386/fpu/bits/fenv.h: Removed.
73986         * sysdeps/i386/fpu/Implies: New file.
73987         * sysdeps/x86_64/fpu/Implies: Likewise.
73988         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
73989         * sysdeps/x86/fpu/bits/fenv.h: This.
73991         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
73992         __SSE_MATH__.
73994 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
73996         [BZ #14134]
73997         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
73998         character 0xffff that matches the last element of the
73999         conversion table.
74001 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74003         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
74004         fmodl commit.
74006 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74008         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
74009         values higher than 25.6283.
74011 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74013         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
74014         subnormal exponent extraction and add some __builtin_expect.
74015         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
74016         Fix for subnormal mantissa calculation.
74018 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
74020         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
74021         cpu2 is -1 and errno is not ENOSYS.
74023 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
74025         [BZ #14117]
74026         * sysdeps/i386/i486/bits/string.h: Renamed to ...
74027         * sysdeps/x86/bits/string.h: This.
74028         * sysdeps/x86_64/bits/string.h: Removed.
74030         * sysdeps/i386/i486/bits/string.h: Define inline functions only
74031         if not compiling for x86-64, but compiling for >= i486.
74033         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
74034         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
74036         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
74037         New macro from Linux kernel 3.4.0.
74038         (FP_XSTATE_MAGIC2): Likewise.
74039         (FP_XSTATE_MAGIC2_SIZE): Likewise.
74040         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
74041         (struct _fpx_sw_bytes): New struct.
74042         (struct _xsave_hdr): Likewise.
74043         (struct _ymmh_state): Likewise.
74044         (struct _xstate): Likewise.
74046         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
74047         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
74048         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
74049         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
74050         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
74051         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
74053         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
74054         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
74055         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
74056         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
74057         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
74058         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
74060 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74062         [BZ #13743]
74063         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
74064         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
74065         (sysdep_headers): Include sys/platform/ppc.h.
74066         * sysdeps/powerpc/test-gettimebase.c: Test for
74067         __ppc_get_timebase() to catch future ISA opcode/insn changes.
74068         * manual/Makefile (appendices): Include platform.texi.
74069         * manual/contrib.texi (Contributors): Update @node pointers.
74070         * manual/maint.texi (Maintenance): Likewise.
74071         (Platform): New node.
74072         * manual/platform.texi: New file.  Document the new features.
74074 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
74075             Jakub Jelinek  <jakub@redhat.com>
74077         [BZ #14188]
74078         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
74079         where __builtin_expect is unavailable.
74081 2012-06-03  David S. Miller  <davem@davemloft.net>
74083         * stdlib/longlong.h: Updated from GCC.
74085 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
74087         [BZ #14042]
74088         * sysdeps/powerpc/powerpc32/mcount.c: New file.
74089         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
74090         __mcount_internal.
74091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
74092         (GLIBC_2.16): Likewise.
74094 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74096         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
74098 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
74100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
74101         (default-abi): New variable.
74102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
74103         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
74104         variable.
74105         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
74106         Likewise.
74107         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
74108         Likewise.
74109         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
74110         Likewise.
74112         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
74113         definition.  Document in comment.
74115 2012-06-01  David S. Miller  <davem@davemloft.net>
74117         * stdlib/longlong.h: Updated from GCC.
74119 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74121         [BZ #14117]
74122         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
74123         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
74124         sys/debugreg.h sys/io.h here.
74125         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
74126         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
74127         sys/io.h.
74128         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
74129         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
74130         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
74131         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
74132         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
74133         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
74135         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
74136         Define only if __x86_64__ is defined.
74138 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
74140         [BZ #14048]
74141         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
74142         Use int64_t for variable i.
74143         * math/libm-test.inc (fmod_test): Add more tests.
74145         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
74146         z computation is not scheduled after fetestexcept.
74147         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
74148         Use math_force_eval instead of asm to ensure calculation scheduled
74149         before exception test.
74150         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
74151         Ensure a1 + u.d computation is not scheduled after fetestexcept.
74153 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
74155         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
74156         computation is not scheduled after fetestexcept.
74158 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74160         [BZ #14117]
74161         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
74162         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
74164 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74166         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
74167         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
74169 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
74171         [BZ #14117]
74172         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
74173         <bits/wordsize.h>.
74174         (__WCHAR_MIN): Support __WORDSIZE == 64.
74175         (__WCHAR_MAX): Likewise.
74177         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
74178         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
74180         [BZ #14183]
74181         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
74182         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
74184         [BZ #14117]
74185         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
74186         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
74188         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
74189         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
74191         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
74192         Defined to 1 if __x86_64__ isn't defined.
74193         (_STAT_VER_LINUX_OLD): New.
74194         (st_atime): Remove duplicate.
74195         (st_mtime): Likewise.
74196         (st_ctime): Likewise.
74198 2012-05-31  David S. Miller  <davem@davemloft.net>
74200         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
74201         entries.
74203 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
74205         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
74206         gen-libm-test.pl.
74208         [BZ #14132]
74209         * elf/dl-reloc.c: Include <_itoa.h>.
74210         (_dl_reloc_bad_type): Remove use of INTUSE.
74211         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
74212         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
74213         * stdio-common/psiginfo.c (psiginfo): Likewise.
74214         * stdio-common/psignal.c (psignal): Likewise.
74215         * string/strsignal.c (strsignal): Likewise.
74216         * include/signal.h (_sys_siglist): Declare hidden proto.
74217         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
74218         INTVARDEF with libc_hidden_data_def.
74219         * stdio-common/itoa-udigits.c: Likewise.
74220         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
74221         (_itoa_lower_digits_internal): Remove declaration.
74222         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
74223         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
74224         (_sys_sigabbrev_internal): Remove aliases.
74225         (_sys_siglist): Define hidden alias.
74227 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
74229         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74230         bits/sysctl.h.
74232 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
74234         [BZ #14117]
74235         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
74236         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
74238         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
74239         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
74240         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
74241         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
74242         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
74243         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
74245         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
74246         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
74247         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
74249         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
74250         with __addr.
74251         (insw): Likewise.
74252         (insl): Likewise.
74253         (outsb): Likewise.
74254         (outsw): Likewise.
74255         (outsl): Likewise.
74257         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
74258         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
74259         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
74261         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
74262         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
74263         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
74264         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
74265         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
74266         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
74268         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
74269         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
74271         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
74272         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
74274         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
74275         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
74276         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
74278         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
74279         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
74280         to ...
74281         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
74283         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
74284         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
74285         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
74287         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
74288         for x86-64.
74289         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
74291 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
74293         * math/math.h (M_El): Use two more decimal places.
74294         (M_LOG2El): Likewise.
74295         (M_LOG10El): Likewise.
74296         (M_LN2l): Likewise.
74297         (M_LN10l): Likewise.
74298         (M_PIl): Likewise.
74299         (M_PI_2l): Likewise.
74300         (M_PI_4l): Likewise.
74301         (M_1_PIl): Likewise.
74302         (M_2_PIl): Likewise.
74303         (M_2_SQRTPIl): Likewise.
74304         (M_SQRT2l): Likewise.
74305         (M_SQRT1_2l): Likewise.
74307 2012-05-31  David S. Miller  <davem@davemloft.net>
74309         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
74310         values between float registers.
74311         * sysdeps/sparc/sparc64/memset.S: Likewise.
74312         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74314 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
74316         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
74317         -D_FORTIFY_SOURCE=1.
74318         (CPPFLAGS-tst-longjmp_chk.c): Define.
74319         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
74320         (CPPFLAGS-tst-longjmp_chk2.c): Define.
74321         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
74322         CFLAGS-tst-wchar-h.c.
74324 2012-05-31  Marek Polacek  <polacek@redhat.com>
74326         [BZ #14132]
74327         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
74328         __endmntent_internal): Remove declaration.
74329         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
74330         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
74331         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
74333 2012-05-30  David S. Miller  <davem@davemloft.net>
74335         * sysdeps/sparc/sparc32/soft-fp/q_util.c
74336         (___Q_simulate_exceptions): Use real FP ops rather than writing
74337         into the %fsr.
74338         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
74339         Likewise.
74341 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74343         [BZ #14117]
74344         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
74345         * sysdeps/x86/bits/xtitypes.h: This.
74347         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
74348         * sysdeps/x86/bits/wordsize.h: This.
74350         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
74351         * sysdeps/x86/bits/huge_vall.h: This.
74353         * sysdeps/i386/bits/select.h: Removed.
74354         * sysdeps/x86_64/bits/select.h: Renamed to ...
74355         * sysdeps/x86/bits/select.h: This.
74357         * sysdeps/i386/bits/setjmp.h: Removed.
74358         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
74359         * sysdeps/x86/bits/setjmp.h: This.
74361         * sysdeps/i386/bits/mathdef.h: Removed.
74362         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
74363         * sysdeps/x86/bits/mathdef.h: This.
74365 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
74367         [BZ #14132]
74368         * include/sys/socket.h (__connect_internal)
74369         (__libc_sa_len_internal): Remove declaration.
74370         (__connect, __libc_sa_len): Declare hidden_proto.
74371         (SA_LEN): Remove use of INTUSE.
74372         * socket/connect.c: Add libc_hidden_def.
74373         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
74374         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
74375         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
74376         alias.
74377         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
74378         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
74379         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
74380         of adding _internal alias.
74382 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74384         [BZ #14117]
74385         * sysdeps/i386/bits/link.h: Removed.
74386         * sysdeps/i386/bits/linkmap.h: Likewise.
74387         * sysdeps/x86_64/bits/link.h: Renamed to ...
74388         * sysdeps/x86/bits/link.h: This.
74389         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
74390         * sysdeps/x86/bits/linkmap.h: This.
74392         * sysdeps/i386/bits/endian.h: Removed.
74393         * sysdeps/x86_64/bits/endian.h: Renamed to ...
74394         * sysdeps/x86/bits/endian.h: This.
74396         * sysdeps/i386/bits/byteswap.h: Removed.
74397         * sysdeps/i386/bits/byteswap-16.h: Likewise.
74398         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
74399         * sysdeps/x86/bits/byteswap.h: This.
74400         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
74401         * sysdeps/x86/bits/byteswap-16.h: This.
74402         * sysdeps/i386/Implies: Add x86.
74403         * sysdeps/x86_64/Implies: Likewise.
74405 2012-05-30  David S. Miller  <davem@davemloft.net>
74407         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
74408         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
74409         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
74410         (FP_TRAPPING_EXCEPTIONS): Define.
74411         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
74412         (FP_TRAPPING_EXCEPTIONS): Define.
74413         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
74414         subnormals only when inexact has been signalled or underflow
74415         exceptions are enabled.
74416         (_FP_PACK_CANONICAL): Likewise.
74418 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74420         [BZ #14183]
74421         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
74422         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
74424 2012-05-30  Richard Henderson  <rth@twiddle.net>
74426         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
74427         with #ifndef NOT_IN_libc.
74429         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
74430         marked to avoid plt entry.
74432 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74434         [BZ #14112]
74435         * Makeconfig (default-abi): New macro.
74436         (abi-includes): Likewise.
74437         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
74438         $(abi-$(default-abi)-lib-soname) for soname if defined.
74439         ($(common-objpfx)gnu/lib-names.stmp): Generate from
74440         abi-variants.
74441         * Makefile (installed-stubs): Likewise.
74442         * include/stubs-biarch.h: Removed.
74443         * scripts/lib-names.awk: Only handle one library at a time.
74444         * scripts/soversions.awk: Remove WORDSIZE support.
74445         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
74446         entries.
74447         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
74448         Removed.
74449         (syscall-list-default-condition): Likewise.
74450         (syscall-list-default-condition): Likewise.
74451         (syscall-list-includes): Likewise.
74452         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
74453         syscall-list-* with abi-*.  Handle undefined abi-variants.
74454         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
74455         * sysdeps/unix/sysv/linux/i386/Implies: New file.
74456         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
74457         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
74458         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
74459         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
74460         Removed.
74461         (syscall-list-32-options): Likewise.
74462         (syscall-list-32-condition): Likewise.
74463         (syscall-list-64-options): Likewise.
74464         (syscall-list-64-condition): Likewise.
74465         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
74466         macro.
74467         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
74468         Renamed to ...
74469         (abi-*): This.
74470         (abi-64-ld-soname): New macro.
74471         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
74472         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
74473         Renamed to ...
74474         (abi-*): This.
74475         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
74476         * sysdeps/x86_64/x32/shlib-versions: Likewise.
74478 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
74480         * sysdeps/unix/sysv/linux/kernel-features.h
74481         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
74482         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
74483         include <kernel-features.h>.
74484         [!__NR_ftruncate64]: Remove conditional code.
74485         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74486         [__NR_ftruncate64]: Make code unconditional.
74487         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74488         * sysdeps/unix/sysv/linux/truncate64.c: Do not
74489         include <kernel-features.h>.
74490         [!__NR_ftruncate64]: Remove conditional code.
74491         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74492         [__NR_ftruncate64]: Make code unconditional.
74493         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
74495         include <kernel-features.h>.
74496         [!__NR_ftruncate64]: Remove conditional code.
74497         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74498         [__NR_ftruncate64]: Make code unconditional.
74499         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
74501         include <kernel-features.h>.
74502         [!__NR_ftruncate64]: Remove conditional code.
74503         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74504         [__NR_ftruncate64]: Make code unconditional.
74505         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74507         * configure.in (libc_cv_fpie): Weaken to a compile test using
74508         LIBC_TRY_CC_OPTION.
74509         * configure: Regenerated.
74511 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
74514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
74515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
74516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
74517         Refreshed.
74518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
74519         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
74520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
74521         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
74522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
74523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
74524         Refreshed.
74526 2012-05-27  David S. Miller  <davem@davemloft.net>
74528         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
74529         (___Q_zero): New.
74530         (__Q_simulate_exceptions): Return void.  Change to simulate
74531         exceptions by writing into the %fsr.
74532         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
74533         (__Qp_handle_exceptions): Likewise.
74534         (numbers): Delete.
74535         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
74536         __Qp_handle_exceptions.
74537         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
74538         __Qp_handle_exceptions.
74539         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
74540         as unused and give dummy FP_RND_NEAREST initializer.
74541         (FP_INHIBIT_RESULTS): Define.
74542         (___Q_simulate_exceptions): Update declaration.
74543         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
74544         formatting.
74545         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
74546         as unused and give dummy FP_RND_NEAREST initializer.
74547         (__Qp_handle_exceptions): Update declaration.
74548         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
74549         formatting.
74551 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
74553         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
74554         the temporary FPU control word.
74555         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
74556         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
74557         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
74558         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
74559         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
74560         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
74561         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
74562         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
74563         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
74564         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
74565         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74567 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74569         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
74570         fields.
74572 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
74574         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
74575         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
74576         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
74577         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
74578         Likewise.
74579         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
74580         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
74581         Likewise.
74583 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
74585         * po/h.po: Update from translation team.
74587 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
74589         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
74591         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
74592         handling of denormals.
74593         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
74594         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
74595         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
74596         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
74597         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
74598         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
74599         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
74600         Likewise.
74602 2012-05-26  Marek Polacek  <polacek@redhat.com>
74604         [BZ #14152]
74605         * math/libm-test.inc (fma_test): Don't always expect underflow
74606         exception.
74608 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
74610         [BZ #12416]
74611         * elf/tst-execstack.c: Include stackinfo.h.
74612         (do_test): Adjust test case to ensure that pthread_getattr_np
74613         behaviour remains the same after marking stack executable.
74615 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
74617         * sysdeps/unix/sysv/linux/kernel-features.h
74618         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
74619         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
74620         kernel-features.h.
74621         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
74622         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
74623         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
74624         kernel-features.h.
74625         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
74626         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
74628 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
74630         * configure.in: Define the default includes to being none.
74631         * configure: Regenerated.
74633 2012-05-25  Roland McGrath  <roland@hack.frob.com>
74635         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
74636         * sysdeps/x86_64/setjmp.S: Likewise.
74637         * sysdeps/i386/bsd-setjmp.S: Likewise.
74638         * sysdeps/i386/bsd-_setjmp.S: Likewise.
74639         * sysdeps/i386/setjmp.S: Likewise.
74640         * sysdeps/i386/__longjmp.S: Likewise.
74641         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
74642         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
74644         * include/stap-probe.h: New file.
74645         * configure.in: Handle --enable-systemtap.
74646         * configure: Regenerated.
74647         * config.h.in (USE_STAP_PROBE): New #undef.
74648         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
74649         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
74650         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
74652 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
74654         [BZ #13717]
74655         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
74656         to 2.4.0 where earlier.
74657         * sysdeps/unix/sysv/linux/configure: Regenerated.
74658         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
74659         <kernel-features.h>.
74660         [__ASSUME_32BITUIDS]: Make code unconditional.
74661         [!__ASSUME_32BITUIDS]: Remove conditional code.
74662         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
74663         <kernel-features.h>.
74664         [__ASSUME_32BITUIDS]: Make code unconditional.
74665         [!__ASSUME_32BITUIDS]: Remove conditional code.
74666         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
74667         [__ASSUME_32BITUIDS]: Make code unconditional.
74668         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
74669         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
74670         <kernel-features.h>.
74671         [__ASSUME_32BITUIDS]: Make code unconditional.
74672         [!__ASSUME_32BITUIDS]: Remove conditional code.
74673         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
74674         <kernel-features.h>.
74675         [__ASSUME_32BITUIDS]: Make code unconditional.
74676         [!__ASSUME_32BITUIDS]: Remove conditional code.
74677         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
74678         <kernel-features.h>.
74679         [__ASSUME_32BITUIDS]: Make code unconditional.
74680         [!__ASSUME_32BITUIDS]: Remove conditional code.
74681         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
74682         <kernel-features.h>.
74683         [__ASSUME_32BITUIDS]: Make code unconditional.
74684         [!__ASSUME_32BITUIDS]: Remove conditional code.
74685         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
74686         <kernel-features.h>.
74687         [__ASSUME_32BITUIDS]: Make code unconditional.
74688         [!__ASSUME_32BITUIDS]: Remove conditional code.
74689         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
74690         <kernel-features.h>.
74691         [__ASSUME_32BITUIDS]: Make code unconditional.
74692         [!__ASSUME_32BITUIDS]: Remove conditional code.
74693         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
74694         <kernel-features.h>.
74695         [__ASSUME_32BITUIDS]: Make code unconditional.
74696         [!__ASSUME_32BITUIDS]: Remove conditional code.
74697         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
74698         <kernel-features.h>.
74699         [__ASSUME_32BITUIDS]: Make code unconditional.
74700         [!__ASSUME_32BITUIDS]: Remove conditional code.
74701         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
74702         <kernel-features.h>.
74703         [__ASSUME_32BITUIDS]: Make code unconditional.
74704         [!__ASSUME_32BITUIDS]: Remove conditional code.
74705         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
74706         <kernel-features.h>.
74707         [__ASSUME_32BITUIDS]: Make code unconditional.
74708         [!__ASSUME_32BITUIDS]: Remove conditional code.
74709         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
74710         <kernel-features.h>.
74711         [__NR_setresgid] (__setresgid): Do not declare.
74712         [__ASSUME_32BITUIDS]: Make code unconditional.
74713         [!__ASSUME_32BITUIDS]: Remove conditional code.
74714         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
74715         <kernel-features.h>.
74716         [__NR_setresuid] (__setresuid): Do not declare.
74717         [__ASSUME_32BITUIDS]: Make code unconditional.
74718         [!__ASSUME_32BITUIDS]: Remove conditional code.
74719         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
74720         <kernel-features.h>.
74721         [__ASSUME_32BITUIDS]: Make code unconditional.
74722         [!__ASSUME_32BITUIDS]: Remove conditional code.
74723         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
74724         <kernel-features.h>.
74725         [__ASSUME_32BITUIDS]: Make code unconditional.
74726         [!__ASSUME_32BITUIDS]: Remove conditional code.
74727         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
74728         <kernel-features.h>.
74729         [__ASSUME_32BITUIDS]: Make code unconditional.
74730         [!__ASSUME_32BITUIDS]: Remove conditional code.
74731         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
74732         <kernel-features.h>.
74733         [__ASSUME_32BITUIDS]: Make code unconditional.
74734         [!__ASSUME_32BITUIDS]: Remove conditional code.
74735         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
74736         <kernel-features.h>.
74737         [__ASSUME_32BITUIDS]: Make code unconditional.
74738         [!__ASSUME_32BITUIDS]: Remove conditional code.
74739         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
74740         <kernel-features.h>.
74741         [__ASSUME_32BITUIDS]: Make code unconditional.
74742         [!__ASSUME_32BITUIDS]: Remove conditional code.
74743         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
74744         <kernel-features.h>.
74745         [__ASSUME_32BITUIDS]: Make code unconditional.
74746         [!__ASSUME_32BITUIDS]: Remove conditional code.
74747         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
74748         <kernel-features.h>.
74749         [__ASSUME_32BITUIDS]: Make code unconditional.
74750         [!__ASSUME_32BITUIDS]: Remove conditional code.
74751         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
74752         <kernel-features.h>.
74753         [__ASSUME_32BITUIDS]: Make code unconditional.
74754         [!__ASSUME_32BITUIDS]: Remove conditional code.
74755         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
74756         <kernel-features.h>.
74757         [__ASSUME_32BITUIDS]: Make code unconditional.
74758         [!__ASSUME_32BITUIDS]: Remove conditional code.
74759         * sysdeps/unix/sysv/linux/kernel-features.h
74760         (__ASSUME_SETRESUID_SYSCALL): Remove.
74761         (__ASSUME_SETRESGID_SYSCALL): Likewise.
74762         (__ASSUME_32BITUIDS): Likewise.
74763         (__ASSUME_LDT_WORKS): Likewise.
74764         (__ASSUME_O_DIRECTORY): Likewise.
74765         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
74766         architecture but not kernel version.
74767         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
74768         (__ASSUME_MMAP2_SYSCALL): Likewise.
74769         (__ASSUME_STAT64_SYSCALL): Likewise.
74770         (__ASSUME_IPC64): Likewise.
74771         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
74772         <kernel-features.h>.
74773         [__ASSUME_32BITUIDS]: Make code unconditional.
74774         [!__ASSUME_32BITUIDS]: Remove conditional code.
74775         * sysdeps/unix/sysv/linux/opendir.c: Do not include
74776         <kernel-features.h>.
74777         [__ASSUME_O_DIRECTORY]: Make code unconditional.
74778         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
74779         132096]: Remove conditional code.
74780         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
74781         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
74782         <kernel-features.h>.
74783         [__ASSUME_32BITUIDS]: Make code unconditional.
74784         [!__ASSUME_32BITUIDS]: Remove conditional code.
74785         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
74786         <kernel-features.h>.
74787         [__ASSUME_32BITUIDS]: Make code unconditional.
74788         [!__ASSUME_32BITUIDS]: Remove conditional code.
74789         * sysdeps/unix/sysv/linux/setegid.c: Do not include
74790         <kernel-features.h>.
74791         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
74792         unconditional.
74793         (__setresgid): Do not declare.
74794         [__ASSUME_32BITUIDS]: Make code unconditional.
74795         [!__ASSUME_32BITUIDS]: Remove conditional code.
74796         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
74797         <kernel-features.h>.
74798         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
74799         unconditional.
74800         (__setresuid): Do not declare.
74801         [__ASSUME_32BITUIDS]: Make code unconditional.
74802         [!__ASSUME_32BITUIDS]: Remove conditional code.
74803         * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
74808         <kernel-features.h>.
74809         [__ASSUME_32BITUIDS]: Make code unconditional.
74810         [!__ASSUME_32BITUIDS]: Remove conditional code.
74812 2012-05-25  Richard Henderson  <rth@twiddle.net>
74814         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
74815         dl_hwcap to ifunc resolver.
74816         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
74817         elf_ifunc_invoke.
74818         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
74819         dl_hwcap to ifunc resolver.
74820         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
74822 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74824         [BZ #14153]
74825         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
74826         for |x| <= 2**-26, not 2**-57.
74827         * math/libm-test.inc (acos_test): Do not allow spurious underflow
74828         exception.
74830 2012-05-24  Jeff Law  <law@redhat.com>
74832         * stdio-common/Makefile (tests): Add bug25.
74833         * stdio-common/bug25.c: New test.
74835 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
74837         [BZ #13576]
74838         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
74839         multiple of MALLOC_ALIGNMENT in size.
74840         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
74842 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74844         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
74845         Require >= 256.
74846         (FILENAME_MAX): Use macro-int-constant.
74847         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
74848         (_IOFBF): Use macro-int-constant.
74849         (_IOLBF): Likewise.
74850         (_IONBF): Likewise.
74851         (SEEK_CUR): Likewise.
74852         (SEEK_END): Likewise.
74853         (SEEK_SET): Likewise.
74854         (TMP_MAX): Likewise.
74855         (EOF): Use macro-int-constant.  Require < 0.
74856         (NULL): Use macro-constant.  Require == 0.
74857         (stdin): Require type to be FILE *.
74858         (stdout): Likewise.
74859         (stderr): Likewise.
74860         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
74861         macro-int-constant.
74862         (EXIT_SUCCESS): Likewise.
74863         (NULL): Use macro-constant.  Require == 0.
74864         (RAND_MAX): Use macro-int-constant.
74865         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
74866         [C99-based standards] (strtof): Require function.
74867         [C99-based standards] (strtold): Likewise.
74868         [C99-based standards] (strtoll): Likewise.
74869         [C99-based standards] (strtoull): Likewise.
74870         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
74871         [ISO || ISO99 || ISO11] (limits.h): Likewise.
74872         [ISO || ISO99 || ISO11] (math.h): Likewise.
74873         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
74874         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
74875         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74877 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
74879         [BZ #14132]
74880         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
74881         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
74882         * intl/dgettext.c (DCGETTEXT): Likewise.
74883         * intl/gettext.c (DCGETTEXT): Likewise.
74884         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
74885         * posix/regex_internal.h (gettext): Likewise.
74886         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
74887         Remove declaration.
74888         * include/argz.h (__argz_count_internal)
74889         (__argz_stringify_internal): Remove declaration.
74890         (__argz_count, __argz_stringify): Declare hidden proto.
74891         * intl/dcgettext.c: Remove use of INTDEF.
74892         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
74893         * string/argz-stringify.c: Likewise.
74894         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
74895         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
74896         Declare hidden proto.
74897         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
74898         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
74899         Declare hidden proto.
74900         * include/stdio.h (__asprintf_internal): Don't declare.
74901         (__asprintf): Don't define as macro.  Declare hidden proto.
74902         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
74903         (__fsetlocking): Declare hidden proto.
74904         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
74905         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
74906         hidden proto.
74907         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
74908         (_IO_setlinebuf): Remove use of INTUSE.
74909         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
74910         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
74911         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
74912         Remove declaration.
74913         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
74914         (_IO_do_flush): Remove use of INTUSE.
74915         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
74916         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
74917         (_IO_adjust_column, _IO_least_wmarker)
74918         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
74919         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
74920         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
74921         (_IO_default_doallocate, _IO_wdefault_doallocate)
74922         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
74923         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
74924         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
74925         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
74926         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
74927         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
74928         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
74929         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
74930         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
74931         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
74932         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
74933         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
74934         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
74935         proto.
74936         (_IO_flush_all_internal, _IO_adjust_column_internal)
74937         (_IO_default_uflow_internal, _IO_default_finish_internal)
74938         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
74939         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
74940         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
74941         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
74942         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
74943         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
74944         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
74945         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
74946         (_IO_file_close_internal, _IO_file_close_it_internal)
74947         (_IO_file_underflow_internal, _IO_file_overflow_internal)
74948         (_IO_file_init_internal, _IO_file_attach_internal)
74949         (_IO_file_fopen_internal, _IO_file_read_internal)
74950         (_IO_file_sync_internal, _IO_file_seek_internal)
74951         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
74952         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
74953         (_IO_str_underflow_internal, _IO_str_overflow_internal)
74954         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
74955         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
74956         (_IO_list_all_internal, _IO_link_in_internal)
74957         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
74958         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
74959         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
74960         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
74961         (_IO_do_write_internal, _IO_padn_internal)
74962         (_IO_getline_info_internal, _IO_getline_internal)
74963         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
74964         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
74965         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
74966         (_IO_vfscanf_internal, _IO_vfprintf_internal)
74967         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
74968         (_IO_init_internal, _IO_un_link_internal): Don't declare.
74969         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
74970         with libc_hidden_ver, remove use of INTUSE.
74971         * libio/genops.c: Likewise.
74972         * libio/freopen.c: Likewise.
74973         * libio/freopen64.c: Likewise.
74974         * libio/iofclose.c: Likewise.
74975         * libio/iofdopen.c: Likewise.
74976         * libio/iofflush.c: Likewise.
74977         * libio/iofflush_u.c: Likewise.
74978         * libio/iofgets.c: Likewise.
74979         * libio/iofgets_u.c: Likewise.
74980         * libio/iofopen.c: Likewise.
74981         * libio/iofopncook.c: Likewise.
74982         * libio/iofread.c: Likewise.
74983         * libio/iofread_u.c: Likewise.
74984         * libio/ioftell.c: Likewise.
74985         * libio/iofwrite.c: Likewise.
74986         * libio/iogetline.c: Likewise.
74987         * libio/iogets.c: Likewise.
74988         * libio/iogetwline.c: Likewise.
74989         * libio/iopadn.c: Likewise.
74990         * libio/iopopen.c: Likewise.
74991         * libio/ioseekoff.c: Likewise.
74992         * libio/ioseekpos.c: Likewise.
74993         * libio/iosetbuffer.c: Likewise.
74994         * libio/iosetvbuf.c: Likewise.
74995         * libio/ioungetc.c: Likewise.
74996         * libio/ioungetwc.c: Likewise.
74997         * libio/iovdprintf.c: Likewise.
74998         * libio/iovsprintf.c: Likewise.
74999         * libio/iovsscanf.c: Likewise.
75000         * libio/memstream.c: Likewise.
75001         * libio/obprintf.c: Likewise.
75002         * libio/oldfileops.c: Likewise.
75003         * libio/oldiofclose.c: Likewise.
75004         * libio/oldiofdopen.c: Likewise.
75005         * libio/oldiofopen.c: Likewise.
75006         * libio/oldiopopen.c: Likewise.
75007         * libio/oldstdfiles.c: Likewise.
75008         * libio/putc.c: Likewise.
75009         * libio/setbuf.c: Likewise.
75010         * libio/setlinebuf.c: Likewise.
75011         * libio/stdfiles.c: Likewise.
75012         * libio/strops.c: Likewise.
75013         * libio/vasprintf.c: Likewise.
75014         * libio/vscanf.c: Likewise.
75015         * libio/vsnprintf.c: Likewise.
75016         * libio/vswprintf.c: Likewise.
75017         * libio/wfiledoalloc.c: Likewise.
75018         * libio/wfileops.c: Likewise.
75019         * libio/wgenops.c: Likewise.
75020         * libio/wmemstream.c: Likewise.
75021         * libio/wstrops.c: Likewise.
75022         * libio/__fpurge.c: Likewise.
75023         * libio/__fsetlocking.c: Likewise.
75024         * assert/assert.c: Likewise.
75025         * debug/fgets_chk.c: Likewise.
75026         * debug/fgets_u_chk.c: Likewise.
75027         * debug/fread_chk.c: Likewise.
75028         * debug/fread_u_chk.c: Likewise.
75029         * debug/gets_chk.c: Likewise.
75030         * debug/obprintf_chk.c: Likewise.
75031         * debug/vasprintf_chk.c: Likewise.
75032         * debug/vdprintf_chk.c: Likewise.
75033         * debug/vsnprintf_chk.c: Likewise.
75034         * debug/vsprintf_chk.c: Likewise.
75035         * malloc/mtrace.c: Likewise.
75036         * misc/error.c: Likewise.
75037         * misc/syslog.c: Likewise.
75038         * stdio-common/asprintf.c: Likewise.
75039         * stdio-common/fxprintf.c: Likewise.
75040         * stdio-common/getw.c: Likewise.
75041         * stdio-common/isoc99_fscanf.c: Likewise.
75042         * stdio-common/isoc99_scanf.c: Likewise.
75043         * stdio-common/isoc99_vfscanf.c: Likewise.
75044         * stdio-common/isoc99_vscanf.c: Likewise.
75045         * stdio-common/isoc99_vsscanf.c: Likewise.
75046         * stdio-common/printf-prs.c: Likewise.
75047         * stdio-common/printf_fp.c: Likewise.
75048         * stdio-common/printf_fphex.c: Likewise.
75049         * stdio-common/printf_size.c: Likewise.
75050         * stdio-common/putw.c: Likewise.
75051         * stdio-common/scanf.c: Likewise.
75052         * stdio-common/sprintf.c: Likewise.
75053         * stdio-common/tmpfile.c: Likewise.
75054         * stdio-common/vfprintf.c: Likewise.
75055         * stdio-common/vfscanf.c: Likewise.
75056         * stdlib/strfmon_l.c: Likewise.
75057         * sunrpc/openchild.c: Likewise.
75058         * sunrpc/xdr_stdio.c: Likewise.
75059         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
75060         * sysdeps/mach/hurd/tmpfile.c: Likewise.
75062 2012-05-24  Roland McGrath  <roland@hack.frob.com>
75064         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
75066         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
75067         in the third column, to generate for the shared library an IFUNC
75068         that uses _dl_vdso_vsym.
75069         * Makerules (COMPILE.c, compile-stdin.c): New variables.
75070         * Makeconfig (object-suffixes-noshared): New variable.
75072         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
75073         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
75074         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
75075         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
75077         [BZ #14132]
75078         * include/sys/time.h (__gettimeofday): Remove macro.
75079         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
75080         * time/gettimeofday.c (__gettimeofday): Remove #undef.
75081         Remove INTDEF.
75082         (__gettimeofday): Add libc_hidden_def.
75083         (gettimeofday): Add libc_hidden_weak.
75084         * sysdeps/mach/gettimeofday.c: Likewise.
75085         * sysdeps/posix/gettimeofday.c: Likewise.
75086         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
75087         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
75088         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
75089         (__gettimeofday_internal): Remove strong_alias.
75090         (__gettimeofday): Add libc_hidden_def.
75091         (gettimeofday): Add libc_hidden_weak.
75092         * sysdeps/unix/syscalls.list (gettimeofday):
75093         Remove __gettimeofday_internal alias.
75095 2012-05-24  Daniel Jacobowitz  <drow@false.org>
75096             H.J. Lu  <hongjiu.lu@intel.com>
75098         [BZ #12495]
75099         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
75100         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
75101         (largebin_index_32_big): New.
75102         (largebin_index): Use it for 16-byte alignment.
75103         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
75104         correction with front_misalign.
75106 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
75108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
75109         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
75110         Likewise.
75111         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
75112         Likewise.
75113         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
75114         Likewise.
75115         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
75116         Likewise.
75117         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
75118         Likewise.
75119         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
75120         Likewise.
75121         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
75122         Likewise.
75123         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
75124         Likewise.
75125         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
75126         Likewise.
75127         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
75128         Likewise.
75129         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
75130         Likewise.
75131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
75132         Likewise.
75134         * scripts/data/c++-types-x32-linux-gnu.data: New file.
75135         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
75137 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
75139         [BZ #10846]
75140         [BZ #14036]
75141         * math/libm-test.inc (exp_test): Add test from bug 14036.
75142         (pow_test): Add test from bug 10846.
75144         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
75145         and other flags.
75146         (special_function): Do not include flags in test name.
75147         (parse_args): Likewise.
75148         * sysdeps/i386/fpu/libm-test-ulps: Update.
75149         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75150         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
75151         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
75152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75154         * math/gen-libm-test.pl (%beautify): Add entries for underflow
75155         exceptions.
75156         * math/libm-test.inc ("Philosophy"): Update comment about
75157         exception testing.
75158         (UNDERFLOW_EXCEPTION): New macro.
75159         (UNDERFLOW_EXCEPTION_OK): Likewise.
75160         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
75161         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
75162         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
75163         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
75164         (INVALID_EXCEPTION_OK): Update value.
75165         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75166         (OVERFLOW_EXCEPTION_OK): Likewise.
75167         (IGNORE_ZERO_INF_SIGN): Likewise.
75168         (test_exceptions): Handle underflow exceptions.
75169         (acos_test): Update for underflow exception expectations.
75170         (cexp_test): Likewise.
75171         (clog_test): Likewise.
75172         (clog10_test): Likewise.
75173         (csqrt_test): Likewise.
75174         (ctan_test): Likewise.
75175         (ctanh_test): Likewise.
75176         (exp_test): Likewise.
75177         (exp10_test): Likewise.
75178         (exp2_test): Likewise.
75179         (expm1_test): Likewise.
75180         (fma_test): Likewise.
75181         (j0_test): Likewise.
75182         (jn_test): Likewise.
75183         (nexttoward_test): Likewise.
75184         (pow_test): Likewise.
75185         (scalbn_test): Likewise.
75186         (scalbln_test): Likewise.
75187         (tan_test): Likewise.
75188         (y1_test): Likewise.
75189         * sysdeps/i386/fpu/libm-test-ulps: Update.
75190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75192 2012-05-23  David S. Miller  <davem@davemloft.net>
75194         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
75195         (__libc_sigaction): Remove unused local variables.
75197 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75199         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
75201 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
75203         mktime: avoid signed integer overflow
75204         * time/mktime.c (__mktime_internal): Do not mishandle the case
75205         where diff == INT_MIN.
75207         mktime: simplify computation of average
75208         * time/mktime.c (ranged_convert): Use new time_t_avg function
75209         instead of rolling our own (probably-slower) code.
75211         mktime: do not assume signed right shift propagates sign bit
75212         * time/mktime.c (isdst_differ): New static function.
75213         (__mktime_internal): No need to normalize tm_isdst now.
75214         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
75215         tm_isdst values.
75217         mktime: merge another wrapv change from gnulib
75218         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
75219         from some compilers.
75221         mktime: remove incorrect attempt at unusual arithmetics
75222         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
75223         The code didn't really work on such machines anyway.
75224         (TYPE_MINIMUM): Assume two's complement.
75225         (twos_complement_arithmetic): Verify that long_int and time_t
75226         are two's complement (or unsigned, in the latter case).
75228         mktime: check signed shifts on long_int and time_t, too
75229         * time/mktime.c (SHR): Check that shifts work as desired
75230         on the types long_int and time_t too, as SHR is used on
75231         such types.
75233         mktime: do not assume 'long' is wide enough
75234         * time/mktime.c (verify): Move decl up.
75235         (long_int): New type.
75236         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
75237         to remove assumption in the code that 'long' is wide enough to
75238         store year values.  This assumption is not true on x32 and on
75239         some non-glibc platforms.
75241         mktime: merge wrapv change from gnulib
75242         * time/mktime.c (WRAPV): New macro.
75243         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
75244         (guess_time_tm, __mktime_internal): Do not assume that signed
75245         integer overflow wraps around; modern compilers generate code
75246         where this assumption is no longer valid.
75248 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75250         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
75251         Replace "jmp L(pseudo_end)" with "ret".
75252         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
75253         Likewise.
75255 2012-05-23  Andreas Jaeger  <aj@suse.de>
75257         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
75258         * sysdeps/unix/sysv/linux/poll.c: Remove file.
75260 2012-05-23  Andreas Jaeger  <aj@suse.de>
75261             Maximilian Attems  <max@stro.at>
75263         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
75264         New macros.
75266 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75268         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
75269         code so that pseudo_end is just ret and the stack pointer is
75270         correct also for static library in error case.
75272 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
75274         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
75275         move to syscalls.list.
75276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
75277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
75278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
75279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
75281         * manual/install.texi (Running make install): Do not mention Linux
75282         kernel version for which pt_chown is not needed.
75283         (Linux): Do not mention problems with nscd with 2.0 kernels.
75284         * INSTALL: Regenerated.
75286 2012-05-23  Andreas Jaeger  <aj@suse.de>
75288         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
75289         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
75290         macro.
75291         * sysdeps/unix/sysv/linux/s390/bits/mman.h
75292         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75293         * sysdeps/unix/sysv/linux/sh/bits/mman.h
75294         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75295         * sysdeps/unix/sysv/linux/i386/bits/mman.h
75296         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75297         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
75298         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75299         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
75300         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75301         * sysdeps/unix/sysv/linux/bits/in.h
75302         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
75304 2012-05-22  Roland McGrath  <roland@hack.frob.com>
75306         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
75307         (PREPARE_VERSION): Just use assert instead, it will be elided
75308         under [NDEBUG] anyway.
75310 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75312         * sysdeps/unix/sysv/linux/Makefile: Include
75313         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
75314         (sysdep_routines): Remove sysctl.
75315         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
75316         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
75317         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
75318         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
75319         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
75321 2012-05-22  Andreas Jaeger  <aj@suse.de>
75323         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
75324         that pseudo_end is just ret and the stack pointer is correct also
75325         for static library in error case.
75327 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
75329         [BZ #14122]
75330         * nss/nsswitch.c (defconfig_entries): New variable.
75331         (__nss_database_lookup): Don't leak defconfig entries.
75332         (nss_parse_service_list): Don't leak on error paths.
75333         (free_database_entries): New function.
75334         (free_defconfig): New function.
75335         (free_mem): Move common code to free_database_entries.
75337 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75339         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
75340         Add arch_prctl.
75341         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
75343         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
75344         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
75345         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
75346         New macro.
75347         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
75348         (INTERNAL_SYSCALL_TYPES): Likewise.
75349         (LOAD_ARGS_TYPES_[1-6]): Likewise.
75350         (LOAD_REGS_TYPES_[1-6]): Likewise.
75351         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
75352         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
75354 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75356         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
75357         copysignl for GLIBC_2_0.
75358         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
75359         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
75360         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
75361         logbl for GLIBC_2_0.
75362         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
75363         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
75365 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75367         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
75368         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75370         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
75371         Use "neg %eax".
75373         * time/mktime.c: Update copyright years.
75375 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
75377         mktime: merge comment-quoting-style change from gnulib
75378         * time/mktime.c: Quote 'like this' in comments.
75379         The GNU coding standards suggest that we no longer quote `like this',
75380         as "`" and "'" are typically rendered asymmetrically nowadays.
75381         The typical gnulib style is to quote 'like this' when quoting
75382         code, and "like this" when quoting English.
75384         * time/mktime.c (compile-command): Add "-I.".
75386         mktime: merge mktime-internal.h change from gnulib
75387         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
75389         mktime: merge time_r change from gnulib
75390         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
75392         mktime: merge DEBUG change from gnulib
75393         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
75394         case system <time.h> has a #define.
75396         mktime: merge <sys/types.h> change from gnulib
75397         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
75398         since <time.t> is now guaranteed to define time_t.
75400         mktime: merge HAVE_CONFIG_H change from gnulib
75401         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
75403 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75405         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
75406         Use "neg %eax".
75408         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
75409         __rlim_t cast.
75410         (struct rusage): Use anonymous union to pad each field to
75411         __syscall_slong_t.
75413 2012-05-21  David S. Miller  <davem@davemloft.net>
75415         * Makefules (o-iterator): Remove .s cases.
75416         (compile-command.s): Delete.
75417         (COMPILE.s): Delete.
75418         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
75420 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
75422         * configure.in (libc_cv_predef_stack_protector): Only consider
75423         "foobar" and "__stack_chk_fail" lines in libc_undefs.
75424         * configure: Regenerated.
75426 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75428         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
75429         New macro.  Use R*LP on int and pointer.
75430         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
75431         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
75432         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
75433         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
75435         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
75436         [__WORDSIZE_TIME64_COMPAT32] instead of
75437         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
75438         (struct utmp): Likewise.
75439         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
75440         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
75441         Renamed to ...
75442         (__WORDSIZE_TIME64_COMPAT32): This.
75443         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
75444         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
75445         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
75446         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
75447         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
75448         (__WORDSIZE_TIME64_COMPAT32): New macro.
75450 2012-05-21  Andreas Jaeger  <aj@suse.de>
75452         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
75453         only if [SHARED]. Add prototype for __wcschr_ia32.
75455 2012-05-21  Roland McGrath  <roland@hack.frob.com>
75457         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
75458         of %rbp unmolested in the jmp_buf while mangling the low bits.
75459         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
75460         unmolested high bits of %rbp while demangling the low bits.
75461         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
75463 2012-05-21  Andreas Jaeger  <aj@suse.de>
75465         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
75466         * sunrpc/svc_simple.c: Use it for registerrpc.
75467         * sunrpc/xcrypt.c: Use it for passwd2des.
75469         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
75471 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75473         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
75474         Don't define if [__SYSCALL_WORDSIZE != 32].
75475         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
75476         New macro.
75478 2012-05-21  Bruno Haible  <bruno@clisp.org>
75479             Andreas Jaeger  <aj@suse.de>
75481         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
75482         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
75483         inptr and inend for must_buffer_ch.
75484         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
75485         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
75486         * stdio-common/Makefile (tests): Remove bug15.
75487         (bug15-ENV): Remove macro.
75488         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
75489         anymore.
75491 2012-05-19  Andreas Jaeger  <aj@suse.de>
75492             Roland McGrath  <roland@hack.frob.com>
75494         * manual/contrib.texi: Completely rewritten. It contains now an
75495         alphabetical list of contributors and their contributions.
75497 2012-05-21  Richard Henderson  <rth@twiddle.net>
75499         * misc/getauxval.c (__getauxval): Use unsigned long int.
75500         * misc/sys/auxv.h: Include <sys/cdefs.h>.
75501         (getauxval): Use unsigned long int.
75503 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75505         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
75507 2012-05-21  Roland McGrath  <roland@hack.frob.com>
75509         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
75510         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
75511         __alignof__ (long double).
75513 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75517 2012-05-20  Richard Henderson  <rth@twiddle.net>
75519         * misc/getauxval.c: New file.
75520         * misc/sys/auxv.h: New file.
75521         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
75522         (routines): Add getauxval.
75523         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
75524         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
75525         * elf/dl-sysdep.c (_dl_auxv): Remove.
75526         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
75527         * elf/dl-support.c (_dl_auxv): New variable.
75528         (_dl_aux_init): Initialize it.
75529         * manual/startup.texi (Auxiliary Vector): New node.
75530         * sysdeps/generic/bits/hwcap.h: New file.
75531         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
75532         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
75533         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
75534         * sysdeps/sparc/sysdep.h: ... here.  Include it.
75535         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
75536         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
75537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75538         Update.
75539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
75540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
75541         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
75542         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
75543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
75544         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
75545         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
75546         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
75548 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75550         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75552 2012-05-19  David S. Miller  <davem@davemloft.net>
75554         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75556 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
75558         [BZ #14123]
75559         * math/s_ccosh.c: Include <float.h>
75560         (__ccosh): Avoid internal overflow calculating sinh and cosh
75561         values before multiplying by sin and cos values.
75562         * math/s_ccoshf.c: Likewise.
75563         * math/s_ccoshl.c: Likewise.
75564         * math/s_csin.c: Likewise.
75565         * math/s_csinf.c: Likewise.
75566         * math/s_csinl.c: Likewise.
75567         * math/s_csinh.c: Likewise.
75568         * math/s_csinhf.c: Likewise.
75569         * math/s_csinhl.c: Likewise.
75570         * math/libm-test.inc (ccos_test): Add more tests.
75571         (ccosh_test): Likewise.
75572         (csin_test): Likewise.
75573         (csinh_test): Likewise.
75574         * sysdeps/i386/fpu/libm-test-ulps: Update.
75575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75577 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
75579         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
75580         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
75582         * sysdeps/x86_64/x32/_itoa.h: Add comment.
75584 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
75586         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
75587         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
75588         * sysdeps/powerpc/soft-fp/Versions: Likewise.
75589         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
75590         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
75591         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
75592         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
75593         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
75594         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
75595         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
75596         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
75597         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
75598         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
75599         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
75600         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
75601         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
75602         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
75603         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
75604         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
75605         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
75606         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
75607         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
75608         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
75609         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
75610         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
75611         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
75612         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
75613         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
75614         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
75615         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
75616         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
75618 2012-05-18  Andreas Jaeger  <aj@suse.de>
75620         * csu/.gitignore: Delete.
75622 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75624         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
75625         (timex): Use __syscall_slong_t.
75627 2012-05-18  Andreas Jaeger  <aj@suse.de>
75628             Carlos O'Donell  <carlos_odonell@mentor.com>
75630         * manual/install.texi (Configuring and compiling): Update
75631         description about files modified in the source directory.
75632         * INSTALL: Regenerated.
75634 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75636         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
75637         value.  Use "or" to set return value to -1.
75638         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
75639         negate return value.
75641 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75643         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
75644         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
75645         failure if the compiler has Graphite support disabled.
75646         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
75647         Likewise.
75648         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
75649         (CFLAGS-memmove.c): Likewise.
75650         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
75651         Likewise.
75653 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75655         * sysdeps/x86_64/x32/_itoa.h: New file.
75657         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
75658         getdents system call only if kernel and user dirents have the
75659         same d_ino and d_off.
75661         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
75662         LLONG_MAX != LONG_MAX.
75663         (_itoa_word): Use _ITOA_WORD_TYPE on value.
75664         (_fitoa_word): Likewise.
75666         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
75667         years.
75668         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
75669         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
75670         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
75672         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
75673         include <bits/wordsize.h>.  Check __x86_64__ instead of
75674         __WORDSIZE.
75675         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
75676         if __x86_64__ is defined.  Use anonymous union on fpstate.
75678         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
75679         anonymous union.
75681 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
75683         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
75684         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
75685         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
75686         Refer to _rtld_local_ro instead of _rtld_global_ro.
75687         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
75688         Likewise.
75689         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
75690         Likewise.
75691         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
75692         Likewise.
75693         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
75694         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
75695         of _rtld_global, and rtld_progname instead of _dl_argv[0].
75697         [BZ #10882]
75698         * sysdeps/powerpc/powerpc32/dl-machine.c
75699         (__elf_machine_runtime_setup) [PROF]: Don't reference
75700         _dl_prof_resolve.
75702 2012-05-18  Andreas Jaeger  <aj@suse.de>
75704         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
75705         function only available for GCCs before 3.4 since GCC 3.4
75706         introduced a builtin.
75707         (lrint): Likewise.
75708         (llrintf): Likewise.
75709         (llrint): Likewise.
75710         (fmaxf): Likewise.
75711         (fmax): Likewise.
75712         (fminf): Likewise.
75713         (fmin): Likewise.
75714         (rint): Likewise.
75715         (rintf): Likewise.
75716         (nearbyint): Likewise.
75717         (nearbyintf): Likewise.
75718         (ceil): Likewise.
75719         (ceilf): Likewise.
75720         (floor): Likewise.
75721         (floorf): Likewise.
75723 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75725         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
75726         on both fields and cast pointer to __syscall_ulong_t.
75728         * bits/types.h (__fsword_t): New type.
75729         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
75730         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
75731         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75732         (__FSWORD_T_TYPE): Likewise.
75733         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75734         (__FSWORD_T_TYPE): Likewise.
75735         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75736         (__FSWORD_T_TYPE): Likewise.
75737         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
75738         (__FSWORD_T_TYPE): Likewise.
75739         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
75740         __SWORD_TYPE with __fsword_t.
75741         (statfs64): Likewise.
75743 2012-05-17  David S. Miller  <davem@davemloft.net>
75745         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
75747 2012-05-17  Andreas Jaeger  <aj@suse.de>
75749         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
75750         warning.
75752 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75754         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
75756 2012-05-17  Andreas Jaeger  <aj@suse.de>
75758         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
75759         when it is used.
75761 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
75763         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
75765 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75767         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
75768         * sysdeps/x86_64/tst-mallocalign1.c: New file.
75770 2012-05-17  Andreas Jaeger  <aj@suse.de>
75771             Carlos O'Donell  <carlos_odonell@mentor.com>
75773         [BZ #14059]
75774         * sysdeps/x86_64/multiarch/init-arch.h
75775         (bit_YMM_Usable): Rename to...
75776         (bit_AVX_Usable): ... this.
75777         (bit_FMA4_Usable): New macro.
75778         (bit_XMM_state): New macro.
75779         (bit_YMM_state): New macro.
75780         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
75781         [__ASSEMBLER__] (index_AVX_Usable): ... this.
75782         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
75783         (CPUID_OSXSAVE): New macro.
75784         (CPUID_AVX): New macro.
75785         (CPUID_FMA4): New macro.
75786         (index_YMM_Usable): Rename to...
75787         (index_AVX_Usable): ... this.
75788         (HAS_AVX): Use HAS_ARCH_FEATURE.
75789         (HAS_FMA4): Likewise.
75790         (HAS_YMM_USABLE): Remove.
75791         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75792         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
75793         are present.
75794         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
75795         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
75796         * sysdeps/x86_64/multiarch/Makefile: Likewise.
75797         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
75798         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
75800 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
75802         * math/libm-test.c: Support platforms without multiple rounding modes.
75803         * math/bug-nextafter.c: Support platforms without FP exceptions.
75804         * math/bug-nexttoward.c: Likewise.
75805         * math/test-fenv.c: Likewise.
75806         * math/test-misc.c: Likewise.
75807         * stdlib/bug-getcontext.c: Likewise.
75809 2012-05-17  Andreas Jaeger  <aj@suse.de>
75811         * manual/examples/search.c (critter_cmp): Change signature to
75812         avoid warnings.
75813         * manual/string.texi (Collation Functions): Likewise.
75815 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75817         * bits/types.h: Fold copyright years.
75818         * bits/typesizes.h: Likewise.
75819         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
75820         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
75821         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
75822         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
75823         * time/time.h: Likewise.
75825 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
75827         [BZ #208]
75828         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
75829         in instead of returning them.  Return void.
75830         (__libc_mallinfo): Accumulate over all arenas.
75831         (__malloc_stats): Adjust for change in int_mallinfo interface.
75833 2012-05-16  Roland McGrath  <roland@hack.frob.com>
75835         [BZ #10375]
75836         * configure.in (NM): Add AC_CHECK_TOOL for it.
75837         (libc_extra_cflags): New substituted variable.
75838         Check for -fstack-protector being used implicitly.
75839         * configure: Regenerated.
75840         * config.make.in (config-extra-cflags): New variable,
75841         gets @libc_extra_cflags@.
75842         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
75844         [BZ #10375]
75845         * configure.in: Check for _FORTIFY_SOURCE being predefined.
75846         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
75847         * configure: Regenerated.
75848         * config.make.in (CPPUNDEFS): New substituted variable.
75849         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
75850         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
75851         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
75853 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75855         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
75856         (mq_attr): Use __syscall_slong_t.
75858 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75860         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
75861         Check __x86_64__ instead of __WORDSIZE.
75862         (_STAT_VER_LINUX): Likewise.
75863         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
75864         __syscall_ulong_t and __syscall_slong_t.
75865         (stat64): Likewise.
75867 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75869         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
75871 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75873         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
75875 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75877         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
75878         __syscall_ulong_t.
75880         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
75881         include <bits/wordsize.h>.  Check __x86_64__ instead of
75882         __WORDSIZE.
75883         (greg_t): Use "__extension__ long long int" if __x86_64__ is
75884         defined.
75885         (mcontext_t): Replace "unsigned long" with "unsigned long long".
75887         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
75888         include <bits/wordsize.h>.  Check __x86_64__ instead of
75889         __WORDSIZE.
75890         (user_regs_struct): Use "__extension__ unsigned long long"
75891         instead of "unsigned long" if __x86_64__ is defined.
75892         (user): Likewise.  Pad after pointer field if __ILP32__ is
75893         defined.
75895 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
75897         * configure.in (makeinfo): Require version 4.5 or later.  Allow
75898         versions 5 to 9.
75899         * configure: Regenerated.
75900         * manual/install.texi (texinfo): Increase version requirement to
75901         4.5 or later.
75902         * INSTALL: Regenerated.
75904         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
75906 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75908         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
75910         * sysdeps/x86_64/x32/ffs.c: New file.
75912         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
75913         __syscall_ulong_t.
75914         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
75915         defined.  Use __syscall_ulong_t.
75916         (shminfo): Use __syscall_ulong_t.
75917         (shm_info): Likewise.
75919         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
75920         __syscall_ulong_t.
75922         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
75923         <bits/wordsize.h>.
75924         (msgqnum_t): Use __syscall_ulong_t.
75925         (msglen_t): Likewise.
75926         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
75927         __syscall_ulong_t.
75929         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
75930         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75932         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
75934         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
75935         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
75937         * sysvipc/sys/msg.h (msgbuf): Replace long int with
75938         __syscall_slong_t.
75940         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
75941         include <bits/wordsize.h>.  Check __x86_64__ instead of
75942         __WORDSIZE.
75944         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
75945         "unsigned long long int" if __x86_64__ is defined.
75946         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
75948         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
75949         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75950         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
75952         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
75953         <stdint.h>.
75954         (GET_PC): Cast to uintptr_t first.
75955         (GET_FRAME): Likewise.
75956         (GET_STACK): Likewise.
75958         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
75959         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
75960         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
75961         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
75962         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
75963         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
75964         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
75965         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
75966         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
75967         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
75968         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
75969         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
75970         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
75971         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
75972         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
75973         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
75974         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
75975         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
75976         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
75977         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
75978         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
75979         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
75980         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
75981         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
75982         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
75983         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
75984         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
75985         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
75986         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
75988 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
75990         * Makerules (+depfiles): Also collect depfiles from .oS in
75991         $(extra-objs).
75992         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
75993         .oS, $(libnldbl-routines)).
75995         * Makerules (native-compile-mkdep-flags): Define.
75996         * sunrpc/Makefile (extra-objs): Add $(addprefix
75997         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
75998         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
75999         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
76000         calling $(make-target-directory).
76002 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76004         * bits/types.h (__snseconds_t): Removed.
76005         * time/time.h (struct timespec): Replace __snseconds_t with
76006         __syscall_slong_t.
76007         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
76008         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
76009         Likewise.
76010         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76011         (__SNSECONDS_T_TYPE): Likewise.
76012         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76013         (__SNSECONDS_T_TYPE): Likewise.
76014         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76015         (__SNSECONDS_T_TYPE): Likewise.
76017 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76019         * sysdeps/mach/hurd/bits/typesizes.h
76020         (__SYSCALL_SLONG_TYPE): New macro.
76021         (__SYSCALL_ULONG_TYPE): Likewise.
76023 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76025         * bits/types.h (__syscall_slong_t): New type.
76026         (__syscall_ulong_t): Likewise.
76028         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
76029         (__SYSCALL_ULONG_TYPE): Likewise.
76030         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76031         (__SYSCALL_SLONG_TYPE): Likewise.
76032         (__SYSCALL_ULONG_TYPE): Likewise.
76033         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76034         (__SYSCALL_SLONG_TYPE): Likewise.
76035         (__SYSCALL_ULONG_TYPE): Likewise.
76036         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76037         (__SYSCALL_SLONG_TYPE): Likewise.
76038         (__SYSCALL_ULONG_TYPE): Likewise.
76040 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76042         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
76043         Add sigaltstack-offsets.sym.
76044         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
76045         <sigaltstack-offsets.h>.
76046         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
76047         longjmp_msg pointer.
76048         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
76049         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
76050         signal stack.
76051         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
76053 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
76055         * elf/stackguard-macros.h: Remove file.
76056         * sysdeps/generic/stackguard-macros.h: New file.
76057         * sysdeps/i386/stackguard-macros.h: Likewise.
76058         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
76059         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
76060         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
76061         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
76062         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
76063         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
76064         * sysdeps/x86_64/stackguard-macros.h: Likewise.
76065         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
76066         <elf/stackguard-macros.h>.
76068         [BZ #14109]
76069         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
76070         __aligned__ in attribute.
76071         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
76072         (gregset_t): Likewise.
76074 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76076         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
76077         * sysdeps/x86_64/64/Implies-after: Here.  New file.
76078         * sysdeps/x86_64/x32/Implies-after: New file.
76080 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76082         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
76083         and access return value for _dl_profile_fixup.  Use R10_LP to
76084         load frame size.
76086 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76088         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
76090 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76092         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
76093         * sysdeps/x86_64/x32/sysdep.h: New file.
76095 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76097         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
76098         * sysdeps/x86_64/setjmp.S: Likewise.
76100 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76102         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
76103         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
76104         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
76105         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
76106         remove unused global constant.
76108 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
76110         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
76111         include of <not-cancel.h>.
76113 2012-05-15  Roland McGrath  <roland@hack.frob.com>
76115         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
76117 2012-05-15  Jeff Law  <law@redhat.com>
76118             Andreas Jaeger  <aj@suse.de>
76120         [BZ #13594]
76121         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
76122         out from...
76123         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
76124         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
76125         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
76126         code changing __hst_map_handle.map.
76128 2012-05-15  Roland McGrath  <roland@hack.frob.com>
76130         * configure.in (sysnames): Look for Implies-before and Implies-after
76131         files.
76132         * configure: Regenerated.
76134 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76136         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
76137         8-byte data alignment with LP_SIZE alignment.
76139 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76141         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
76142         into R10_LP.
76144 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76146         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
76148 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76150         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
76151         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
76152         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
76153         Likewise.
76154         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
76156 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76158         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
76159         (stackinfo_sub_sp): Likewise.
76161 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76163         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
76164         RAX_LP.
76166 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76168         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
76169         into R*_LP.
76171 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76173         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
76174         sizes into R*_LP.
76176 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76178         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
76180 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76182         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
76183         into R11_LP and load __x86_64_shared_cache_size_half into
76184         R8_LP.
76186 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76188         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
76189         R8_LP.
76191 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76193         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
76194         logb for POWER7.
76195         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
76196         logbf for POWER7.
76197         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
76198         logbl for POWER7.
76199         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
76200         powerpc32/power7/fpu/s_logb.c via #include.
76201         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
76202         powerpc32/power7/fpu/s_logbf.c via #include.
76203         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
76204         powerpc32/power7/fpu/s_logbl.c via #include.
76206 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
76208         * README.libm: Remove file.
76210 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76212         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
76213         count for x32.  Use R*_LP and omit operand-size suffix.
76215 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76217         * shlib-versions: Move x86_64-.*-linux.* entries to ...
76218         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
76219         * sysdeps/x86_64/x32/shlib-versions: New file.
76221 2012-05-14  Roland McGrath  <roland@hack.frob.com>
76223         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
76224         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
76225         Use _dl_fatal_printf instead.
76227 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
76229         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
76230         set if not set by the user.  Do not allow for being unset.
76231         * sysdeps/unix/sysv/linux/configure: Regenerated.
76233 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76235         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
76236         the `q' suffix from lea and replace .quad with ASM_ADDR.
76238 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76240         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
76241         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
76242         instead of $17.
76243         (PTR_DEMANGLE): Likewise.
76245 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76247         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
76248         (LP_OP): Likewise.
76249         (ASM_ADDR): Likewise.
76250         (RAX_LP): Likewise.
76251         (RBP_LP): Likewise.
76252         (RBX_LP): Likewise.
76253         (RCX_LP): Likewise.
76254         (RDI_LP): Likewise.
76255         (RSI_LP): Likewise.
76256         (RSP_LP): Likewise.
76257         (R8_LP): Likewise.
76258         (R9_LP): Likewise.
76259         (R10_LP): Likewise.
76260         (R10_LP): Likewise.
76261         (R11_LP): Likewise.
76262         (R12_LP): Likewise.
76263         (R13_LP): Likewise.
76264         (R14_LP): Likewise.
76265         (R15_LP): Likewise.
76267 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76269         * sysdeps/x86_64/x32/dl-machine.h: New file.
76271 2012-05-14  Andreas Jaeger  <aj@suse.de>
76273         * manual/Makefile (subdir): Remove export of subdir.
76274         (all): Remove target.
76275         (.PHONY): Remove all from list.
76276         (mkinstalldirs): Remove.
76277         (.PHONY): Remove installdirs from list.
76278         ($(inst_infodir)/libc.info): Use make-target-directory.
76279         (installdirs): Remove.
76280         (subdir_%): Remove.
76281         (glibc-targets): Remove.
76282         (lib): Remove.
76283         (stubs): Remove.
76284         ($(objpfx)stubs ../po/manual.pot): Remove.
76285         ($(objpfx)stamp%): Remove.
76286         (make-target-directory): Remove.
76287         (subdir_install): Remove.
76288         (routines): Remove.
76289         (aux): Remove.
76290         (sources): Remove.
76291         (objects): Remove.
76292         (headers): Remove.
76294         [BZ #13750]
76295         * manual/.gitignore: Remove, it's not needed anymore.
76296         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
76297         all files in it.
76298         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
76299         directory.
76300         (texis): Renamed to $(objpfx)texis.
76301         (texis-path): New, contains path to generated files.
76302         (chapters.%): Use texis-path for complete path, add extra argument
76303         libc-texinfo.sh.
76304         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
76305         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
76306         (summary,texi, stamp-summary): Use complete path of
76307         files. Generate files in build dir.
76308         (dir-add.texi): Build in build dir.
76309         (libm-err.texi,stamp-libm-err): Likewise.
76310         (version.texi, stamp-version): Likewise.
76311         (.%c.texi): Likewise.
76312         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
76313         (mostlyclean): Remove target.
76314         (realclean): Remove target.
76315         (generated): Add new variable with contents from mostlyclean and
76316         realclean, remove entries duplicated in common-mostlyclean, add
76317         stamp-libm-err and stamp-version.
76318         (generated-dirs): Add libc directory.
76319         ($(inst_infodir)/libc.info): Install files from build dir.
76321         * manual/install.texi (Configuring and compiling): Adjust since
76322         the info files are not part of the tar ball anymore.
76324 2012-05-14  Andreas Jaeger  <aj@suse.de>
76326         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
76327         variable.
76329 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
76331         [BZ #13717]
76332         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
76333         to 2.2.0 where earlier.
76334         * sysdeps/unix/sysv/linux/configure: Regenerated.
76335         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
76336         Remove conditional code.
76337         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
76338         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
76339         Remove conditional code.
76340         [!__NR_lchown]: Likewise.
76341         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76342         [__NR_lchown]: Likewise.
76343         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
76344         comment referencing __ASSUME_LCHOWN_SYSCALL.
76345         * sysdeps/unix/sysv/linux/i386/sigaction.c
76346         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76347         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76348         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
76349         Remove conditional code.
76350         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
76351         (__protocol_available): Remove #if 0 code.
76352         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
76353         conditional code.
76354         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
76355         * sysdeps/unix/sysv/linux/kernel-features.h
76356         (__ASSUME_GETCWD_SYSCALL): Don't define.
76357         (__ASSUME_REALTIME_SIGNALS): Likewise.
76358         (__ASSUME_PREAD_SYSCALL): Likewise.
76359         (__ASSUME_PWRITE_SYSCALL): Likewise.
76360         (__ASSUME_POLL_SYSCALL): Likewise.
76361         (__ASSUME_LCHOWN_SYSCALL): Likewise.
76362         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
76363         non-SPARC.
76364         (__ASSUME_SIOCGIFNAME): Don't define.
76365         (__ASSUME_MSG_NOSIGNAL): Likewise.
76366         (__ASSUME_SENDFILE): Define unconditionally.
76367         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
76368         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
76369         conditional code.
76370         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
76371         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
76372         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
76373         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76374         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
76375         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
76376         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
76378         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76379         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
76381         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76382         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
76384         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76385         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
76387         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76388         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
76390         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76391         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
76393         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76394         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
76396         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76397         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
76399         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76400         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76401         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
76402         Remove conditional code.
76403         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76404         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
76405         Remove conditional code.
76406         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76407         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
76408         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
76409         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
76410         Remove conditional code.
76411         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76412         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
76413         Remove conditional code.
76414         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76415         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
76416         Remove conditional code.
76417         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76418         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
76419         Remove conditional code.
76420         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76421         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
76422         Remove conditional code.
76423         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76424         * sysdeps/unix/sysv/linux/sh/pwrite64.c
76425         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76426         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76427         * sysdeps/unix/sysv/linux/sigaction.c
76428         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76429         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76430         * sysdeps/unix/sysv/linux/sigpending.c
76431         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76432         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76433         * sysdeps/unix/sysv/linux/sigprocmask.c
76434         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76435         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76436         * sysdeps/unix/sysv/linux/sigsuspend.c
76437         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76438         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76439         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
76440         (__libc_missing_rt_sigs): Remove.
76441         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
76442         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
76443         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
76444         Remove conditional code.
76445         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
76446         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
76447         return 1.
76448         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
76449         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
76450         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
76451         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
76453 2012-05-14  Andreas Jaeger  <aj@suse.de>
76455         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
76456         it's not used in glibc.
76457         (__coshm1): Likewise.
76458         (__acosh1p): Likewise.
76459         (__sgn): Likewise.
76461         * manual/string.texi (Copying and Concatenation): Add missing
76462         variable in concat example.
76463         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
76465 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76467         [BZ #14103]
76468         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
76469         __builtin_clzl with __builtin_clzll.
76471 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76473         [BZ #14104]
76474         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
76475         libc_freeres_ptr.
76477 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76479         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
76480         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
76481         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
76482         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
76484 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
76486         * NEWS: Update ia64 info.
76488 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
76490         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
76491         used as bcopy.
76493 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
76495         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
76496         * sysdeps/unix/syscalls.list (dup3): Likewise.
76497         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
76498         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
76500 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
76502         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
76503         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
76505 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
76507         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
76508         thread pointer.
76509         (TLS_IE): Use mov/add instead of movq/addq to load thread
76510         pointer.
76511         (TLS_GD_PREFIX): New.
76512         (TLS_GD): Use it.
76514 2012-05-11  David S. Miller  <davem@davemloft.net>
76516         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
76517         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
76518         (_FPU_SETCW): Likewise.
76520 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76522         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
76523         is 32-byte aligned.
76525 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
76527         [BZ #11837]
76528         * iconvdata/gb18030.c: Update tables.
76529         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
76530         characters specially.
76531         (BODY for TO_LOOP): Add encoding of missing ranges.
76533 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
76535         [BZ #13673]
76536         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
76537         * sysdeps/mach/hurd/dup3.c: Likewise.
76538         * sysdeps/mach/hurd/readlinkat.c: Likewise.
76539         * sysdeps/powerpc/memmove.c:: Likewise.
76541 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76543         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
76544         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
76546 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76548         * elf/elf.h (R_X86_64_RELATIVE64): New.
76549         (R_X86_64_NUM): Updated.
76550         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
76551         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
76552         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
76553         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
76554         tst-quad1pie tst-quad2pie
76555         (modules-names): Add tst-quadmod1 tst-quadmod2.
76556         ($(objpfx)tst-quad1): New dependency.
76557         ($(objpfx)tst-quad2): Likewise.
76558         ($(objpfx)tst-quad1pie): Likewise.
76559         ($(objpfx)tst-quad2pie): Likewise.
76560         * sysdeps/x86_64/tst-quad1.c: New file.
76561         * sysdeps/x86_64/tst-quad1pie.c: New file.
76562         * sysdeps/x86_64/tst-quad2.c: Likewise.
76563         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
76564         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
76565         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
76566         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
76567         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
76569 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76571         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
76572         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
76573         * streams/stropts.h (t_scalar_t): Define type.
76575         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
76576         (_PATH_PRESERVE): Set to "/var/lib".
76577         (_PATH_RWHODIR): Set to "/var/spool/rwho".
76579         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
76580         instead of int.
76582         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
76583         if __dir_mkfile succeeded.
76585         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
76586         checking for _hurd_dtablesize.  Unlock it right after having
76587         finished _hurd_dtable allocation.
76589 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76591         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
76592         * sysdeps/mach/hurd/configure: Regenerated.
76593         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
76594         special-casing to...
76595         * sysdeps/gnu/configure.in: ... this new file.
76596         * sysdeps/unix/sysv/linux/configure: Regenerated.
76597         * sysdeps/gnu/configure: New generated file.
76599         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
76600         for Linux: use nsec instead of usec, as well as:
76601         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
76602         members of type struct timespec.
76603         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
76604         New macros.
76605         (struct stat64): Likewise.
76606         (_STATBUF_ST_NSEC): New macro.
76607         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
76609         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
76610         __strtoul_internal rather than strtoul.
76612 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76614         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
76615         and reject them.
76617 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76619         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
76620         which preserves existing values.
76621         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
76623 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76625         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
76626         TIMEOUT values.  Return EINVAL for NFDS values either negative or
76627         greater than FD_SETSIZE.
76629 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76631         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
76632         allocated, call __vm_protect to finish enabling the existing space, and
76633         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
76634         allocate the remainder.
76636 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76638         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
76639         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
76641 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76643         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
76644         sysdeps/mach/hurd/readlink.c.
76646         * posix/tst-sysconf.c (posix_options): Only use
76647         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
76648         _POSIX_SYNCHRONIZED_IO when they are defined
76649         * sysdeps/mach/hurd/bits/posix_opt.h:
76650         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
76651         (_XOPEN_REALTIME): Undefine macro.
76652         (_XOPEN_REALTIME_THREADS): Undefine macro.
76653         (_XOPEN_SHM): Undefine macro.
76654         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
76655         macro to -1.
76656         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
76657         macro to -1.
76658         (_POSIX_ASYNC_IO): Undefine macro.
76659         (_POSIX_PRIORITIZED_IO): Undefine macro.
76660         (_POSIX_SPIN_LOCKS): Define macro to -1.
76662         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
76663         SA_NODEFER, SA_RESETHAND.
76664         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
76665         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
76666         F_DUPFD_CLOEXEC.
76668 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76670         * elf/Makefile (pldd-modules): Define unconditionally.
76672 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76674         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
76676 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76678         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
76679         Return ENOENT when name is empty.
76680         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
76682 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76684         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
76686         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
76688 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76690         Fix mlock in all cases except non-readable pages.
76691         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
76692         instead of VM_PROT_ALL as parameter to __vm_wire function.
76694         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
76695         (__mkdir): When path is `/', just fail with EEXIST.
76696         * sysdeps/mach/hurd/mkdirat.c: Likewise.
76698 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76700         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
76701         <sys/uio.h> (for writev).
76702         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
76703         and <sys/param.h> (for MIN).
76705 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76707         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
76708         REQUESTED_TIME.  Properly set the remaining time and return EINTR
76709         if interrupted.
76711 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76713         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
76714         Depend on against $(link-rpcuserlibs).
76716 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76718         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
76719         (__libc_stack_end): Do not use attribute_relro.
76720         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
76721         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
76722         to libthread-provided value.
76723         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
76724         attribute_relro.
76726 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76728         [BZ #3748]
76729         * bits/libc-lock.h (__libc_once_get): New macro.
76730         * sysdeps/mach/bits/libc-lock.h: Likewise.
76731         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
76732         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
76733         instead of using implementation details.
76735         * libio/fileops.c: Unconditionally include <kernel-features.h>.
76736         * libio/freopen.c: Likewise.
76737         * libio/freopen64.c: Likewise.
76738         * misc/syslog.c: Likewise.
76739         * nscd/connections.c: Likewise.
76740         * nscd/netgroupcache.c: Likewise.
76741         * sysdeps/posix/getcwd.c: Likewise.
76743 2012-05-10  Roland McGrath  <roland@hack.frob.com>
76745         * math/w_ilogbf.c: Add #include <limits.h>.
76747 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76749         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
76750         path instead of returning without unlocking.
76752         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
76753         immediate-write ioctls.
76754         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
76756 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76758         * sysdeps/mach/hurd/i386/init-first.c (init): Use
76759         __builtin_frame_address instead of making assumptions about the
76760         location of the return address relative to DATA.  Force early load of
76761         the return address.
76762         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
76763         __builtin_frame_address.
76765         dup3 for GNU Hurd.
76766         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
76767         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
76768         implement dup3 and do some further code clean-ups.
76769         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
76770         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
76772 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76774         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
76776         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
76777         HURD_CRITICAL_END around holding _hurd_dtable_lock.
76778         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
76779         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
76780         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
76781         d->port.lock.
76783         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
76784         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
76785         when handler == SIG_ERR, not when handler != SIG_ERR.
76787 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76789         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
76790         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
76791         definitions.
76793         accept4 for GNU Hurd.
76794         * include/sys/socket.h (__libc_accept4): New prototype.
76795         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
76796         to implement __libc_accept4.
76797         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
76798         __libc_accept4.
76799         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
76801         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
76802         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
76803         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
76804         signal-defines.sym.
76806 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76808         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
76810 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76812         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
76813         assertion on O_CLOEXEC flag.
76814         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
76815         * hurd/intern-fd.c: Likewise.
76816         * hurd/port2fd.c: Likewise.
76818 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76820         [BZ #3906]
76821         * bits/in.h (IPV6_PKTINFO): Define new macro.
76822         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
76824 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76826         [BZ #13954]
76827         [BZ #13955]
76828         [BZ #13956]
76829         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
76830         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
76831         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
76832         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
76833         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
76834         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
76835         * math/libm-test.inc (logb_test) : Additional logb tests.
76837 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
76838             Andreas Jaeger  <aj@suse.de>
76840         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
76841         * configure: Regenerated.
76842         * config.h.in (LINK_OBSOLETE_RPC): New macro.
76843         * config.make.in (link-obsolete-rpc): New substituted variable.
76844         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
76845         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
76846         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
76847         (shared-only-routines): Don't set it under [link-obsolete-rpc],
76848         so that libc.a contains the symbols.
76849         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
76850         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
76851         * sunrpc/auth_none.c: Likewise.
76852         * sunrpc/auth_unix.c: Likewise.
76853         * sunrpc/authdes_prot.c: Likewise.
76854         * sunrpc/authuxprot.c: Likewise.
76855         * sunrpc/clnt_gen.c: Likewise.
76856         * sunrpc/clnt_perr.c: Likewise.
76857         * sunrpc/clnt_raw.c: Likewise.
76858         * sunrpc/clnt_simp.c: Likewise.
76859         * sunrpc/clnt_tcp.c: Likewise.
76860         * sunrpc/clnt_udp.c: Likewise.
76861         * sunrpc/clnt_unix.c: Likewise.
76862         * sunrpc/des_crypt.c: Likewise.
76863         * sunrpc/des_soft.c: Likewise.
76864         * sunrpc/get_myaddr.c: Likewise.
76865         * sunrpc/key_call.c: Likewise.
76866         * sunrpc/key_prot.c: Likewise.
76867         * sunrpc/netname.c: Likewise.
76868         * sunrpc/pm_getmaps.c: Likewise.
76869         * sunrpc/pm_getport.c: Likewise.
76870         * sunrpc/pmap_clnt.c: Likewise.
76871         * sunrpc/pmap_prot.c: Likewise.
76872         * sunrpc/pmap_prot2.c: Likewise.
76873         * sunrpc/pmap_rmt.c: Likewise.
76874         * sunrpc/publickey.c: Likewise.
76875         * sunrpc/rpc_cmsg.c: Likewise.
76876         * sunrpc/rpc_common.c: Likewise.
76877         * sunrpc/rpc_dtable.c: Likewise.
76878         * sunrpc/rpc_prot.c: Likewise.
76879         * sunrpc/rpc_thread.c: Likewise.
76880         * sunrpc/rtime.c: Likewise.
76881         * sunrpc/svc.c: Likewise.
76882         * sunrpc/svc_auth.c: Likewise.
76883         * sunrpc/svc_raw.c: Likewise.
76884         * sunrpc/svc_run.c: Likewise.
76885         * sunrpc/svc_tcp.c: Likewise.
76886         * sunrpc/svc_udp.c: Likewise.
76887         * sunrpc/svc_unix.c: Likewise.
76888         * sunrpc/svcauth_des.c: Likewise.
76889         * sunrpc/xcrypt.c: Likewise.
76890         * sunrpc/xdr.c: Likewise.
76891         * sunrpc/xdr_array.c: Likewise.
76892         * sunrpc/xdr_float.c: Likewise.
76893         * sunrpc/xdr_intXX_t.c: Likewise.
76894         * sunrpc/xdr_mem.c: Likewise.
76895         * sunrpc/xdr_rec.c: Likewise.
76896         * sunrpc/xdr_ref.c: Likewise.
76897         * sunrpc/xdr_sizeof.c: Likewise.
76898         * sunrpc/xdr_stdio.c: Likewise.
76900 2012-05-10  Roland McGrath  <roland@hack.frob.com>
76902         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
76903         change.  Update copyright years.
76905 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
76907         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
76909 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
76910             Joseph Myers  <joseph@codesourcery.com>
76911             Paul Pluzhnikov  <ppluzhnikov@google.com>
76913         [BZ #14012]
76914         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
76915         requiring rpcgen.
76916         [cross-compiling] (extra-libs): Likewise.
76917         [cross-compiling] (extra-libs-others): Likewise.
76918         [cross-compiling] (librpcsvc-routines): Likewise.
76919         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
76920         [cross-compiling] (omit-deps): Likewise.
76921         (sunrpc-CPPFLAGS): New variable.
76922         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
76923         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
76924         (cross-rpcgen-objs): New variable.
76925         (extra-objs): Append $(cross-rpcgen-objs).
76926         ($(cross-rpcgen-objs)): New rule.
76927         ($(objpfx)cross-rpcgen): Likewise.
76928         (rpcgen-cmd): Define to use $(built-program-file).  Expand
76929         comment.
76930         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
76931         ($(objpfx)x%.stmp): Likewise.
76932         * sunrpc/proto.h [IS_IN_build] (_): Define.
76933         [IS_IN_build] (_libc_intl_domainname): Likewise.
76935 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76937         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
76938         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
76939         and R_X86_64_TPOFF64.
76941 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
76943         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
76944         sysdeps/unix/sysv/syscalls.list.
76945         (stime): Likewise.
76946         (utime): Likewise.
76947         * sysdeps/unix/sysv/syscalls.list: Remove file.
76949 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
76951         [BZ #3440]
76952         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
76953         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
76954         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
76955         (__LC_IDENTIFICATION): Make these macros useful in #if
76956         expressions, as required by C99.
76958 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
76960         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
76961         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
76962         after this.
76964 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
76966         * stdlib/longlong.h: Updated from GCC.
76968 2012-05-09  Andreas Jaeger  <aj@suse.de>
76970         * nscd/nscd.c (run_modes): Make named enum, reorder so that
76971         default is first entry.
76972         (run_mode): Set type.
76973         (main): Remove informal message about syslog.
76974         (options): Fix typo.
76976         [BZ #14053]
76977         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
76978         to asm.
76979         (lrint): Likewise.
76980         (llrintf): Likewise.
76981         (llrint): Likewise.
76982         (rint): Likewise.
76983         (rintf): Likewise.
76984         (nearbyint): Likewise.
76985         (nearbyintf): Likewise.
76987 2012-05-09  Andreas Jaeger  <aj@suse.de>
76988             Pedro Alves  <palves@redhat.com>
76990         * nscd/nscd.c (run_mode): Use enum.
76991         (main): Cleanup coding style issue.
76993 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
76994             Andreas Jaeger  <aj@suse.de>
76996         * nscd/nscd.c (go_background): Replaced with...
76997         (run_mode): ... this.
76998         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
76999         (options): Add -F --foreground.
77000         (main): Implement it.
77001         (parse_opt): Parse it.
77003 2012-05-09  Andreas Jaeger  <aj@suse.de>
77005         [BZ #14083]
77006         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
77007         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
77008         -Wconversion warning.
77009         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
77010         Likewise.
77012 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
77014         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
77015         == 0.
77016         (LC_ALL): Use macro-int-constant.
77017         (LC_COLLATE): Likewise.
77018         (LC_CTYPE): Likewise.
77019         (LC_MESSAGES): Likewise.
77020         (LC_MONETARY): Likewise.
77021         (LC_NUMERIC): Likewise.
77022         (LC_TIME): Likewise.
77023         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
77024         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
77025         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77026         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
77027         Specify type.
77028         [C99-based standards] (float_t): Expect type.
77029         [C99-based standards] (double_t): Expect type.
77030         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
77031         type.
77032         [C99-based standards] (HUGE_VALL): Likewise.
77033         [C99-based standards] (INFINITY): Likewise.
77034         [C99-based standards] (NAN): Likewise.
77035         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
77036         [C99-based standards] (FP_NAN): Likewise.
77037         [C99-based standards] (FP_NORMAL): Likewise.
77038         [C99-based standards] (FP_SUBNORMAL): Likewise.
77039         [C99-based standards] (FP_ZERO): Likewise.
77040         [C99-based standards] (FP_FAST_FMA): Use
77041         optional-macro-int-constant.  Specify type.  Require == 1.
77042         [C99-based standards] (FP_FAST_FMAF): Likewise.
77043         [C99-based standards] (FP_FAST_FMAL): Likewise.
77044         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
77045         [C99-based standards] (FP_ILOGBNAN): Likewise.
77046         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
77047         Specify type.
77048         [C99-based standards] (MATH_ERREXCEPT): Likewise.
77049         [C99-based standards] (math_errhandling): Specify type.
77050         [ISO99 || ISO11] (signgam): Do not allow.
77051         [non-C99-based standards] (copysignf): Do not allow.
77052         [non-C99-based standards] (exp2f): Likewise.
77053         [non-C99-based standards] (log2f): Likewise.
77054         [non-C99-based standards] (modff): Allow.
77055         [non-C99-based standards] (erff): Do not allow.
77056         [non-C99-based standards] (erfcf): Likewise.
77057         [non-C99-based standards] (gammaf): Likewise.
77058         [non-C99-based standards] (hypotf): Likewise.
77059         [non-C99-based standards] (j0f): Likewise.
77060         [non-C99-based standards] (j1f): Likewise.
77061         [non-C99-based standards] (jnf): Likewise.
77062         [non-C99-based standards] (lgammaf): Likewise.
77063         [non-C99-based standards] (tgammaf): Likewise.
77064         [non-C99-based standards] (y0f): Likewise.
77065         [non-C99-based standards] (y1f): Likewise.
77066         [non-C99-based standards] (ynf): Likewise.
77067         [non-C99-based standards] (isnanf): Likewise.
77068         [non-C99-based standards] (acoshf): Likewise.
77069         [non-C99-based standards] (asinhf): Likewise.
77070         [non-C99-based standards] (atanhf): Likewise.
77071         [non-C99-based standards] (cbrtf): Likewise.
77072         [non-C99-based standards] (expm1f): Likewise.
77073         [non-C99-based standards] (ilogbf): Likewise.
77074         [non-C99-based standards] (log1pf): Likewise.
77075         [non-C99-based standards] (logbf): Likewise.
77076         [non-C99-based standards] (nextafterf): Likewise.
77077         [non-C99-based standards] (remainderf): Likewise.
77078         [non-C99-based standards] (rintf): Likewise.
77079         [non-C99-based standards] (scalbf): Likewise.
77080         [non-C99-based standards] (copysignl): Likewise.
77081         [non-C99-based standards] (exp2l): Likewise.
77082         [non-C99-based standards] (log2l): Likewise.
77083         [non-C99-based standards] (modfl): Allow.
77084         [non-C99-based standards] (erfl): Do not allow.
77085         [non-C99-based standards] (erfcl): Likewise.
77086         [non-C99-based standards] (gammal): Likewise.
77087         [non-C99-based standards] (hypotl): Likewise.
77088         [non-C99-based standards] (j0l): Likewise.
77089         [non-C99-based standards] (j1l): Likewise.
77090         [non-C99-based standards] (jnl): Likewise.
77091         [non-C99-based standards] (lgammal): Likewise.
77092         [non-C99-based standards] (tgammal): Likewise.
77093         [non-C99-based standards] (y0l): Likewise.
77094         [non-C99-based standards] (y1l): Likewise.
77095         [non-C99-based standards] (ynl): Likewise.
77096         [non-C99-based standards] (isnanl): Likewise.
77097         [non-C99-based standards] (acoshl): Likewise.
77098         [non-C99-based standards] (asinhl): Likewise.
77099         [non-C99-based standards] (atanhl): Likewise.
77100         [non-C99-based standards] (cbrtl): Likewise.
77101         [non-C99-based standards] (expm1l): Likewise.
77102         [non-C99-based standards] (ilogbl): Likewise.
77103         [non-C99-based standards] (log1pl): Likewise.
77104         [non-C99-based standards] (logbl): Likewise.
77105         [non-C99-based standards] (nextafterl): Likewise.
77106         [non-C99-based standards] (remainderl): Likewise.
77107         [non-C99-based standards] (rintl): Likewise.
77108         [non-C99-based standards] (scalbl): Likewise.
77109         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77110         [non-C99-based standards] (FP_*): Do not allow.
77111         [C99-based standards] (FP_*): Change to
77112         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
77113         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77114         allow.
77115         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
77116         (SIG_ERR): Likewise.
77117         [X/Open-based standards] (SIG_HOLD): Likewise.
77118         (SIG_IGN): Likewise.
77119         (SIGABRT): Use macro-int-constant.  Specify type.  Require
77120         positive value.
77121         (SIGFPE): Likewise.
77122         (SIGILL): Likewise.
77123         (SIGINT): Likewise.
77124         (SIGSEGV): Likewise.
77125         (SIGTER): Likewise.
77126         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
77127         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
77128         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
77129         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
77130         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
77131         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
77132         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
77133         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
77134         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
77135         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
77136         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
77137         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
77138         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
77139         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
77140         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
77141         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
77142         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
77143         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
77144         [X/Open-based standards] (SIGTRAP): Likewise.
77145         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
77146         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
77147         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
77148         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
77149         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77150         allow.
77152 2012-05-08  Ian Wienand  <ianw@vmware.com>
77154         [BZ #14080]
77155         * time/tzset.c (__tzset_parse_tz): Update default rules for
77156         daylight time changes in the Energy Policy Act of 2005.
77158 2012-05-09  Andreas Jaeger  <aj@suse.de>
77160         [BZ #13983]
77161         * elf/ldconfig.c (parse_conf): Change string to make clear that
77162         ldconfig only issued a warning if ld.so.conf does not exist.
77164 2012-05-08  David S. Miller  <davem@davemloft.net>
77166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
77167         movxtod instead of popping the value on the stack.
77169         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77171 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
77173         * config.h.in: Add HAVE_ARM_PCS_VFP.
77175 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
77177         [BZ #13979]
77178         * include/features.h: Warn if user requests __FORTIFY_SOURCE
77179         checking but the checks are disabled for any reason.
77181 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
77183         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
77184         and ELF64_R_TYPE with ELFW(R_TYPE).
77186 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
77188         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
77189         (ulimit): Likewise.
77191         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
77192         (settimeofday): Likewise.
77194 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
77196         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
77197         a struct th_u2 inside the union, and move tu_block/tu_code into
77198         a new th_u3 union of tu_block/tu_code inside of that.  Move
77199         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
77200         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
77201         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
77202         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
77203         (th_stuff): Change to th_u1.tu_stuff.
77204         (th_data): Define.
77205         (th_msg): Change to th_u1.th_u2.tu_data.
77207 2012-05-07  David S. Miller  <davem@davemloft.net>
77209         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77211         [BZ #14074]
77212         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
77213         (SETUP_PIC_REG): Use it.
77214         (SETUP_PIC_REG_LEAF): Use it.
77216 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
77218         [BZ #13885]
77219         [BZ #13923]
77220         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77221         USE_AS_EXPM1L.
77222         (EXPL_FINITE): Likewise.
77223         (FLDLOG): Likewise.
77224         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
77225         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
77226         e_expl.S.
77227         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77228         USE_AS_EXPM1L.
77229         (EXPL_FINITE): Likewise.
77230         (FLDLOG): Likewise.
77231         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
77232         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
77233         e_expl.S.
77234         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
77235         test of -max_value argument for long double.
77236         * sysdeps/i386/fpu/libm-test-ulps: Update.
77237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77239 2012-05-06  David S. Miller  <davem@davemloft.net>
77241         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
77242         quad soft-float symbols whose references which are compiler
77243         generated.
77244         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
77246 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
77248         [BZ #13884]
77249         [BZ #13914]
77250         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77251         USE_AS_EXP10L.
77252         (EXPL_FINITE): Likewise.
77253         (FLDLOG): Likewise.
77254         (c0): Likewise.
77255         (c1): Likewise.
77256         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
77257         Adjust comments for base varying.
77258         (__expl_finite): Change alias to EXPL_FINITE.
77259         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
77260         e_expl.S.
77261         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
77262         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
77263         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
77264         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
77265         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77266         USE_AS_EXP10L.
77267         (EXPL_FINITE): Likewise.
77268         (FLDLOG): Likewise.
77269         (c0): Likewise.
77270         (c1): Likewise.
77271         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
77272         Adjust comments for base varying.
77273         (__expl_finite): Change alias to EXPL_FINITE.
77274         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
77275         tests for bugs.
77276         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77278         [BZ #14064]
77279         * math/libm-test.inc (check_float_internal): Correct ulp
77280         calculation for subnormal expected results.
77282 2012-05-06  Andreas Jaeger  <aj@suse.de>
77284         * Makeconfig (+math-flags): New, set to -frounding-math.
77285         (+cflags): Add +math-flags so that all of glibc gets compiled with
77286         it.
77288         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
77290 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
77292         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
77293         Disable one test.
77295         [BZ #13787]
77296         [BZ #13922]
77297         [BZ #14036]
77298         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
77299         (__ieee754_expl): Allow for and saturate large arguments.
77300         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
77301         (u_threshold): Likewise.
77302         (__exp): Call __ieee754_exp before checking for overflow and
77303         underflow.
77304         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
77305         (u_threshold): Likewise.
77306         (__expf): Call __ieee754_expf before checking for overflow and
77307         underflow.
77308         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
77309         (u_threshold): Likewise.
77310         (__expl): Call __ieee754_expl before checking for overflow and
77311         underflow.
77312         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
77313         (__ieee754_expl): Allow for and saturate large arguments.
77314         * math/libm-test.inc (exp_test): Add another test.  Do not allow
77315         missing overflow exception on overflow.
77316         (expm1_test): Do not allow missing overflow exception on overflow.
77318         * sysdeps/i386/fpu/e_expl.c: Move to ...
77319         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
77320         rather than using inline asm.
77321         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
77322         * sysdeps/x86_64/fpu/e_expl.S: Copy from
77323         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
77325         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
77326         (nice): Likewise.
77327         (poll): Likewise.
77328         (signal): Likewise.
77329         (time): Likewise.
77330         (times): Likewise.
77332 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77334         * sysdeps/unix/syscalls.list (adjtime): Add entry from
77335         sysdeps/unix/common/syscalls.list.
77336         (fchmod): Likewise.
77337         (fchown): Likewise.
77338         (ftruncate): Likewise.
77339         (getrusage): Likewise.
77340         (gettimeofday): Likewise.
77341         (setpgid): Likewise.
77342         (setregid): Likewise.
77343         (setreuid): Likewise.
77344         (sigaction): Likewise.
77345         (truncate): Likewise.
77346         (vhangup): Likewise.
77347         * sysdeps/unix/common/syscalls.list: Remove file.
77348         * sysdeps/unix/bsd/Implies: Don't include unix/common.
77349         * sysdeps/unix/sysv/linux/Implies: Likewise.
77351 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
77353         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
77354         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
77355         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
77356         Moved to ...
77357         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
77358         Here.
77359         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
77360         to ...
77361         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
77362         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
77363         to ...
77364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
77365         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
77366         to ...
77367         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
77368         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
77369         to ...
77370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
77371         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
77372         to ...
77373         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
77374         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
77375         to ...
77376         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
77377         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
77378         to ...
77379         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
77380         Here.
77381         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
77382         to ...
77383         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
77384         Here.
77385         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
77386         to ...
77387         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
77388         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
77389         Moved to ...
77390         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
77391         Here.
77392         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
77393         to ...
77394         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
77396 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77398         * sysdeps/unix/common/bits/dirent.h: Remove file.
77399         * sysdeps/unix/common/bits/fcntl.h: Likewise.
77401         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
77402         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
77403         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
77404         * sysdeps/unix/bsd/isatty.c: Likewise.
77405         * sysdeps/unix/bsd/tcdrain.c: Likewise.
77406         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
77407         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
77409 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77411         [BZ #13563]
77412         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
77413         long double comparison inaccuracies.
77414         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
77415         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77417 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
77419         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
77420         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
77422 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77424         [BZ #14049]
77425         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
77426         nonzero digits before rounding a hex value.
77427         * stdlib/tst-strtod.c (tests): Add another test.
77429 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77431         * sysdeps/s390/fpu/libm-test-ulps: Update.
77433 2012-05-03  Andreas Jaeger  <aj@suse.de>
77435         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
77436         does not get optimized out.
77437         (malloc_opt_barrier): New.
77439 2012-05-03  Andreas Jaeger  <aj@suse.de>
77440             Roland McGrath  <roland@hack.frob.com>
77442         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
77443         intermediate file deletion.
77444         (generated): Add .symlist files.
77446 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
77448         [BZ #13775]
77449         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
77450         Redirect under this condition.
77451         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
77452         [__USE_GNU] (__dprintf_chk): Not under this condition.
77453         [__USE_GNU] (__vdprintf_chk): Likewise.
77454         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
77455         under this condition.
77456         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
77457         [__USE_XOPEN2K8] (dprintf): Define under this condition.
77458         [__USE_XOPEN2K8] (vdprintf): Likewise.
77459         [__USE_GNU] (__dprintf_chk): Not under this condition.
77460         [__USE_GNU] (__vdprintf_chk): Likewise.
77461         [__USE_GNU] (dprintf): Likewise.
77462         [__USE_GNU] (vdprintf): Likewise.
77464 2012-05-03  Roland McGrath  <roland@hack.frob.com>
77466         * elf/Makefile (common-generated): Set this instead of generated for
77467         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
77468         $(all-built-dso)-derived lists.
77470 2012-05-03  Andreas Jaeger  <aj@suse.de>
77472         * sysdeps/i386/fpu/libm-test-ulps: Update.
77474         * FAQ: Removed.
77475         * FAQ.in: Likewise.
77476         * scripts/gen-FAQ.pl: Likewise.
77477         * manual/install.texi (Installation): Point to online location of
77478         FAQ.
77479         * Makefile (files-for-dist): Remove FAQ.
77480         (FAQ): Remove.
77482 2012-05-02  Allan McRae  <allan@archlinux.org>
77484         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
77485         (LDFLAGS-reldepmod5.so): Likewise.
77486         (LDFLAGS-reldep6mod1.so): Likewise.
77487         (LDFLAGS-reldep6mod4.so): Likewise.
77488         (LDFLAGS-reldep8mod3.so): Likewise.
77489         (LDFLAGS-unload4mod1.so): Likewise.
77490         (LDFLAGS-unload4mod2.so): Likewise.
77491         (LDFLAGS-tst-initorder): Likewise.
77492         (LDFLAGS-tst-initordera2.so): Likewise.
77493         (LDFLAGS-tst-initordera3.so): Likewise.
77494         (LDFLAGS-tst-initordera4.so): Likewise.
77495         (LDFLAGS-tst-initorderb2.so): Likewise.
77496         (LDFLAGS-noload): Likewise.
77497         (LDFLAGS-next): Likewise.
77498         (LDFLAGS-order2mod1.so): Likewise.
77499         (LDFLAGS-order2mod2.so): Likewise.
77500         (LDFLAGS-tst-initorder2): Likewise.
77501         (LDFLAGS-tst-initorder2a.so): Likewise.
77502         (LDFLAGS-tst-initorder2b.so): Likewise.
77503         (LDFLAGS-tst-initorder2c.so): Likewise.
77504         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
77506 2012-05-02  David S. Miller  <davem@davemloft.net>
77508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77510 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
77512         [BZ #14055]
77513         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
77515 2012-05-02  Andreas Jaeger  <aj@suse.de>
77517         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
77518         since we manipulate rounding mode.
77519         (CPPFLAGS-test-idouble.c): Likewise.
77520         (CPPFLAGS-test-ifloat.c): Likewise.
77521         (CFLAGS-test-ldouble.c): Likewise.
77522         (CFLAGS-test-double.c): Likewise.
77523         (CFLAGS-test-float.c): Likewise.
77524         (CFLAGS-test-misc.c): Likewise.
77525         (CFLAGS-test-test-fenv.c): Likewise.
77527 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77529         [BZ #2550]
77530         [BZ #2570]
77531         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
77532         comparisons to determine direction to adjust input.
77534 2012-05-01  Roland McGrath  <roland@hack.frob.com>
77536         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
77537         output to the target.
77539         * scripts/localplt.awk: New file.
77540         * elf/Makefile ($(objpfx)check-localplt): Target removed.
77541         (check-localplt-CFLAGS): Variable removed.
77542         ($(all-built-dso:=.jmprel)): New static pattern rule.
77543         (generated): Add those targets.
77544         (localplt-built-dso): New variable.
77545         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
77547         * elf/check-localplt.c: File removed.
77549         * scripts/check-execstack.awk: New file.
77550         * elf/Makefile ($(objpfx)check-execstack): Target removed.
77551         (check-execstack-CFLAGS): Variable removed.
77552         ($(objpfx)check-execstack.h): Target removed.
77553         ($(objpfx)execstack-default): New target.
77554         (generated): Add that instead of check-execstack.h.
77555         ($(all-built-dso:=.phdr)): New static pattern rule.
77556         (generated): Add those targets.
77557         * elf/check-execstack.c: File removed.
77559         * scripts/check-textrel.awk: New file.
77560         * elf/Makefile ($(objpfx)check-textrel): Target removed.
77561         (check-textrel-CFLAGS): Variable removed.
77562         (all-built-dso): Use := to define.o
77563         ($(all-built-dso:=.dyn)): New static pattern rule.
77564         (generated): Add those targets.
77565         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
77566         * config.make.in (READELF): New substituted variable.
77567         * elf/check-textrel.c: File removed.
77569 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
77571         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77572         allow.
77573         * conform/data/ctype.h-data [C99-based standards] (isblank):
77574         Expect function.
77575         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
77576         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
77577         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77578         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
77579         Specify type.  Require positive value.
77580         (EILSEQ): Likewise.
77581         (ERANGE): Likewise.
77582         [ISO || POSIX] (EILSEQ): Do not expect.
77583         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
77584         Specify type.  Require positive value.
77585         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
77586         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
77587         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
77588         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
77589         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
77590         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
77591         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
77592         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
77593         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
77594         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
77595         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
77596         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
77597         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
77598         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
77599         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
77600         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
77601         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
77602         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
77603         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
77604         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
77605         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
77606         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
77607         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
77608         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
77609         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
77610         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
77611         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
77612         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
77613         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
77614         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
77615         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
77616         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
77617         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
77618         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
77619         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
77620         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
77621         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
77622         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
77623         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
77624         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
77625         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
77626         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
77627         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
77628         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
77629         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
77630         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
77631         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
77632         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
77633         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
77634         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
77635         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
77636         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
77637         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
77638         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
77639         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
77640         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
77641         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
77642         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
77643         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
77644         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
77645         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
77646         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
77647         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
77648         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
77649         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
77650         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
77651         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
77652         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
77653         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
77654         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
77655         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
77656         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
77657         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
77658         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
77659         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
77660         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
77661         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
77662         Require >= 2.
77663         (FLT_ROUNDS): Expect as macro, not constant.
77664         (FLT_MANT_DIG): Use macro-int-constant.
77665         (DBL_MANT_DIG): Likewise.
77666         (LDBL_MANT_DIG): Likewise.
77667         (FLT_DIG): Likewise.
77668         (DBL_DIG): Likewise.
77669         (LDBL_DIG): Likewise.
77670         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
77671         (DBL_MIN_EXP): Likewise.
77672         (LDBL_MIN_EXP): Likewise.
77673         (FLT_MAX_EXP): Use macro-int-constant.
77674         (DBL_MAX_EXP): Likewise.
77675         (LDBL_MAX_EXP): Likewise.
77676         (FLT_MAX_10_EXP): Likewise.
77677         (DBL_MAX_10_EXP): Likewise.
77678         (LDBL_MAX_10_EXP): Likewise.
77679         (FLT_MAX): Use macro-constant.
77680         (DBL_MAX): Likewise.
77681         (LDBL_MAX): Likewise.
77682         (FLT_EPSILON): Use macro-constant.  Give upper bound.
77683         (DBL_EPSILON): Likewise.
77684         (LDBL_EPSILON): Likewise.
77685         (FLT_MIN): Likewise.
77686         (DBL_MIN): Likewise.
77687         (LDBL_MIN): Likewise.
77688         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
77689         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
77690         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
77691         [ISO11] (FLT_HAS_SUBNORM): Likewise.
77692         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
77693         [ISO11] (DBL_DECIMAL_DIG): Likewise.
77694         [ISO11] (FLT_DECIMAL_DIG): Likewise.
77695         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
77696         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
77697         [ISO11] (FLT_TRUE_MIN): Likewise.
77698         [ISO11] (LDBL_TRUE_MIN): Likewise.
77699         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77700         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
77701         (SCHAR_MIN): Use macro-int-constant.  Specify type.
77702         (SCHAR_MAX): Likewise.
77703         (UCHAR_MAX): Likewise.
77704         (CHAR_MIN): Likewise.
77705         (CHAR_MAX): Likewise.
77706         (MB_LEN_MAX): Use macro-int-constant.
77707         (SHRT_MIN): Use macro-int-constant.  Specify type.
77708         (SHRT_MAX): Likewise.
77709         (USHRT_MAX): Likewise.
77710         (INT_MAX): Likewise.
77711         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
77712         bound negative.
77713         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77714         bound with "U".
77715         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77716         bound with "L".
77717         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
77718         bound negative.  Suffix upper bound with "L".
77719         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77720         bound with "UL".
77721         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
77722         Specify type.
77723         [C99-based standards] (LLONG_MAX): Likewise.
77724         [C99-based standards] (ULLONG_MAX): Likewise.
77725         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
77726         == 0.
77727         [ISO11] (max_align_t): Require type.
77728         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77730         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
77731         from $CFLAGS, without defining away __attribute__ calls.
77732         (checknamespace): Use $CFLAGS_namespace.
77734         * conform/conformtest.pl (@keywords): Only include C99 keywords
77735         for standards based on C99 or C11.
77737         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
77738         Disable tests.
77739         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
77740         UNIX98]: Likewise.
77742         * conform/conformtest.pl: Handle "macro-int-constant" and test for
77743         usability of symbols in #if.
77745         * conform/conformtest.pl: If macro or constant types start
77746         "promoted:", expect the symbol to be of the following type
77747         promoted by the integer promotions.
77749         * conform/conformtest.pl: Parse all "constant" and "macro" lines
77750         in one place.  Also handle "macro-constant".
77752         * conform/conformtest.pl: Only accept expected macro values with
77753         "==".  Parse all "macro" lines in one place.
77754         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
77756         * conform/conformtest.pl: Handle braced types on "constant" lines
77757         instead of handling "typed-constant".
77758         * conform/data/signal.h-data: Use "constant" instead of
77759         "typed-constant".
77761         * conform/conformtest.pl: Handle "optional-" at start of lines in
77762         one place rather than duplicating several cases.  Handle each
77763         format of "macro" line with initial "optional-".
77765         * conform/conformtest.pl: Only accept expected constant or
77766         optional-constant values with "==".  Parse all "constant" lines in
77767         one place.  Parse all "optional-constant" lines in one place.
77768         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
77769         * conform/data/fmtmsg.h-data: Likewise.
77770         * conform/data/netinet/in.h-data: Likewise.
77771         * conform/data/tar.h-data: Likewise.
77772         * conform/data/limits.h-data: Use "==" form on "constant" and
77773         "optional-constant" lines.
77775         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
77776         Use -std=c99 for XOPEN2K.
77777         (@knownproblems): Remove.
77778         (newtoken): Don't check %isknown.
77780         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
77781         Do not expect macro.
77782         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
77783         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
77784         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
77785         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
77786         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
77787         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
77788         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
77789         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
77790         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
77791         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
77792         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
77793         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
77794         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
77795         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
77796         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
77797         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
77798         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
77799         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
77800         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
77801         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
77802         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
77803         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
77804         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
77805         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
77806         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
77807         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
77808         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
77809         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
77810         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
77811         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
77812         [XPG3] (acosh): Likewise.
77813         [XPG3] (asinh): Likewise.
77814         [XPG3] (atanh): Likewise.
77815         [XPG3] (cbrt): Likewise.
77816         [XPG3] (expm1): Likewise.
77817         [XPG3] (ilogb): Likewise.
77818         [XPG3] (log1p): Likewise.
77819         [XPG3] (logb): Likewise.
77820         [XPG3] (nextafter): Likewise.
77821         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
77822         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
77823         [XPG3] (remainder): Likewise.
77824         [XPG3] (rint): Likewise.
77825         [XPG3 || XPG4 || UNIX98] (round): Likewise.
77826         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
77827         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
77828         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
77829         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
77830         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
77831         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
77832         [UNIX98 || XOPEN2K] (scalb): Expect.
77833         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
77834         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
77835         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
77836         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
77837         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
77838         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
77839         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
77840         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
77841         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
77842         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
77843         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
77844         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
77845         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
77846         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
77847         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
77848         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
77849         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
77850         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
77851         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
77852         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
77853         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
77854         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
77855         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
77856         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
77857         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
77858         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
77859         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
77860         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
77861         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
77862         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
77863         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
77864         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
77865         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
77866         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
77867         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
77868         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
77869         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
77870         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
77871         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
77872         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
77873         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
77874         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
77875         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
77876         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
77877         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
77878         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
77879         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
77880         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
77881         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
77882         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
77883         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
77884         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
77885         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
77886         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
77887         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
77888         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
77889         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
77890         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
77891         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
77892         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
77893         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
77894         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
77895         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
77896         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
77897         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
77898         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
77899         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
77900         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
77901         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
77902         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
77903         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
77904         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
77905         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
77906         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
77907         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
77908         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
77909         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
77910         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
77911         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
77912         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
77913         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
77914         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
77915         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
77916         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
77917         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
77918         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
77919         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
77920         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
77921         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
77922         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
77923         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
77924         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
77925         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
77926         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
77927         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
77928         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
77929         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
77930         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
77931         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
77932         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
77933         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
77934         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
77935         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
77936         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
77937         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
77938         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
77939         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
77940         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
77941         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
77942         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
77943         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
77944         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
77945         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
77946         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
77947         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
77948         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
77949         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
77950         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
77951         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
77952         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
77953         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
77954         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
77955         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
77956         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
77957         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
77958         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
77959         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
77960         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
77961         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
77962         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
77963         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
77964         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
77965         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
77966         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
77967         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
77968         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
77969         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
77971         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
77972         _XOPEN_SOURCE_EXTENDED for XPG4.
77974         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
77976         * Makeconfig (localtime): Remove variable.
77977         (inst_localtime-file): Likewise.
77979 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
77981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
77982         Update.
77983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77984         Update.
77985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
77986         Update.
77987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
77988         Update.
77989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
77990         Update.
77991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
77992         Update.
77993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
77994         Update.
77995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
77996         Update.
77997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
77998         Update.
78000 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
78002         [BZ #2550]
78003         [BZ #2570]
78004         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
78005         comparisons to determine direction to adjust input.
78006         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
78007         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
78008         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
78009         Likewise.
78010         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
78011         Likewise.
78012         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
78013         Likewise.
78014         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
78015         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
78016         Likewise.
78017         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
78018         Likewise.
78019         * math/libm-test.inc (nexttoward_test): Add more tests.
78021 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
78023         [BZ #14040]
78024         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
78025         in version GLIBC_2.1, not GLIBC_2.0.
78026         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
78027         Likewise.
78029 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
78031         [BZ #13942]
78032         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
78033         (1 - x) * (1 + x).
78034         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
78035         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
78036         * math/libm-test.inc (acos_test): Add more tests.
78037         (asin_test): Likewise.
78038         * sysdeps/i386/fpu/libm-test-ulps: Update.
78039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78041         [BZ #14034]
78042         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
78043         of square root.
78044         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
78045         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
78046         * math/libm-test.inc (acos_test_tonearest): New function.
78047         (acos_test_towardzero): Likewise.
78048         (acos_test_downward): Likewise.
78049         (acos_test_upward): Likewise.
78050         (asin_test_tonearest): Likewise.
78051         (asin_test_towardzero): Likewise.
78052         (asin_test_downward): Likewise.
78053         (asin_test_upward): Likewise.
78054         (main): Call the new functions.
78055         * sysdeps/i386/fpu/libm-test-ulps: Update.
78056         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78058         [BZ #13884]
78059         [BZ #13924]
78060         * math/e_exp10.c: Include <float.h>.
78061         (__ieee754_exp10): Handle underflow here rather than multiplying
78062         large negative argument by M_LN10.
78063         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
78064         of __ieee754_expf.
78065         * math/e_exp10l.c: Include <float.h>.
78066         (__ieee754_exp10l): Handle underflow here rather than multiplying
78067         large negative argument by M_LN10l.
78068         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
78069         spurious overflow exception on underflow.
78071 2012-04-29  Marek Polacek  <polacek@redhat.com>
78073         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
78074         (__fortify_function): New macro.
78075         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
78076         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
78077         __extern_always_inline.
78078         * libio/bits/stdio2.h: Likewise.
78079         * libio/bits/stdio.h: Likewise.
78080         * string/string.h: Likewise.
78081         * string/bits/string3.h: Likewise.
78082         * include/stdio.h: Likewise.
78083         * stdlib/bits/stdlib.h: Likewise.
78084         * stdlib/stdlib.h: Likewise.
78085         * rt/bits/mqueue2.h: Likewise.
78086         * rt/mqueue.h: Likewise.
78087         * posix/bits/unistd.h: Likewise.
78088         * posix/unistd.h: Likewise.
78089         * io/bits/poll2.h: Likewise.
78090         * io/bits/fcntl2.h: Likewise.
78091         * io/fcntl.h: Likewise.
78092         * io/sys/poll.h: Likewise.
78093         * misc/bits/syslog.h: Likewise.
78094         * misc/bits/syslog-ldbl.h: Likewise.
78095         * misc/sys/syslog.h: Likewise.
78096         * socket/bits/socket2.h: Likewise.
78097         * socket/sys/socket.h: Likewise.
78098         * debug/tst-chk1.c: Likewise.
78099         * wcsmbs/bits/wchar2.h: Likewise.
78100         * wcsmbs/bits/wchar-ldbl.h: Likewise.
78101         * wcsmbs/wchar.h: Likewise.
78103 2012-04-29  Andreas Jaeger  <aj@suse.de>
78105         * Makerules (tests): Remove enable-check-abi protection.
78106         (check-abi-warn): Remove.
78107         (check-abi-%): Remove check-abi-warn usage.
78109         * configure.in: Remove check-abi configure option.
78110         * configure: Regenerated.
78111         * config.make.in (enable-check-abi): Remove.
78113 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
78115         [BZ #14033]
78116         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
78117         double functions to double *_finite functions.
78119         [BZ #13941]
78120         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
78121         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
78122         LDBL_MIN_EXP.
78123         * stdio-common/Makefile (tests): Add tst-sprintf3.
78124         * stdio-common/tst-sprintf3.c: New file.
78126         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
78127         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
78129 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
78131         * conform/conformtest.pl: Remove duplicate typed-constant
78132         handling.
78134 2012-04-28  David S. Miller  <davem@davemloft.net>
78136         * Makerules (%.abilist): Add vpath on sysdep_dirs.
78137         (check-abi-%): Remove AWK script prerequisite and explicit
78138         abilist directory.
78139         (check-abi): Rewrite to just diff the symlist with the abilist.
78140         (config-tls, config-abi-config): Delete, no longer used.
78141         (update-abi-%): Remove AWK script and explicit abilist directory.
78142         (update-abi): Rewrite to simply compare and conditionally copy the
78143         symlist and the sysdep abilist file.  Remove update-abi-config
78144         checks.
78145         * abilist/ld.abilist: Remove.
78146         * abilist/libBrokenLocale.abilist: Remove.
78147         * abilist/libanl.abilist: Remove.
78148         * abilist/libcrypt.abilist: Remove.
78149         * abilist/libdl.abilist: Remove.
78150         * abilist/librt.abilist: Remove.
78151         * abilist/libthread_db.abilist: Remove.
78152         * abilist/libutil.abilist: Remove.
78153         * scripts/extract-abilist.awk: Remove.
78154         * scripts/merge-abilist.awk: Remove.
78155         * sysdeps/generic/libcidn.abilist: New file.
78156         * sysdeps/generic/libnss_compat.abilist: New file.
78157         * sysdeps/generic/libnss_db.abilist: New file.
78158         * sysdeps/generic/libnss_dns.abilist: New file.
78159         * sysdeps/generic/libnss_files.abilist: New file.
78160         * sysdeps/generic/libnss_hesiod.abilist: New file.
78161         * sysdeps/generic/libnss_nis.abilist: New file.
78162         * sysdeps/generic/libnss_nisplus.abilist: New file.
78163         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
78164         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
78165         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
78166         file.
78167         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
78168         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
78169         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
78170         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
78171         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
78172         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
78173         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
78174         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
78175         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
78176         file.
78177         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
78178         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
78179         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
78180         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
78181         file.
78182         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
78183         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
78184         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
78185         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
78186         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
78187         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
78188         file.
78189         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
78190         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
78191         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
78192         file.
78193         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
78194         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
78195         New file.
78196         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
78197         New file.
78198         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
78199         New file.
78200         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
78201         New file.
78202         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
78203         New file.
78204         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
78205         New file.
78206         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
78207         New file.
78208         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
78209         New file.
78210         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
78211         New file.
78212         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
78213         New file.
78214         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
78215         New file.
78216         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
78217         New file.
78218         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
78219         New file.
78220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
78221         file.
78222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
78223         New file.
78224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
78225         New file.
78226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
78227         file.
78228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
78229         New file.
78230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
78231         New file.
78232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
78233         file.
78234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
78235         New file.
78236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
78237         New file.
78238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
78239         New file.
78240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
78241         New file.
78242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
78243         New file.
78244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
78245         New file.
78246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
78247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
78248         file.
78249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
78250         New file.
78251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
78252         file.
78253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
78254         file.
78255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
78256         file.
78257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
78258         file.
78259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
78260         file.
78261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
78262         New file.
78263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
78264         file.
78265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
78266         file.
78267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
78268         New file.
78269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
78270         file.
78271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
78272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
78273         file.
78274         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
78275         New file.
78276         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
78277         file.
78278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
78279         file.
78280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
78281         file.
78282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
78283         file.
78284         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
78285         file.
78286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
78287         New file.
78288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
78289         file.
78290         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
78291         file.
78292         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
78293         New file.
78294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
78295         file.
78296         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
78297         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
78298         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
78299         file.
78300         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
78301         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
78302         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
78303         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
78304         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
78305         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
78306         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
78307         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
78308         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
78309         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
78310         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
78311         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
78312         file.
78313         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
78314         New file.
78315         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
78316         file.
78317         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
78318         file.
78319         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
78320         file.
78321         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
78322         file.
78323         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
78324         file.
78325         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
78326         New file.
78327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
78328         New file.
78329         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
78330         file.
78331         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
78332         New file.
78333         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
78334         file.
78335         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
78336         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
78337         file.
78338         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
78339         New file.
78340         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
78341         file.
78342         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
78343         file.
78344         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
78345         file.
78346         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
78347         file.
78348         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
78349         file.
78350         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
78351         New file.
78352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
78353         New file.
78354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
78355         file.
78356         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
78357         New file.
78358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
78359         file.
78361 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
78363         * conform/conformtest.pl: Fix typo in handling typed-constant from
78364         allow-header.
78366 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
78368         * README: Cut down references to pre-2.6 Linux kernels and
78369         Linuxthreads.  Update lists of configurations in libc and ports
78370         and sort alphabetically.  Say "or newer" with Linux kernel version
78371         requirements.
78373         * config.h.in [IS_IN_build]: Allow compiling without optimization.
78375 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
78377         [BZ #887]
78378         * math/libm-test.inc (logb_test_downward): New test to expose
78379         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
78380         rounding mode.
78382 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
78384         [BZ #14027]
78385         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
78386         to be done.
78387         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
78388         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
78390 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
78392         * sysdeps/unix/i386/brk.S: Remove file.
78393         * sysdeps/unix/i386/dl-brk.S: Likewise.
78394         * sysdeps/unix/i386/pipe.S: Likewise.
78395         * sysdeps/unix/i386/sigreturn.S: Likewise.
78396         * sysdeps/unix/i386/syscall.S: Likewise.
78397         * sysdeps/unix/i386/vfork.S: Likewise.
78398         * sysdeps/unix/i386/wait.S: Likewise.
78400         * sysdeps/unix/common/tcsendbrk.c: Move to ...
78401         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
78403         * configure.in (arm*-none*): Do not allow without
78404         --enable-hacker-mode.
78405         (netbsd*): Remove case setting base_os.
78406         (386bsd*): Likewise.
78407         (freebsd*): Likewise.
78408         (bsdi*): Likewise.
78409         (osf*): Likewise.
78410         (sunos*): Likewise.
78411         (ultrix*): Likewise.
78412         (newsos*): Likewise.
78413         (dynix*): Likewise.
78414         (*bsd*): Likewise.
78415         (sysv*): Likewise.
78416         (isc*): Likewise.
78417         (esix*): Likewise.
78418         (sco*): Likewise.
78419         (minix*): Likewise.
78420         (irix4*): Likewise.
78421         (irix6*): Likewise.
78422         (solaris[2-9]*): Likewise.
78423         (none): Likewise.
78424         * configure: Regenerated.
78426 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78428         [BZ #11521]
78429         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
78430         overflow or cancellation in calculating denominator.
78431         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
78432         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
78433         down expression to avoid unexpected rounding in newer GCCs.
78434         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
78436 2012-04-26  David S. Miller  <davem@davemloft.net>
78438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
78439         long-double compat symbols.
78440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
78441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
78442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
78443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
78444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
78445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
78446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
78447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
78448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
78449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
78450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
78451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
78452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
78454 2012-04-25  David S. Miller  <davem@davemloft.net>
78456         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
78457         HWCAP_* values only after the memory barriers have been defined.
78458         (atomic_full_barrier): Define.
78459         (atomic_read_barrier): Define.
78460         (atomic_write_barrier): Define.
78462 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
78464         * shlib-versions: Add libgcc_s version information.
78465         * sysdeps/generic/libgcc_s.h: Remove.
78466         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
78467         libgcc_s.h.
78468         * sysdeps/gnu/unwind-resume.c: Likewise.
78469         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
78471 2012-04-25  David S. Miller  <davem@davemloft.net>
78473         * sysdeps/unix/sparc/brk.S: Delete.
78474         * sysdeps/unix/sparc/dl-brk.S: Delete.
78475         * sysdeps/unix/sparc/pipe.S: Delete.
78476         * sysdeps/unix/sparc/sysdep.S: Delete.
78477         * sysdeps/unix/sparc/sysdep.h: Delete.
78478         * sysdeps/unix/sparc/vfork.S: Delete.
78479         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
78480         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
78481         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
78482         (ret_ERRVAL, r0, r1, MOVE): Define.
78483         (JUMPTARGET): Remove.
78484         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
78485         sysdeps/unix/sparc/sysdep.h
78486         (ENTRY, END): Remove.
78487         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78489 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
78491         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
78492         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
78493         -DIS_IN_build.
78495         * timezone/README: Update upstream location and email address for
78496         tzcode and tzdata.
78497         * timezone/zdump.c: Update from tzcode 2012b.
78498         * timezone/zic.c: Likewise.
78500         * configure.in (libc_cv_as_needed): Remove test.
78501         * configure: Regenerated.
78502         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
78503         conditional definition.
78504         [$(have-as-needed) != yes] (no-as-needed): Likewise.
78505         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
78506         * config.make.in (have-as-needed): Remove variable.
78508 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
78509             Paul Pluzhnikov  <ppluzhnikov@google.com>
78511         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
78512         strings correctly.
78514 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
78516         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
78517         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
78518         * sysdeps/sh/strlen.S: Likewise.
78520 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78522         * sysdeps/unix/fork.S: Remove file.
78523         * sysdeps/unix/i386/fork.S: Likewise.
78524         * sysdeps/unix/sparc/fork.S: Likewise.
78526         * sysdeps/unix/system.c: Remove file.
78527         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
78529         * sysdeps/unix/getegid.S: Remove file.
78530         * sysdeps/unix/geteuid.S: Likewise.
78532 2012-04-24  Roland McGrath  <roland@hack.frob.com>
78534         * scripts/check-localplt.awk: New file.
78535         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
78536         of diff.
78537         * scripts/data/localplt-generic.data: Add a comment.
78539         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
78540         NODE when __dir_mkfile failed.
78541         * sysdeps/mach/hurd/symlinkat.c: Likewise.
78542         Reported by Ludovic Courtès <ludo@gnu.org>.
78544 2012-04-24  Andreas Jaeger  <aj@suse.de>
78546         * Makerules (common-clean): Also remove gen-as-const-headers
78547         files.
78549 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78551         * Makerules (native-compile): Do not change working directory for
78552         build.  Use $(OUTPUT_OPTION) in command.
78553         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
78555 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78557         [BZ #13886]
78558         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
78559         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
78560         * math/libm-test.inc (floor_test): Add more tests.
78561         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
78563 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78565         * sysdeps/unix/getdents.c: Remove file.
78566         * sysdeps/unix/sysv/getdents.c: Likewise.
78567         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
78569         * sysdeps/unix/syscalls.list (madvise): Add syscall from
78570         sysdeps/unix/mman/syscalls.list.
78571         (mmap): Likewise.
78572         (mprotect): Likewise.
78573         (msync): Likewise.
78574         (munmap): Likewise.
78575         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
78576         * sysdeps/unix/mman/syscalls.list: Remove.
78577         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
78579         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
78580         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
78581         * configure: Regenerated.
78582         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
78583         $(libgcc_s_suffix).
78584         * config.make.in (libgcc_s_suffix): Remove variable.
78586 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
78588         * sysdeps/unix/sysv/gethostname.c: Move to ...
78589         * sysdeps/posix/gethostname.c: ... here.
78591         * sysdeps/unix/execve.S: Remove file.
78593         * sysdeps/unix/_exit.S: Remove file.
78595 2012-04-23  Andreas Jaeger  <aj@suse.de>
78597         [BZ #13739]
78598         * manual/Makefile: Remove make dist support, there's no
78599         need for a stand-alone documentation tar ball.
78600         (TEXI2DVI): Define always, it's not in Makeconfig.
78601         (dist): Removed.
78602         (tar-it): Removed.
78603         (edition): Removed.
78604         (glibc-doc-$(edition).tar): Removed
78605         (%.Z): Removed.
78606         (%.gz): Removed.
78607         (%.uu): Removed.
78608         (ETAGS): Remove, it's in Makeconfig.
78609         (move-if-change): Remove, it's in Makeconfig.
78611 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
78613         [BZ #13970]
78614         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
78615         (strtod, strtof, strtold, strtol, strtoul, strtoq)
78616         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
78617         (strtod_l, strtof_l, strtold_l): Remove __wur.
78618         It is not necessarily an error to ignore strtol's return value.
78619         One can reliably look at the stored endptr to decide whether
78620         the number had valid syntax.
78622 2012-04-21  Andreas Jaeger  <aj@suse.de>
78624         [BZ #13739]
78625         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
78627 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
78629         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
78630         * sysdeps/unix/sysv/Versions: Remove file.
78632 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
78634         [BZ #13927]
78635         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78637 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
78639         [BZ #7064]
78640         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
78641         version from __vm86.
78643 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
78645         * sysdeps/unix/common/lxstat.c: Remove file.
78646         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
78648         * sysdeps/unix/sysv/Makefile: Remove file.
78650         * sysdeps/unix/sysv/direct.h: Remove file.
78652         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
78653         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
78654         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
78655         * sysdeps/unix/sysv/bits/signum.h: Likewise.
78656         * sysdeps/unix/sysv/bits/stat.h: Likewise.
78657         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
78658         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
78660         * sysdeps/unix/sysv/setrlimit.c: Remove file.
78662         * sysdeps/unix/xmknod.c: Remove file.
78663         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
78665         * sysdeps/unix/sysv/settimeofday.c: Remove file.
78667         * sysdeps/unix/sysv/i386/time.S: Remove file.
78669         * sysdeps/unix/fxstat.c: Remove file.
78670         * sysdeps/unix/xstat.c: Likewise.
78671         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
78673         * sysdeps/unix/sysv/sigaction.c: Remove file.
78675         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
78676         (sysdep_headers): Remove variable.
78677         [termio.h not in sysdep_headers] (generated): Likewise.
78678         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
78679         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
78680         * sysdeps/unix/sysv/tcdrain.c: Likewise.
78681         * sysdeps/unix/sysv/tcflow.c: Likewise.
78682         * sysdeps/unix/sysv/tcflush.c: Likewise.
78683         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
78684         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
78685         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
78686         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
78687         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
78689         * sysdeps/unix/siglist.c: Remove file.
78691         * sysdeps/unix/getppid.S: Remove file.
78693         * sysdeps/unix/mkdir.c: Remove file.
78694         * sysdeps/unix/rmdir.c: Likewise.
78696 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
78698         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
78699         ERR_MAX value.
78700         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
78701         errlist-compat value.
78703 2012-04-18  David S. Miller  <davem@davemloft.net>
78705         * sysdeps/generic/memcopy.h (reg_char): Delete.
78706         * debug/strcat_chk.c: Use char, not reg_char.
78707         * debug/strcpy_chk.c: Likewise.
78708         * debug/strncat_chk.c: Likewise.
78709         * debug/strncpy_chk.c: Likewise.
78710         * string/memchr.c: Likewise.
78711         * string/memrchr.c: Likewise.
78712         * string/rawmemchr.c: Likewise.
78713         * string/strcat.c: Likewise.
78714         * string/strchr.c: Likewise.
78715         * string/strchrnul.c: Likewise.
78716         * string/strcmp.c: Likewise.
78717         * string/strcpy.c: Likewise.
78718         * string/strncat.c: Likewise.
78719         * string/strncmp.c: Likewise.
78720         * string/strncpy.c: Likewise.
78722 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78724         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
78725         __builtin_memcopy is called when src and dest ranges are known to not
78726         overlap.
78728 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78730         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
78731         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
78732         fwd_align_merge macro call.
78733         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
78734         bwd_align_merge macro call.
78735         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
78737 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78739         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
78740         bwd_align_merge macros.
78741         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
78742         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
78743         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
78745 2012-04-18  David S. Miller  <davem@davemloft.net>
78747         * sysdeps/sparc/sparc64/memcopy.h: Delete.
78749 2012-04-18  Andreas Jaeger  <aj@suse.de>
78751         [BZ #6794]
78752         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
78753         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
78754         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78756         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
78757         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
78758         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78760         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
78761         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
78762         Adjust for changed ldbl-128 files.
78764         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
78765         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
78766         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78768 2012-04-17  David S. Miller  <davem@davemloft.net>
78770         * sysdeps/sparc/sparc32/memcopy.h: Delete.
78772 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
78774         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
78775         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
78776         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
78777         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
78778         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
78779         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
78781 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78783         [BZ #6794]
78784         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
78785         * math/libm-test.inc: Add ilogb errno and exception tests.
78786         * math/w_ilogb.c: New file: ilogb wrapper.
78787         * math/w_ilogbf.c: New file: ilogbf wrapper.
78788         * math/w_ilogbl.c: New file: ilogbl wrapper.
78789         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
78790         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
78791         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
78792         exception being thrown with 0.0 as argument.
78793         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
78794         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
78795         exception being thrown with 0.0 as argument.
78796         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
78797         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
78798         exception being thrown with 0.0 as argument.
78799         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
78800         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
78801         exception being thrown with 0.0 as argument.
78802         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
78803         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
78804         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
78805         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
78806         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
78807         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
78808         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
78809         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
78810         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
78812 2012-04-17  Petr Baudis  <pasky@ucw.cz>
78814         * include/sys/uio.h: Change __vector to __iovec to avoid clash
78815         with altivec.
78817 2012-04-16  Marek Polacek  <polacek@redhat.com>
78819         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
78821 2012-04-16  Marek Polacek  <polacek@redhat.com>
78823         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
78824         operands of fdivp instruction.
78826 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
78828         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
78829         * elf/tst-auditmod3b.c: Likewise.
78830         * elf/tst-auditmod4b.c: Likewise.
78831         * elf/tst-auditmod5b.c: Likewise.
78832         * elf/tst-auditmod6b.c: Likewise.
78833         * elf/tst-auditmod6c.c: Likewise.
78834         * elf/tst-auditmod7b.c: Likewise.
78835         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
78836         * sysdeps/x86_64/preconfigure.in: Likewise.
78837         * sysdeps/x86_64/preconfigure: Regenerated.
78839 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
78841         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
78842         __ILP32__.
78844 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
78846         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
78847         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
78849 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
78851         [BZ #13973]
78852         * locale/iso-639.def: Fix gl language name. Spotted by
78853         Yaron Shahrabani.
78855 2012-04-12  Roland McGrath  <roland@hack.frob.com>
78857         [BZ #2074]
78858         * libio/libio.h (__io_write_fn): Update comment.
78860 2012-04-12  Petr Baudis  <pasky@ucw.cz>
78862         [BZ #2074]
78863         * stdio.texi (Hook Functions): The user provided writer function
78864         is not allowed to return -1.
78866 2012-04-11  David S. Miller  <davem@davemloft.net>
78868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78870 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
78872         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
78873         Add a leading slash to rtkaio.
78875 2012-04-11  Jim Meyering  <meyering@redhat.com>
78877         [BZ #11959]
78878         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
78879         It is not necessarily an error to ignore fwrite's return
78880         value.  One can reliably use ferror to test for errors after
78881         the fact.
78883 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
78885         * bits/types.h (__snseconds_t): New type.
78886         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
78888         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
78889         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78890         (__SNSECONDS_T_TYPE): Likewise.
78891         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78892         (__SNSECONDS_T_TYPE): Likewise.
78893         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78894         (__SNSECONDS_T_TYPE): Likewise.
78896 2012-04-10  Andreas Jaeger  <aj@suse.de>
78898         [BZ #2636]
78899         * manual/time.texi (Processor Time): Return type of times is
78900         elapsed real time since an arbitrary point in the past.
78901         (CPU Time): Move CLK_TCK from here...
78902         (Processor Time): ...to here.  Correct description.
78903         * manual/conf.texi (Constants for Sysconf): Correct description of
78904         _SC_CLK_TCK.
78906 2012-04-10  David S. Miller  <davem@davemloft.net>
78908         [BZ #13967]
78909         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
78910         where the is a gap between DT_REL(A) and DT_JMPREL.
78912 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
78914         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
78915         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
78916         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
78918 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
78920         * elf/dl-support.c (_dl_inhibit_cache): New variable.
78921         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
78922         (dl_main): Handle --inhibit-cache.
78923         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
78924         _dl_inhibit_cache.
78925         * elf/dl-load.c (_dl_map_object): Use it.
78926         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
78928 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
78930         [BZ #13872]
78931         * sysdeps/i386/fpu/e_powl.S (p78): New object.
78932         (__ieee754_powl): Saturate large exponents rather than testing for
78933         overflow of y*log2(x).
78934         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78935         * math/libm-test.inc (pow_test): Do not permit spurious overflow
78936         exceptions.
78938         [BZ #11521]
78939         * math/s_ctan.c: Include <float.h>.
78940         (__ctan): Avoid internal overflow or cancellation in calculating
78941         denominator.
78942         * math/s_ctanf.c: Likewise.
78943         * math/s_ctanl.c: Likewise.
78944         * math/s_ctanh.c: Likewise.
78945         * math/s_ctanhf.c: Likewise.
78946         * math/s_ctanhl.c: Likewise.
78947         * math/libm-test.inc (ctan_test): Add more tests.
78948         (ctanh_test): Likewise.
78949         * sysdeps/i386/fpu/libm-test-ulps: Update.
78950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78952 2012-04-09  Andreas Jaeger  <aj@suse.de>
78954         [BZ #6894]
78955         * manual/filesys.texi (Directory Entries): Mention that d_namlen
78956         is an optional BSD extension.
78958         [BZ #10254]
78959         * manual/stdio.texi (Opening Streams): Document additional fopen
78960         parameters.
78962 2012-04-09  Roland McGrath  <roland@hack.frob.com>
78964         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
78965         %eax without telling the compiler.
78967 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
78969         [BZ # 13963]
78970         * manual/install.texi: Use sourceware.org.
78972 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
78974         [BZ #13873]
78975         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
78976         (__ieee754_pow): Generate overflow and underflow using huge*huge
78977         and tiny*tiny rather than just returning constant infinity or zero
78978         for large exponents.
78979         * math/libm-test.inc (pow_test): Require overflow exceptions for
78980         applicable cases of large exponents.
78982         [BZ #706]
78983         * sysdeps/i386/fpu/e_pow.S (p10): New object.
78984         (__ieee754_pow): Use iterative multiplication algorithm only for
78985         integer exponents with absolute value below 1024.  Check for odd
78986         integer exponents when using algorithm for real exponents.
78987         * math/libm-test.inc (pow_test): Add more tests.
78988         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78990 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
78992         [BZ #13705]
78993         * math/libm-test.inc (exp_test): Do not allow overflow exception
78994         on underflow test.
78996 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
78998         [BZ #13705]
78999         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
79000         instead of __kernel_standard_f.
79002 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
79004         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
79005         * sysdeps/x86_64/memset_chk.S: Likewise.
79007 2012-04-08  Andreas Jaeger  <aj@suse.de>
79009         [BZ #10153]
79010         * manual/startup.texi (Environment Access): Describe return value
79011         for putenv and setenv.
79013         [BZ #6895]
79014         * manual/filesys.texi (Directory Entries): Add description for
79015         DT_LNK.
79017         [BZ #6890]
79018         * manual/filesys.texi (Directory Entries): Clarify that it's file
79019         system not operating system in the description of DT_UNKNOWN.
79021         [BZ #6578]
79022         * manual/syslog.texi (closelog): Fix reference, it's openlog.
79024 2012-04-08  Stephen Compall  <s11@member.fsf.org>
79026         [BZ #6649]
79027         * manual/llio.texi (Opening and Closing Files): Add cross
79028         reference to explain mode argument.
79030 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
79032         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
79033         * sysdeps/x86_64/memset_chk.S: Likewise.
79035 2012-04-07  David S. Miller  <davem@davemloft.net>
79037         * elf/elf.h (R_SPARC_WDISP10): Define.
79038         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
79039         R_SPARC_SIZE32.
79040         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
79041         R_SPARC_SIZE64 and R_SPARC_H34.
79043 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
79045         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
79046         conditions and remove no longer applicable assertion.
79048 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
79050         * bits/byteswap.h: Include <features.h>.
79051         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
79052         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
79054 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
79056         * bits/byteswap.h (__bswap_16): Removed.
79057         Include <bits/byteswap-16.h> to get __bswap_16.
79058         * sysdeps/i386/bits/byteswap.h: Likewise.
79059         * sysdeps/s390/bits/byteswap.h: Likewise.
79060         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79061         * bits/byteswap-16.h: New file.
79062         * sysdeps/i386/bits/byteswap-16.h: Likewise.
79063         * sysdeps/s390/bits/byteswap-16.h: Likewise.
79064         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
79065         * string/Makefile (headers): Add bits/byteswap-16.h.
79067 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
79069         [BZ #13895]
79070         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
79071         extra indirection.
79072         * nss/Makefile (tests-static, tests): Add tst-nss-static.
79073         * nss/tst-nss-static.c: New.
79075 2012-04-06  Robert Millan  <rmh@gnu.org>
79077         [BZ #6486]
79078         * manual/llio.texi (File Position Primitive): lseek
79079         refers to WHENCE when it really means OFFSET.
79081 2012-04-06  Andreas Jaeger  <aj@suse.de>
79083         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
79084         strncmp declarations.
79086         * abilist/libc.abilist: Add __poll and __ppoll.
79088 2012-04-05  David S. Miller  <davem@davemloft.net>
79090         * scripts/check-local-headers.sh: Accept a host triplet in the
79091         path matched by the exclude regexp.
79093         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
79094         definition.
79095         * sysdeps/powerpc/powerpc32/dl-machine.h
79096         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
79097         * sysdeps/s390/s390-32/dl-machine.h
79098         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79099         * sysdeps/sparc/sparc32/dl-machine.h
79100         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79101         * sysdeps/sparc/sparc64/dl-machine.h
79102         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79104         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
79105         lazy binding.
79106         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
79107         undefined symbol errors.
79109         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
79110         DT_NEEDED entries.
79112 2012-04-05  Michael Matz  <matz@suse.de>
79114         [BZ #13592]
79115         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
79117 2012-04-05  Andreas Jaeger  <aj@suse.de>
79119         [BZ #13908]
79120         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
79121         comment.
79123 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79125         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
79126         which ROUND is no valid rounding mode.
79128 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79130         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
79131         read again.
79132         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
79134 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79136         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
79137         an exception using FPU order intentionally.
79139 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79141         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
79142         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
79143         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
79144         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
79146 2012-04-05  Simon Josefsson  <simon@josefsson.org>
79148         [BZ #12340]
79149         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
79150         EINVAL when BUFLEN is too smal.
79152 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
79154         [BZ #13553]
79155         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
79156         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
79158 2012-04-03  Andreas Jaeger  <aj@suse.de>
79160         [BZ #13938]
79161         * manual/setjmp.texi (System V contexts): Fix sentence.
79163         [BZ #13926]
79164         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
79165         New macro for this case.
79166         [!__GNUC__] (__bswap_64): New inline function for this case.
79167         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79168         * bits/byteswap.h: Likewise.
79169         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
79170         ull, guard with __GLIBC_HAVE_LONG_LONG.
79172         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
79173         __GLIBC_HAVE_LONG_LONG.
79175         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
79176         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
79178 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
79180         [BZ #13691]
79181         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
79182         inptr and inend, rather than using last_ch.
79184 2012-04-02  David S. Miller  <davem@davemloft.net>
79186         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
79187         * stdio-common/printf-parse.h (read_int): Change return type to
79188         'int', return -1 on INT_MAX overflow.
79189         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
79190         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
79191         overflows INT_MAX.  Check for overflow of in-format-string precision
79192         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
79193         SIZE_MAX not INT_MAX for integer overflow test.
79194         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
79195         skip the construct in the format string but do not record anything.
79196         * stdio-common/bug22.c: Adjust to test both width/prevision
79197         INT_MAX overflow as well as total length INT_MAX overflow.  Check
79198         explicitly for proper errno values.
79200 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
79202         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
79203         CHAR_MAX.
79204         * string/test-strcmp.c [! WIDE]: Likewise.
79205         * time/tst-mktime2.c: Likewise for INT_MAX.
79206         * string/test-string.h: #include <sys/param.h> for MIN.
79208         * csu/init-first.c (__libc_init_first): Call __ctype_init.
79209         * sysdeps/i386/init-first.c (init): Likewise.
79210         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
79211         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
79212         * sysdeps/sh/init-first.c (init): Likewise.
79214 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
79216         * po/ru.po: Update from translation team.
79217         * po/vi.po: Likewise.
79219 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
79221         * resolv/nss_dns/dns-host.c: Merge copyright years.
79223 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79225         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
79226         Optimize memcpy with prefetch if
79227         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
79228         src, dst pointers have unequal 16 byte alignments.
79230 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
79232         [BZ #13928]
79233         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
79234         from a CNAME entry and return the minimum ttl for the query.
79235         (gaih_getanswer_slice): Likewise.
79237 2012-03-30  Jeff Law  <law@redhat.com>
79239         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
79240         due to long keys.
79241         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
79242         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
79244         * resolv/nss_dns/dns-host.c: Update copyright year.
79246 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
79248         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
79249         requests to save a system call.  Fix check that all bytes are sent.
79251         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
79252         comments for sendmmsg.
79254 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
79256         [BZ #13691]
79257         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
79258         with only 1 character between 0x0041 and 0x01b0.
79259         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
79260         * wcsmbs/tst-mbsnrtowcs.c: New file.
79262 2012-03-29  David S. Miller  <davem@davemloft.net>
79264         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
79265         small copies by hand.
79267 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
79269         [BZ #13761]
79270         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
79271         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
79272         group memberships.
79274 2012-03-28  David S. Miller  <davem@davemloft.net>
79276         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
79277         that branches into memcpy.
79278         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
79279         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
79280         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
79281         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
79282         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
79283         bits.
79284         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
79285         implementation too.
79286         * sysdeps/sparc/mempcpy.S: New file.
79288         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
79289         the IFUNC routine in the libc case.
79290         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
79292         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
79293         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
79294         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
79295         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
79296         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
79297         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
79298         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
79299         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
79301         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
79302         loop to 256 bytes instead of 64 bytes and fix test signedness.
79304         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
79305         * sysdeps/sparc/sparc32/Makefile: rather than here...
79306         * sysdeps/sparc/sparc64/Makefile: and here.
79308 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
79310         * malloc/mallocbug.c: Avoid warnings about unused variables.
79312 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
79314         [BZ #13760]
79315         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
79316         in the right place. Discard and retry query if response is
79317         larger than input buffer size.
79319 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
79321         [BZ #369]
79322         [BZ #2678]
79323         [BZ #3866]
79324         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
79325         x for large integer exponent.
79326         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
79327         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
79328         sign of result as needed afterwards.
79329         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
79330         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
79331         result for underflowing pow the same as for overflow.
79332         (__kernel_standard_l): Handle powl overflow and underflow here
79333         rather than calling __kernel_standard.
79334         * math/libm-test.inc (pow_test): Add more tests.
79336         [BZ #3868]
79337         [BZ #13879]
79338         [BZ #13910]
79339         [BZ #13911]
79340         [BZ #13912]
79341         [BZ #13913]
79342         [BZ #13915]
79343         [BZ #13916]
79344         [BZ #13917]
79345         [BZ #13918]
79346         [BZ #13919]
79347         [BZ #13920]
79348         [BZ #13921]
79349         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
79350         * sysdeps/ieee754/k_standard.c: Include <float.h>.
79351         (__kernel_standard_l): New function.
79352         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
79353         __kernel_standard.
79354         * math/w_acosl.c (__acosl): Likewise.
79355         * math/w_asinl.c (__asinl): Likewise.
79356         * math/w_atan2l.c (__atan2l): Likewise.
79357         * math/w_atanhl.c (__atanhl): Likewise.
79358         * math/w_coshl.c (__coshl): Likewise.
79359         * math/w_exp10l.c (__exp10l): Likewise.
79360         * math/w_exp2l.c (__exp2l): Likewise.
79361         * math/w_fmodl.c (__fmodl): Likewise.
79362         * math/w_hypotl.c (__hypotl): Likewise.
79363         * math/w_j0l.c (__j0l, __y0l): Likewise.
79364         * math/w_j1l.c (__j1l, __y1l): Likewise.
79365         * math/w_jnl.c (__jnl, __ynl): Likewise.
79366         * math/w_lgammal.c (__lgammal): Likewise.
79367         * math/w_log10l.c (__log10l): Likewise.
79368         * math/w_log2l.c (__log2l): Likewise.
79369         * math/w_logl.c (__logl): Likewise.
79370         * math/w_powl.c (__powl): Likewise.
79371         * math/w_remainderl.c (__remainderl): Likewise.
79372         * math/w_scalbl.c (sysv_scalbl): Likewise.
79373         * math/w_sinhl.c (__sinhl): Likewise.
79374         * math/w_sqrtl.c (__sqrtl): Likewise.
79375         * math/w_tgammal.c (__tgammal): Likewise.
79376         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
79377         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
79378         * math/libm-test.inc (acos_test): Add more tests.
79379         (acosh_test): Likewise.
79380         (asin_test): Likewise.
79381         (atanh_test): Likewise.
79382         (exp_test): Likewise.
79383         (exp10_test): Likewise.
79384         (exp2_test): Likewise.
79385         (expm1_test): Likewise.
79386         (lgamma_test): Likewise.
79387         (log_test): Likewise.
79388         (log10_test): Likewise.
79389         (log1p_test): Likewise.
79390         (log2_test): Likewise.
79391         (pow_test): Do not allow some spurious overflow exceptions.
79392         (sqrt_test): Add more tests.
79393         (tgamma_test): Likewise.
79394         (y0_test): Likewise.
79395         (y1_test): Likewise.
79396         (yn_test): Likewise.
79398 2012-03-27  Anton Blanchard  <anton@samba.org>
79400         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
79401         MAP_HUGETLB.
79402         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79403         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79404         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79406 2012-03-27  David S. Miller  <davem@davemloft.net>
79408         * conform/Makefile: Run run-conformtest.sh using $(BASH).
79410         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
79411         have-as-vis3 check.
79413 2012-03-27  Andreas Jaeger  <aj@suse.de>
79415         * sysdeps/x86_64/elf/configure.in: Moved to ...
79416         * sysdeps/x86_64/configure.in: ... here.
79417         * sysdeps/x86_64/elf/start.S: Moved to ...
79418         * sysdeps/x86_64/start.S: ... here.
79419         * sysdeps/x86_64/elf/configure: Delete.
79421         * sysdeps/x86_64/configure.in: Merge contents from
79422         sysdeps/i386/configure.in (without i686 check).
79424         * sysdeps/i386/elf/Versions: Merge into ...
79425         * sysdeps/i386/Versions: ... this.
79426         * sysdeps/i386/elf/Versions: Delete file.
79427         * sysdeps/i386/elf/start.S: Moved to ...
79428         * sysdeps/i386/start.S: ...here.
79429         * sysdeps/i386/elf/configure.in: Merge into...
79430         * sysdeps/i386/configure.in: ...here.
79431         * sysdeps/i386/elf/configure.in: Delete file.
79432         * sysdeps/i386/elf/configure: Delete file.
79434         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
79435         * debug/backtracesyms.c: ... here.
79436         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
79437         * debug/backtracesymsfd.c: ... here.
79438         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
79439         * sysdeps/generic/ifunc-sel.h: ... here.
79441         * sysdeps/unix/i386/start.c: Delete file.
79442         * sysdeps/unix/sparc/start.c: Delete file.
79443         * sysdeps/unix/start.c: Delete file.
79445         * sysdeps/sh/elf/configure.in: Moved to ...
79446         * sysdeps/sh/configure.in: ... here.
79447         * sysdeps/sh/elf/start.S: Moved to ...
79448         * sysdeps/sh/start.S: ... here.
79449         * sysdeps/sh/elf/configure: Delete file.
79451         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
79452         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
79453         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
79454         * sysdeps/powerpc/powerpc64/entry.h: ... here.
79455         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
79456         * sysdeps/powerpc/powerpc64/start.S: here.
79457         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
79458         * sysdeps/powerpc/powerpc64/Makefile: ... this.
79459         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
79460         * sysdeps/powerpc/powerpc64/configure.in: ... this.
79461         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
79463         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
79464         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
79465         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
79466         * sysdeps/powerpc/powerpc32/start.S: ... here.
79467         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
79468         * sysdeps/powerpc/powerpc32/configure.in: ... this.
79469         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
79471         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
79472         * sysdeps/powerpc/ifunc-sel.h: ... here.
79473         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
79474         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
79476         * sysdeps/sparc/elf/configure.in: Moved to ...
79477         * sysdeps/sparc/configure.in: ... here.
79478         * sysdeps/sparc/elf/configure: Delete file.
79479         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
79480         * sysdeps/sparc/sparc32/start.S: ... here.
79481         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
79482         * sysdeps/sparc/sparc64/start.S: ... here.
79483         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
79484         * sysdeps/sparc/sparc32/Makefile: ... this.
79485         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
79486         * sysdeps/sparc/sparc64/Makefile: ... this.
79488         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
79489         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
79490         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
79491         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
79492         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
79493         * sysdeps/s390/s390-32/setjmp.S: ... here.
79494         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
79495         * sysdeps/s390/s390-32/configure.in: ... here.
79496         * sysdeps/s390/s390-32/elf/configure: Delete file.
79497         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
79498         * sysdeps/s390/s390-32/start.S: ... here.
79500         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
79501         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
79502         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
79503         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
79504         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
79505         * sysdeps/s390/s390-64/setjmp.S: ... here.
79506         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
79507         * sysdeps/s390/s390-64/configure.in: ... here
79508         * sysdeps/s390/s390-64/elf/configure: Delete file.
79509         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
79510         * sysdeps/s390/s390-64/start.S: ... here.
79511         * sysdeps/s390/s390-64/elf/configure: Delete.
79513         * configure.in: Remove support for elf directories in sysdeps.
79515         * configure: Regenerated.
79516         * sysdeps/i386/configure: Regenerated.
79517         * sysdeps/powerpc/powerpc32/configure: Regenerated.
79518         * sysdeps/powerpc/powerpc64/configure: Regenerated.
79519         * sysdeps/s390/s390-32/configure: Regenerated.
79520         * sysdeps/s390/s390-64/configure: Regenerated.
79521         * sysdeps/sh/configure: Regenerated.
79522         * sysdeps/sparc/configure: Regenerated.
79523         * sysdeps/x86_64/configure: Regenerated.
79525 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
79527         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79529         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
79530         denormal result into account.
79532 2012-03-25  Roland McGrath  <roland@hack.frob.com>
79534         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
79535         Reported by Allan McRae <allan@archlinux.org>.
79537 2012-03-23  Jeff Law  <law@redhat.com>
79539         * nss/getnssent.c (__nss_getent): Fix typo.
79541 2012-03-23  David S. Miller  <davem@davemloft.net>
79543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79545 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
79547         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
79548         to pad to uint64_t for each field.
79549         (dl_tls_index): Replace unsigned long with uint64_t.
79551 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
79552         Paul Pluzhnikov  <ppluzhnikov@google.com>
79554         [BZ #6528]
79555         * grp/Makefile (otherlibs): Don't set it.
79556         * inet/Makefile (otherlibs): Likewise.
79557         * login/Makefile (otherlibs): Likewise.
79558         * nscd/Makefile (otherlibs): Likewise.
79559         * posix/Makefile (otherlibs): Likewise.
79560         * pwd/Makefile (otherlibs): Likewise.
79561         * rt/Makefile (otherlibs): Likewise.
79562         * sunrpc/Makefile (otherlibs): Likewise.
79563         * nss/Makefile (otherlibs): Likewise.
79564         Add libnss_files to routines and static-only-routines.
79565         ($(objpfx)getent): Remove rule.
79566         * resolv/Makefile: Add libnss_dns and libresolv to routines and
79567         static-only-routines.
79569 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
79571         [BZ #13892]
79572         * math/s_cexp.c: Include <float.h>.
79573         (__cexp): Handle exp result overflowing not necessarily
79574         overflowing both real and imaginary parts of result.
79575         * math/s_cexpf.c: Likewise.
79576         * math/s_cexpl.c: Likewise.
79577         * math/libm-test.inc (cexp_test): Add more tests.
79578         * sysdeps/i386/fpu/libm-test-ulps: Update.
79579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79581 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79583         * include/link.h (ELFW): New macro.
79584         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
79585         Replace ELF64_R_TYPE with ELFW(R_TYPE).
79587 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79589         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
79590         with uint64_t.
79592 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79594         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
79595         declaration.
79596         (struct La_x32_retval): Likewise.
79598 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79600         * sysdeps/x86_64/preconfigure.in: New file.
79601         * sysdeps/x86_64/preconfigure: New generated file.
79603 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
79605         [BZ #13824]
79606         * math/e_exp2l.c: Include <float.h>.
79607         (__ieee754_exp2l): Handle overflow and underflow cases
79608         separately.  Only pass fractional part of argument to
79609         __ieee754_expl.
79610         * math/libm-test.inc (exp2_test): Add more tests.
79612         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
79613         negating x to take absolute value.
79614         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
79615         Likewise.
79616         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
79617         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
79618         Likewise.
79619         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
79620         computing low part if x was negated.
79621         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
79623 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79625         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
79626         la_x32_gnu_pltexit.
79627         (pltexit): Cast int_retval to ptrdiff_t.
79628         * elf/tst-auditmod3b.c: Likewise.
79629         * elf/tst-auditmod4b.c: Likewise.
79630         * elf/tst-auditmod5b.c: Likewise.
79631         * elf/tst-auditmod6b.c: Likewise.
79632         * elf/tst-auditmod6c.c: Likewise.
79633         * elf/tst-auditmod7b.c: Likewise.
79635         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
79636         and x32_gnu_pltexit.
79638         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
79639         __ELF_NATIVE_CLASS.
79640         (La_x32_regs): New macro.
79641         (La_x32_retval): Likewise.
79642         (la_x32_gnu_pltenter): New function prototype.
79643         (la_x32_gnu_pltexit): Likewise.
79645 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
79647         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
79648         exponent.
79650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79652         * configure.in (libc_cv_cc_nofma): Check for option to disable
79653         generation of FMA instructions.
79654         * configure: Regenerate.
79655         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
79656         * sysdeps/ieee754/dbl-64/Makefile: New file.
79657         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
79658         Remove brandred-fma4.
79659         (CFLAGS-brandred-fma4.c): Remove.
79660         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
79661         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
79662         define.
79663         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
79664         define.
79666 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79668         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
79669         LLONG_MAX != LONG_MAX.
79670         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79671         (_fitoa_word): Likewise.
79672         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
79673         LLONG_MAX != LONG_MAX.
79674         * stdio-common/_itowa.h: Include <_itoa.h>.
79675         (_itowa_word): Use _ITOA_WORD_TYPE on value.
79676         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
79677         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
79678         only if not defined.
79679         (_ITOA_WORD_TYPE): Likewise.
79680         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79681         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
79683 2012-03-21  David S. Miller  <davem@davemloft.net>
79685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79687 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79689         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
79690         of x86_64 when setting libc_cv_slibdir, libdir and
79691         libc_cv_localedir.
79692         * sysdeps/unix/sysv/linux/configure: Regenerated.
79694 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79696         * manual/lang.texi (Old Varargs): Remove section.
79697         (How Variadic): Update menu.
79698         (va_start): Do not mention varargs.h.
79700 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
79701             Joseph Myers  <joseph@codesourcery.com>
79703         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
79704         link test.
79705         * configure: Regenerated.
79707 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
79709         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
79710         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
79711         conformtest.pl
79713 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79715         * NOTES: Remove.
79716         * Makefile (files-for-dist): Remove NOTES.
79717         (NOTES): Remove rule.
79718         * README: Don't refer to NOTES.
79719         * manual/creature.texi: Don't include macros.texi.
79720         * manual/intro.texi (creature.texi): Remove comment referring to
79721         NOTES.
79723         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
79724         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
79725         * configure: Regenerated.
79726         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
79727         LIBC_TRY_CC_OPTION.
79728         (libc_cv_as_i686): Likewise.
79729         (libc_cv_cc_avx): Likewise.
79730         (libc_cv_cc_sse2avx): Likewise.
79731         (libc_cv_cc_fma4): Likewise.
79732         (libc_cv_cc_novzeroupper): Likewise.
79733         * sysdeps/i386/configure: Regenerated.
79735         [BZ #13883]
79736         * sysdeps/i386/fpu/s_cexp.S: Remove.
79737         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
79738         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
79739         * math/libm-test.inc (cexp_test): Add more tests.
79740         * sysdeps/i386/fpu/libm-test-ulps: Update.
79741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79743 2012-03-21  Allan McRae  <allan@archlinux.org>
79745         * timezone/Makefile: Do not install iso3166.tab and zone.tab
79747 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79749         [BZ #13871]
79750         * math/w_exp2.c: Do not include <float.h>.
79751         (o_threshold, u_threshold): Remove.
79752         (__exp2): Calculate result before checking finiteness and calling
79753         __kernel_standard.
79754         * math/w_exp2f.c: Likewise.
79755         * math/w_exp2l.c: Likewise.
79756         * math/libm-test.inc (exp2_test): Require overflow exception for
79757         1e6 input.
79759         [BZ #3866]
79760         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
79761         range of signed 64-bit integers before using fistpll.  Remove
79762         checks for whether integers fit in mantissa bits.
79763         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
79764         the range of signed 32-bit integers before using fistpl.  Remove
79765         checks for whether integers fit in mantissa bits.
79766         * sysdeps/i386/fpu/e_powl.S (p64): New object.
79767         (__ieee754_powl): Test for y outside the range of signed 64-bit
79768         integers before using fistpll.  Reduce 64-bit values to 63-bit
79769         ones as needed.
79770         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
79771         divide-by-zero is raised for zero to large negative powers.
79772         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
79773         (__ieee754_powl): Test for y outside the range of signed 64-bit
79774         integers before using fistpll.  Reduce 64-bit values to 63-bit
79775         ones as needed.
79776         * math/libm-test.inc (pow_test): Add more tests.
79778 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79780         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
79781         <stdio-common/_itoa.h>.
79782         * debug/segfault.c: Likewise.
79783         * elf/dl-cache.c: Likewise.
79784         * elf/dl-minimal.c: Likewise.
79785         * elf/dl-misc.c: Likewise.
79786         * elf/dl-sysdep.c: Likewise.
79787         * elf/dl-version.c: Likewise.
79788         * elf/rtld.c: Likewise.
79789         * hurd/hurdsock.c: Likewise.
79790         * hurd/lookup-retry.c: Likewise.
79791         * malloc/malloc.c: Likewise.
79792         * malloc/mtrace.c: Likewise.
79793         * nscd/nscd_getgr_r.c: Likewise.
79794         * nscd/nscd_getpw_r.c: Likewise.
79795         * nscd/nscd_getserv_r.c: Likewise.
79796         * posix/getopt_init.c: Likewise.
79797         * posix/wordexp.c: Likewise.
79798         * stdio-common/_itoa.c: Likewise.
79799         * stdio-common/printf_fphex.c: Likewise.
79800         * stdio-common/vfprintf.c: Likewise.
79801         * string/_strerror.c: Likewise.
79802         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
79803         * sysdeps/i386/i686/hp-timing.h: Likewise.
79804         * sysdeps/mach/_strerror.c: Likewise.
79805         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
79806         * sysdeps/mach/hurd/sethostid.c: Likewise.
79807         * sysdeps/mach/hurd/xmknodat.c: Likewise.
79808         * sysdeps/mach/xpg-strerror.c: Likewise.
79809         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
79810         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
79811         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
79812         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
79813         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
79814         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
79815         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
79816         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
79817         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
79818         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
79819         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
79820         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
79821         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
79822         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
79823         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
79824         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
79825         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
79826         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
79827         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
79828         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
79829         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
79831         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
79833         * stdio-common/_itoa.h: Moved to ...
79834         * sysdeps/generic/_itoa.h: Here.
79836         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
79838         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
79839         instead of "_itoa.h" and "_itowa.h".
79840         * stdio-common/vfprintf.: Likewise.
79842 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79844         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
79845         <bits/wordsize.h>.
79846         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
79847         (__signbit): Likewise.
79848         (llrintf): Likewise.
79849         (llrint): Likewise.
79851 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79853         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
79854         __WORDSIZE != 64.
79856 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
79858         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
79859         OVERFLOW_EXCEPTION_OK.
79860         * math/libm-test.inc ("Philosophy"): Update comment about
79861         exception testing.
79862         (OVERFLOW_EXCEPTION): Define.
79863         (OVERFLOW_EXCEPTION_OK): Likewise.
79864         (INVALID_EXCEPTION_OK): Renumber.
79865         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
79866         (IGNORE_ZERO_INF_SIGN): Likewise.
79867         (test_exceptions): Handle FE_OVERFLOW.
79868         (exp10_test): Expect overflow exceptions.
79869         (exp2_test): Likewise.
79870         (expm1_test): Likewise.
79871         (nextafter_test): Likewise.
79872         (pow_test): Likewise.
79873         (scalbn_test): Likewise.
79874         (scalbln_test): Likewise.
79876 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79878         * sysdeps/x86_64/bits/atomic.h
79879         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
79880         64bit integer.
79881         (atomic_exchange_acq): Likewise.
79882         (__arch_exchange_and_add_body): Likewise.
79883         (__arch_add_body): Likewise.
79884         (atomic_add_negative): Likewise.
79885         (atomic_add_zero): Likewise.
79887 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79889         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
79890         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
79892 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79894         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
79895         Check __x86_64__ instead of __WORDSIZE.
79897 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79899         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
79901 2012-03-19  David S. Miller  <davem@davemloft.net>
79903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79905         * sysdeps/sparc/fpu/fenv_private.h: New file.
79906         * sysdeps/sparc/fpu/math_private.h: Use it.
79907         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
79908         Remove.
79909         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
79910         (libc_feholdexcept_setroundl): Remove.
79911         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
79912         Remove.
79913         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
79914         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
79916 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79918         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
79919         int64_t instead of long int.
79920         (INSERT_WORDS64): Likewise.
79922 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79924         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
79925         _Unwind_GetCFA return to _Unwind_Ptr first.
79927 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
79929         [BZ #13629]
79930         * math/s_clog.c: Include <float.h>.
79931         (__clog): Scale large or subnormal inputs.
79932         * math/s_clogf.c: Likewise.
79933         * math/s_clogl.c: Likewise.
79934         * math/s_clog10.c: Include <float.h>.
79935         (M_LOG10_2): Define.
79936         (__clog10): Scale large or subnormal inputs.
79937         * math/s_clog10f.c: Likewise.
79938         * math/s_clog10l.c: Likewise.
79939         * math/libm-test.inc (clog_test): Add more tests.
79940         (clog10_test): Likewise.
79941         * sysdeps/i386/fpu/libm-test-ulps: Update.
79942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79944         [BZ #11451]
79945         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
79946         x and y.
79947         * math/libm-test.inc (atan2_test): Add another test.
79949         * Makerules (common-objdir-compile): Remove.
79950         * sysdeps/unix/Makefile (config-generated): Do not add
79951         $(unix-generated) to variable.
79952         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
79953         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
79954         Remove rule.
79955         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
79956         Likewise.
79957         [generic bits/local_lim.h] (before-compile): Do not append to
79958         variable.
79959         [generic bits/local_lim.h] (common-generated): Likewise.
79960         [generic sys/param.h] (before-compile): Do not append to variable.
79961         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
79962         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
79963         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
79964         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
79965         include.
79966         [generic sys/param.h] (sys/param.h-includes): Remove variable.
79967         [generic sys/param.h] (sys/param.h-includes): Remove rule.
79968         [generic sys/param.h] ($(addprefix
79969         $(common-objpfx),$(sys/param.h-includes))): Likewise.
79970         [generic sys/param.h] (common-generated): Do not append to
79971         variable.
79972         [generic sys/param.h] (sysdep_headers): Likewise.
79973         [generic bits/errno.h] (before-compile): Do not append to
79974         variable.
79975         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
79976         rule.
79977         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
79978         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
79979         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
79980         [generic bits/errno.h] (common-generated): Do not append to
79981         variable.
79982         [generic bits/ioctls.h] (before-compile): Do not append to
79983         variable.
79984         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
79985         rule.
79986         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
79987         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
79988         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
79989         rule.
79990         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
79991         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
79992         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
79993         [generic bits/ioctls.h] (common-generated): Do not append to
79994         variable.
79995         [generic sys/syscall.h] (syscall.h): Remove variable.
79996         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
79997         rule.
79998         [generic sys/syscall.h] (before-compile): Do not append to
79999         variable.
80000         [generic sys/syscall.h] (common-generated): Likewise.
80001         * sysdeps/unix/errnos-tmpl.c: Remove file.
80002         * sysdeps/unix/errnos.awk: Likewise.
80003         * sysdeps/unix/ioctls-tmpl.c: Likewise.
80004         * sysdeps/unix/ioctls.awk: Likewise.
80005         * sysdeps/unix/mk-local_lim.c: Likewise.
80006         * sysdeps/unix/snarf-ioctls: Likewise.
80008 2012-03-19  Richard Henderson  <rth@twiddle.net>
80010         * sysdeps/i386/fpu/fenv_private.h: New file.
80011         * sysdeps/i386/fpu/math_private.h: Use it.
80012         (math_opt_barrier, math_force_eval): Remove.
80013         (libc_feholdexcept_setround_53bit): Remove.
80014         (libc_feupdateenv_53bit): Remove.
80015         * sysdeps/x86_64/fpu/math_private.h: Likewise.
80016         (math_opt_barrier, math_force_eval): Remove.
80017         (libc_feholdexcept): Remove.
80018         (libc_feholdexcept_setround): Remove.
80019         (libc_fetestexcept, libc_fesetenv): Remove.
80020         (libc_feupdateenv_test): Remove.
80021         (libc_feupdateenv, libc_feholdsetround): Remove.
80022         (libc_feresetround): Remove.
80024         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
80025         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
80027         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
80028         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
80029         (libc_feupdateenv_testl): New.
80030         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
80031         (libc_feupdateenv_testf): New.
80032         (libc_feupdateenv): Use libc_feupdateenv_test.
80033         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
80034         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
80036         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
80037         (libc_feholdsetroundf, libc_feholdsetroundl): New.
80038         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
80039         (libc_feresetround_noex): New.
80040         (libc_feresetround_noexf): New.
80041         (libc_feresetround_noexl): New.
80042         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
80043         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
80044         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
80045         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
80046         SET_RESTORE_ROUND.
80047         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
80048         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
80049         (__cos): Likewise.
80050         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
80051         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
80052         SET_RESTORE_ROUND_NOEX.
80053         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
80054         SET_RESTORE_ROUND_NOEXF.
80055         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
80056         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
80057         (libc_feholdsetroundf): New.
80058         (libc_feresetround, libc_feresetroundf): New.
80060         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
80061         (libc_feholdexcept_setround_53bit): Convert from macro to function.
80062         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
80064         * sysdeps/generic/math_private.h: Include <fenv.h>.
80065         (default_libc_feholdexcept): New.
80066         (default_libc_feholdexcept_setround): New.
80067         (default_libc_fesetenv, default_libc_feupdateenv): New.
80068         (libc_feholdexcept): Only define if undefined.
80069         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
80070         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
80071         (libc_feholdexcept_setroundl): Likewise.
80072         (libc_feholdexcept_setround_53bit): Likewise.
80073         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
80074         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
80075         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
80076         (libc_feupdateenv_53bit): Likewise.
80077         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
80078         (libc_feholdexcept): Convert from macro to inline function.
80079         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
80080         (libc_fesetenv, libc_feupdateenv): Likewise.
80082         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
80083         not previously defined.
80084         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
80085         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
80086         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
80087         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
80088         * sysdeps/ieee754/flt-32/math_private.h: New file.
80089         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
80090         math_private.h below SET_FLOAT_WORD.
80091         (__isnan, __isinf_ns, __finite): Remove.
80092         (__isnanf, __isinf_nsf, __finitef): Remove.
80094 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
80096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80098 2012-03-17  David S. Miller  <davem@davemloft.net>
80100         [BZ #6471]
80101         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
80102         for 2.16.
80104 2012-03-16  David S. Miller  <davem@davemloft.net>
80106         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
80107         warnings.
80109         [BZ #6471]
80110         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
80111         properly.
80112         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
80113         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
80114         sysdep_routines when subdir is sysvipc.
80115         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
80116         __getshmlba helper.
80118         * sysdeps/sparc/fpu/libm-test/ulps: Update.
80120 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80122         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
80123         [__LP64__].
80125 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80127         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
80128         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
80129         (__lround): Renamed to ...
80130         (__llround): This.  Replace long int with long long int.
80131         Define lround functions as aliases of llround functions.
80132         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
80134 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80136         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
80137         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
80138         adresses to uintptr_t.  Replace "long int" and "unsigned long
80139         int" with "greg_t" on va_arg.
80141 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80143         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
80144         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
80146         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
80147         Move e_machine check before EI_CLASS check.  Handle x32
80148         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
80149         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
80150         SKIP_EM_IA_64 and include
80151         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
80153         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
80154         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
80155         (add_system_dir): New macro.
80157         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
80158         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
80160 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
80162         [BZ #2551]
80163         [BZ #2552]
80164         [BZ #2553]
80165         [BZ #2554]
80166         [BZ #2562]
80167         [BZ #2563]
80168         [BZ #2565]
80169         [BZ #2566]
80170         [BZ #2576]
80171         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
80172         (y0): Likewise.
80173         * math/w_j0f.c (j0f): Likewise.
80174         (y0f): Likewise.
80175         * math/w_j0l.c (__j0l): Likewise.
80176         (__y0l): Likewise.
80177         * math/w_j1.c (j1): Likewise.
80178         (y1): Likewise.
80179         * math/w_j1f.c (j1f): Likewise.
80180         (y1f): Likewise.
80181         * math/w_j1l.c (__j1l): Likewise.
80182         (__y1l): Likewise.
80183         * math/w_jn.c (jn): Likewise.
80184         (yn): Likewise.
80185         * math/w_jnf.c (jnf): Likewise.
80186         (ynf): Likewise.
80187         * math/w_jnl.c (__jnl): Likewise.
80188         (__ynl): Likewise.
80189         * math/libm-test.inc (j0_test): Add more tests.
80190         (j1_test): Likewise.
80191         (jn_test): Likewise.  Add trailing semicolon to existing test.
80192         (y0_test): Likewise.
80193         (y1_test): Likewise.
80194         * sysdeps/i386/fpu/libm-test-ulps: Update.
80195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80197         [BZ #13851]
80198         [BZ #13854]
80199         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
80200         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
80201         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
80202         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
80203         (__tanl): Set errno for infinite argument.
80204         * sysdeps/i386/fpu/mptan.c: Remove.
80205         * sysdeps/i386/fpu/s_tan.S: Likewise.
80206         * sysdeps/i386/fpu/s_tanl.S: Likewise.
80207         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
80208         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
80209         * math/libm-test.inc (tan_test): Add more tests and enable more
80210         tests for double and long double.
80211         * sysdeps/i386/fpu/libm-test-ulps: Update.
80212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80214 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
80216         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
80217         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
80219 2012-03-16  Roland McGrath  <roland@hack.frob.com>
80221         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
80222         * configure.in: Use it for both main tree and add-ons.
80223         * configure: Regenerated.
80225 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80227         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
80229 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
80231         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
80232         in comment.
80234         [BZ #13851]
80235         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
80236         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
80237         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
80238         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
80239         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
80240         infinite argument.
80241         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
80242         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
80243         != 0 for prec == 2.
80244         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
80245         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
80246         * sysdeps/i386/fpu/s_cosl.S: Likewise.
80247         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
80248         * sysdeps/i386/fpu/s_sinl.S: Likewise.
80249         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
80250         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
80251         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
80252         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
80253         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
80254         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
80255         * math/libm-test.inc (cos_test): Add more tests and enable more
80256         tests for long double.
80257         (sin_test): Likewise.
80258         (sincos_test): Likewise.
80259         * sysdeps/i386/fpu/libm-test-ulps: Update.
80260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80262 2012-03-16  David S. Miller  <davem@davemloft.net>
80264         * sysdeps/sparc/fpu/math_private.h: New file.
80266 2012-03-15  David S. Miller  <davem@davemloft.net>
80268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
80269         file.
80270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
80271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
80272         file.
80273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
80274         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
80275         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
80276         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
80277         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
80278         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
80279         sysdep routines.
80280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
80282         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
80283         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
80285         * sysdeps/sparc/sparc-ifunc.h: New file.
80286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
80287         sparc-ifunc.h
80288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
80289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
80290         Likewise.
80291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
80292         Likewise.
80293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
80294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
80295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
80296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
80297         Likewise.
80298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
80299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
80300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
80301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
80302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
80303         Likewise.
80304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
80305         Likewise.
80306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
80307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
80308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
80309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
80310         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
80311         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
80312         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
80313         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
80314         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
80315         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
80316         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
80317         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
80318         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
80319         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
80320         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
80321         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
80322         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
80323         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
80324         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
80325         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
80326         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
80327         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
80328         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
80329         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
80331 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
80333         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
80334         scaling.
80335         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80337 2012-03-15  Andreas Jaeger  <aj@suse.de>
80339         [BZ #13852]
80340         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
80341         ieee754/flt-32 implementation for sin, cos and sincos.
80342         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
80343         * sysdeps/i386/fpu/s_cosf.S: Likewise.
80344         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
80345         * sysdeps/i386/fpu/s_sinf.S: Likewise.
80346         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
80347         ieee754/flt-32 implementation for tan.
80349         * math/libm-test.inc (cos_test): Enable some large input tests for
80350         float as well
80351         (sin_test): Likewise.
80352         (sincos_test): Likewise.
80353         (tan_test): Add tests for large input.
80355         * sysdeps/i386/fpu/libm-test-ulps: Update.
80357 2012-03-15  Andreas Jaeger  <aj@suse.de>
80359         [BZ #13658]
80360         * math/libm-test.inc (cos_test): Add more test cases.
80361         (sin_test): Likewise.
80362         (sincos_test): Likewise.
80364 2012-03-15  Andreas Jaeger  <aj@suse.de>
80366         [BZ #13837]
80367         * math/libm-test.inc (cos_test): Add a test case for large input
80368         value.
80369         (sin_test): Likewise.
80370         (sincos_test): Likewise.
80372 2012-03-15  Andreas Jaeger  <aj@suse.de>
80373             Joseph Myers  <joseph@codesourcery.com>
80375         [BZ #13658]
80376         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
80377         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
80378         * sysdeps/i386/fpu/branred.c: Likewise.
80379         * sysdeps/i386/fpu/dosincos.c: Likewise.
80380         * sysdeps/i386/fpu/mpa.c: Likewise.
80381         * sysdeps/i386/fpu/s_cos.S: Likewise.
80382         * sysdeps/i386/fpu/s_sin.S: Likewise.
80383         * sysdeps/i386/fpu/s_sincos.S: Likewise.
80384         * sysdeps/i386/fpu/sincos32.c: Likewise.
80386         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
80387         Define.
80388         (libc_feupdateenv_53bit): Define.
80389         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
80390         Define.
80391         (libc_feupdateenv_53bit): Define.
80393         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
80394         53 bit (without extend i386 double precision).
80396         * math/libm-test.inc (sincos_test): Add tests for large input.
80397         (sin): Likewise.
80398         (cos): Likewise.
80400         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
80402 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
80404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80406 2012-03-15  David S. Miller  <davem@davemloft.net>
80408         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
80409         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
80410         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
80411         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
80412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
80413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
80414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
80415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
80416         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
80417         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
80418         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
80419         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
80420         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
80421         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
80422         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
80423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
80424         file.
80425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
80426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
80427         file.
80428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
80429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
80430         file.
80431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
80432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
80433         file.
80434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
80435         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
80436         fmin/fmax sysdep routines.
80437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
80439 2012-03-14  David S. Miller  <davem@davemloft.net>
80441         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
80442         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
80443         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
80444         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
80445         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
80446         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
80447         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
80448         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
80449         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
80450         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
80451         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
80452         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
80453         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
80454         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
80455         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
80456         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
80457         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
80458         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
80459         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
80460         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
80461         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
80462         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
80463         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
80464         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
80465         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
80466         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
80467         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
80468         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
80469         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
80470         routines.
80471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
80472         file.
80473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
80474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
80475         file.
80476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
80477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
80478         file.
80479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
80480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
80481         file.
80482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
80483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
80484         file.
80485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
80486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
80487         file.
80488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
80489         file.
80490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
80491         file.
80492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
80493         file.
80494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
80495         New file.
80496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
80497         file.
80498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
80499         file.
80500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
80501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
80502         file.
80503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
80504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
80505         file.
80506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
80507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
80508         file.
80509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
80510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
80511         VIS3 routines.
80513         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
80514         New file.
80516         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80518         * sysdeps/sparc/configure.in: New file.
80519         * sysdeps/sparc/configure: Generate.
80520         * configure.in (libc_cv_sparc_as_vis3): Substitute.
80521         * configure: Regenerate.
80522         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
80523         * config.make.in (have-as-vis3): New.
80524         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
80525         available use -Av9d instead of -Av9a.
80526         * sysdeps/sparc/sparc64/Makefile: Likewise.
80527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
80528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
80529         New file.
80530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
80531         file.
80532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
80533         New file.
80534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
80535         file.
80536         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
80537         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
80538         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
80539         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
80540         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
80542         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
80543         fzeros/fnegs to load 0x80000000 into a float register instead of
80544         using the stack.
80545         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
80547 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
80549         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80550         bits/syscall.h.
80551         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
80552         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
80553         ($(inst_includedir)/bits/syscall.h): Remove rule.
80554         ($(objpfx)bits/syscall.d): Include instead of
80555         $(objpfx)syscall-list.d.
80556         (generated): Change syscall-list.h and syscall-list.d to
80557         bits/syscall.h and bits/syscall.d.
80559 2012-03-14  Roland McGrath  <roland@hack.frob.com>
80561         [BZ #13846]
80562         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
80564 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
80566         [BZ #13841]
80567         * math/s_csqrt.c: Include <float.h>.
80568         (__csqrt): Scale large or subnormal inputs.
80569         * math/s_csqrtf.c: Likewise.
80570         * math/s_csqrtl.c: Likewise.
80571         * math/libm-test.inc (csqrt_test): Add more tests.
80572         * sysdeps/i386/fpu/libm-test-ulps: Update.
80573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80575         [BZ #13840]
80576         * math/libm-test.inc (hypot_test): Add more tests.
80578 2012-03-13  David S. Miller  <davem@davemloft.net>
80580         [BZ #13840]
80581         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
80582         double-precision for the calculation instead of scaling.
80584 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
80586         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
80587         manipulate bits before adding and subtracting TWO52[sx].
80588         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
80589         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
80590         Likewise.
80591         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
80593 2012-03-13  David S. Miller  <davem@davemloft.net>
80595         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
80596         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
80597         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
80598         rtld-global-offsets.h
80599         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
80601         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
80602         large parameters.
80604         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
80606         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
80607         'err' in the ifdef scope in which it is actually used.
80609         * nss/nss_db/db-init.c: Include string.h
80611 2012-03-12  David S. Miller  <davem@davemloft.net>
80613         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
80614         masking out of the most significant byte of random value used.
80615         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80616         Fix coding style in previous change.
80618         * sysdeps/unix/sysv/linux/kernel-features.h
80619         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
80620         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
80621         expression.
80622         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
80623         later.
80625 2012-03-11  David S. Miller  <davem@davemloft.net>
80627         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
80628         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
80629         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
80630         for 'resultvar' otherwise things get truncated on 64-bit.
80632         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80633         Fix masking out of the most significant byte of random value used.
80635         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80637 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
80639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80641 2012-03-09  David S. Miller  <davem@davemloft.net>
80643         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
80644         variables with appropriate CPP guards.
80645         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
80646         from the frame pointer, not the stack pointer.  Correct layout
80647         comments.  Fix test on resulting framesize and the management of
80648         the outregs buffer for pltexit.  Preserve floating point return
80649         values across _dl_call_pltexit call.
80650         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
80651         framesize and the management of the outregs buffer for pltexit.
80652         Preserve floating point return values across _dl_call_pltexit
80653         call.
80654         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
80655         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
80656         (la_sparc64_gnu_pltexit): New functions.
80657         (print_exit): Fix format string for return register value.
80659 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
80661         * sunrpc/Makefile (others): Add rpcgen.
80662         ($(objpfx)rpcgen): Remove special build rule and dependency on
80663         libc.
80664         * sunrpc/rpcgen.c: New file.
80666 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
80668         [BZ #13673]
80669         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
80670         * stdio-common/bug-vfprintf-nargs.c: Likewise.
80671         * sysdeps/i386/crti.S: Likewise.
80672         * sysdeps/i386/crtn.S: Likewise.
80673         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
80674         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
80675         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
80676         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
80677         * sysdeps/sh/crti.S: Likewise.
80678         * sysdeps/sh/crtn.S: Likewise.
80679         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
80681         [BZ #13673]
80682         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
80683         with URL.
80684         * locale/programs/locfile-kw.gperf: Likewise.
80685         * locale/programs/charmap-kw.h: Regenerated.
80686         * locale/programs/locfile-kw.h: Likewise.
80688         [BZ #13673]
80689         * intl/plural.y: Replace FSF snail mail address with URL.
80690         * intl/plural.c: Regenerated.
80692 2012-03-09  Richard Henderson  <rth@twiddle.net>
80694         * include/math_private.h: Remove file.
80695         * math/math_private.h: Move file ...
80696         * sysdeps/generic/math_private.h: ... here.
80698         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
80699         * sysdeps/powerpc/fpu/math_private.h: Likewise.
80700         * sysdeps/x86_64/fpu/math_private.h: Likewise.
80702         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
80703         and <math_private.h>.
80704         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
80705         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
80706         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
80707         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
80708         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
80709         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
80710         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
80711         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80712         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80713         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80714         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80715         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80716         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80717         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80718         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80719         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80720         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80721         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80722         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80723         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80724         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80725         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80726         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80727         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80728         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
80729         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80730         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80731         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80732         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80733         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
80734         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80735         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80736         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
80737         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
80738         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
80739         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
80740         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
80741         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
80742         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
80743         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80744         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
80745         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
80746         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
80747         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
80748         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
80749         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
80750         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
80751         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
80752         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
80753         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
80754         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
80755         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
80756         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
80757         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
80758         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
80759         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
80760         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80761         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
80762         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
80763         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
80764         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
80765         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
80766         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80767         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
80768         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
80769         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
80770         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
80771         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
80772         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
80773         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
80774         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
80775         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80776         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
80777         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80778         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
80779         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
80780         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
80781         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
80782         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
80783         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
80784         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
80785         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
80786         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
80787         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
80788         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
80789         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
80790         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
80791         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
80792         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80793         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80794         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80795         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80796         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80797         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80798         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80799         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80800         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80801         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80802         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80803         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80804         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80805         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80806         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80807         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80808         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
80809         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80810         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80811         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80812         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
80813         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
80814         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
80815         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
80816         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80817         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
80818         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
80819         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80820         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
80821         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
80822         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
80823         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
80824         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
80825         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
80826         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80827         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
80828         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
80829         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
80830         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80831         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
80832         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
80833         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
80834         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
80835         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
80836         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
80837         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
80838         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
80839         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
80840         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
80841         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
80842         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
80843         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
80844         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80845         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
80846         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
80847         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
80848         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
80849         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
80850         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
80851         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
80852         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
80853         * sysdeps/ieee754/k_standard.c: Likewise.
80854         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80855         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80856         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80857         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80858         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80859         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80860         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80861         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80862         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80863         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80864         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80865         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80866         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80867         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80868         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80869         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80870         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
80871         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80872         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80873         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
80874         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
80875         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
80876         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
80877         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
80878         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
80879         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
80880         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
80881         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
80882         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
80883         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
80884         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
80885         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
80886         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
80887         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
80888         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
80889         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
80890         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
80891         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
80892         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
80893         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
80894         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
80895         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
80896         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
80897         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
80898         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
80899         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
80900         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
80901         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
80902         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
80903         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
80904         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
80905         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
80906         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
80907         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
80908         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
80909         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
80910         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
80911         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
80912         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
80913         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
80914         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
80915         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
80916         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
80917         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80918         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80919         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80920         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80921         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80922         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80923         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80924         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80925         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80926         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80927         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80928         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80929         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80930         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
80931         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80932         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80933         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
80934         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
80935         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
80936         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
80937         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
80938         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
80939         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
80940         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
80941         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
80942         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
80943         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
80944         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
80945         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
80946         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
80947         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
80948         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
80949         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
80950         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
80951         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
80952         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
80953         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
80954         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
80955         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
80956         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
80957         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
80958         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
80959         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
80960         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
80961         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
80962         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
80963         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
80964         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
80965         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
80966         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80967         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80968         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80969         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80970         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80971         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80972         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80973         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80974         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80975         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80976         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80977         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80978         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80979         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
80980         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
80981         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
80982         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
80983         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
80984         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
80985         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
80986         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
80987         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
80988         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
80989         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
80990         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
80991         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
80992         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
80993         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
80994         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
80995         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
80996         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
80997         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
80998         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
80999         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
81000         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
81001         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
81002         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
81003         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
81004         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
81005         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
81006         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
81007         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
81008         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
81009         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
81010         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
81011         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
81012         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
81013         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
81014         * sysdeps/ieee754/s_lib_version.c: Likewise.
81015         * sysdeps/ieee754/s_matherr.c: Likewise.
81016         * sysdeps/ieee754/s_signgam.c: Likewise.
81017         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
81018         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
81019         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
81020         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
81021         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
81022         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
81023         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
81024         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
81025         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
81026         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
81027         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
81028         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
81029         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
81030         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
81031         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
81032         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
81033         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
81034         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
81035         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
81036         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
81037         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
81039 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
81041         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
81042         * sunrpc/rpc_main.c: Likewise.
81043         * sunrpc/rpc_svcout.c: Likewise.
81045 2012-03-09  David S. Miller  <davem@davemloft.net>
81047         * include/math_private.h: New file.
81049 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
81051         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
81052         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
81053         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
81054         from <bits/socket_type.h>.
81055         (enum __socket_type): Don't define here.
81056         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
81057         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81058         bits/socket_type.h.
81060         [BZ #13566]
81061         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
81062         checking __USE_GNU.
81064         * Makerules ($(inst_includedir)/%.h): New rule.
81065         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
81066         (install-others): Remove variable setting.
81067         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
81069 2012-03-08  Richard Henderson  <rth@twiddle.net>
81071         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
81072         from macro to inline function; merge with the
81073         !__LIBC_INTERNAL_MATH_INLINES version.
81074         (__ieee754_sqrtf): Likewise.
81076         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
81077         to inline function.
81078         (__rintf, __floor, __floorf): Likewise.
81080         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
81081         macro to inline function.
81082         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
81084         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
81085         not <math/math_private.h>.
81087 2012-03-08  David S. Miller  <davem@davemloft.net>
81089         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
81090         copyright year.
81091         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
81093 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
81095         * resolv/gai_misc.c (handle_requests): Fix struct timespec
81096         normalization.
81097         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
81098         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
81100 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
81102         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
81103         be defined individually, they must be defined as a block.  Define
81104         S for printing a string instead of hidint the different by using a
81105         macro for adding the 'l'.
81106         * stdio-common/tst-fphex-wide.c: Adjust.
81108 2012-03-07  Marek Polacek  <polacek@redhat.com>
81110         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
81112 2012-03-08  Marek Polacek  <polacek@redhat.com>
81114         [BZ #13806]
81115         * stdio-common/Makefile (tests): Add tst-fphex-wide.
81116         * stdio-common/tst-fphex.c: Define a few macros to make the
81117         test reusable.  Use them.
81118         * stdio-common/tst-fphex-wide.c: New file.
81120 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
81122         [BZ #6911]
81123         * manual/macros.texi (gnusystems): New macro.
81124         (nongnusystems): Likewise.
81125         (gnulinuxhurdsystems): Likewise.
81126         (gnuhurdsystems): Likewise..
81127         (gnulinuxsystems): Likewise.
81128         * manual/charset.texi: Use new macros or @theglibc{} to refer to
81129         variants of the GNU system, not "GNU system".
81130         * manual/conf.texi: Likewise.
81131         * manual/errno.texi: Likewise.  Update example of errno macro
81132         expansion.
81133         * manual/filesys.texi: Likewise.
81134         (getumask): Document as specific to GNU/Hurd.
81135         * manual/install.texi: Likewise.  Reword some references to
81136         GNU/Linux.
81137         * manual/intro.texi: Likewise.
81138         * manual/io.texi: Likewise.
81139         (File Name Portability): Detail which constraints are inapplicable
81140         to all GNU systems and which are only inapplicable to GNU/Hurd.
81141         * manual/job.texi: Likewise.
81142         * manual/llio.texi: Likewise.
81143         (O_NOCTTY): Document as present on GNU/Linux.
81144         * manual/maint.texi: Likewise.
81145         * manual/memory.texi: Likewise.
81146         * manual/pattern.texi: Likewise.
81147         * manual/pipe.texi: Likewise.
81148         * manual/process.texi: Likewise.
81149         * manual/resource.texi: Likewise.
81150         (RUSAGE_CHILDREN): Remove statement about specifying a particular
81151         child on GNU/Hurd.
81152         * manual/setjmp.texi: Likewise.
81153         * manual/signal.texi: Likewise.
81154         * manual/startup.texi: Likewise.
81155         * manual/stdio.texi: Likewise.
81156         * manual/terminal.texi: Likewise.
81157         (ONLCR): Document as POSIX.
81158         (OXTABS): Document availability on GNU/Linux as XTABS.
81159         (ONOEOT): Document availability separately from other bits.
81160         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
81161         * manual/time.texi: Likewise.
81162         * manual/users.texi: Likewise.
81163         * INSTALL: Regenerated.
81164         * sysdeps/gnu/errlist.c: Regenerated.
81166         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
81167         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
81168         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
81169         puts.
81170         * configure: Regenerated.
81172 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
81174         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
81175         default includes instead of AC_HEADER_CHECK.
81176         * sysdeps/i386/configure: Regenerated.
81178         [BZ #10716]
81179         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
81180         * math/s_cacoshf.c (__cacoshf): Likewise.
81181         * math/s_cacoshl.c (__cacoshl): Likewise.
81182         * math/s_casinh.c (__casinh): Set signs of result from argument.
81183         * math/s_casinhf.c (__casinhf): Likewise.
81184         * math/s_casinhl.c (__casinhl): Likewise.
81185         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
81186         (casinh_test): Add more tests.
81187         * sysdeps/i386/fpu/libm-test-ulps: Update.
81188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81190 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
81192         * po/zh_TW.po: Update from translation team.
81194         * login/Makefile (distribute): Remove variable.
81195         * catgets/Makefile: Likewise.
81196         * mach/Makefile: Likewise.
81197         * malloc/Makefile: Likewise.
81198         * misc/Makefile: Likewise.
81199         * iconv/Makefile: Likewise.
81200         * nscd/Makefile: Likewise.
81201         * hurd/Makefile: Likewise.
81202         * manual/Makefile: Likewise.
81203         * locale/Makefile: Likewise.
81204         * intl/Makefile: Likewise.
81205         * conform/Makefile: Likewise.
81206         * nss/Makefile: Likewise.
81207         * time/Makefile: Likewise.
81208         * soft-fp/Makefile: Likewise.
81209         * dirent/Makefile: Likewise.
81210         * gmon/Makefile: Likewise.
81211         * po/Makefile: Likewise.
81212         * rt/Makefile: Likewise.
81213         * socket/Makefile: Likewise.
81214         * math/Makefile: Likewise.
81215         * signal/Makefile: Likewise.
81216         * debug/Makefile: Likewise.
81217         * elf/Makefile: Likewise.
81218         * timezone/Makefile: Likewise.
81219         * stdlib/Makefile: Likewise.
81220         * iconvdata/Makefile: Likewise.
81221         * sunrpc/Makefile: Likewise.
81222         * io/Makefile: Likewise.
81223         * argp/Makefile: Likewise.
81224         * inet/Makefile: Likewise.
81225         * hesiod/Makefile: Likewise.
81226         * grp/Makefile: Likewise.
81227         * csu/Makefile: Likewise.
81228         * wctype/Makefile: Likewise.
81229         * crypt/Makefile: Likewise.
81230         * libio/Makefile: Likewise.
81231         * string/Makefile: Likewise.
81232         * nis/Makefile: Likewise.
81233         * resolv/Makefile: Likewise.
81234         * stdio-common/Makefile: Likewise.
81235         * wcsmbs/Makefile: Likewise.
81236         * dlfcn/Makefile: Likewise.
81237         * posix/Makefile: Likewise.
81239         [BZ #6959]
81240         * timezone/Makefile: Don't install timezone files, just the programs
81241         and scripts.
81243 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
81245         * nss/databases.def: Add missing gshadow entry.
81247         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
81249 2012-03-06  Marek Polacek  <polacek@redhat.com>
81251         [BZ #13726]
81252         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
81253         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
81254         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
81255         * stdio-common/tst-long-dbl-fphex.c: New file.
81257 2012-03-06  David S. Miller  <davem@davemloft.net>
81259         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
81260         (set_obp_int): New function.
81261         (get_obp_int): New function.
81262         (__get_clockfreq_via_dev_openprom): Likewise.
81263         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
81264         Avoid unused variable warnings on 'val' and use builtin_expect.
81265         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
81266         __builtin_expect.
81267         (INLINE_CLONE_SYSCALL): Likewise.
81269 2012-03-05  David S. Miller  <davem@davemloft.net>
81271         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81273 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
81275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81277         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
81278         only for |x| >= 40.
81279         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
81281 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
81283         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
81284         Replace gettimeofday with __vdso_gettimeofday.
81286         * sysdeps/unix/sysv/linux/x86_64/init-first.c
81287         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
81288         __vdso_clock_gettime and __vdso_getcpu.
81290         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
81291         time with __vdso_time.
81293 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
81295         * manual/lang.texi (size_t): Note types to which size_t may be
81296         equivalent with the GNU C Library, but do not describe when
81297         differences between them are significant.
81299 2012-03-05  Andreas Jaeger  <aj@suse.de>
81301         * sysdeps/i386/fpu/libm-test-ulps: Update.
81303 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
81305         [BZ #3976]
81306         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
81307         (__ieee754_pow): Save and restore rounding mode and use
81308         round-to-nearest for main computations.
81309         * math/libm-test.inc (pow_test_tonearest): New function.
81310         (pow_test_towardzero): Likewise.
81311         (pow_test_downward): Likewise.
81312         (pow_test_upward): Likewise.
81313         (main): Call the new functions.
81314         * sysdeps/i386/fpu/libm-test-ulps: Update.
81315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81317         [BZ #3976]
81318         * math/libm-test.inc (cosh_test_tonearest): New function.
81319         (cosh_test_towardzero): Likewise.
81320         (cosh_test_downward): Likewise.
81321         (cosh_test_upward): Likewise.
81322         (sinh_test_tonearest): Likewise.
81323         (sinh_test_towardzero): Likewise.
81324         (sinh_test_downward): Likewise.
81325         (sinh_test_upward): Likewise.
81326         (main): Call the new functions.
81327         * sysdeps/i386/fpu/libm-test-ulps: Update.
81328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81330 2012-03-05  Tom de Vries  <tom@codesourcery.com>
81332         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
81333         default stack guard is set in last bytes.
81334         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
81336 2012-03-05  Kees Cook  <keescook@chromium.org>
81338         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
81340         [BZ #13656]
81341         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
81342         possibly allocate from heap instead of stack.
81343         * stdio-common/bug-vfprintf-nargs.c: New file.
81344         * stdio-common/Makefile (tests): Add nargs overflow test.
81346 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
81348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81350 2012-03-03  Marek Polacek  <polacek@redhat.com>
81352         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
81353         * math/math_private.h: Likewise.
81354         * stdlib/tst-strtod.c: Likewise.
81355         * sysdeps/i386/i486/bits/atomic.h: Likewise.
81356         * sysdeps/x86_64/bits/atomic.h: Likewise.
81358 2012-03-02  David S. Miller  <davem@davemloft.net>
81360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
81361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
81362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
81363         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
81364         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
81365         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
81366         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
81367         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
81369 2012-03-02  Roland McGrath  <roland@hack.frob.com>
81371         [BZ #13792]
81372         * manual/examples/README: New file, says the example source files
81373         can be used under GPL>=2.
81374         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
81375         line containing just "*/".
81376         * manual/examples/add.c: Add copyright header (GPL>=2).
81377         * manual/examples/argp-ex1.c: Likewise.
81378         * manual/examples/argp-ex2.c: Likewise.
81379         * manual/examples/argp-ex3.c: Likewise.
81380         * manual/examples/argp-ex4.c: Likewise.
81381         * manual/examples/atexit.c: Likewise.
81382         * manual/examples/db.c: Likewise.
81383         * manual/examples/dir.c: Likewise.
81384         * manual/examples/dir2.c: Likewise.
81385         * manual/examples/execinfo.c: Likewise.
81386         * manual/examples/filecli.c: Likewise.
81387         * manual/examples/filesrv.c: Likewise.
81388         * manual/examples/fmtmsgexpl.c: Likewise.
81389         * manual/examples/genpass.c: Likewise.
81390         * manual/examples/inetcli.c: Likewise.
81391         * manual/examples/inetsrv.c: Likewise.
81392         * manual/examples/isockad.c: Likewise.
81393         * manual/examples/longopt.c: Likewise.
81394         * manual/examples/memopen.c: Likewise.
81395         * manual/examples/memstrm.c: Likewise.
81396         * manual/examples/mkfsock.c: Likewise.
81397         * manual/examples/mkisock.c: Likewise.
81398         * manual/examples/mygetpass.c: Likewise.
81399         * manual/examples/pipe.c: Likewise.
81400         * manual/examples/popen.c: Likewise.
81401         * manual/examples/rprintf.c: Likewise.
81402         * manual/examples/search.c: Likewise.
81403         * manual/examples/select.c: Likewise.
81404         * manual/examples/setjmp.c: Likewise.
81405         * manual/examples/sigh1.c: Likewise.
81406         * manual/examples/sigusr.c: Likewise.
81407         * manual/examples/stpcpy.c: Likewise.
81408         * manual/examples/strdupa.c: Likewise.
81409         * manual/examples/strftim.c: Likewise.
81410         * manual/examples/strncat.c: Likewise.
81411         * manual/examples/subopt.c: Likewise.
81412         * manual/examples/swapcontext.c: Likewise.
81413         * manual/examples/termios.c: Likewise.
81414         * manual/examples/testopt.c: Likewise.
81415         * manual/examples/testpass.c: Likewise.
81416         * manual/examples/timeval_subtract.c: Likewise.
81418         [BZ #13792]
81419         * manual/time.texi (Elapsed Time): Move timeval_subtract example
81420         function to ...
81421         * manual/timeval_subtract.c.texi: ... here, new file.
81423 2012-03-02  David S. Miller  <davem@davemloft.net>
81425         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
81427 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
81429         [BZ #3976]
81430         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
81431         (__sin): Save and restore rounding mode and use round-to-nearest
81432         for all computations.
81433         (__cos): Save and restore rounding mode and use round-to-nearest
81434         for all computations.
81435         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
81436         <fenv.h>.
81437         (tan): Save and restore rounding mode and use round-to-nearest for
81438         all computations.
81439         * math/libm-test.inc (cos_test_tonearest): New function.
81440         (cos_test_towardzero): Likewise.
81441         (cos_test_downward): Likewise.
81442         (cos_test_upward): Likewise.
81443         (sin_test_tonearest): Likewise.
81444         (sin_test_towardzero): Likewise.
81445         (sin_test_downward): Likewise.
81446         (sin_test_upward): Likewise.
81447         (tan_test_tonearest): Likewise.
81448         (tan_test_towardzero): Likewise.
81449         (tan_test_downward): Likewise.
81450         (tan_test_upward): Likewise.
81451         (main): Call the new functions.
81452         * sysdeps/i386/fpu/libm-test-ulps: Update.
81453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81455         [BZ #10135]
81456         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
81457         small n, then large n, before computing and testing k+n.
81458         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
81459         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
81460         Likewise.
81461         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
81462         Likewise.
81463         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
81464         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
81465         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
81466         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
81467         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
81468         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
81469         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
81470         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
81471         * math/libm-test.inc (scalbn_test): Add more tests.
81472         (scalbln_test): Likewise.
81474         * manual/filesys.texi (mode_t): Describe constraints on size and
81475         signedness, not exact equivalence to a particular type.
81476         (ino_t): Likewise.
81477         (ino64_t): Likewise.
81478         (dev_t): Likewise.
81479         (nlink_t): Likewise.
81480         (blkcnt_t): Likewise.
81481         (blkcnt64_t): Likewise.
81482         * manual/llio.texi (off_t): Likewise.
81484         [BZ #3976]
81485         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
81486         (__ieee754_exp): Save and restore rounding mode and use
81487         round-to-nearest for all computations.
81488         * math/libm-test.inc (exp_test_tonearest): New function.
81489         (exp_test_towardzero): Likewise.
81490         (exp_test_downward): Likewise.
81491         (exp_test_upward): Likewise.
81492         (main): Call the new functions.
81493         * sysdeps/i386/fpu/libm-test-ulps: Update.
81494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81496 2012-03-01  Chris Demetriou  <cgd@google.com>
81498         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
81499         have predictable order.
81501 2012-03-01  David S. Miller  <davem@davemloft.net>
81503         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
81505         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
81506         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
81507         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
81508         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
81510         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
81511         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
81512         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
81513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
81514         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
81515         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
81516         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
81517         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
81518         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
81520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81522         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
81523         * sysdeps/sparc/fpu/libm-test-ulps: to here.
81524         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
81526         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
81527         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
81528         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
81529         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
81530         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
81531         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
81532         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
81533         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81534         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
81535         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
81536         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
81537         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81538         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
81539         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
81540         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
81541         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81542         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
81543         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
81544         * sysdeps/sparc/elf/configure: Regenerated.
81546 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
81548         * configure.in (AS, LD): Require binutils 2.20 or later.
81549         * configure: Regenerated.
81550         * manual/install.texi (Tools for Compilation): Give binutils 2.20
81551         as required minimum version.
81552         * INSTALL: Regenerated.
81554         [BZ #2541]
81555         [BZ #4108]
81556         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
81557         before squaring exponent.
81558         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
81559         bottom long double and 27 bits of top long double before squaring
81560         exponent.
81561         * math/libm-test.inc (erfc_test): Add more tests.
81562         * sysdeps/i386/fpu/libm-test-ulps: Update.
81563         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81566 2012-03-01  Kai Tietz  <ktietz@redhat.com>
81568         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
81569         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
81570         containing bit-fields.
81571         * soft-fp/extended.h (_FP_UNION_E): Likewise.
81572         * soft-fp/single.h (_FP_UNION_S): Likewise.
81573         * soft-fp/double.h (_FP_UNION_D): Likewise.
81575 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
81577         [BZ #13786]
81578         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
81579         not include ../strcmp.S.
81580         [USE_AS_STRNCASECMP_L]: Likewise.
81581         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
81582         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
81583         * sysdeps/i386/i686/multiarch/strncase_l-c.c
81584         (__strncasecmp_l_ia32): Define as alias to
81585         __strncasecmp_l_nonascii.
81587         [BZ #5794]
81588         * math/libm-test.inc (expm1_test): Add test for bug 5794.
81589         * sysdeps/i386/fpu/libm-test-ulps: Update.
81590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81592         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
81593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81595 2012-02-29  Jeff Law  <law@redhat.com>
81597         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
81598         out of bounds read.
81600 2012-02-29  Marek Polacek  <polacek@redhat.com>
81602         [BZ #13706]
81603         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
81604         * elf/Makefile: Add rules to run tst-unused-dep.out.
81606 2012-02-28  David S. Miller  <davem@davemloft.net>
81608         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
81609         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
81610         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
81611         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
81612         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
81613         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
81615 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
81617         * math/libm-test.inc (llround_test): Move one test from
81618         lround_test.  Use TEST_f_L in moved test.
81619         (lround_test): Move misplaced test to llround_test.  Add testcase
81620         from bug 2561.
81622 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
81624         * sysdeps/x86_64/fpu/e_expf.S: New file.
81625         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
81627 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
81629         [BZ #13637]
81630         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
81631         of remain_len that may cause incomplete multi-byte character and
81632         false match.
81633         * posix/bug-regex33.c: New file.
81634         * posix/Makefile (tests): Add bug-regex33.
81636 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
81638         * manual/macros.texi: New file.
81639         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
81640         * manual/libc.texinfo: Include macros.texi.
81641         * manual/creatute.texi: Likewise.
81642         * manual/install.texi: Likewise.
81643         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
81644         @glibcadj{} in references to the GNU C Library.
81645         * manual/charset.texi: Likewise.
81646         * manual/conf.texi: Likewise.
81647         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
81648         when not using those macros.
81649         * manual/creature.texi: Likewise.
81650         * manual/crypt.texi: Likewise.
81651         * manual/errno.texi: Likewise.
81652         * manual/filesys.texi: Likewise.
81653         * manual/header.texi: Likewise.
81654         * manual/install.texi: Likewise.
81655         * manual/intro.texi: Likewise.
81656         * manual/io.texi: Likewise.
81657         * manual/job.texi: Likewise.
81658         * manual/lang.texi: Likewise.
81659         * manual/libc.texiinfo: Likewise.
81660         * manual/llio.texi: Likewise.
81661         * manual/locale.texi: Likewise.
81662         * manual/maint.texi: Likewise.
81663         * manual/math.texi: Likewise.
81664         * manual/memory.texi: Likewise.
81665         * manual/message.texi: Likewise.
81666         * manual/nss.texi: Likewise.
81667         * manual/pattern.texi: Likewise.
81668         * manual/process.texi: Likewise.
81669         * manual/resource.texi: Likewise.
81670         * manual/search.texi: Likewise.
81671         * manual/setjmp.texi: Likewise.
81672         * manual/signal.texi: Likewise.
81673         * manual/socket.texi: Likewise.
81674         * manual/startup.texi: Likewise.
81675         * manual/stdio.texi: Likewise.
81676         * manual/string.texi: Likewise.
81677         * manual/sysinfo.texi: Likewise.
81678         * manual/syslog.texi: Likewise.
81679         * manual/terminal.texi: Likewise.
81680         * manual/time.texi: Likewise.
81681         * manual/users.texi: Likewise.
81682         * INSTALL: Regenerated.
81683         * NOTES: Regenerated.
81684         * sysdeps/gnu/errlist.c: Regenerated.
81686 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
81688         * include/dirent.h: Include <dirstream.h> before
81689         <dirent/dirent.h>.
81691 2012-02-28  David S. Miller  <davem@davemloft.net>
81693         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
81694         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
81695         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
81696         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
81698 2012-02-27  David S. Miller  <davem@davemloft.net>
81700         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
81701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
81702         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
81703         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
81705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
81706         frame pointer instead of stack pointer relative arg slot.
81707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
81708         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
81709         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
81711 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
81713         [BZ #3992]
81714         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
81716 2012-02-27  David S. Miller  <davem@davemloft.net>
81718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
81719         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
81720         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
81721         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
81722         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
81723         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
81724         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
81725         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
81727 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
81729         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
81730         later.  Allow versions 5-9.
81731         * configure: Regenerated.
81732         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
81733         required minimum version and 4.6 as recommended version.  Do not
81734         mention bugs in GCC 2.7 and 2.8.
81735         * INSTALL: Regenerated.
81737 2012-02-27  David S. Miller  <davem@davemloft.net>
81739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
81740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
81741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
81742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
81743         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
81744         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
81745         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
81746         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
81748         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
81749         manipulate bits before adding and subtracting TWO112[sx].
81750         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
81752 2012-02-27  Roland McGrath  <roland@hack.frob.com>
81754         [BZ #13775]
81755         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
81756         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
81757         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
81758         being in POSIX, because they are in 1003.1-2008.
81760         * rt/tst-aio.c: Include <fcntl.h>.
81761         * rt/tst-aio7.c: Likewise.
81762         * rt/tst-aio64.c: Likewise.
81764         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
81766 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
81768         * manual/install.texi (--with-headers): Describe headers as
81769         interface headers, not private headers.
81770         (Specific advice for GNU/Linux systems): Describe use of headers
81771         from "make headers_install", not private headers from older
81772         kernels.
81773         * INSTALL: Regenerated.
81774         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
81775         Change to 2.6.19.
81776         * sysdeps/unix/sysv/linux/configure: Regenerated.
81778         * manual/llio.texi (fclean): Remove documentation.
81780         * manual/Makefile (libc-texi-generated): New variable.  Include
81781         version.texi.
81782         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
81783         $(libc-texi-generated), not duplicated list of files.
81784         (version.texi, stamp-version): New rules.
81785         (realclean): Remove $(libc-texi-generated), not individual files
81786         from that list.  Do not remove dir-add.texinfo.
81787         * manual/libc.texinfo: Comment out uses of edition numbers and
81788         references to printed manual.  Remove last-updated dates.
81789         (EDITION): Comment out.
81790         (ISBN): Likewise.
81791         (VERSION, UPDATED): Remove.
81792         (version.texi): Include.
81794 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
81796         * sysdeps/posix/spawni.c: Include <signal.h>.
81797         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
81798         * sysdeps/pthread/aio_fsync.c: Likewise.
81800 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
81802         * conform/Makefile (tests): Run only when not cross-compiling and
81803         when fast-check is not defined.
81805         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
81806         * conform/data/limits.h-data: Fixes for POSIX2008.
81807         * conform/run-conformtest.sh: Run all tests.
81808         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
81809         headers.
81810         * include/bits/dlfcn.h: Likewise.
81811         * include/langinfo.h: Likewise.
81812         * include/monetary.h: Likewise.
81813         * include/sys/poll.h: Likewise.
81815         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
81816         for __USE_GNU.
81817         * posix/spawn.h: Define __need_sigset_t.
81818         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
81819         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
81820         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
81821         to get sigevent_t only.
81822         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
81823         only for __USE_GNU.
81824         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81825         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
81826         process_vm_writev only for __USE_GNU.
81827         * termios/termios.h: Declare tcgetsid also for POSIX2008.
81829         * conform/Makefile: For now ignore errors from run-conformtest.
81830         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
81831         POSIX to avoid namespace pollution.  Don't prepend headers.
81832         * conform/data/aio.h-data: Fixes for POSIX testing.
81833         * conform/data/fcntl.h-data: Likewise.
81834         * conform/data/glob.h-data: Likewise.
81835         * conform/data/grp.h-data: Likewise.
81836         * conform/data/pthread.h-data: Likewise.
81837         * conform/data/pwd.h-data: Likewise.
81838         * conform/data/signal.h-data: Likewise.
81839         * conform/data/spawn.h-data: Likewise.
81840         * conform/data/stdio.h-data: Likewise.
81841         * conform/data/stdlib.h-data: Likewise.
81842         * conform/data/stropts.h-data: Likewise.
81843         * conform/data/sys/mman.h-data: Likewise.
81844         * conform/data/sys/stat.h-data: Likewise.
81845         * conform/data/sys/types.h-data: Likewise.
81846         * conform/data/sys/wait.h-data: Likewise.
81847         * conform/data/time.h-data: Likewise.
81848         * conform/data/unistd.h-data: Likewise.
81849         * conform/data/utime.h-data: Likewise.
81851         * io/sys/stat.h: fchmod was always in POSIX.
81852         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
81853         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
81854         * rt/aio.h: Define __need_timespec before including <time.h>.
81855         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
81856         struct.  Add forward declaration of pthread_attr_t and use it in
81857         sigevent.
81858         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
81859         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
81860         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
81861         always remove CLK_TCK definition.
81863 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
81865         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
81867 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
81869         * conform/run-conformtest.sh: New file.
81870         * conform/Makefile: Run run-conformtest for tests.
81871         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
81872         support.
81874         * conform/data/uchar.h-data: New file.
81875         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
81876         * conform/data/arpa/inet.h-data: Likewise.
81877         * conform/data/assert.h-data: Likewise.
81878         * conform/data/complex.h-data: Likewise.
81879         * conform/data/cpio.h-data: Likewise.
81880         * conform/data/ctype.h-data: Likewise.
81881         * conform/data/dirent.h-data: Likewise.
81882         * conform/data/dlfcn.h-data: Likewise.
81883         * conform/data/errno.h-data: Likewise.
81884         * conform/data/fcntl.h-data: Likewise.
81885         * conform/data/float.h-data: Likewise.
81886         * conform/data/fmtmsg.h-data: Likewise.
81887         * conform/data/fnmatch.h-data: Likewise.
81888         * conform/data/ftw.h-data: Likewise.
81889         * conform/data/glob.h-data: Likewise.
81890         * conform/data/grp.h-data: Likewise.
81891         * conform/data/iconv.h-data: Likewise.
81892         * conform/data/inttypes.h-data: Likewise.
81893         * conform/data/langinfo.h-data: Likewise.
81894         * conform/data/libgen.h-data: Likewise.
81895         * conform/data/limits.h-data: Likewise.
81896         * conform/data/locale.h-data: Likewise.
81897         * conform/data/math.h-data: Likewise.
81898         * conform/data/monetary.h-data: Likewise.
81899         * conform/data/mqueue.h-data: Likewise.
81900         * conform/data/ndbm.h-data: Likewise.
81901         * conform/data/net/if.h-data: Likewise.
81902         * conform/data/netdb.h-data: Likewise.
81903         * conform/data/netinet/in.h-data: Likewise.
81904         * conform/data/nl_types.h-data: Likewise.
81905         * conform/data/poll.h-data: Likewise.
81906         * conform/data/pthread.h-data: Likewise.
81907         * conform/data/pwd.h-data: Likewise.
81908         * conform/data/regex.h-data: Likewise.
81909         * conform/data/sched.h-data: Likewise.
81910         * conform/data/search.h-data: Likewise.
81911         * conform/data/semaphore.h-data: Likewise.
81912         * conform/data/setjmp.h-data: Likewise.
81913         * conform/data/signal.h-data: Likewise.
81914         * conform/data/spawn.h-data: Likewise.
81915         * conform/data/stdarg.h-data: Likewise.
81916         * conform/data/stdio.h-data: Likewise.
81917         * conform/data/stdlib.h-data: Likewise.
81918         * conform/data/string.h-data: Likewise.
81919         * conform/data/strings.h-data: Likewise.
81920         * conform/data/stropts.h-data: Likewise.
81921         * conform/data/sys/ipc.h-data: Likewise.
81922         * conform/data/sys/mman.h-data: Likewise.
81923         * conform/data/sys/msg.h-data: Likewise.
81924         * conform/data/sys/resource.h-data: Likewise.
81925         * conform/data/sys/select.h-data: Likewise.
81926         * conform/data/sys/sem.h-data: Likewise.
81927         * conform/data/sys/shm.h-data: Likewise.
81928         * conform/data/sys/socket.h-data: Likewise.
81929         * conform/data/sys/stat.h-data: Likewise.
81930         * conform/data/sys/statvfs.h-data: Likewise.
81931         * conform/data/sys/time.h-data: Likewise.
81932         * conform/data/sys/timeb.h-data: Likewise.
81933         * conform/data/sys/times.h-data: Likewise.
81934         * conform/data/sys/types.h-data: Likewise.
81935         * conform/data/sys/uio.h-data: Likewise.
81936         * conform/data/sys/un.h-data: Likewise.
81937         * conform/data/sys/utsname.h-data: Likewise.
81938         * conform/data/sys/wait.h-data: Likewise.
81939         * conform/data/syslog.h-data: Likewise.
81940         * conform/data/tar.h-data: Likewise.
81941         * conform/data/termios.h-data: Likewise.
81942         * conform/data/utime.h-data: Likewise.
81943         * conform/data/utmpx.h-data: Likewise.
81944         * conform/data/varargs.h-data: Likewise.
81945         * conform/data/wchar.h-data: Likewise.
81946         * conform/data/wctype.h-data: Likewise.
81947         * conform/data/wordexp.h-data: Likewise.
81949         * include/stropts.h: New file.
81950         * include/uchar.h: New file.
81951         * include/aio.h: Changes to allow conformtest.pl to use the headers.
81952         * include/assert.h: Likewise.
81953         * include/ctype.h: Likewise.
81954         * include/dirent.h: Likewise.
81955         * include/dlfcn.h: Likewise.
81956         * include/fcntl.h: Likewise.
81957         * include/fnmatch.h: Likewise.
81958         * include/glob.h: Likewise.
81959         * include/grp.h: Likewise.
81960         * include/libio.h: Likewise.
81961         * include/locale.h: Likewise.
81962         * include/math.h: Likewise.
81963         * include/net/if.h: Likewise.
81964         * include/netdb.h: Likewise.
81965         * include/netinet/in.h: Likewise.
81966         * include/pthread.h: Likewise.
81967         * include/pwd.h: Likewise.
81968         * include/regex.h: Likewise.
81969         * include/sched.h: Likewise.
81970         * include/search.h: Likewise.
81971         * include/setjmp.h: Likewise.
81972         * include/signal.h: Likewise.
81973         * include/stdio.h: Likewise.
81974         * include/stdlib.h: Likewise.
81975         * include/string.h: Likewise.
81976         * include/sys/cdefs.h: Likewise.
81977         * include/sys/mman.h: Likewise.
81978         * include/sys/msg.h: Likewise.
81979         * include/sys/resource.h: Likewise.
81980         * include/sys/select.h: Likewise.
81981         * include/sys/socket.h: Likewise.
81982         * include/sys/stat.h: Likewise.
81983         * include/sys/statvfs.h: Likewise.
81984         * include/sys/time.h: Likewise.
81985         * include/sys/times.h: Likewise.
81986         * include/sys/uio.h: Likewise.
81987         * include/sys/utsname.h: Likewise.
81988         * include/sys/wait.h: Likewise.
81989         * include/termios.h: Likewise.
81990         * include/time.h: Likewise.
81991         * include/ulimit.h: Likewise.
81992         * include/unistd.h: Likewise.
81993         * include/utime.h: Likewise.
81994         * include/wchar.h: Likewise.
81995         * include/wctype.h: Likewise.
81996         * include/wordexp.h: Likewise.
81998         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
82000         * time/time.h: TIME_UTC must be a macro.
82001         Make timespec_get available for ISO C11 only as well.
82003 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
82005         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
82006         Reported by Peng Haitao <penght@cn.fujitsu.com>.
82008 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82010         * configure.in: Use -o not -a in test for unsupported multi-arch.
82012 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82014         * manual/texinfo.tex: Update to version 2012-01-19.16.
82016 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82018         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
82020 2012-02-24  Roland McGrath  <roland@hack.frob.com>
82022         [BZ #13738]
82023         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
82024         * manual/fdl-1.3.texi: New file.
82025         * manual/fdl-1.1.texi: File removed.
82027         [BZ #13738]
82028         * manual/libc.texinfo (FDL_VERSION): New @set.
82029         Use it for mention of FDL in cover text.
82030         (Documentation License): Use it in @include file name.
82032 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82033             Roland McGrath  <roland@hack.frob.com>
82035         [BZ #5461]
82036         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
82037         (not LONG_LONG_MAX and LONG_LONG_MIN.
82038         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
82039         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
82040         name.
82041         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
82043 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82045         [BZ #2547]
82046         [BZ #11365]
82047         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
82048         manipulate bits before adding and subtracting TWO23[sx].
82049         * math/libm-test.inc (nearbyint_test): Add more tests.
82051 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82053         [BZ #2548]
82054         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
82055         bits before adding and subtracting TWO23[sx].
82056         * math/libm-test.inc (rint_test): Add more tests.
82057         (rint_test_tonearest): Likewise.
82058         (rint_test_towardzero): Likewise.
82059         (rint_test_downward): Likewise.
82060         (rint_test_upward: Likewise.
82062 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82064         [BZ #10110]
82065         * include/stdc-predef.h: New file.  Extracted from features.h.
82066         * include/features.h: Include stdc-predef.h.
82067         * Makefile (headers): Add stdc-predef.h.
82068         * CONFORMANCE (Compiler limitations): Update.
82070 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82072         * manual/libc.texinfo (VERSION, UPDATED): Revert.
82074 2012-02-21  David S. Miller  <davem@davemloft.net>
82076         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
82077         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
82079 2012-02-20  David S. Miller  <davem@davemloft.net>
82081         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
82082         using a normal save/restore sequence, rather than allocating a
82083         dummy stack frame just to store a frame pointer and restore.
82084         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82086 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82088         * manual/install.texi: Fix stray word in line-wrapped comment.
82090 2012-02-20  David S. Miller  <davem@davemloft.net>
82092         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
82093         both binutils and gcc support GOTDATA.
82095         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
82096         "rd %pc" in the PIC register setup sequences.
82098         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
82099         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
82100         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
82101         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
82102         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
82103         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
82104         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82105         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82106         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
82107         (SYSCALL_ERROR_HANDLER): Likewise.
82108         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
82109         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
82110         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
82111         (SYSCALL_ERROR_HANDLER): Likewise.
82113         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
82114         (HAVE_GCC_GOTDATA): New.
82115         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
82116         relocation support in both binutils and gcc.
82117         * sysdeps/sparc/elf/configure: Regenerate.
82119         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
82120         * sysdeps/sparc/sparc32/elf/configure: Delete.
82121         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
82122         * sysdeps/sparc/sparc64/elf/configure: Delete.
82123         * sysdeps/sparc/elf/configure.in: New file.
82124         * sysdeps/sparc/elf/configure: Generate.
82126         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
82127         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
82128         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
82129         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
82130         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
82132 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82134         * manual/install.texi: Do not mention specific glibc version
82135         numbers.
82136         * manual/libc.texinfo (VERSION, UPDATED): Update.
82137         (@copying): Use @copyright{} and range of years.
82139 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82141         [BZ #13695]
82142         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
82143         [crti.S not in sysdirs] (generated): Do not append.
82144         [crti.S not in sysdirs] (omit-deps): Likewise.
82145         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
82146         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
82147         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
82148         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
82149         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
82150         Likewise.
82151         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
82152         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
82153         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
82154         * csu/defs.awk: Remove file.
82155         * sysdeps/generic/initfini.c: Likewise.
82156         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
82157         variable.
82158         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
82159         Likewise.
82161 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82163         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
82164         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
82165         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
82166         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
82167         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82168         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
82169         <bits/epoll.h>.
82170         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
82171         (__EPOLL_PACKED): Define to empty if not defined by
82172         <bits/epoll.h>.
82173         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
82174         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82175         bits/epoll.h.
82177 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82179         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
82180         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
82181         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
82182         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
82183         <bits/timerfd.h>.
82184         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
82185         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82186         bits/timerfd.h.
82188 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82190         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
82191         in C locale.
82192         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
82193         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
82194         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
82195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82197 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
82199         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82200         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
82202 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
82204         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
82205         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
82206         defined.
82207         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
82208         Likewise.
82209         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
82210         entry for 2.16.
82212 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
82214         * math/w_acos.c: Use non-signaling floating-point comparisons.
82215         * math/w_acosf.c: Likewise.
82216         * math/w_acosh.c: Likewise.
82217         * math/w_acoshf.c: Likewise.
82218         * math/w_acoshl.c: Likewise.
82219         * math/w_acosl.c: Likewise.
82220         * math/w_asin.c: Likewise.
82221         * math/w_asinf.c: Likewise.
82222         * math/w_asinl.c: Likewise.
82223         * math/w_atanh.c: Likewise.
82224         * math/w_atanhf.c: Likewise.
82225         * math/w_atanhl.c: Likewise.
82226         * math/w_exp2.c: Likewise.
82227         * math/w_exp2f.c: Likewise.
82228         * math/w_exp2l.c: Likewise.
82229         * math/w_j0.c: Likewise.
82230         * math/w_j0f.c: Likewise.
82231         * math/w_j0l.c: Likewise.
82232         * math/w_j1.c: Likewise.
82233         * math/w_j1f.c: Likewise.
82234         * math/w_j1l.c: Likewise.
82235         * math/w_jn.c: Likewise.
82236         * math/w_jnf.c: Likewise.
82237         * math/w_log.c: Likewise.
82238         * math/w_log10.c: Likewise.
82239         * math/w_log10f.c: Likewise.
82240         * math/w_log10l.c: Likewise.
82241         * math/w_log2.c: Likewise.
82242         * math/w_log2f.c: Likewise.
82243         * math/w_log2l.c: Likewise.
82244         * math/w_logf.c: Likewise.
82245         * math/w_logl.c: Likewise.
82246         * math/w_sqrt.c: Likewise.
82247         * math/w_sqrtf.c: Likewise.
82248         * math/w_sqrtl.c: Likewise.
82249         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82250         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
82251         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82252         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
82253         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
82255 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82257         [BZ #9739]
82258         * manual/string.texi (strnlen): Use correct parameter name in
82259         equivalent expression.
82261 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82263         [BZ #11174]
82264         * manual/users.texi (seteuid): Consistently use neweuid for
82265         argument name.
82267 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82269         [BZ #13704]
82270         * manual/nss.texi (Services in the NSS configuration): Correct
82271         list of services in example configuration file.
82273 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
82275         [BZ #11322]
82276         * manual/arith.texi: Remove statements about negative zero
82277         behaving identically to zero.
82279 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
82281         [BZ #5993]
82282         * manual/install.texi: Do not document upgrading from libc5.
82284 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
82286         [BZ #4596]
82287         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
82289 2012-02-18  David S. Miller  <davem@davemloft.net>
82291         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
82292         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
82293         %o7 across the call.
82294         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
82295         instead.
82296         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
82297         SETUP_PIC_REG_LEAF.
82298         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82299         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
82300         * sysdeps/sparc/crtn.S: Likewise.
82302 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
82304         * aout/Makefile: Remove.
82306 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
82308         [BZ #13058]
82309         * manual/examples/argp-ex1.c (main): Format definition in GNU
82310         style.
82311         * manual/examples/argp-ex2.c (main): Likewise.
82312         * manual/examples/argp-ex3.c (main): Likewise.
82313         * manual/examples/argp-ex4.c (main): Likewise.
82314         * manual/examples/longopt.c (main): Use new-style prototype
82315         definition.
82316         * manual/examples/strncat.c (main): Specify return type and use
82317         (void) for arguments.
82318         * manual/examples/subopt.c (main): Use char **argv argument.
82320 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82322         [BZ #5077]
82323         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
82324         rounding modes.
82326 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
82328         [BZ #6907]
82329         * manual/string.texi (strchr): Change when strchrnul is
82330         recommended.
82332 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
82334         [BZ #174]
82335         * manual/locale.texi (setlocale): Document LOCPATH.
82337 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82339         [BZ #10210]
82340         * manual/process.texi (execle): Move @dots{} before last argument.
82342 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
82344         [BZ #12047]
82345         * manual/charset.texi (Generic Charset Conversion): Fix typo
82346         (LC_TYPE -> LC_CTYPE).
82348 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
82350         [BZ #5805]
82351         * manual/arith.texi (scalbn): Use @var{} on parameter names.
82352         (scalbnf): Likewise.
82353         (scalbnl): Likewise.
82354         (scalbln): Likewise.
82355         (scalblnf): Likewise.
82356         (scalblnl): Likewise.
82357         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
82358         (vwarnx): Likewise.
82359         (verr): Likewise.
82360         (verrx): Likewise.
82361         * manual/filesys.texi (telldir): Use braces around return type.
82362         * manual/llio.texi (mmap): Add space after comma.
82363         (mmap64): Likewise.
82364         * manual/math.texi (jn): Use @var{} on parameter names.
82365         (jnf): Likewise.
82366         (jnl): Likewise.
82367         (yn): Likewise.
82368         (ynf): Likewise.
82369         (ynl): Likewise.
82370         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
82371         line.
82372         * manual/resource.texi (ulimit): Use @dots{} instead of literal
82373         "...".
82374         (sched_get_priority_min): Remove semicolon on @deftypefun line.
82375         (sched_get_priority_max): Likewise.
82376         * manual/signal.texi (sigvec): Add space after comma.
82377         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
82378         names.
82379         (if_indextoname): Likewise.
82380         (if_freenameindex): Likewise.
82381         (sendto): Use ',' instead of '.' in prototype.
82382         * manual/startup.texi (syscall): Use @dots{} instead of literal
82383         "...".
82384         * manual/stdio.texi (__fpending): Separate initial words of
82385         paragraph from @deftypefun line.
82386         * manual/syslog.texi (syslog): Use @dots{} instead of literal
82387         "...".
82388         (vsyslog): Use @var{} on parameter names.
82389         * manual/terminal.texi (stty): Use @var{} on parameter names.
82390         * manual/users.texi (getutmp): Use @var{} on parameter names.
82391         (getutmpx): Likewise.
82393 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82395         [BZ #6884]
82396         * manual/stdio.texi (fopen): Fix typos in description of
82397         ",ccs=STRING".
82399 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
82401         [BZ #4026]
82402         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
82403         get clock_id definition.
82405 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
82407         [BZ #4822]
82408         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
82409         (madvise): Cast every argument to void on its own.
82411 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82413         [BZ #9902]
82414         * manual/startup.texi (Exit Status): Fix typo.
82416 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82418         [BZ #10140]
82419         * manual/examples/argp-ex1.c: Include <stdlib.h>.
82420         * manual/examples/argp-ex2.c: Likewise.
82421         * manual/examples/argp-ex3.c: Likewise.
82423 2012-02-16  Richard Henderson  <rth@redhat.com>
82425         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
82426         * sysdeps/s390/s390-32/initfini.c: Remove.
82427         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
82428         * sysdeps/s390/s390-64/initfini.c: Remove.
82430 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
82432         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
82433         compiler output for sysdeps/generic/initfini.c.
82434         * sysdeps/sh/elf/initfini.c: Remove file.
82436 2012-02-16  David S. Miller  <davem@davemloft.net>
82438         [BZ #11494]
82439         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
82441         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
82442         * sysdeps/sparc/crti.S: New file.
82443         * sysdeps/sparc/crtn.S: New file.
82444         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
82445         * sysdeps/sparc/sparc64/Makefile: Likewise.
82447 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
82449         [BZ #3335]
82450         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
82452 2012-02-15  Roland McGrath  <roland@hack.frob.com>
82454         [BZ #4822]
82455         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
82457         * mach/devstream.c (cookie_io_functions_t): Macro removed.
82458         (write, read, close): Likewise.
82459         Patch by Aurelien Jarno <aurelien@aurel32.net>.
82461 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
82463         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
82464         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
82465         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
82466         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
82467         <bits/signalfd.h>.
82468         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
82469         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82470         bits/signalfd.h.
82472 2012-02-14  Marek Polacek  <polacek@redhat.com>
82474         * sysdeps/x86_64/crti.S: New file.
82475         * sysdeps/x86_64/crtn.S: New file.
82476         * sysdeps/x86_64/elf/initfini.c: Remove file.
82478 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
82480         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
82481         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
82482         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
82483         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
82484         <bits/inotify.h>.
82485         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
82486         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82487         bits/inotify.h.
82489 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
82491         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
82492         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
82493         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
82494         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
82495         <bits/eventfd.h>.
82496         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
82497         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82498         bits/eventfd.h.
82500 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
82502         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
82503         __feraiseexcept instead of feraiseexcept.
82505         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
82506         nanosleep invocations.
82507         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
82508         strings, and add error checking for a nanosleep invocations.
82510 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
82512         Replace FSF snail mail address with URLs, as per GNU coding standards.
82513         Most of the snail mail addresses were wrong anyway, and omitting
82514         them makes the source code easier to maintain.  Almost all of the
82515         changes are to license notices and to locale LC_IDENTIFICATION
82516         addresses, except for this one:
82517         * manual/libc.texinfo: In "Published by", give the FSF's URL,
82518         not its snail mail address.
82520 2012-02-09  Richard Henderson  <rth@twiddle.net>
82522         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
82523         of kernel-features.h.
82525         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
82527 2012-02-08  Marek Polacek  <polacek@redhat.com>
82529         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
82530         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
82531         * sysdeps/gnu/_G_config.h: Likewise.
82532         * sysdeps/generic/_G_config.h: Likewise.
82534 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
82536         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
82537         tests.
82538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82540         * sysdeps/powerpc/powerpc32/crti.S: New file.
82541         * sysdeps/powerpc/powerpc32/crtn.S: New file.
82542         * sysdeps/powerpc/powerpc64/crti.S: New file.
82543         * sysdeps/powerpc/powerpc64/crtn.S: New file.
82545         * Makeconfig (have-initfini): Don't set.
82546         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
82547         * configure.in (nopic_initfini): Don't substitute.
82548         * config.h.in (HAVE_INITFINI): Don't #undef.
82549         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
82550         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
82552 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
82554         Support crti.S and crtn.S provided directly by architectures.
82555         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
82556         [crti.S in sysdirs] (omit-deps): Likewise.
82557         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
82558         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
82559         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
82560         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
82561         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
82562         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
82563         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
82564         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
82565         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
82566         compiler output for sysdeps/generic/initfini.c.
82567         * sysdeps/i386/elf/Makefile: Remove file.
82568         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
82570 2012-02-07  Marek Polacek  <polacek@redhat.com>
82572         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
82573         * sysdeps/gnu/_G_config.h: Likewise.
82574         * sysdeps/mach/hurd/_G_config.h: Likewise.
82576 2012-02-07  Marek Polacek  <polacek@redhat.com>
82578         * math/Makefile (tests): Add tst-CMPLX2.
82579         * math/tst-CMPLX2.c: New file.
82581 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
82583         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82585         * math/libm-test.inc (jn_test): Add missing L suffix.
82587 2012-02-06  Marek Polacek  <polacek@redhat.com>
82589         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
82590         * sysdeps/i386/fpu/e_powf.S: Likewise.
82591         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
82592         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
82593         * sysdeps/i386/fpu/e_acosh.S: Likewise.
82594         * sysdeps/i386/fpu/e_pow.S: Likewise.
82595         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
82596         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
82597         * sysdeps/i386/fpu/s_expm1.S: Likewise.
82598         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
82599         * sysdeps/i386/fpu/e_log2.S: Likewise.
82600         * sysdeps/i386/fpu/e_log2l.S: Likewise.
82601         * sysdeps/i386/fpu/e_scalb.S: Likewise.
82602         * sysdeps/i386/fpu/e_powl.S: Likewise.
82603         * sysdeps/i386/fpu/s_log1p.S: Likewise.
82604         * sysdeps/i386/fpu/e_log10f.S: Likewise.
82605         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
82606         * sysdeps/i386/fpu/e_logl.S: Likewise.
82607         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
82608         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
82609         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
82610         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
82611         * sysdeps/i386/fpu/e_log2f.S: Likewise.
82612         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
82613         * sysdeps/i386/fpu/e_log.S: Likewise.
82614         * sysdeps/i386/fpu/s_cexp.S: Likewise.
82615         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
82616         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
82617         * sysdeps/i386/fpu/e_logf.S: Likewise.
82618         * sysdeps/i386/fpu/e_log10l.S: Likewise.
82619         * sysdeps/i386/fpu/e_atanh.S: Likewise.
82620         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
82621         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
82622         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
82623         * sysdeps/i386/fpu/e_log10.S: Likewise.
82624         * sysdeps/i386/fpu/s_frexp.S: Likewise.
82625         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
82626         * sysdeps/i386/fpu/s_asinh.S: Likewise.
82627         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
82628         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
82629         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
82630         * sysdeps/i386/asm-syntax.h: Likewise.
82631         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
82632         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82633         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
82634         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
82635         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
82636         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
82637         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
82638         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
82639         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
82640         * sysdeps/powerpc/sysdep.h: Likewise.
82641         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
82642         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
82644 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
82646         [BZ #411]
82647         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
82649 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
82651         * sysdeps/i386/sysdep.h: Include <features.h>.
82652         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
82653         version.
82655 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
82657         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
82658         Define.
82659         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
82660         LOAD_PIC_REG_STR.
82662 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82664         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
82665         (SETUP_PIC_REG): Use GET_PC_THUNK.
82666         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
82667         macro.
82669 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82671         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
82672         for non-PIC compilation.
82673         (SETUP_PIC_REG): Add .p2align directive.
82674         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
82675         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
82676         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
82677         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
82678         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
82679         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
82680         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
82681         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
82682         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
82683         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
82684         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
82685         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
82686         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
82687         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
82688         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
82689         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
82690         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
82691         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
82692         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
82693         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
82694         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
82695         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
82696         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
82697         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
82698         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
82699         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
82700         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
82701         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
82702         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
82703         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
82704         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
82705         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
82706         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
82707         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
82708         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
82709         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
82710         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
82711         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
82712         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
82713         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
82714         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
82716 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82718         * math/tst-CMPLX.c: Include <stdio.h>.
82720 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
82722         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
82723         float.
82724         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
82725         * sysdeps/sparc/bits/mathdef.h: Likewise.
82727 2012-01-31  Marek Polacek  <polacek@redhat.com>
82729         * libio/libio.h: Don't define _PARAMS.
82730         * locale/programs/config.h: Don't define PARAMS.
82731         * stdlib/strtol_l.c: Likewise.
82732         (__strtol_l): Remove PARAMS from the prototype.
82734 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
82736         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
82737         names.  Just use the correct names.  Remove unnecessary wrapper
82738         functions.
82739         * malloc/arena.c: Likewise.
82740         * malloc/hooks.c: Likewise.
82742         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
82743         ARENA_TEST says not to.  Simplify test for creation of a new arena.
82744         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
82746 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
82748         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
82749         into tail calls.
82750         (update_get_addr): New function.
82751         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
82752         GET_ADDR_MODULE parameter.
82754 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
82756         * crypt/cert.c: Remove __STDC__ conditionals.
82757         * crypt/crypt-entry.c: Likewise.
82758         * crypt/crypt_util.c: Likewise.
82759         * libio/filedoalloc.c: Likewise.
82760         * libio/fileops.c: Likewise.
82761         * libio/genops.c: Likewise.
82762         * libio/iofclose.c: Likewise.
82763         * libio/iofdopen.c: Likewise.
82764         * libio/iofopen.c: Likewise.
82765         * libio/iofopen64.c: Likewise.
82766         * libio/iogetdelim.c: Likewise.
82767         * libio/iopopen.c: Likewise.
82768         * libio/obprintf.c: Likewise.
82769         * libio/oldfileops.c: Likewise.
82770         * libio/oldiofclose.c: Likewise.
82771         * libio/oldiofdopen.c: Likewise.
82772         * libio/oldiofopen.c: Likewise.
82773         * libio/oldiopopen.c: Likewise.
82774         * libio/wfiledoalloc.c: Likewise.
82775         * libio/wgenops.c: Likewise.
82776         * locale/programs/xmalloc.c: Likewise.
82777         * misc/syslog.c: Likewise.
82778         * stdio-common/xbug.c: Likewise.
82779         * string/memchr.c: Likewise.
82780         * string/memcmp.c: Likewise.
82781         * string/memrchr.c: Likewise.
82782         * string/rawmemchr.c: Likewise.
82783         * sysdeps/posix/getcwd.c: Likewise.
82784         * time/strftime_l.c: Likewise.
82786 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
82788         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
82789         * config.make.in (config-cflags-sse2avx): Define.
82790         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
82791         Fix typo.
82793 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
82795         * scripts/config.guess: Update from upstream config git repository.
82796         * scripts/config.sub: Likewise.
82798 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
82800         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
82801         (EM_NUM): Update.
82802         (R_TILEPRO_*, R_TILEGX_*): New macros.
82804         * scripts/firstversions.awk: Fix bug in version range handling.
82806         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
82808         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
82810         * include/sys/epoll.h: New file.
82811         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
82812         libc_hidden_def.
82814 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
82816         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
82817         Avoid unnecessary __WORDSIZE == 64 test.
82818         (fmaxf): Use VEX format if possible.
82819         (fmax): Likewise.
82820         (fminf): Likewise.
82821         (fmin): Likewise.
82823         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
82824         * math/math_private.h: Remove libc_fegetround* and
82825         libc_fesetround*.
82826         * sysdeps/i386/configure.in: Check for -msse2avx.
82827         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
82828         also if SSE2AVX is defined.
82829         Remove libc_fegetround* and libc_fesetround*.
82830         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
82831         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
82832         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
82833         of HAS_YMM_USABLE.
82834         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
82835         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
82836         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
82837         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
82838         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
82840         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
82842 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82844         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
82845         size is not set.
82846         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
82848 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
82850         [BZ #13618]
82851         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
82852         relocation.
82853         * Makeconfig (libm): Define.
82854         * elf/Makefile: Add rules to build and run tst-relsort1.
82855         * elf/tst-relsort1.c: New file.
82856         * elf/tst-relsort1mod1.c: New file.
82857         * elf/tst-relsort1mod2.c: New file.
82859 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
82861         * math/s_ldexp.c: Remove __STDC__ conditionals.
82862         * math/s_ldexpf.c: Likewise.
82863         * math/s_ldexpl.c: Likewise.
82864         * math/s_nextafter.c: Likewise.
82865         * math/s_nexttowardf.c: Likewise.
82866         * math/s_significand.c: Likewise.
82867         * math/s_significandf.c: Likewise.
82868         * math/s_significandl.c: Likewise.
82869         * math/w_jnl.c: Likewise.
82870         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
82871         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
82872         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
82873         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
82874         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
82875         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
82876         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
82877         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
82878         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
82879         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
82880         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
82881         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82882         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
82883         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
82884         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
82885         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
82886         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
82887         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
82888         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
82889         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82890         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82891         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
82892         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
82893         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
82894         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
82895         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
82896         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
82897         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
82898         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
82899         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
82900         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
82901         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
82902         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
82903         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
82904         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
82905         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
82906         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
82907         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
82908         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
82909         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
82910         * sysdeps/ieee754/k_standard.c: Likewise.
82911         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82912         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
82913         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
82914         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
82915         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
82916         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
82917         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
82918         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
82919         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
82920         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
82921         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
82922         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
82923         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
82924         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
82925         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
82926         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
82927         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
82928         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
82929         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
82930         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
82931         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
82932         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
82933         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
82934         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
82935         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
82936         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
82937         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82938         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82939         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
82940         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
82941         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
82942         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
82943         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
82944         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
82945         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
82946         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
82947         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
82948         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
82949         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
82950         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
82951         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
82952         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
82953         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
82954         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
82955         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
82956         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
82957         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
82958         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
82959         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
82960         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
82961         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
82962         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
82963         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
82964         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
82965         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
82966         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
82967         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
82968         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82969         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82970         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82971         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
82972         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
82973         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
82974         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
82975         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
82976         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
82977         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
82978         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
82979         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
82980         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
82981         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
82982         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
82983         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
82984         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
82985         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
82986         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
82987         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
82988         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
82989         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
82990         * sysdeps/ieee754/s_matherr.c: Likewise.
82991         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
82992         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
82993         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
82994         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
82996 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
82998         * crypt/md5.h: Remove __STDC__ conditionals.
82999         * libio/libioP.h: Likewise.
83000         * locale/programs/config.h: Likewise.
83001         * sysdeps/generic/sysdep.h: Likewise.
83002         * sysdeps/i386/asm-syntax.h: Likewise.
83003         * sysdeps/s390/asm-syntax.h: Likewise.
83004         * sysdeps/unix/sysdep.h: Likewise.
83005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
83006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
83008 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
83010         * libio/libio.h: Remove __STDC__ conditionals.
83011         * malloc/obstack.h: Likewise.
83012         * math/complex.h: Likewise.
83013         * math/math.h: Likewise.
83014         * sysdeps/generic/_G_config.h: Likewise.
83015         * sysdeps/gnu/_G_config.h: Likewise.
83016         * sysdeps/mach/hurd/_G_config.h: Likewise.
83017         * sysdeps/powerpc/bits/mathdef.h: Likewise.
83018         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
83019         * sysdeps/sparc/bits/mathdef.h: Likewise.
83021 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
83023         [BZ #13583]
83024         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
83025         Clean up HAS_* macros.
83026         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
83027         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
83028         possible.
83029         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
83030         HAS_AVX.
83031         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83032         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83033         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83034         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83035         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83037 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
83039         * elf/tst-unique3.cc (gets): Remove declaration.
83040         * elf/tst-unique3lib.cc (gets): Likewise.
83041         * elf/tst-unique3lib2.cc (gets): Likewise.
83042         * elf/tst-unique4.cc (gets): Likewise.
83044 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
83046         * include/stdio.h: Add C++ protection.  Add gets declarations and
83047         definitions.
83048         * debug/tst-chk1.c: Don't declare gets here.
83049         * stdio-common/tst-gets.c: Likewise.
83051 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
83053         * posix/glob: Remove directory.
83055 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
83057         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
83059 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
83061         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
83062         of the non-standard EPFNOSUPPORT.
83064 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83066         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
83067         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
83068         ANYWHERE set to 1 only on KERN_NO_SPACE error.
83070 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
83072         * wcsmbs/uchar.h: Test __STDC_VERSION__.
83074 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
83076         * nscd/aicache.c (addhstaiX): Do not cache negative results of
83077         transient errors.
83078         * nscd/grpcache.c (cache_addgr): Likewise.
83079         * nscd/hstcache.c (cache_addhst): Likewise.
83080         * nscd/initgrcache.c (addinitgroupsX): Likewise.
83081         * nscd/pwdcache.c (cache_addpw): Likewise.
83082         * nscd/servicescache.c (cache_addserv): Likewise.
83084 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
83086         * malloc/malloc.c: Various cleanups.
83087         * malloc/hooks.c: Likewise.
83089         * stdlib/Makefile (tests): Add bug-fmtmsg1.
83090         * stdlib/bug-fmtmsg1.c: New file.
83092         * stdlib/fmtmsg.c (init): Add missing unlock.
83093         Patch by Peng Haitao <penght@cn.fujitsu.com>.
83095 2012-01-12  Marek Polacek  <polacek@redhat.com>
83097         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
83098         and _GNU_SOURCE.
83100 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
83102         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
83103         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
83104         macro to ensure uniqueness of label name.
83105         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
83106         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
83108 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
83110         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
83112         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
83113         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
83114         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
83115         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
83117 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
83119         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
83121         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
83122         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
83123         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
83125         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
83127         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
83128         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
83129         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
83130         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
83132         * math/bits/math-finite.h: Add ldexp support.
83134 2012-01-10  Marek Polacek  <polacek@redhat.com>
83136         * locale/programs/localedef.h (show_archive_content): Add noreturn
83137         attribute.
83139 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
83141         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
83143 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83145         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
83147         * io/Makefile (headers): Add bits/poll2.h.
83149 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
83151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
83152         typo #include statement.
83154 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83156         * include/sys/cdefs.h: Define __attribute_alloc_size.
83157         * catgets/gencat.c: Add alloc_size attribute and apply consistently
83158         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
83159         * elf/pldd.c: Likewise.
83160         * iconv/iconv_charmap.c: Likewise.
83161         * iconv/iconvconfig.c: Likewise.
83162         * iconv/strtab.c: Likewise.
83163         * locale/programs/locale.c: Likewise.
83164         * locale/programs/localedef.h: Likewise.
83165         * locale/programs/simple-hash.c: Likewise.
83166         * nscd/nscd.h: Likewise.
83167         * nss/makedb.c: Likewise.
83168         * sysdeps/generic/ldconfig.h: Likewise.
83169         * locale/programs/localedef.c: Remove xmalloc prototype.
83170         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
83172 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
83174         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
83175         appropriate.
83177 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83179         * math/Makefile (tests): Add tst-CMPLX.
83180         * math/tst-CMPLX.c: New file.
83182         * math/complex.h (CMPLXL): Fix typo.
83184         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
83185         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
83186         GLIBC_2.16.
83187         * debug/tst-chk1.c: Add poll and ppoll tests.
83188         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
83189         * include/sys/poll.h: Add hidden proto for ppoll.
83190         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
83191         * sysdeps/mach/hurd/ppoll.c: Likewise.
83192         * io/ppoll.c: Likewise.
83193         * debug/poll_chk.c: New file.
83194         * debug/ppoll_chk.c: New file.
83195         * include/bits/poll2.h: New file.
83196         * io/bits/poll2.h: New file.
83198         [BZ #1350]
83199         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
83201         * configure.in: static is always set to yes.  Remove.
83202         * config.make.in: Don't set build-static.
83203         * Makeconfig: Remove use of build-static.
83204         * dlfcn/Makefile: Likewise.
83205         * elf/Makefile: Likewise.
83206         * math/Makefile: Likewise.
83207         * misc/Makefile: Likewise.
83208         * nptl/Makefile: Likewise.
83209         * sysdeps/mach/hurd/Makefile: Likewise.
83211         * configure.in: PWD_P is not used anymore.
83212         * config.make.in: Remove PWD_P entry.
83214         * configure.in: Remove last remnants of RANLIB.
83215         No need to check for signed size_t anymore.
83216         Don't set libc_commonpagesize and libc_relro_required here for Alpha
83217         and IA-64.
83218         Remove __builtin_expect test because we require at least gcc 3.4.
83219         * aclocal.m4: Likewise.
83221         * wcsmbs/mbrtoc16.c: Implement using towc function.
83222         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
83223         * wcsmbs/wcsmbsload.c: Likewise.
83224         * iconv/gconv_simple.c: Likewise.
83225         * iconv/gconv_int.h: Likewise.
83226         * iconv/gconv_builtin.h: Likewise.
83227         * iconv/iconv_prog.c: Remove CHAR16 handling.
83229         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
83231         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
83233         * configure.in: Remove --with-elf and --enable-bounded options.
83234         Dont set base_machine for ia64.  More non-ELF conditions removed.
83235         Remove testing and setting of leading underscore information.
83236         * config.make.in (build-bounded): Set to no.
83237         * config.h.in: Remove NO_UNDERSCORES entry.
83238         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
83239         them.
83240         * csu/start.c: Remove !NO_UNDERSCORE code.
83241         * locale/localeinfo.h: Likewise.
83242         * sysdeps/generic/machine-gmon.h: Likewise.
83243         * sysdeps/generic/sysdep.h: Likewise.
83244         * sysdeps/i386/sysdep.h: Likewise.
83245         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
83246         * sysdeps/mach/sysdep.h: Likewise.
83247         * sysdeps/s390/s390-32/sysdep.h: Likewise.
83248         * sysdeps/s390/s390-64/sysdep.h: Likewise.
83249         * sysdeps/sh/sysdep.h: Likewise.
83250         * sysdeps/sparc/sparc32/alloca.S: Likewise.
83251         * sysdeps/unix/i386/sysdep.S: Likewise.
83252         * sysdeps/unix/sparc/start.c: Likewise.
83253         * sysdeps/unix/sparc/sysdep.S: Likewise.
83254         * sysdeps/unix/sparc/sysdep.h: Likewise.
83255         * sysdeps/unix/start.c: Likewise.
83256         * sysdeps/unix/x86_64/sysdep.S: Likewise.
83257         * sysdeps/x86_64/sysdep.h: Likewise.
83259 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
83261         [BZ #13553]
83262         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
83263         for non-gcc.
83264         * argp/argp-fmtstream.h: Use const instead __const.
83265         * argp/argp.h: Likewise.
83266         * assert/assert.h: Likewise.
83267         * bits/fenv.h: Likewise.
83268         * bits/sched.h: Likewise.
83269         * bits/sigset.h: Likewise.
83270         * bits/sigthread.h: Likewise.
83271         * catgets/nl_types.h: Likewise.
83272         * conform/data/pthread.h-data: Likewise.
83273         * crypt/crypt-private.h: Likewise.
83274         * crypt/crypt.h: Likewise.
83275         * crypt/crypt_util.c: Likewise.
83276         * ctype/ctype.h: Likewise.
83277         * debug/execinfo.h: Likewise.
83278         * debug/mbsnrtowcs_chk.c: Likewise.
83279         * debug/mbsrtowcs_chk.c: Likewise.
83280         * debug/wcsnrtombs_chk.c: Likewise.
83281         * debug/wcsrtombs_chk.c: Likewise.
83282         * debug/wcstombs_chk.c: Likewise.
83283         * dirent/dirent.h: Likewise.
83284         * dlfcn/dlfcn.h: Likewise.
83285         * elf/neededtest4.c: Likewise.
83286         * grp/grp.h: Likewise.
83287         * gshadow/gshadow.h: Likewise.
83288         * iconv/gconv.h: Likewise.
83289         * iconv/gconv_int.h: Likewise.
83290         * iconv/gconv_simple.c: Likewise.
83291         * iconv/iconv.h: Likewise.
83292         * iconv/loop.c: Likewise.
83293         * iconv/skeleton.c: Likewise.
83294         * include/aio.h: Likewise.
83295         * include/aliases.h: Likewise.
83296         * include/argz.h: Likewise.
83297         * include/arpa/inet.h: Likewise.
83298         * include/assert.h: Likewise.
83299         * include/dirent.h: Likewise.
83300         * include/dlfcn.h: Likewise.
83301         * include/execinfo.h: Likewise.
83302         * include/fcntl.h: Likewise.
83303         * include/fenv.h: Likewise.
83304         * include/glob.h: Likewise.
83305         * include/grp.h: Likewise.
83306         * include/libintl.h: Likewise.
83307         * include/mntent.h: Likewise.
83308         * include/netdb.h: Likewise.
83309         * include/pwd.h: Likewise.
83310         * include/rpc/netdb.h: Likewise.
83311         * include/sched.h: Likewise.
83312         * include/search.h: Likewise.
83313         * include/shadow.h: Likewise.
83314         * include/signal.h: Likewise.
83315         * include/stdio.h: Likewise.
83316         * include/stdlib.h: Likewise.
83317         * include/string.h: Likewise.
83318         * include/sys/socket.h: Likewise.
83319         * include/sys/stat.h: Likewise.
83320         * include/sys/statfs.h: Likewise.
83321         * include/sys/statvfs.h: Likewise.
83322         * include/sys/syslog.h: Likewise.
83323         * include/sys/time.h: Likewise.
83324         * include/sys/uio.h: Likewise.
83325         * include/time.h: Likewise.
83326         * include/unistd.h: Likewise.
83327         * include/utmp.h: Likewise.
83328         * include/wchar.h: Likewise.
83329         * include/wctype.h: Likewise.
83330         * inet/aliases.h: Likewise.
83331         * inet/arpa/inet.h: Likewise.
83332         * inet/netinet/ether.h: Likewise.
83333         * inet/netinet/in.h: Likewise.
83334         * intl/libintl.h: Likewise.
83335         * io/bits/fcntl2.h: Likewise.
83336         * io/fcntl.h: Likewise.
83337         * io/ftw.h: Likewise.
83338         * io/sys/poll.h: Likewise.
83339         * io/sys/stat.h: Likewise.
83340         * io/sys/statfs.h: Likewise.
83341         * io/sys/statvfs.h: Likewise.
83342         * io/utime.h: Likewise.
83343         * libio/bits/stdio.h: Likewise.
83344         * libio/bits/stdio2.h: Likewise.
83345         * libio/libio.h: Likewise.
83346         * libio/libioP.h: Likewise.
83347         * libio/stdio.h: Likewise.
83348         * locale/lc-ctype.c: Likewise.
83349         * locale/locale.h: Likewise.
83350         * login/utmp.h: Likewise.
83351         * malloc/arena.c: Likewise.
83352         * malloc/malloc.c: Likewise.
83353         * malloc/malloc.h: Likewise.
83354         * malloc/mcheck.c: Likewise.
83355         * malloc/mtrace.c: Likewise.
83356         * math/bits/mathcalls.h: Likewise.
83357         * math/fenv.h: Likewise.
83358         * math/math_private.h: Likewise.
83359         * misc/bits/error.h: Likewise.
83360         * misc/bits/syslog.h: Likewise.
83361         * misc/err.h: Likewise.
83362         * misc/error.h: Likewise.
83363         * misc/fstab.h: Likewise.
83364         * misc/mntent.h: Likewise.
83365         * misc/regexp.h: Likewise.
83366         * misc/search.h: Likewise.
83367         * misc/sgtty.h: Likewise.
83368         * misc/sys/mman.h: Likewise.
83369         * misc/sys/syslog.h: Likewise.
83370         * misc/sys/uio.h: Likewise.
83371         * misc/sys/xattr.h: Likewise.
83372         * misc/ttyent.h: Likewise.
83373         * nis/rpcsvc/ypclnt.h: Likewise.
83374         * nss/nss.h: Likewise.
83375         * posix/bits/unistd.h: Likewise.
83376         * posix/fnmatch.h: Likewise.
83377         * posix/glob.h: Likewise.
83378         * posix/sched.h: Likewise.
83379         * posix/spawn.h: Likewise.
83380         * posix/sys/wait.h: Likewise.
83381         * posix/unistd.h: Likewise.
83382         * posix/wordexp.h: Likewise.
83383         * pwd/pwd.h: Likewise.
83384         * resolv/netdb.h: Likewise.
83385         * resource/sys/resource.h: Likewise.
83386         * rt/aio.h: Likewise.
83387         * rt/bits/mqueue2.h: Likewise.
83388         * rt/mqueue.h: Likewise.
83389         * shadow/shadow.h: Likewise.
83390         * signal/signal.h: Likewise.
83391         * socket/send.c: Likewise.
83392         * socket/sendto.c: Likewise.
83393         * socket/sys/socket.h: Likewise.
83394         * stdio-common/printf.h: Likewise.
83395         * stdlib/bits/stdlib.h: Likewise.
83396         * stdlib/fmtmsg.h: Likewise.
83397         * stdlib/monetary.h: Likewise.
83398         * stdlib/stdlib.h: Likewise.
83399         * stdlib/ucontext.h: Likewise.
83400         * streams/stropts.h: Likewise.
83401         * string/argz.h: Likewise.
83402         * string/bits/string2.h: Likewise.
83403         * string/string.h: Likewise.
83404         * string/strings.h: Likewise.
83405         * sunrpc/rpc/auth.h: Likewise.
83406         * sunrpc/rpc/auth_des.h: Likewise.
83407         * sunrpc/rpc/clnt.h: Likewise.
83408         * sunrpc/rpc/netdb.h: Likewise.
83409         * sunrpc/rpc/pmap_clnt.h: Likewise.
83410         * sunrpc/rpc/xdr.h: Likewise.
83411         * sysdeps/generic/inttypes.h: Likewise.
83412         * sysdeps/generic/net/if.h: Likewise.
83413         * sysdeps/generic/sys/swap.h: Likewise.
83414         * sysdeps/gnu/net/if.h: Likewise.
83415         * sysdeps/gnu/utmpx.h: Likewise.
83416         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
83417         * sysdeps/i386/i486/bits/string.h: Likewise.
83418         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
83419         * sysdeps/s390/bits/string.h: Likewise.
83420         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
83421         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
83422         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
83423         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
83424         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
83425         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
83426         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
83427         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
83428         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
83429         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
83430         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
83431         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
83432         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
83433         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
83434         * sysdeps/unix/sysv/linux/readv.c: Likewise.
83435         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
83436         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
83437         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83438         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
83439         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
83440         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
83441         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
83442         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
83443         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
83444         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
83445         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
83446         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
83447         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83448         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
83449         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
83450         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
83451         * sysvipc/sys/ipc.h: Likewise.
83452         * sysvipc/sys/msg.h: Likewise.
83453         * sysvipc/sys/sem.h: Likewise.
83454         * sysvipc/sys/shm.h: Likewise.
83455         * termios/termios.h: Likewise.
83456         * time/sys/time.h: Likewise.
83457         * time/time.h: Likewise.
83458         * wcsmbs/bits/wchar2.h: Likewise.
83459         * wcsmbs/uchar.h: Likewise.
83460         * wcsmbs/wchar.h: Likewise.
83461         * wctype/wctype.h: Likewise.
83463         [BZ #13551]
83464         * Makeconfig: Remove all but ELF support including AIX support.
83465         * Makerules: Likewise.
83466         * config.h.in: Likewise.
83467         * config.make.in: Likewise.
83468         * configure: Likewise.
83469         * configure.in: Likewise.
83470         * csu/Makefile: Likewise.
83471         * csu/version.c: Likewise.
83472         * debug/Makefile: Likewise.
83473         * dlfcn/Makefile: Likewise.
83474         * elf/Makefile: Likewise.
83475         * extra-lib.mk: Likewise.
83476         * iconv/Makefile: Likewise.
83477         * include/libc-symbols.h: Likewise.
83478         * include/shlib-compat.h: Likewise.
83479         * resolv/Makefile: Likewise.
83480         * resolv/res_libc.c: Likewise.
83481         * rt/Makefile: Likewise.
83482         * sysdeps/i386/asm-syntax.h: Likewise.
83483         * sysdeps/i386/sysdep.h: Likewise.
83484         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
83485         * sysdeps/mach/sysdep.h: Likewise.
83486         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
83487         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
83488         * sysdeps/s390/asm-syntax.h: Likewise.
83489         * sysdeps/s390/s390-32/sysdep.h: Likewise.
83490         * sysdeps/s390/s390-64/sysdep.h: Likewise.
83491         * sysdeps/sh/sysdep.h: Likewise.
83492         * sysdeps/unix/sparc/sysdep.h: Likewise.
83493         * sysdeps/wordsize-32/divdi3.c: Likewise.
83494         * sysdeps/x86_64/sysdep.h: Likewise.
83496         * argp/Versions: Remove _argp_unlock_xxx.
83498         [BZ #13559]
83499         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
83500         * abilist/libBrokenLocale.abilist: Likewise.
83501         * abilist/libanl.abilist: Likewise.
83502         * abilist/libc.abilist: Likewise.
83503         * abilist/libcrypt.abilist: Likewise.
83504         * abilist/libdl.abilist: Likewise.
83505         * abilist/libm.abilist: Likewise.
83506         * abilist/libnsl.abilist: Likewise.
83507         * abilist/libpthread.abilist: Likewise.
83508         * abilist/libresolv.abilist: Likewise.
83509         * abilist/librt.abilist: Likewise.
83510         * abilist/libthread_db.abilist: Likewise.
83511         * abilist/libutil.abilist: Likewise.
83512         * abilist/libnss_db.abilist: New file.
83514         * scripts/abilist.awk: Add support for indirect functions.
83516         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
83518         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
83520         * shlib-versions: Remove entries for ports architectures.
83522         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
83523         files in ports.
83524         * elf/stackguard-macros.h: Remove support for IA-64.
83525         * elf/tst-auditmod1.c: Likewise.
83526         * sysdeps/generic/ldsodefs.h: Likewise.
83528         * sysdeps/unix/sysv/linux/configure.in: Ports should define
83529         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
83530         configure files.
83532         [BZ #13552]
83533         * configure.in: Remove --enable-omitfp support.
83534         * FAQ.in: Adjust.
83535         * config.make.in: Likewise.
83536         * Makeconfig: Likewise.
83537         * manual/install.texi: Likewise.
83539         In case anyone cares, the IA-64 architecture could move to ports.
83540         * sysdeps/ia64/*: Removed.
83541         * sysdeps/unix/sysv/linux/ia64/*: Removed.
83542         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
83544         [BZ #13555]
83545         * configure.in: Remove entries for unsupported architectures.
83547         [BZ #13533]
83548         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
83549         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
83550         routines.
83551         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
83552         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
83553         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
83554         fall back to using wcrtomb.
83555         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
83556         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
83557         renaming.
83558         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
83559         * wcsmbs/tst-c16c32-1.c: New file.
83561         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
83562         local variable.
83564         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
83566         * elf/tst-unique3.cc: Add explicit declaration of gets.
83567         * elf/tst-unique3lib.cc: Likewise.
83568         * elf/tst-unique3lib2.cc: Likewise.
83569         * elf/tst-unique4.cc: Likewise.
83571         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
83573 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
83575         [BZ #13566]
83576         * assert/assert.h (static_assert): Don't define for C++.
83577         * libio/stdio.h (gets): Do declare for C++ <= C++11.
83578         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
83580 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
83582         * iconv/loop.c (single loop): Fix assertion in storing of
83583         remaining bytes.
83585         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
83587 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
83589         * posix/getconf.c: Update copyright year.
83590         * nss/getent.c: Likewise.
83591         * nss/makedb.c: Likewise.
83592         * iconv/iconvconfig.c: Likewise.
83593         * iconv/iconv_prog.c: Likewise.
83594         * elf/ldconfig.c: Likewise.
83595         * elf/pldd.c: Likewise.
83596         * elf/sotruss.ksh: Likewise.
83597         * catgets/gencat.c: Likewise.
83598         * csu/version.c: Likewise.
83599         * elf/ldd.bash.in: Likewise.
83600         * elf/sprof.c (print_version): Likewise.
83601         * locale/programs/locale.c: Likewise.
83602         * locale/programs/localedef.c: Likewise.
83603         * login/programs/pt_chown.c: Likewise.
83604         * nscd/nscd.c (print_version): Likewise.
83605         * debug/xtrace.sh: Likewise.
83606         * malloc/memusage.sh: Likewise.
83607         * malloc/mtrace.pl: Likewise.
83608         * debug/catchsegv.sh: Likewise.
83610 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
83612         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
83613         pure attribute.
83615 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
83617         [BZ #13533]
83618         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
83619         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
83620         transformations.
83621         * iconv/gconv_int.h: Likewise.
83622         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
83623         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
83624         from libc for GLIBC_2.16.
83625         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
83626         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
83627         * wcsmbs/uchar.h: Really define mbstate_t.
83628         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
83629         * wcsmbs/c16rtomb.c: New file.
83630         * wcsmbs/mbrtoc16.c: New file.
83631         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
83632         for C/POSIX locale.
83633         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
83634         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
83636         * wcsmbs/wchar.h: Add missing __restrict.
83638 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
83640         [BZ #13532]
83641         * time/Makefile (routines): Add timespec_get.
83642         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
83643         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
83644         timespec for ISO C11.
83645         * time/timespec_get.c: New file.
83646         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
83647         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
83649         [BZ #13531]
83650         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
83651         * stdlib/stdlib.h: Declare aligned_alloc.
83652         * Versions.def: Add GLIBC_2.16 for libc.
83653         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
83655         [BZ 13527]
83656         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
83657         ISO C11.
83659         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
83660         code.
83662         [BZ #13528]
83663         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
83665         [BZ #13529]
83666         * assert/assert.h (static_assert): Define.
83668         * version.h: Update for 2.16 development version.
83670         [BZ #13526]
83671         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
83672         _ISOC11_SOURCE.
83674         * version.h (RELEASE): Bump for 2.15 release.
83675         * include/features.h (__GLIBC_MINOR__): Bump to 15.
83677         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
83678         Patch by Marek Polacek <mpolacek@redhat.com>.
83680         * bits/byteswap.h: Protect long long constants with __extension__.
83681         * sysdeps/i386/bits/byteswap.h: Likewise.
83682         * sysdeps/ia64/bits/byteswap.h: Likewise.
83683         * sysdeps/s390/bits/byteswap.h: Likewise.
83684         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83686 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83688         [BZ #13540]
83689         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
83690         destination buffer.
83691         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
83693 2011-12-23  Marek Polacek  <polacek@redhat.com>
83695         * elf/dl-addr.c (determine_info): Add inline keyword.
83696         * elf/tst-auditmod4b.c (check_avx): Likewise.
83697         * elf/tst-auditmod6b.c (check_avx): Likewise.
83698         * elf/tst-auditmod6c.c (check_avx): Likewise.
83699         * elf/tst-auditmod7b.c (check_avx): Likewise.
83701 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
83703         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
83704         !__SSE_MATH__.
83706 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83708         [BZ #13540]
83709         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
83710         processing for last bytes.
83712 2011-08-06  Bruno Haible  <bruno@clisp.org>
83714         [BZ #13061]
83715         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
83716         U+0385, not to U+1FEE.
83718         [BZ #13062]
83719         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
83720         entry for U+00A5 U+0301.
83722 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
83724         [BZ #13166]
83725         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
83726         buffer for the output is too small.
83728         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
83729         optimization.
83731         [BZ #13185]
83732         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
83733         SSE flags if possible.
83735 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83737         [BZ #13540]
83738         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
83739         processing for last bytes.
83741 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
83743         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
83744         (syscall-list-default-options, syscall-list-default-condition)
83745         (syscall-list-includes): Define.
83746         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
83747         list of ABIs and options and #if conditions for each ABI.  Do not
83748         handle common syscalls between ABIs specially.
83749         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
83750         Remove.
83751         (syscall-list-variants, syscall-list-32bit-options)
83752         (syscall-list-32bit-condition, syscall-list-64bit-options)
83753         (syscall-list-64bit-condition): Define.
83754         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
83755         (syscall-list-variants, syscall-list-32bit-options)
83756         (syscall-list-32bit-condition, syscall-list-64bit-options)
83757         (syscall-list-64bit-condition): Define.
83758         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
83759         Remove.
83760         (syscall-list-variants, syscall-list-32bit-options)
83761         (syscall-list-32bit-condition, syscall-list-64bit-options)
83762         (syscall-list-64bit-condition): Define.
83763         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
83764         Remove.
83765         (syscall-list-variants, syscall-list-32bit-options)
83766         (syscall-list-32bit-condition, syscall-list-64bit-options)
83767         (syscall-list-64bit-condition): Define.
83769 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
83771         * locale/iso-639.def: Add brx entry.
83773         [BZ #13328]
83774         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
83775         Proposed by Mariusz_Cukr <marcukr@op.pl>.
83777         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
83778         __feraiseexcept_renamed.
83780 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
83782         [BZ #13538]
83783         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
83784         EPOLLET with unsigned values.
83785         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83786         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
83788         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
83789         to large cancellation.
83790         * math/s_cacoshf.c: Likewise.
83791         * math/s_cacoshl.c: Likewise.
83793 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
83795         [BZ #13305]
83796         [BZ #12786]
83797         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
83798         * math/s_cacoshf.c: Likewise.
83799         * math/s_cacoshl.c: Likewise.
83801 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
83803         [BZ #13439]
83804         * iconv/gconv.h: Define __GCONV_SWAP.
83805         * iconvdata/unicode.c: The swap bit must be stored in __flags.
83806         * iconvdata/utf-16.c: Likewise.
83807         * iconvdata/utf-32.c: Likewise.
83809 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
83811         [BZ #13524]
83812         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
83813         numerator after shifting it by one limb.
83815 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
83817         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
83818         under [__USE_EXTERN_INLINES].
83820 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
83822         [BZ #13446]
83823         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
83825 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83827         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
83828         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
83829         optimized code.
83830         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
83831         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
83832         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
83833         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
83834         for strncasecmp/strncasecmp_l compilation.
83835         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
83836         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
83838 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
83840         [BZ #13484]
83841         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
83842         of __asm__.
83844 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
83846         [BZ #13506]
83847         * time/tzfile.c (__tzfile_read): Check values from file header.
83849 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
83851         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
83852         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
83853         * powerpc/powerpc32/dl-start.S: Likewise.
83854         * powerpc/powerpc32/elf/start.S: Likewise.
83855         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
83856         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
83857         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
83858         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
83859         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
83860         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
83861         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
83862         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
83863         * powerpc/powerpc32/fpu/s_round.S: Likewise.
83864         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
83865         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
83866         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
83867         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
83868         * powerpc/powerpc32/memset.S: Likewise.
83869         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
83870         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
83871         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
83872         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
83873         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
83874         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
83875         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
83876         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
83877         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
83878         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
83879         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
83880         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
83881         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
83883 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83885         * math/libm-test.inc: Added more nearbyint tests.
83886         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
83887         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
83888         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
83889         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
83891 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
83893         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
83894         FD_CLOEXEC.
83896 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83898         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
83899         Add wcscpy-ssse3 wcscpy-c.
83900         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
83901         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
83902         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
83903         * sysdeps/x86_64/wcschr.S: New file.
83904         * sysdeps/x86_64/wcsrchr.S: New file.
83905         * string/test-strcmp.c: Remove checking of wcscmp function for
83906         wrong alignments.
83907         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
83908         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
83909         wcsrchr-sse2 wcsrchr-c.
83910         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
83911         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
83912         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
83913         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
83914         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
83915         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
83916         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
83917         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
83918         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
83919         * wcsmbc/wcschr.c (WCSCHR): New macro.
83921 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83923         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
83924         * wcsmbs/test-wcsrchr.c: New file.
83925         * string/test-strrchr.c: Add wcsrchr support.
83926         (WIDE): New macro.
83927         * wcsmbs/test-wcscpy.c: New file.
83928         * string/test-strcpy.c: Add wcscpy support.
83929         (WIDE): New macro.
83931 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
83933         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
83934         the inner loop.
83936 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
83938         [BZ #13472]
83939         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
83941 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
83943         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
83944         Minor optimizations.
83946         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
83947         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
83948         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
83950 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
83952         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
83953         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
83954         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
83955         for gcc to avoid warnings.
83956         * inet/Makefile (tests): Add tst-checks.
83957         * inet/tst-checks.c: New file.
83959         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
83960         warning.
83962         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
83963         __wmemcmp_sse2.
83965         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
83966         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
83968         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
83970 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
83972         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
83973         problem.
83975         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
83977 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
83979         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
83980         conditional on GCC version.
83981         (__arch_compare_and_exchange_val_8_acq)
83982         (__arch_compare_and_exchange_val_16_acq)
83983         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
83984         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
83985         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
83987 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
83989         * sysdeps/sh/backtrace.c: New file.
83991 2011-12-02  Andreas Schwab  <schwab@redhat.com>
83993         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
83994         parenthesis.
83996 2011-12-01  Andreas Schwab  <schwab@redhat.com>
83998         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
83999         falling back to utime.
84001 2011-11-30  Andreas Schwab  <schwab@redhat.com>
84003         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
84004         expectations for float.
84006 2011-11-29  Andreas Schwab  <schwab@redhat.com>
84008         * locale/weight.h (findidx): Add parameter len.
84009         * locale/weightwc.h (findidx): Likewise.
84010         * posix/fnmatch_loop.c (FCT): Adjust caller.
84011         * posix/regcomp.c (build_equiv_class): Likewise.
84012         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
84013         * posix/regexec.c (check_node_accept_bytes): Likewise.
84014         * string/strcoll_l.c (STRCOLL): Likewise.
84015         * string/strxfrm_l.c (STRXFRM): Likewise.
84017 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
84019         * Makefile.in: Remove CVSOPT handling.
84020         * configure.in: Remove use of AC_REVISION.
84021         * iconvdata/Makefile (distribute): No need to filter out CVS.
84022         * scripts/list-sources.sh: Remove CVS, subversion and monotone
84023         handling.
84025 2011-11-16  Andreas Schwab  <schwab@redhat.com>
84027         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
84028         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
84029         [USE_AS_STRNCASECMP_L]: Likewise.
84030         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
84031         NO_TLS_DIRECT_SEG_REFS.
84032         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
84033         Fix argument offsets for non-PIC.
84034         [USE_AS_STRNCASECMP_L]: Likewise.
84035         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
84036         NO_TLS_DIRECT_SEG_REFS.
84038 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
84040         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
84041         O_CLOEXEC.
84042         * locale/loadlocale.c (_nl_load_locale): Likewise.
84044 2011-11-15  Andreas Schwab  <schwab@redhat.com>
84046         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
84047         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
84048         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
84049         (SYSCALL_GETTIME): Set errno on error.
84051         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
84052         count references to noai6ai_cached.
84054 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
84056         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
84058         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
84059         FD_CLOEXEC for /proc/self/maps.
84061         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
84062         FD_CLOEXEC for /proc/meminfo.
84064         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
84065         gai.conf.
84067         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
84068         FD_CLOEXEC for given file.
84070         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
84072         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
84073         FD_CLOEXEC for /etc/hosts.
84074         (_gethtent): Likewise.
84076         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
84078         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
84079         cancellation and set FD_CLOEXEC for /etc/netgroup.
84081         * nss/nss_files/files-key.c (search): Don't allow cancellation when
84082         reading /etc/publickey.
84084         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
84085         allow cancellation when reading /etc/group.
84087         * nss/nss_files/files-alias.c (internal_setent): Don't allow
84088         cancellation.
84089         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
84091         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
84092         when using data file.
84094         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
84096         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
84097         (write_nis_obj): Use "c" and "e" in fopen.
84099         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
84101         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
84103         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
84105         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
84107         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
84108         locale.alias.
84110         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
84112         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
84114         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
84116         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
84117         file parsing and set FD_CLOEXEC.
84119 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
84121         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
84123 2011-11-14  Andreas Schwab  <schwab@redhat.com>
84125         * malloc/arena.c (arena_get2): Don't call reused_arena when
84126         _int_new_arena failed.
84128 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
84130         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
84131         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
84132         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
84133         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
84134         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
84135         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
84136         to compile strcasecmp and strncasecmp.
84137         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
84138         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
84140         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
84142 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
84144         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
84145         locale-defines.sym to gen-as-const-headers.
84146         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
84147         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
84148         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
84149         to compile strcasecmp and strncasecmp.
84150         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
84151         strcasecmp_l and strncasecmp_l.
84152         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
84153         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
84154         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
84155         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
84156         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
84157         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
84158         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
84159         * sysdeps/i386/i686/multiarch/strncase.S: New file.
84160         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
84161         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
84162         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
84164 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
84166         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
84167         result of SYSDEP_GETTIME_CPU to retval.
84168         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
84169         parameter list to macro.  Remove trailing semicolon.  Adjust users.
84171         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
84172         variable.
84174         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
84175         mantissa words.
84176         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
84178         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
84179         from unused variable.
84181         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
84182         DWARF definitions.
84183         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
84184         for assembling.
84186         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
84187         over namespaces.
84189         * sunrpc/rpc_prot.c (rejected): Fix case value.
84191         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
84192         unsigned long long int to avoid warnings in shift.
84194         * posix/regex_internal.c (re_string_reconstruct): Actually use result
84195         of use of trans.
84196         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
84197         variable tmp.
84199         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
84200         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
84201         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
84203         * nis/nis_table.c (nis_list): Use variable of correct type for
84204         result of __follow_path call.
84206 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84208         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
84209         of math functions ceil, trunc, floor, round, and sqrt, when
84210         avaliable on the platform.
84211         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
84212         name clash.
84213         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
84214         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
84215         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
84217 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
84219         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
84220         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
84222 2011-11-11  Roland McGrath  <roland@hack.frob.com>
84224         * include/unistd.h: Fix __readlink return type.
84225         Reported by Chris Metcalf <cmetcalf@tilera.com>.
84227 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
84229         * stdlib/ucontext.h: Undo last change for makecontext.
84231 2011-11-11  Andreas Schwab  <schwab@redhat.com>
84233         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
84235         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
84236         * setjmp/setjmp.h: Mark functions as non-leaf.
84237         * setjmp/bits/setjmp2.h: Likewise.
84238         * stdlib/ucontext.h: Likewise.
84240 2011-11-10  Andreas Schwab  <schwab@redhat.com>
84242         * malloc/arena.c (_int_new_arena): Don't increment narenas.
84243         (reused_arena): Don't check arena limit.
84244         (arena_get2): Atomically check arena limit.
84246 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
84248         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
84249         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
84251         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
84252         instructions.
84254 2011-11-07  Andreas Schwab  <schwab@redhat.com>
84256         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
84257         handler when locking.
84259         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
84260         Fix size of allocated buffer.
84262 2011-11-04  Andreas Schwab  <schwab@redhat.com>
84264         [BZ #10103]
84265         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
84266         declarations for long double functions.
84267         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
84269         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
84271 2011-11-03  Andreas Schwab  <schwab@redhat.com>
84273         * nscd/nscd.c (main): Don't start AVC thread until credentials are
84274         installed.
84276         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
84277         is disabled.
84279 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84281         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
84283 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
84285         * include/alloca.h (stackinfo_alloca_round): Define.
84286         (extend_alloca): Use it.
84287         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
84288         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
84289         here.
84291         * scripts/check-local-headers.sh: Ignore libaudit.h.
84293         * nscd/Makefile (extra-objs): Make recursively expanded.
84295 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
84297         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
84298         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
84300         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
84301         * posix/tst-rfc3484-2.c: Likewise.
84302         * posix/tst-rfc3484-3.c: Likewise.
84304         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
84305         process_vm_writev.
84306         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
84307         process_vm_writev.
84308         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
84309         process_vm_writev from libc using GLIBC_2.15 version.
84311         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
84313 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
84315         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
84316         stack usage.
84318 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
84320         [BZ #13367]
84321         * nss/getent.c (initgroups_keys): Show error message in case no group
84322         names are given.
84324         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
84325         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
84326         __bump_nl_timestamp.
84327         * nscd/connections (nscd_init): When host database is served open
84328         netlink socket and request notification about configuration changes.
84329         (main_loop_poll): Track netlink file descriptor and bump timestamp
84330         in case data becomes available.
84331         (main_loop_epoll): Likewise.
84332         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
84333         (database_pers_head): Add extra_data fileds.
84334         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
84335         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
84336         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
84337         Adjust caller.
84338         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
84339         in6ai data, call __free_in6ai.
84340         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
84341         Add -DHAVE_NETLINK.
84342         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
84343         interface information.  Reuse previous data if netlink timestamp
84344         is not changed.
84345         (__bump_nl_timestamp): New function.
84346         (__free_in6ai): New function.
84348 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
84350         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
84351         close_not_cancel_no_status here.
84352         (__check_pf): Reorganize code a bit to not call close twice if OOM.
84354 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
84356         [BZ #13276]
84357         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
84358         return value.
84360         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
84361         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
84362         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
84364 2011-07-03  Andreas Jaeger  <aj@suse.de>
84366         [BZ #10709]
84367         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
84368         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
84369         * math/libm-test.inc (sin_test): Add test case.
84371 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
84373         [BZ #13337]
84374         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
84375         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
84377         * elf/chroot_canon.c (chroot_canon): Cleanups.
84379         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
84381         [BZ #13335]
84382         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
84383         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
84385         * string/test-strchr.c: Make usable for strchrnul testing.
84386         * string/test-strchrnul.c: New file.
84387         * string/Makefile (strop-tests): Add strchrnul.
84389         * po/it.po: Update from translation team.
84390         * po/es.po: Likewise.
84392 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
84394         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
84395         the three constants needed as parameters.  Drop the others.
84396         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
84397         __m128i_strloadu_tolower.
84398         Create and initialize variable zero and use it in all the places
84399         where _mm_setzero_si128 was used.
84401         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
84402         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
84403         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
84404         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
84405         anymore.
84406         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
84407         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
84408         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
84409         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
84410         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
84411         __mpranred, __mptan.
84412         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
84413         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
84414         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
84415         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
84416         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
84417         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
84418         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
84419         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
84420         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
84422 2011-10-28  Andreas Schwab  <schwab@redhat.com>
84424         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
84425         redefine if SHARED.
84426         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
84428         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
84429         wide char related routines to wcsmbs subdir.
84431 2011-10-27  Andreas Schwab  <schwab@redhat.com>
84433         [BZ #13344]
84434         * misc/sys/cdefs.h (__THROWNL): Define.
84435         * posix/unistd.h: Use __THREADNL instead of __THREAD
84436         for memory synchronization functions.
84438 2011-10-26  Roland McGrath  <roland@hack.frob.com>
84440         [BZ #13349]
84441         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
84442         doesn't exist.
84443         * manual/stdio.texi (Obstack Streams): Node removed.
84445 2011-10-26  Andreas Schwab  <schwab@redhat.com>
84447         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
84448         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84449         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84451         * math/math_private.h (math_force_eval): Allow non-addressable
84452         arguments.
84453         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
84455 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84457         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
84458         file is not needed.
84460         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
84461         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
84462         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
84463         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
84464         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
84465         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
84466         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
84467         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
84468         Add AVX variants.
84469         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
84470         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
84471         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
84472         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
84473         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
84474         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
84475         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
84476         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
84477         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
84478         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
84479         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
84480         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
84481         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
84482         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
84483         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
84484         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
84485         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
84486         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
84487         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
84489         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
84490         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
84492         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
84493         place.  Use VEX encoding when compiling for AVX.
84495 2011-10-25  Andreas Schwab  <schwab@redhat.com>
84497         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
84498         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
84500         * string/test-strchr.c (do_test): Don't generate NUL bytes.
84502 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84504         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
84505         useless if() expression.
84506         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
84507         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
84508         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
84509         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84510         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
84511         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84512         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84513         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84514         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
84515         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84516         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84517         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84518         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
84519         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84520         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
84521         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84522         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84523         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84524         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
84526         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
84528 2011-10-25  Andreas Schwab  <schwab@redhat.com>
84530         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
84531         condition.
84532         * elf/dl-fini.c (_dl_sort_fini): Likewise.
84534 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84536         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
84537         .text section.  Avoid duplicate constants.
84538         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
84539         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84540         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
84541         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84542         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84543         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84544         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84545         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84546         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
84547         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
84548         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
84549         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
84550         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
84551         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
84552         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
84553         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
84554         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
84555         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
84556         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
84557         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84558         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
84559         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
84560         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
84561         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
84562         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
84563         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
84564         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
84565         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
84566         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
84567         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
84568         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
84569         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
84570         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
84571         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
84572         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
84573         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
84574         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
84575         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
84576         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
84577         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
84578         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
84579         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
84580         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
84581         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
84582         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
84584 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
84586         * sysdeps/x86_64/dla.h: Move to ...
84587         * sysdeps/x86_64/fpu/dla.h: ...here.
84588         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
84589         situations.  Use __builtin_fma only for gcc 4.6 and up.
84591         * config.make.in: Add have-mfma4 entry.
84592         * configure.in: Substitute libc_cv_cc_fma4.
84593         * math/Makefile (dbl-only-routines): Add sincostab.
84594         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
84595         Use __sincostab not sincos.
84596         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
84597         name is a macro.
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/e_atan2.c: Likewise.  Define singArctan2
84602         using __copysign.
84603         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
84604         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
84605         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
84606         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
84607         and __inv.
84608         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
84609         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
84610         __copysign.
84611         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
84612         define aliases when function name is a macro.
84613         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
84614         sysdeps/ieee754/dbl-64/sincos.tbl.
84615         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
84616         fma4-enabled routines.
84617         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
84618         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
84619         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
84620         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
84621         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
84622         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
84623         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
84624         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
84625         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
84626         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
84627         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
84628         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
84629         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
84630         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
84631         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
84632         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
84633         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
84634         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
84635         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
84636         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
84637         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
84638         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
84639         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
84640         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
84641         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
84642         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
84643         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
84644         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
84645         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
84646         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
84648         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
84649         rename.
84650         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84651         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84652         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84653         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84654         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84655         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84656         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84657         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84659 2011-10-24  Andreas Schwab  <schwab@redhat.com>
84661         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
84663 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84665         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
84667         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
84668         prediction.
84669         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
84671         * string/strnlen.c: Don't define STRNLEN, reverse logic.
84672         Remove unused variable magic_bits.
84673         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
84675         * string/strnlen.c: Define and use STRNLEN macro.
84676         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
84677         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
84678         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
84679         * wcsmbs/wcslen.c: Define and use WCSLEN.
84680         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
84681         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
84682         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
84683         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
84684         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
84685         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
84686         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
84688 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84690         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84691         strnlen-sse2-no-bsf.
84692         Rename strlen-no-bsf to strlen-sse2-no-bsf.
84693         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
84694         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
84695         Add strnlen support.
84696         (USE_AS_STRNLEN): New macro.
84697         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
84698         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
84699         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
84700         * sysdeps/x86_64/wcslen.S: New file.
84702 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
84704         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
84705         XMM-moves are used for copying on small sizes.
84707 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84709         * wcsmbs/Makefile (strop-tests): Add wcschr.
84710         * wcsmbs/test-wcschr.c: New file.
84711         * string/test-strchr.c: Update.
84712         Add wcschr support.
84713         (WIDE): New macro.
84715 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84717         * wcsmbs/Makefile (strop-tests): Add wcslen.
84718         * wcsmbs/test-wcslen.c: New file.
84719         * string/test-strlen.c: Update.
84720         Add wcslen support.
84721         (WIDE): New macro.
84723 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84725         * po/it.po: Update from translation team.
84727 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84729         * sysdeps/x86_64/wcscmp.S: Update.
84730         Fix wrong comparison semantics.
84731         wcscmp shall use signed comparison not unsigned.
84732         Don't use substraction to avoid overflow bug.
84733         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
84734         * wcsmbc/wcscmp.c: Likewise.
84735         * string/test-strcmp.c: Likewise.
84736         Add new tests to check cases with negative values.
84738 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84740         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
84741         * sysdeps/x86_64/dla.h: ...here.  New file.
84742         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
84743         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84744         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84745         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84746         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84747         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
84748         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84749         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84750         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84752 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
84754         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
84755         __ynl_finite aliases.
84757 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
84759         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84761         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
84762         define DLA_FMA.
84763         [DLA_FMA] (EMULV): Use DLA_FMA.
84764         [DLA_FMA] (MUL12): Use EMULV.
84765         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
84766         that are not needed.
84767         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84768         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84769         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84770         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84771         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84772         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84773         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84775 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
84777         * math/s_nan.c: Undef __nan.
84778         * math/s_nanf.c: Undef __nanf.
84779         * math/s_nanl.c: Undef __nanl.
84780         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
84781         "math_private.h".
84783 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
84785         * math/s_catan.c: Add branch predictions.
84786         * math/s_catanf.c: Likewise.
84787         * math/s_catanh.c: Likewise.
84788         * math/s_catanhf.c: Likewise.
84789         * math/s_catanhl.c: Likewise.
84790         * math/s_catanl.c: Likewise.
84791         * math/s_cexp.c: Likewise.
84792         * math/s_cexpf.c: Likewise.
84793         * math/s_cexpl.c: Likewise.
84794         * math/s_clog.c: Likewise.
84795         * math/s_clog10.c: Likewise.
84796         * math/s_clog10f.c: Likewise.
84797         * math/s_clog10l.c: Likewise.
84798         * math/s_clogf.c: Likewise.
84799         * math/s_clogl.c: Likewise.
84800         * math/s_csqrt.c: Likewise.
84801         * math/s_csqrtf.c: Likewise.
84802         * math/s_csqrtl.c: Likewise.
84803         * math/s_ctanf.c: Likewise.
84804         * math/s_ctanh.c: Likewise.
84805         * math/s_ctanhf.c: Likewise.
84806         * math/s_ctanhl.c: Likewise.
84807         * math/s_ctanl.c: Likewise.
84809         * math/math_private.h: Define __nan, __nanf, __nanl.
84810         * math/s_cacosh.c: Include <math_private.h>.
84811         * math/s_cacoshl.c: Likewise.
84812         * math/s_casinh.c: Likewise.
84813         * math/s_casinhf.c: Likewise.
84814         * math/s_casinhl.c: Likewise.
84815         * math/s_ccos.c: Rely entire on ccosh.
84816         * math/s_ccosf.c: Rely entire on ccoshf.
84817         * math/s_ccosl.c: Rely entirely on ccoshl.
84818         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
84819         Remove tests for FE_INVALID.
84820         * math/s_ccoshf.c: Likewise.
84821         * math/s_ccoshl.c: Likewise.
84822         * math/s_csin.c: Likewise.
84823         * math/s_csinf.c: Likewise.
84824         * math/s_csinh.c Likewise.
84825         * math/s_csinhf.c: Likewise.
84826         * math/s_csinhl.c: Likewise.
84827         * math/s_csinl.c: Likewise.
84828         * math/s_ctan.c: Likewise.
84829         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
84830         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
84831         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
84833 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
84835         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
84836         compilation problems.
84838         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
84839         __builtin_expect.
84841 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
84843         * sysdeps/i386/configure.in: Test for -mfma4 option.
84844         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
84845         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
84846         COMMON_CPUID_INDEX_80000001.
84847         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
84848         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
84849         use it if FMA3 is not supported.
84850         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
84852         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
84853         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84855 2011-10-20  Andreas Schwab  <schwab@redhat.com>
84857         [BZ #12892]
84858         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
84859         it would create a cycle with a link time dependency.
84861 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
84863         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
84864         instruction.
84865         * string/Makefile (strop-tests): Add rawmemchr.
84866         * string/test-rawmemchr.c: New file.
84868         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
84869         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
84870         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
84871         when compiling str{,n}casecmp and when AVX is available.  Hook up
84872         new optimized code in initializers.
84874 2011-10-19  Andreas Schwab  <schwab@redhat.com>
84876         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
84877         __feraiseexcept instead of feraiseexcept.
84879 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
84881         * math/math_private.h: Define defaults for libc_fetestexcept and
84882         libc_feupdateenv.
84883         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
84884         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
84885         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
84886         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
84887         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
84888         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
84889         libc_fetestexcept and libc_feupdateenv.
84891         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
84892         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
84893         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
84894         * sysdeps/x86_64/fpu/math_private.h: Define special version of
84895         libc_feholdexcept_setround.
84897         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
84898         Add s_nearbyint-c and s_nearbyintf-c.
84899         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
84900         nearbyintf inlines.
84901         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
84902         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
84903         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
84904         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
84906         * math/math_private.h: Define defaults for libc_fegetround,
84907         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
84908         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
84909         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
84910         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
84911         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
84912         standard functions.
84913         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
84914         Remove comments and hacks for old compiler versions.
84915         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
84916         libc_fegetround, libc_fesetround, libc_feholdexcept, and
84917         libc_feholdexceptl.
84919 2011-10-18  Andreas Schwab  <schwab@redhat.com>
84921         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
84922         (__feraiseexcept_renamed): Add __NTH.
84923         (feraiseexcept): Add __NTH.  Rename local variables to fix
84924         namespace violations.
84926 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
84928         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
84930         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
84932         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
84933         recently added interfaces.
84934         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
84936         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
84937         about macro parameter expansion.
84939         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
84940         __NO_MATH_INLINES is defined.  Cleanups.
84942         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
84943         and __floorf is target has SSE4.1.
84944         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
84945         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
84946         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
84947         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
84949         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
84950         name.
84951         (floorf): Likewise.
84953         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
84955 2011-10-17  Andreas Schwab  <schwab@redhat.com>
84957         * misc/sys/cdefs.h: Fix last change.
84959         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
84960         database lookup.
84962 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
84964         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
84966         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
84967         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84968         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
84969         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84970         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84971         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
84972         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84973         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84974         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
84975         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
84976         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
84977         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
84978         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
84979         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
84980         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
84981         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
84982         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
84983         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
84984         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
84985         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
84986         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
84987         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
84989         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
84990         ceil, ceilf, floor, floorf.
84992         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
84993         Perform IRELATIVE relocations last.
84995         * elf/do-rel.h: Add another parameter nrelative, replacing the
84996         local variable with the same name.  Change name of the function
84997         to end in Rel or Rela (uppercase).
84998         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
84999         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
85000         elf_dynamic_do_##reloc function.
85002 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
85004         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
85005         is sufficient, at least on modern CPUs.
85007         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
85009         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
85010         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
85012         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
85013         __expl_finite.
85014         * math/bits/math-finite.h: Add entries for exp.
85015         * math/e_expl.c: Add __*_finite alias.
85016         * sysdeps/i386/fpu/e_exp.S: Likewise.
85017         * sysdeps/i386/fpu/e_expf.S: Likewise.
85018         * sysdeps/i386/fpu/e_expl.c: Likewise.
85019         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85020         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
85021         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
85022         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
85023         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
85024         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
85025         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
85027         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
85028         is sufficient, at least on modern CPUs.
85030         * ctype/ctype-info.c (__ctype_init): Define.
85031         * include/ctype.h (__ctype_init): Declare.
85032         (__ctype_b_loc): The variable is always initialized.
85033         (__ctype_toupper_loc): Likewise.
85034         (__ctype_tolower_loc): Likewise.
85035         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
85036         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
85038 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
85040         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
85042         * configure.in: Also look in $cxxmachine/include for C++ system
85043         headers.
85045 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85047         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
85048         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
85049         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
85050         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
85051         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
85052         (USE_AS_WMEMCMP): New macro.
85053         Fixing indents.
85054         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
85055         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
85056         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
85057         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
85058         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85059         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
85060         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
85061         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
85062         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
85063         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
85064         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
85065         (USE_AS_WMEMCMP): New macro.
85066         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
85067         * sysdeps/string/test-memcmp.c: Update.
85068         Fix simple_wmemcmp.
85069         Add new tests.
85070         * wcsmbs/wmemcmp.c: Update.
85071         (WMEMCMP): New macro.
85072         Fix overflow bug.
85074 2011-10-12  Andreas Jaeger  <aj@suse.de>
85076         [BZ #13268]
85077         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
85079 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
85081         * libio/iofwide.c (do_length): Avoid warning.
85083         * ctype/ctype.h (__isctype_f): Add missing __THROW.
85085 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
85087         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
85089         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
85090         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
85091         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
85092         * sysdeps/i386/i686/fpu/e_log.S: New file.
85093         * sysdeps/i386/i686/fpu/e_logf.S: New file.
85094         * sysdeps/i386/i686/fpu/e_logl.S: New file.
85096         * ctype/ctype.h: Add support for inlined isXXX functions when
85097         compiling C++ code.
85099 2011-10-14  Andreas Schwab  <schwab@redhat.com>
85101         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85103         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
85105 2011-10-13  Roland McGrath  <roland@hack.frob.com>
85107         [BZ #13291]
85108         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
85110 2011-10-13  Andreas Schwab  <schwab@redhat.com>
85112         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
85113         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
85114         feraiseexcept.
85116         * sysdeps/x86_64/memrchr.S: Check for zero size.
85118         * string/stratcliff.c: Add memrchr tests.
85120 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85122         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85123         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
85124         rawmemchr-sse2 rawmemchr-sse2-bsf.
85125         * sysdeps/i386/i686/multiarch/memchr.S: New file.
85126         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
85127         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
85128         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
85129         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
85130         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
85131         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
85132         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
85133         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
85134         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
85135         * string/memrchr.c (MEMRCHR): New macro.
85137 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
85139         Add integration with gcc's -ffinite-math-only and optimize wrapper
85140         functions in libm.
85141         * Versions.def: Define GLIBC_2.15 version for libm.
85142         * math/Makefile (headers): Add bits/math-finite.h.
85143         * math/bits/math-finite.h: New file.
85144         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
85145         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
85146         * math/e_acoshl.c: Add __*_finite alias.
85147         * math/e_acosl.c: Likewise.
85148         * math/e_asinl.c: Likewise.
85149         * math/e_atan2l.c: Likewise.
85150         * math/e_atanhl.c: Likewise.
85151         * math/e_coshl.c: Likewise.
85152         * math/e_exp10.c: Likewise.
85153         * math/e_exp10f.c: Likewise.
85154         * math/e_exp10l.c: Likewise.
85155         * math/e_exp2l.c: Likewise.
85156         * math/e_fmodl.c: Likewise.
85157         * math/e_gammal_r.c: Likewise.
85158         * math/e_hypotl.c: Likewise.
85159         * math/e_j0l.c: Likewise.
85160         * math/e_j1l.c: Likewise.
85161         * math/e_jnl.c: Likewise.
85162         * math/e_lgammal_r.c: Likewise.
85163         * math/e_log10l.c: Likewise.
85164         * math/e_log2l.c: Likewise.
85165         * math/e_logl.c: Likewise.
85166         * math/e_powl.c: Likewise.
85167         * math/e_sinhl.c: Likewise.
85168         * math/e_sqrtl.c: Likewise.
85169         * math/e_scalb.c: Completely rewritten and optimized.
85170         * math/e_scalbf.c: Likewise.
85171         * math/e_scalbl.c: Likewise.
85172         * math/w_acos.c: Likewise.
85173         * math/w_acosf.c: Likewise.
85174         * math/w_acosl.c: Likewise.
85175         * math/w_acosh.c: Likewise.
85176         * math/w_acoshf.c: Likewise.
85177         * math/w_acoshl.c: Likewise.
85178         * math/w_asin.c: Likewise.
85179         * math/w_asinf.c: Likewise.
85180         * math/w_asinl.c: Likewise.
85181         * math/w_atan2.c: Likewise.
85182         * math/w_atan2f.c: Likewise.
85183         * math/w_atan2l.c: Likewise.
85184         * math/w_atanh.c: Likewise.
85185         * math/w_atanhf.c: Likewise.
85186         * math/w_atanhl.c: Likewise.
85187         * math/w_exp10.c: Likewise.
85188         * math/w_exp10f.c: Likewise.
85189         * math/w_exp10l.c: Likewise.
85190         * math/w_fmod.c: Likewise.
85191         * math/w_fmodf.c: Likewise.
85192         * math/w_fmodl.c: Likewise.
85193         * math/w_j0.c: Likewise.
85194         * math/w_j0f.c: Likewise.
85195         * math/w_j0l.c: Likewise.
85196         * math/w_j1.c: Likewise.
85197         * math/w_j1f.c: Likewise.
85198         * math/w_j1l.c: Likewise.
85199         * math/w_jn.c: Likewise.
85200         * math/w_jnf.c: Likewise.
85201         * math/w_log.c: Likewise.
85202         * math/w_logf.c: Likewise.
85203         * math/w_logl.c: Likewise.
85204         * math/w_log10.c: Likewise.
85205         * math/w_log10f.c: Likewise.
85206         * math/w_log10l.c: Likewise.
85207         * math/w_log2.c: Likewise.
85208         * math/w_log2f.c: Likewise.
85209         * math/w_log2l.c: Likewise.
85210         * math/w_pow.c: Likewise.
85211         * math/w_powf.c: Likewise.
85212         * math/w_powl.c: Likewise.
85213         * math/w_remainder.c: Likewise.
85214         * math/w_remainderf.c: Likewise.
85215         * math/w_remainderl.c: Likewise.
85216         * math/w_scalb.c: Likewise.
85217         * math/w_scalbf.c: Likewise.
85218         * math/w_scalbl.c: Likewise.
85219         * math/w_sqrt.c: Likewise.
85220         * math/w_sqrtf.c: Likewise.
85221         * math/w_sqrtl.c: Likewise.
85222         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
85223         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
85224         used.
85225         * math/math_private.h: Declare __kernel_standard_f.
85226         * math/w_cosh.c: Remove cruft and optimize a bit.
85227         * math/w_coshf.c: Likewise.
85228         * math/w_coshl.c: Likewise.
85229         * math/w_exp2.c: Likewise.
85230         * math/w_exp2f.c: Likewise.
85231         * math/w_exp2l.c: Likewise.
85232         * math/w_hypot.c: Likewise.
85233         * math/w_hypotf.c: Likewise.
85234         * math/w_hypotl.c: Likewise.
85235         * math/w_lgamma.c: Likewise.
85236         * math/w_lgamma_r.c: Likewise.
85237         * math/w_lgammaf.c: Likewise.
85238         * math/w_lgammaf_r.c: Likewise.
85239         * math/w_lgammal.c: Likewise.
85240         * math/w_lgammal_r.c: Likewise.
85241         * math/w_sinh.c: Likewise.
85242         * math/w_sinhf.c: Likewise.
85243         * math/w_sinhl.c: Likewise.
85244         * math/w_tgamma.c: Likewise.
85245         * math/w_tgammaf.c: Likewise.
85246         * math/w_tgammal.c: Likewise.
85247         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85248         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85249         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
85250         Minor optimizations.  Pretty printing.  Remove cruft.
85251         * sysdeps/i386/fpu/e_acosf.S: Likewise.
85252         * sysdeps/i386/fpu/e_acosh.S: Likewise.
85253         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
85254         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
85255         * sysdeps/i386/fpu/e_acosl.c: Likewise.
85256         * sysdeps/i386/fpu/e_asin.S: Likewise.
85257         * sysdeps/i386/fpu/e_asinf.S: Likewise.
85258         * sysdeps/i386/fpu/e_atan2.S: Likewise.
85259         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
85260         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
85261         * sysdeps/i386/fpu/e_atanh.S: Likewise.
85262         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
85263         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
85264         * sysdeps/i386/fpu/e_exp10.S: Likewise.
85265         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
85266         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
85267         * sysdeps/i386/fpu/e_exp2.S: Likewise.
85268         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
85269         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
85270         * sysdeps/i386/fpu/e_fmod.S: Likewise.
85271         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
85272         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
85273         * sysdeps/i386/fpu/e_hypot.S: Likewise.
85274         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
85275         * sysdeps/i386/fpu/e_log.S: Likewise.
85276         * sysdeps/i386/fpu/e_log10.S: Likewise.
85277         * sysdeps/i386/fpu/e_log10f.S: Likewise.
85278         * sysdeps/i386/fpu/e_log10l.S: Likewise.
85279         * sysdeps/i386/fpu/e_log2.S: Likewise.
85280         * sysdeps/i386/fpu/e_log2f.S: Likewise.
85281         * sysdeps/i386/fpu/e_log2l.S: Likewise.
85282         * sysdeps/i386/fpu/e_logf.S: Likewise.
85283         * sysdeps/i386/fpu/e_logl.S: Likewise.
85284         * sysdeps/i386/fpu/e_pow.S: Likewise.
85285         * sysdeps/i386/fpu/e_powf.S: Likewise.
85286         * sysdeps/i386/fpu/e_powl.S: Likewise.
85287         * sysdeps/i386/fpu/e_remainder.S: Likewise.
85288         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
85289         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
85290         * sysdeps/i386/fpu/e_scalb.S: Likewise.
85291         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
85292         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
85293         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
85294         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
85295         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
85296         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
85297         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85298         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85299         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
85300         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
85301         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
85302         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
85303         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
85304         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85305         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
85306         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
85307         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
85308         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85309         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
85310         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
85311         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85312         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
85313         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
85314         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85315         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85316         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
85317         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
85318         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85319         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85320         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
85321         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
85322         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
85323         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
85324         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
85325         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
85326         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85327         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
85328         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85329         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
85330         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
85331         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
85332         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
85333         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
85334         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
85335         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
85336         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
85337         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
85338         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
85339         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
85340         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85341         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
85342         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
85343         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
85344         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
85345         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
85346         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
85347         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
85348         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
85349         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85350         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
85351         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
85352         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
85353         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
85354         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
85355         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
85356         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
85357         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
85358         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85359         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85360         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
85361         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
85362         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
85363         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
85364         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
85365         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
85366         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
85367         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
85368         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
85369         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
85370         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
85371         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85372         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
85373         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
85374         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85375         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
85376         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
85377         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
85378         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
85379         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85380         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
85381         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
85382         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85383         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
85384         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
85385         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
85386         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85387         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
85388         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
85389         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
85390         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
85391         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
85392         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
85393         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
85394         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
85395         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
85396         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
85397         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
85398         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
85399         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
85400         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
85401         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
85402         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
85403         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85404         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
85405         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
85406         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
85407         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
85408         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
85409         (__isnanf): Likewise.
85410         (__isinf_ns): Likewise.
85411         (__isinf_nsf): Likewise.
85412         (__finite): Likewise.
85413         (__finitef): Likewise.
85414         (__ieee754_sqrt): Define as macro.
85415         (__ieee754_sqrtf): Define as macro.
85416         (__ieee754_sqrtl): Define as macro.
85417         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
85418         inlined copy.
85419         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
85420         __FINITE_MATH_ONLY__ consistent.
85421         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
85423 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
85425         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
85426         of rawmemchr.
85428         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
85430 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
85432         * po/ja.po: Update from translation team.
85434 2011-10-08  Roland McGrath  <roland@hack.frob.com>
85436         * locale/programs/locarchive.c (prepare_address_space): New function.
85437         (create_archive, enlarge_archive, open_archive): Use it.
85439         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
85440         inside [SHARED], where it is used.
85442         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
85444         * nss/getent.c (netgroup_keys): Remove unused variable.
85445         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
85447 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
85449         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
85450         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
85451         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
85452         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
85453         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
85454         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
85455         * math/Makefile (libm-calls): Add s_isinf_ns.
85456         * math/divtc3.c: Use __isinf_nsl instead of isinf.
85457         * math/multc3.c: Likewise.
85458         * math/s_casin.c: Likewise.
85459         * math/s_casinf.c: Likewise.
85460         * math/s_casinl.c: Likewise.
85461         * math/s_ccos.c: Likewise.
85462         * math/s_ccosf.c: Likewise.
85463         * math/s_ccosl.c: Likewise.
85464         * math/s_ctan.c: Likewise.
85465         * math/s_ctanf.c: Likewise.
85466         * math/s_ctanh.c: Likewise.
85467         * math/s_ctanhf.c: Likewise.
85468         * math/s_ctanhl.c: Likewise.
85469         * math/s_ctanl.c: Likewise.
85470         * math/w_fmod.c: Likewise.
85471         * math/w_fmodf.c: Likewise.
85472         * math/w_fmodl.c: Likewise.
85473         * math/w_remainder.c: Likewise.
85474         * math/w_remainderf.c: Likewise.
85475         * math/w_remainderl.c: Likewise.
85476         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
85477         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
85478         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
85479         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
85480         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
85481         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
85482         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
85483         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
85485         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
85486         of the number.
85487         * stdio-common/printf_fphex.c: Likewise.
85488         * stdio-common/printf_size.c: Likewise.
85490         * math/e_exp10.c: Include math_private.h using <...> not "...".
85491         * math/e_exp10f.c: Likewise.
85492         * math/e_exp10l.c: Likewise.
85493         * math/e_exp2l.c: Likewise.
85494         * math/e_j0l.c: Likewise.
85495         * math/e_j1l.c: Likewise.
85496         * math/e_jnl.c: Likewise.
85497         * math/e_lgammal_r.c: Likewise.
85498         * math/e_rem_pio2l.c: Likewise.
85499         * math/e_scalb.c: Likewise.
85500         * math/e_scalbf.c: Likewise.
85501         * math/e_scalbl.c: Likewise.
85502         * math/k_cosl.c: Likewise.
85503         * math/k_sinl.c: Likewise.
85504         * math/k_tanl.c: Likewise.
85505         * math/s_cacoshf.c: Likewise.
85506         * math/s_catan.c: Likewise.
85507         * math/s_catanf.c: Likewise.
85508         * math/s_catanh.c: Likewise.
85509         * math/s_catanhf.c: Likewise.
85510         * math/s_catanhl.c: Likewise.
85511         * math/s_catanl.c: Likewise.
85512         * math/s_ccosh.c: Likewise.
85513         * math/s_ccoshf.c: Likewise.
85514         * math/s_ccoshl.c: Likewise.
85515         * math/s_cexp.c: Likewise.
85516         * math/s_cexpf.c: Likewise.
85517         * math/s_cexpl.c: Likewise.
85518         * math/s_clog.c: Likewise.
85519         * math/s_clog10.c: Likewise.
85520         * math/s_clog10f.c: Likewise.
85521         * math/s_clog10l.c: Likewise.
85522         * math/s_clogf.c: Likewise.
85523         * math/s_clogl.c: Likewise.
85524         * math/s_csin.c: Likewise.
85525         * math/s_csinf.c: Likewise.
85526         * math/s_csinh.c: Likewise.
85527         * math/s_csinhf.c: Likewise.
85528         * math/s_csinhl.c: Likewise.
85529         * math/s_csinl.c: Likewise.
85530         * math/s_csqrt.c: Likewise.
85531         * math/s_csqrtf.c: Likewise.
85532         * math/s_csqrtl.c: Likewise.
85533         * math/s_ctan.c: Likewise.
85534         * math/s_ctanf.c: Likewise.
85535         * math/s_ctanh.c: Likewise.
85536         * math/s_ctanhf.c: Likewise.
85537         * math/s_ctanhl.c: Likewise.
85538         * math/s_ctanl.c: Likewise.
85539         * math/s_ldexp.c: Likewise.
85540         * math/s_ldexpf.c: Likewise.
85541         * math/s_ldexpl.c: Likewise.
85542         * math/s_significand.c: Likewise.
85543         * math/s_significandf.c: Likewise.
85544         * math/s_significandl.c: Likewise.
85545         * math/w_acos.c: Likewise.
85546         * math/w_acosf.c: Likewise.
85547         * math/w_acosh.c: Likewise.
85548         * math/w_acoshf.c: Likewise.
85549         * math/w_acoshl.c: Likewise.
85550         * math/w_acosl.c: Likewise.
85551         * math/w_asin.c: Likewise.
85552         * math/w_asinf.c: Likewise.
85553         * math/w_asinl.c: Likewise.
85554         * math/w_atan2.c: Likewise.
85555         * math/w_atan2f.c: Likewise.
85556         * math/w_atan2l.c: Likewise.
85557         * math/w_atanh.c: Likewise.
85558         * math/w_atanhf.c: Likewise.
85559         * math/w_atanhl.c: Likewise.
85560         * math/w_cosh.c: Likewise.
85561         * math/w_coshf.c: Likewise.
85562         * math/w_coshl.c: Likewise.
85563         * math/w_dremf.c: Likewise.
85564         * math/w_exp10.c: Likewise.
85565         * math/w_exp10f.c: Likewise.
85566         * math/w_exp10l.c: Likewise.
85567         * math/w_exp2.c: Likewise.
85568         * math/w_exp2f.c: Likewise.
85569         * math/w_fmod.c: Likewise.
85570         * math/w_fmodf.c: Likewise.
85571         * math/w_fmodl.c: Likewise.
85572         * math/w_hypot.c: Likewise.
85573         * math/w_hypotf.c: Likewise.
85574         * math/w_hypotl.c: Likewise.
85575         * math/w_j0.c: Likewise.
85576         * math/w_j0f.c: Likewise.
85577         * math/w_j0l.c: Likewise.
85578         * math/w_j1.c: Likewise.
85579         * math/w_j1f.c: Likewise.
85580         * math/w_j1l.c: Likewise.
85581         * math/w_jn.c: Likewise.
85582         * math/w_jnf.c: Likewise.
85583         * math/w_jnl.c: Likewise.
85584         * math/w_lgamma.c: Likewise.
85585         * math/w_lgamma_r.c: Likewise.
85586         * math/w_lgammaf.c: Likewise.
85587         * math/w_lgammaf_r.c: Likewise.
85588         * math/w_lgammal.c: Likewise.
85589         * math/w_lgammal_r.c: Likewise.
85590         * math/w_log.c: Likewise.
85591         * math/w_log10.c: Likewise.
85592         * math/w_log10f.c: Likewise.
85593         * math/w_log10l.c: Likewise.
85594         * math/w_log2.c: Likewise.
85595         * math/w_log2f.c: Likewise.
85596         * math/w_log2l.c: Likewise.
85597         * math/w_logf.c: Likewise.
85598         * math/w_logl.c: Likewise.
85599         * math/w_pow.c: Likewise.
85600         * math/w_powf.c: Likewise.
85601         * math/w_powl.c: Likewise.
85602         * math/w_remainder.c: Likewise.
85603         * math/w_remainderf.c: Likewise.
85604         * math/w_remainderl.c: Likewise.
85605         * math/w_scalb.c: Likewise.
85606         * math/w_scalbf.c: Likewise.
85607         * math/w_scalbl.c: Likewise.
85608         * math/w_sinh.c: Likewise.
85609         * math/w_sinhf.c: Likewise.
85610         * math/w_sinhl.c: Likewise.
85611         * math/w_sqrt.c: Likewise.
85612         * math/w_sqrtf.c: Likewise.
85613         * math/w_sqrtl.c: Likewise.
85614         * math/w_tgamma.c: Likewise.
85615         * math/w_tgammaf.c: Likewise.
85616         * math/w_tgammal.c: Likewise.
85618         * po/ja.po: Update from translation team.
85620 2011-09-29  Andreas Jaeger  <aj@suse.de>
85622         [BZ #13179]
85623         * sunrpc/netname.c (netname2host): Fix logic.
85625         [BZ #6779]
85626         [BZ #6783]
85627         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
85628         correctly.
85629         * math/w_remainder.c (__remainder): Likewise.
85630         * math/w_remainderf.c (__remainderf): Likewise.
85631         * math/libm-test.inc (remainder_test): Add test cases.
85633 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85635         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
85636         sdiv_qrnnd.
85638 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
85640         * string/test-memcmp.c: Avoid unncessary #defines.
85641         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
85643 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85645         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
85646         Use new sse2 version for core i3 - i7 as it's faster
85647         than sse42 version.
85648         (bit_Prefer_PMINUB_for_stringop): New.
85649         * sysdeps/x86_64/rawmemchr.S: Update.
85650         Replace with faster SSE2 version.
85651         * sysdeps/x86_64/memrchr.S: New file.
85652         * sysdeps/x86_64/memchr.S: Update.
85653         Replace with faster SSE2 version.
85655 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
85657         * elf/dl-load.c (lose): Add cast to avoid warning.
85659 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
85661         * po/ca.po: Update from translation team.
85663         * inet/getnetgrent_r.c: Hook up nscd.
85664         * nscd/Makefile (routines): Add nscd_netgroup.
85665         (nscd-modules): Add netgroupcache.
85666         (CFLAGS-netgroupcache.c): Define.
85667         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
85668         (cache_search): Add const to second parameter.
85669         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
85670         INNETGR.
85671         (dbs): Add netgrdb entry.
85672         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
85673         (verify_persistent_db): Handle netgrdb.
85674         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
85675         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
85676         GETFDNETGR.
85677         (netgroup_response_header): Define.
85678         (innetgroup_response_header): Define.
85679         (datahead): Add netgroup_response_header and innetgroup_response_header
85680         elements.
85681         * nscd/nscd.conf: Add entries for netgroup cache.
85682         * nscd/nscd.h (dbtype): Add netgrdb.
85683         (_PATH_NSCD_NETGROUP_DB): Define.
85684         (netgroup_iov_disabled): Declare.
85685         (xmalloc, xcalloc, xrealloc): Move declarations here.
85686         (cache_search): Adjust prototype.
85687         Add netgroup-related prototypes.
85688         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
85689         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
85690         (__nscd_innetgr): Declare.
85691         * nscd/selinux.c (perms): Use access_vector_t as element type and
85692         add netgroup-related initializers.
85693         * nscd/netgroupcache.c: New file.
85694         * nscd/nscd_netgroup.c: New file.
85695         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
85696         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
85697         For four parameters use innetgr.
85698         * nss/nss_files/files-init.c: Add definition and callback for netgr.
85699         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
85700         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
85701         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
85703         * nscd/connections.c (register_traced_file): Don't register file
85704         for disabled databases.
85706 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
85708         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
85710         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
85711         from tree and freeing node.
85713 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
85715         * nss/nsswitch.c (__nss_database_lookup): Handle
85716         nss_parse_service_list out of memory case.
85718 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
85720         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
85721         out of memory case.
85723 2011-10-04  Andreas Schwab  <schwab@redhat.com>
85725         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
85726         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
85727         pass it down.
85728         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
85729         elf_machine_rela, elf_machine_lazy_rel.
85730         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
85731         (ELF_DYNAMIC_DO_REL): Likewise.
85732         (ELF_DYNAMIC_DO_RELA): Likewise.
85733         (ELF_DYNAMIC_RELOCATE): Likewise.
85734         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
85735         to ELF_DYNAMIC_DO_REL.
85736         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
85737         (dl_main): In trace mode always set __RTLD_NOIFUNC.
85738         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
85739         elf_machine_rela.
85740         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
85741         skip_ifunc, don't call ifunc function if non-zero.
85742         (elf_machine_rela): Likewise.
85743         (elf_machine_lazy_rel): Likewise.
85744         (elf_machine_lazy_rela): Likewise.
85745         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
85746         (elf_machine_lazy_rel): Likewise.
85747         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
85748         Likewise.
85749         (elf_machine_lazy_rel): Likewise.
85750         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85751         Likewise.
85752         (elf_machine_lazy_rel): Likewise.
85753         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
85754         (elf_machine_lazy_rel): Likewise.
85755         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
85756         (elf_machine_lazy_rel): Likewise.
85757         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
85758         (elf_machine_lazy_rel): Likewise.
85759         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
85760         (elf_machine_lazy_rel): Likewise.
85761         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
85762         (elf_machine_lazy_rel): Likewise.
85763         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
85764         (elf_machine_lazy_rel): Likewise.
85766 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
85768         * nss/nss_files/files-init.c (_nss_files_init): Use static
85769         initialization for all the *_traced_file variables.
85771 2011-09-28  Andreas Schwab  <schwab@redhat.com>
85773         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85775 2011-09-27  Roland McGrath  <roland@hack.frob.com>
85777         [BZ #13226]
85778         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
85780 2011-09-27  Andreas Schwab  <schwab@redhat.com>
85782         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
85783         Reread the line before reparsing it.
85785 2011-09-26  Andreas Schwab  <schwab@redhat.com>
85787         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
85789 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
85790             Maxim Kuvyrkov  <maxim@codesourcery.com>
85791             Joseph Myers  <joseph@codesourcery.com>
85793         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
85794         if needed for __stack_chk_guard.
85796 2011-09-19  Roland McGrath  <roland@hack.frob.com>
85798         * sysdeps/posix/spawni.c (script_execute): Always define it.
85799         It will be optimized away if unused.
85800         (maybe_script_execute): New function.
85801         (__spawni): Call it.
85803         * Makerules: Don't include tls.make.
85804         (config-tls): Always set to thread.
85805         * tls.make.c: File removed.
85807 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
85809         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
85810         * config.make.in (CPPFLAGS-config): New substituted variable.
85812 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
85814         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
85816         [BZ #13192]
85817         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
85818         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
85820 2011-09-15  Roland McGrath  <roland@hack.frob.com>
85822         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
85823         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
85824         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
85825         (CALL_FAIL): Likewise.
85826         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
85827         (CALL_FAIL): Macro removed.
85828         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
85830 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
85832         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
85833         for __FINITE_MATH_ONLY__ == 1.
85835 2011-09-15  Andreas Schwab  <schwab@redhat.com>
85837         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
85838         __ieee754_sqrt instead of sqrt.
85839         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
85840         __ieee754_sqrtf instead of sqrtf.
85841         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
85842         __floorf instead of floorf.
85843         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
85844         __floorf, __truncf instead of floorf, truncf.
85846 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
85848         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
85850         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
85851         __extern_always_inline.
85852         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
85853         32-bit.
85855 2011-09-14  Andreas Schwab  <schwab@redhat.com>
85857         * elf/rtld.c (dl_main): Also relocate in dependency order when
85858         doing symbol dependency testing.
85860 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
85862         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85863         Always define `refsym'.
85865 2011-09-13  Andreas Schwab  <schwab@redhat.com>
85867         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
85868         (__FD_ELT): Renamed from __FDELT.
85869         * misc/bits/select2.h (__FD_ELT): Likewise.
85870         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
85871         __FD_MASK instead of __FDELT, __FDMASK.
85872         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
85873         Likewise.
85874         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
85875         Likewise.
85877         * elf/Makefile (gen-ldd): Fix pattern.
85879         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
85880         (init_tls): Likewise.
85882 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
85884         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
85886 2011-09-12  Andreas Schwab  <schwab@redhat.com>
85888         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
85889         `struct cmsghdr *' instead of `void *'.
85890         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
85891         Likewise.
85893 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
85895         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
85896         if non-absolute.
85897         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
85898         ldd_rewrite_script.
85900 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
85902         * configure.in: Remove --with-tls option.
85903         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
85904         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
85905         out in case it is missing.
85906         * sysdeps/ia64/elf/configure.in: Likewise.
85907         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
85908         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
85909         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
85910         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
85911         * sysdeps/sh/elf/configure.in: Likewise.
85912         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
85913         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
85914         * sysdeps/x86_64/elf/configure.in: Likewise.
85915         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
85916         * sysdeps/mach/hurd/tls.h: Likewise.
85918         [BZ #13067]
85919         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
85921         [BZ #13090]
85922         * configure.in: Fix use of AC_INIT.
85924         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
85926 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
85928         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
85929         __set_errno.
85930         * malloc/hooks.c: Likewise.
85932         [BZ #11929]
85933         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
85934         variables statically.
85935         (narenas): Initialize.
85936         (list_lock): Initialize.
85937         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
85938         initializtion of main_arena and list_lock.  Small cleanups.
85939         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
85940         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
85941         Add initializers to main_arena and mp_.
85942         (malloc_state): Remove pagesize member.  Change all users to use
85943         GLRO(dl_pagesize).
85945         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
85946         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
85947         is always initialized.
85949         * malloc/malloc.c: Removed unused configurations and dead code.
85950         * malloc/arena.c: Likewise.
85951         * malloc/hooks.c: Likewise.
85952         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
85954         * include/tls.h: Removed.  USE___THREAD must always be defined.
85955         * bits/libc-tsd.h: Don't handle !USE___THREAD.
85956         * elf/dl-libc.c: Likewise.
85957         * elf/dl-tsd.c: Likewise.
85958         * include/errno.h: Likewise.
85959         * include/netdb.h: Likewise.
85960         * include/resolv.h: Likewise.
85961         * inet/herrno-loc.c: Likewise.
85962         * inet/herrno.c: Likewise.
85963         * malloc/arena.c: Likewise.
85964         * malloc/hooks.c: Likewise.
85965         * malloc/malloc.c: Likewise.
85966         * resolv/res-state.c: Likewise.
85967         * resolv/res_libc.c: Likewise.
85968         * sysdeps/i386/dl-machine.h: Likewise.
85969         * sysdeps/ia64/dl-machine.h: Likewise.
85970         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
85971         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
85972         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
85973         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
85974         * sysdeps/sh/dl-machine.h: Likewise.
85975         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
85976         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
85977         * sysdeps/unix/i386/sysdep.S: Likewise.
85978         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
85979         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
85980         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
85981         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
85982         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
85983         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
85984         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
85985         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
85986         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
85987         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
85988         * sysdeps/unix/x86_64/sysdep.S: Likewise.
85989         * sysdeps/x86_64/dl-machine.h: Likewise.
85990         * tls.make.c: Likewise.
85992         * configure.in: Remove --with-__thread option.  Make tests for
85993         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
85994         tls_model attribute fail if no support is available.  Remove
85995         USE_IN_LIBIO.
85996         * Makeconfig: Adjust for dropped configure option.  All features are
85997         now mandatory.
85998         * Makerules: Likewise.
85999         * Versions.def: Likewise.
86000         * argp/argp-fmtstream.c: Likewise.
86001         * argp/argp-fmtstream.h: Likewise.
86002         * argp/argp-help.c: Likewise.
86003         * assert/assert.c: Likewise.
86004         * config.h.in: Likewise.
86005         * config.make.in: Likewise.
86006         * configure: Likewise.
86007         * configure.in: Likewise.
86008         * csu/Versions: Likewise.
86009         * csu/init.c: Likewise.
86010         * elf/tst-audit2.c: Likewise.
86011         * elf/tst-tls10.c: Likewise.
86012         * elf/tst-tls10.h: Likewise.
86013         * elf/tst-tls11.c: Likewise.
86014         * elf/tst-tls12.c: Likewise.
86015         * elf/tst-tls14.c: Likewise.
86016         * elf/tst-tlsmod11.c: Likewise.
86017         * elf/tst-tlsmod12.c: Likewise.
86018         * elf/tst-tlsmod13.c: Likewise.
86019         * elf/tst-tlsmod13a.c: Likewise.
86020         * elf/tst-tlsmod14a.c: Likewise.
86021         * elf/tst-tlsmod15b.c: Likewise.
86022         * elf/tst-tlsmod16a.c: Likewise.
86023         * elf/tst-tlsmod16b.c: Likewise.
86024         * elf/tst-tlsmod7.c: Likewise.
86025         * elf/tst-tlsmod8.c: Likewise.
86026         * elf/tst-tlsmod9.c: Likewise.
86027         * gmon/gmon.c: Likewise.
86028         * grp/fgetgrent_r.c: Likewise.
86029         * grp/putgrent.c: Likewise.
86030         * hurd/fopenport.c: Likewise.
86031         * include/libc-symbols.h: Likewise.
86032         * include/tls.h: Likewise.
86033         * intl/gettextP.h: Likewise.
86034         * intl/loadinfo.h: Likewise.
86035         * locale/global-locale.c: Likewise.
86036         * locale/localeinfo.h: Likewise.
86037         * mach/devstream.c: Likewise.
86038         * malloc/arena.c: Likewise.
86039         * malloc/set-freeres.c: Likewise.
86040         * misc/err.c: Likewise.
86041         * misc/getttyent.c: Likewise.
86042         * misc/mntent_r.c: Likewise.
86043         * posix/getopt.c: Likewise.
86044         * posix/wordexp.c: Likewise.
86045         * pwd/fgetpwent_r.c: Likewise.
86046         * resolv/Versions: Likewise.
86047         * resolv/res_hconf.c: Likewise.
86048         * shadow/fgetspent_r.c: Likewise.
86049         * shadow/putspent.c: Likewise.
86050         * stdio-common/printf_fphex.c: Likewise.
86051         * stdio-common/tmpfile.c: Likewise.
86052         * stdlib/abort.c: Likewise.
86053         * stdlib/fmtmsg.c: Likewise.
86054         * sunrpc/auth_unix.c: Likewise.
86055         * sunrpc/clnt_perr.c: Likewise.
86056         * sunrpc/clnt_tcp.c: Likewise.
86057         * sunrpc/clnt_udp.c: Likewise.
86058         * sunrpc/clnt_unix.c: Likewise.
86059         * sunrpc/openchild.c: Likewise.
86060         * sunrpc/svc_simple.c: Likewise.
86061         * sunrpc/svc_tcp.c: Likewise.
86062         * sunrpc/svc_udp.c: Likewise.
86063         * sunrpc/svc_unix.c: Likewise.
86064         * sunrpc/xdr.c: Likewise.
86065         * sunrpc/xdr_array.c: Likewise.
86066         * sunrpc/xdr_rec.c: Likewise.
86067         * sunrpc/xdr_ref.c: Likewise.
86068         * sunrpc/xdr_stdio.c: Likewise.
86070 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86072         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86074 2011-07-03  Andreas Jaeger  <aj@suse.de>
86076         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
86077         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
86078         regenerate with gen-libm-tests.pl.
86080 2010-05-12  Petr Baudis  <pasky@suse.cz>
86082         [BZ #11589]
86083         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
86084         around j0() zero points by switching to j1().
86085         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86086         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86087         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86088         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86090 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86092         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
86093         instead of 0.
86094         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
86095         instead of 0.
86096         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86097         Patch in part by Pavel Roskin <proski@gnu.org>.
86099         [BZ #13138]
86100         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
86101         realloc.
86102         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
86103         Free memory block if necessary.
86105         [BZ #12847]
86106         * libio/genops.c (INTDEF): For string streams the _lock pointer can
86107         be NULL.  Don't lock in this case.
86109 2011-09-09  Roland McGrath  <roland@hack.frob.com>
86111         * elf/elf.h (ELFOSABI_GNU): New macro.
86112         (ELFOSABI_LINUX): Define to that.
86114 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
86116         * string/strncat.c (strncat): Undef the symbol in case it has been
86117         defined in bits/string.h.
86119 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86121         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
86123         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
86124         link map.
86126 2011-08-17  Andreas Jaeger  <aj@suse.de>
86128         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
86130 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
86131             Ian Lance Taylor  <iant@google.com>
86133         * math/libm-test.inc (lround_test): New testcase.
86134         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
86136 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
86138         * Makefile: Remove support for automatic cvs check-ins.
86139         * Makerules: Likewise.
86140         * config.make.in: Likewise.
86141         * configure.in: Likewise.
86142         * intl/Makefile: Likewise.
86143         * locale/Makefile: Likewise.
86144         * po/Makefile: Likewise.
86145         * posix/Makefile: Likewise.
86146         * sysdeps/gnu/Makefile: Likewise.
86147         * sysdeps/mach/hurd/Makefile: Likewise.
86148         * sysdeps/sparc/sparc32/Makefile: Likewise.
86150         [BZ #13118]
86151         * posix/Makefile (bug-regex32-ENV): Define.
86152         Patch by John Stanley <jpsinthemix@verizon.net>.
86154         * misc/Makefile (headers): Add bits/select2.h.
86155         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
86156         * misc/bits/select2.h: New file.
86157         * include/bits/select2.h: New file.
86158         * debug/Makefile (routines): Add fdelt_chk.
86159         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
86160         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
86161         FD_ISSET.
86162         * debug/fdelt_chk.c: New file.
86164         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
86165         * wcsmbs/test-wmemcmp.c: Likewise.
86166         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
86167         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
86169 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86171         * string/Makefile (strop-tests): Add memcmp.
86172         * string/test-wmemcmp.c: New file.
86173         * string/test-memcmp.c: Add wmemcmp support.
86175 2011-09-08  Roland McGrath  <roland@hack.frob.com>
86177         [BZ #13153]
86178         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
86179         2011-07-19 change.
86181         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
86182         garbage value in a __mach_port_mod_refs call in the cases of the
86183         task-self and thread-self ports.
86185 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86187         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
86189 2011-09-08  Andreas Schwab  <schwab@redhat.com>
86191         * elf/dl-load.c (lose): Check for non-null L.
86193 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
86195         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
86197         * elf/dl-libc.c (dlerror_run): Pass back error code from
86198         dl_catch_error.
86200         [BZ #13123]
86201         * elf/dl-load.c (lose): Free l_origin if it is valid.
86203         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
86204         names.
86205         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
86206         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
86207         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
86208         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
86209         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
86210         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
86212 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86214         * sysdeps/powerpc/fpu/e_hypot.c: New file.
86215         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
86216         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
86217         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
86218         * sysdeps/powerpc/fpu/k_cosf.c: New file.
86219         * sysdeps/powerpc/fpu/k_sinf.c: New file.
86220         * sysdeps/powerpc/fpu/s_cosf.c: New file.
86221         * sysdeps/powerpc/fpu/s_sinf.c: New file.
86222         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
86223         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
86225 2011-08-15  Alan Modra  <amodra@gmail.com>
86227         [BZ #13092]
86228         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
86229         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
86230         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
86231         ppc_mcount to static-only-routines.
86232         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
86233         __mcount_internal.
86234         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
86235         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
86237 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
86239         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
86240         for finite and infinity parameters.
86242 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
86244         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
86245         and add nop instructions for throughput optimization.
86246         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
86248 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
86250         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
86251         aligned copy for power7 with vector-scalar instructions.
86252         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
86254 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
86256         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
86257         AVX check.
86259 2011-09-07  Andreas Schwab  <schwab@redhat.com>
86261         [BZ #13144]
86262         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
86263         last change.
86265 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
86267         * sysdeps/unix/sysv/linux/x86_64/init-first.c
86268         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
86269         syscall wrapper around clock_gettime in __vdso_clock_gettime.
86270         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
86271         clock_gettime.
86273 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
86275         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
86276         Forgot to demangle the pointer.
86278         * sysdeps/i386/sysdep.h: Define atom_text_section.
86279         * sysdeps/x86_64/sysdep.h: Likewise.
86280         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
86281         section with atom_text_section.
86282         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
86283         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
86284         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
86285         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
86286         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
86288         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
86289         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
86290         already be defined.  Change to take two parameters and don't assign
86291         result to variable.  Adjust all users.
86292         Define INTERNAL_GETTIME if not already defined.
86293         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
86294         call.
86295         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
86296         HAVE_CLOCK_GETTIME_VSYSCALL.
86297         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
86299         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
86300         gettimeofday vsyscall, just use time.
86302 2011-09-06  Andreas Schwab  <schwab@redhat.com>
86304         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
86305         <errno.h>.
86307 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
86309         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
86310         syscall on x86-64.
86311         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
86312         syscall.
86313         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
86314         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
86315         syscall if possible.
86317 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86319         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
86320         e_ident.  Don't pass to find_mapsXX.
86321         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
86323 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86325         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86326         strchr-sse2-no-bsf strrchr-sse2-no-bsf
86327         * sysdeps/x86_64/multiarch/strchr.S: Update.
86328         Check bit_slow_BSF bit.
86329         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
86330         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
86331         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
86333 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86335         [BZ #13134]
86336         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
86337         before glibc 2.15.
86338         (tryshell): Define.
86339         (__spawni): Change last parameter to be flag.  Test
86340         SPAWN_XFLAGS_USE_PATH flag to use path or not.
86341         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
86342         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
86343         * posix/spawni.c: Likewise.
86344         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
86345         * posix/spawnp.c: Likewise.  Change normal version to use
86346         SPAWN_XFLAGS_USE_PATH.
86347         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
86348         SPAWN_XFLAGS_TRY_SHELL.
86350         [BZ #13150]
86351         * posix/glob.h: Remove gcc 1.x support.
86353         [BZ #13068]
86354         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
86356 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86358         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86359         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
86360         strrchr-sse2-bsf
86361         * sysdeps/i386/i686/multiarch/strchr.S: New file.
86362         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
86363         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
86364         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
86365         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
86366         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
86368 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86370         * sysdeps/x86_64/wcscmp.S: New file.
86372         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
86373         wcscmp-c wcscmp-sse2
86374         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
86375         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
86376         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
86377         * wcsmbs/wcscmp.c: Allow renaming.
86379 2011-09-05  David S. Miller  <davem@davemloft.net>
86381         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
86382         stack slot, rather than the struct return pointer slot.
86383         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
86384         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
86385         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
86386         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
86388 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86390         * po/ja.po: Update from translation team.
86392         [BZ #13144]
86393         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
86394         kernel in 64-bit binaries.
86396 2011-09-01  David S. Miller  <davem@davemloft.net>
86398         * elf/elf.h (HWCAP_SPARC_*): Move to..
86399         * sysdeps/sparc/sysdep.h: this new file and add new values.
86400         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
86401         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
86402         _DL_HWCAP_COUNT to 24.
86403         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
86404         entries.
86405         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
86406         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
86407         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
86408         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
86409         instead of magic constants.
86410         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86412 2011-08-31  David S. Miller  <davem@davemloft.net>
86414         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
86415         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
86416         Reimplement to do errno handling inline.
86417         (SYSCALL_ERROR_HANDLER): New macro.
86418         (__SYSCALL_STRING): Do not do errno handling in asm.
86419         (__CLONE_SYSCALL_STRING): Delete.
86420         (__INTERNAL_SYSCALL_STRING): Delete.
86421         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
86422         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
86423         (PSEUDO): Reimplement to do errno handling inline.
86424         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
86425         (SYSCALL_ERROR_HANDLER): New macro.
86426         (__SYSCALL_STRING): Do not do errno handling in asm.
86427         (__CLONE_SYSCALL_STRING): Delete.
86428         (__INTERNAL_SYSCALL_STRING): Delete.
86429         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
86430         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
86431         i386.
86432         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
86433         (inline_syscall*): Add 'err' argument.
86434         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
86435         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
86436         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
86437         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
86439         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
86440         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
86442 2011-08-30  Andreas Schwab  <schwab@redhat.com>
86444         * elf/rtld.c (dl_main): Relocate objects in dependency order.
86446 2011-08-29  Jiri Olsa <jolsa@redhat.com>
86448         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
86449         directive.
86451 2011-08-24  David S. Miller  <davem@davemloft.net>
86453         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
86455 2011-08-24  Andreas Schwab  <schwab@redhat.com>
86457         * elf/Makefile: Add rules to build and run unload8 test.
86458         * elf/unload8.c: New file.
86459         * elf/unload8mod1.c: New file.
86460         * elf/unload8mod1x.c: New file.
86461         * elf/unload8mod2.c: New file.
86462         * elf/unload8mod3.c: New file.
86464         * elf/dl-close.c (_dl_close_worker): Reset private search list if
86465         it wasn't used.
86467 2011-08-23  David S. Miller  <davem@davemloft.net>
86469         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
86470         subtract stack bias.
86471         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
86472         %sp not %fp in calculations.
86473         (_JMPBUF_UNWINDS_ADJ): Likewise.
86475         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
86476         (aio_suspend): Call it to force an exception region around the
86477         AIO_MISC_WAIT() invocation.
86479 2011-08-23  Andreas Schwab  <schwab@redhat.com>
86481         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
86482         backslash.
86484 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
86486         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
86487         protection macro.
86488         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
86489         and <dl-machine.h>.
86490         (Elf64_FuncDesc): Remove.
86492 2011-08-22  David S. Miller  <davem@davemloft.net>
86494         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
86495         sigaltstack check, add missing cfi directives.
86496         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
86497         missing cfi directives, and sigaltstack handling.
86499 2011-08-16  Andreas Schwab  <schwab@redhat.com>
86501         [BZ #11724]
86502         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
86503         object is seen twice.
86504         * elf/dl-fini.c (_dl_sort_fini): Likewise.
86506         * elf/Makefile (distribute): Add tst-initorder2.c.
86507         (tests): Add tst-initorder2.
86508         (modules-names): Add tst-initorder2a tst-initorder2b
86509         tst-initorder2c tst-initorder2d.  Add rules to build them.
86510         ($(objpfx)tst-initorder2.out): New rule.
86511         * elf/tst-initorder2.c: New file.
86512         * elf/tst-initorder2.exp: New file.
86514 2011-08-22  Andreas Schwab  <schwab@redhat.com>
86516         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
86518         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
86519         dependencies back to end of function.
86521         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
86522         $(elfobjdir)/ld.so.
86524 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
86526         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
86527         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
86528         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
86529         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
86530         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
86531         of __vdso_gettimeofday.
86532         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
86533         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
86534         attribute_hidden.
86535         (_libc_vdso_platform_setup): Remove initialization of
86536         __vdso_gettimeofday and __vdso_time.
86538 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
86540         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
86541         and fgetc_unlocked.
86542         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
86543         getc_unlocked.
86545         * elf/dl-open.c (add_to_global): Report additions to the global scope
86546         for LD_DEBUG=scopes.
86547         (dl_open_worker): Also print scope of newly loaded dependencies.
86548         (_dl_show_scope): Indicate if there is no scope.
86550         [BZ #13114]
86551         * stdio-common/Makefile (tests): Add bug24.
86552         * stdio-common/bug24.c: New file.
86554 2011-08-19  Andreas Jaeger  <aj@suse.de>
86556         [BZ #13114]
86557         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
86558         non-existant file when using close-on-exec mode.
86560 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
86562         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
86563         the very first instruction.
86565         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
86566         the CFI state in the end.
86567         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
86568         inclusion of dl-trampoline.h.
86569         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
86571 2011-08-19  Andreas Schwab  <schwab@redhat.com>
86573         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
86574         expectations for long double.
86576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
86577         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
86579 2011-08-14  David S. Miller  <davem@davemloft.net>
86581         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
86582         artificual limit depends upon the system page size.
86584 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
86586         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
86587         * resolv/Makefile: Define CFLAGS-libresolv.
86589 2011-08-17  Andreas Schwab  <schwab@redhat.com>
86591         * nss/makedb.c (compute_tables): Make variables used in nested
86592         function static.
86594 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
86596         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
86597         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
86598         if buffer was too small.
86600         * elf/pldd.c (main): Attach to all threads in the process.
86601         Rewrite /proc handling to use *at functions.
86603 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
86605         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
86606         specifies first scope to show.
86607         (dl_open_worker): Update callers.  Move printing scope of new
86608         object to before the relocation.
86609         * elf/rtld.c (dl_main): Update _dl_show_scope call.
86610         * sysdeps/generic/ldsodefs.h: Update declaration.
86612         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
86613         string for the scope number.
86615 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
86617         * nscd/servicescache.c (cache_addserv): Make sure written is always
86618         initialized.
86620 2011-08-14  Roland McGrath  <roland@hack.frob.com>
86622         * sysdeps/i386/i486/bits/atomic.h
86623         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
86624         statement expression, so as to suppress "set but not used" warning.
86625         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
86627         * string/strncat.c (STRNCAT): Use prototype definition.
86629         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
86630         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
86631         -Iprograms here.
86632         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
86633         (localedef-modules): Add localedef.
86634         (locale-modules): Add locale.
86636         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
86637         * elf/rtld.c (dl_main): Invert order of assignment in last change,
86638         to avoid a warning.
86640 2011-08-14  David S. Miller  <davem@davemloft.net>
86642         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
86643         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
86645 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
86647         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
86648         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
86649         * elf/rtld.c (dl_main): Set l_name of vDSO.
86650         Call _dl_show_scope when DL_DEBUG_SCOPES.
86651         (process_dl_debug): Recognize scopes flag and also set it for all.
86652         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
86653         Declare _dl_show_scope.
86655         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
86656         (do_dlopen): Pass caller_dlopen to dl_open.
86657         (__libc_dlopen_mode): Initialize caller_dlopen.
86659         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
86660         of libc.  Make tolower call locale-independent.  Optimize a bit by
86661         using isdigit instead of isalnum.
86662         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
86664 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
86666         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
86667         was a dependency or dynamically loaded.
86669 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
86671         * intl/l10nflist.c: Allow architecture-specific pop function.
86672         * sysdeps/x86_64/l10nflist.c: New file.
86674         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
86675         classification.
86677 2011-08-10  Andreas Schwab  <schwab@redhat.com>
86679         * include/dirent.h: Add libc_hidden_proto for scandirat and
86680         scandirat64.  Don't declare __scandirat64.
86681         * dirent/scandirat.c: Add libc_hidden_def.
86682         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
86683         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
86685 2011-08-10  David S. Miller  <davem@davemloft.net>
86687         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
86688         enum.
86689         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
86690         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
86691         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
86693 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
86695         * Versions.def [libc]: Add GLIBC_2.15.
86696         * dirent/Makefile (routines): Add scandirat and scandirat64.
86697         * dirent/Versions [libc]: Export scandirat and scandirat64 for
86698         GLIBC_2.15.
86699         * dirent/dirent.h: Declare scandirat and scandirat64.
86700         * dirent/scandirat.c: New file.
86701         * dirent/scandirat64.c: New file.
86702         * sysdeps/wordsize-64/scandirat.c: New file.
86703         * sysdeps/wordsize-64/scandirat64.c: New file.
86704         * dirent/opendir.c: Define opendirat.
86705         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
86706         using scandirat.
86707         * dirent/scandir64.c: Adjust for scandir.c change.
86708         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
86709         __scandirat64, and __scandir_cancel_handler.
86710         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
86711         additional parameter and use openat instead of open (outside of ld.so).
86712         Add new __opendir as wrapper around __opendirat.
86713         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
86714         here without requiring old scandirat implementation.
86716 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
86718         * dirent/scandir.c (cancel_handler): Renamed to
86719         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
86720         defined.  Adjust users.
86721         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
86722         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
86724 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
86726         * string/test-string.h (IMPL): Use __STRING to expand name and then
86727         stringify it.
86729         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
86730         of cleanups.
86732 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86734         * string/Makefile: Update.
86735         (strop-tests): Append strncat.
86736         * string/test-wcscmp.c: New file.
86737         New comprehensive test for wcscmp.
86738         * string/test-strcmp.c: Update.
86739         (WIDE): New define.
86741 2011-07-22  Andreas Schwab  <schwab@redhat.com>
86743         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
86744         line.
86746 2011-07-26  Andreas Schwab  <schwab@redhat.com>
86748         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
86749         encoding to ACE if AI_IDN.
86751 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
86753         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
86754         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
86756 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86758         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
86759         Fix overflow bug in strncat.
86760         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
86762         * string/test-strncat.c: Update.
86763         Add new tests for checking overflow bugs.
86765 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86767         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86768         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
86769         * sysdeps/i386/i686/multiarch/strcat.S: New file.
86770         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
86771         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
86772         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
86773         * sysdeps/i386/i686/multiarch/strncat.S: New file.
86774         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
86775         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
86777         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
86778         (USE_AS_STRCAT): Define.
86779         Add strcat and strncat support.
86780         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
86782 2011-07-25  Andreas Schwab  <schwab@redhat.com>
86784         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
86785         __n bigger than INT_MAX+1.
86786         (__strncmp_g): Likewise.
86788 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
86790         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
86791         * libio/stido.h: Likewise.
86793         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
86794         (AF_NFC): Define.
86795         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
86796         (AF_NFC): Define.
86798         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
86799         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
86800         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
86801         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
86802         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
86804         [BZ #13021]
86805         * scripts/test-installation.pl: Don't expect libnss_test1 to be
86806         installed.
86808         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
86809         typo.
86810         (_dl_x86_64_save_sse): Likewise.
86812 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
86814         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
86815         OSXSAVE.
86816         (_dl_x86_64_save_sse): Likewise.
86818         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
86820         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
86822 2011-07-21  Andreas Schwab  <schwab@redhat.com>
86824         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
86825         change.
86826         (_dl_x86_64_save_sse): Use correct AVX check.
86828 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86830         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
86831         bug in strncpy/strncat.
86832         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
86834 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
86836         * string/tester.c (test_strcat): Add tests for different alignments
86837         of source and destination.
86838         (test_strncat): Likewise.
86840 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
86842         [BZ #12852]
86843         * posix/glob.c (glob): Check passed in values before using them in
86844         expressions to avoid some overflows.
86845         (glob_in_dir): Likewise.
86847         [BZ #13007]
86848         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
86849         check for AVX enablement so that we don't crash with old kernels and
86850         new hardware.
86851         * elf/tst-audit4.c: Add same checks here.
86852         * elf/tst-audit6.c: Likewise.
86854         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
86856 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
86858         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
86860 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
86862         * po/cs.po: Update from translation team.
86863         * po/bg.po: Likewise.
86865 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
86867         * misc/sys/cdefs.h: Add support for const attribute.
86868         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
86869         to gnu_dev_{major,minor,makedev} functions.
86871 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
86873         * intl/dcigettext.c (get_output_charset): Add missing bracket.
86875 2011-07-20  Andreas Schwab  <schwab@redhat.com>
86877         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
86878         strlen results.
86880 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86882         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
86883         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
86884         register in order to avoid conflicts with the soft frame pointer
86885         being held in r11 when necessary.
86886         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
86887         (INTERNAL_VSYSCALL_NCS): Likewise.
86889 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
86891         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
86892         * elf/dl-fini.c (_dl_fini): Adjust caller.
86893         * elf/dl-close.c (_dl_close_worker): Likewise.
86894         * sysdeps/generic/ldsodefs.h: Adjust declaration.
86896 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
86898         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
86899         "aux_cache->nlibs < 0".
86901         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
86902         in the reload-count case.
86904 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86906         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86907         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
86908         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
86909         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
86910         * sysdeps/x86_64/multiarch/strcat.S: New file.
86911         * sysdeps/x86_64/multiarch/strncat.S: New file.
86912         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
86913         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
86914         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
86915         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
86916         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
86917         (USE_AS_STRCAT): Define.
86918         Add strcat and strncat support.
86919         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
86920         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
86921         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
86922         * string/strncat.c: Update.
86923         (USE_AS_STRNCAT): Define.
86924         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86925         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
86926         and i7.
86927         * sysdeps/x86_64/multiarch/init-arch.h
86928         (bit_Prefer_PMINUB_for_stringop): New.
86929         (index_Prefer_PMINUB_for_stringop): Likewise.
86930         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
86931         bit_Prefer_PMINUB_for_stringop.
86933 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
86935         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
86936         buffer64.
86937         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
86938         of casting of buffer.
86939         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
86940         buffer32 and buffer64.
86941         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
86942         writes instead of casting of buffer.
86943         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
86944         buffer32.
86945         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
86946         casting of buffer.
86948 2011-07-19  Andreas Schwab  <schwab@redhat.com>
86950         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
86952 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
86954         * nscd/nscd.c (termination_handler): Don't do anything for a database
86955         if it has not yet been initialized.
86957 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
86959         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
86961 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
86963         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
86965 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
86967         * po/nl.po: Update from translation team.
86968         * po/sv.po: Likewise.
86970 2011-07-16  Roland McGrath  <roland@hack.frob.com>
86972         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
86973         now disallowed by GCC.
86975         * configure.in (use-default-link): Default to yes if a test -shared
86976         link meets our qualifications.
86977         * configure: Regenerated.
86979         * config.make.in (output-format): New variable.
86980         * configure.in: Check for ld --print-output-format support.
86981         * configure: Regenerated.
86982         * Makerules ($(common-objpfx)format.lds)
86983         [$(output-format) != unknown]: Just use $(output-format),
86984         instead of the linker-script munging.
86986 2011-07-14  Roland McGrath  <roland@hack.frob.com>
86988         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
86989         of $(common-objpfx)shlib.lds.
86990         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
86992         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
86993         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
86995         * configure.in (-z relro check): Adjust test code to add a large
86996         writable data section after it.
86997         * configure: Regenerated.
86999 2011-07-11  Roland McGrath  <roland@hack.frob.com>
87001         * configure.in (-z relro check): Fix test code to make the variable
87002         truly const.
87003         * configure: Regenerated.
87005 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
87007         * nscd/nscd.h (struct traced_file): Define.
87008         (struct database_dyn): Remove inotify_descr, reset_res, and filename
87009         elements.  Add traced_files.
87010         (inotify_fd): Declare.
87011         (register_traced_file): Declare.
87012         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
87013         (inotify_fd): Export.
87014         (resolv_conf_descr): Remove.
87015         (nscd_init): Move inotify descriptor creation to main.
87016         Don't register files for notification here.
87017         (register_traced_file): New function.
87018         (invalidate_cache): Don't use reset_res to determine whether to call
87019         res_init, go through the list of registered files.
87020         (main_loop_poll): The inotify descriptors are now stored in the
87021         structures for the traced files.
87022         (main_loop_epoll): Likewise.
87023         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
87024         to __nss_disable_nscd.
87025         * nscd/cache.c (prune_cache): There is no single inotify descriptor
87026         for a database anymore.  Check the records for all the registered
87027         files instead.
87028         * nss/Makefile (libnss_files-routines): Add files-init.
87029         (libnss_db-routines): Add db-init.
87030         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
87031         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
87032         * nss/nss_db/db-init.c: New file.
87033         * nss/nss_files/files-init.c: New file.
87034         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
87035         __nss_lookup_function.
87036         (__nss_lookup_function): Call nss_load_library.
87037         (nss_load_all_libraries): New function.
87038         (__nss_disable_nscd): Take parameter with callback function for files
87039         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
87040         used for the cached services.
87041         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
87042         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
87043         options for features to all the files in nscd.
87045         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
87047 2011-07-10  Roland McGrath  <roland@hack.frob.com>
87049         * csu/elf-init.c (__libc_csu_init): Comment typo.
87051 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
87053         * po/pl.po: Update from translation team.
87054         * po/ja.po: Likewise.
87055         * po/ru.po: Likewise.
87056         * po/ko.po: Likewise.
87057         * po/fr.po: Likewise.
87059 2011-07-09  Roland McGrath  <roland@hack.frob.com>
87061         * configure.in (.ctors/.dtors header and trailer check):
87062         Use an empirical test on a built program.
87063         * configure: Regenerated.
87065         * configure.in (-z relro check): Use an empirical test on a built DSO.
87066         Detect, but do not require, on ia64.
87067         * configure: Regenerated.
87069         * configure.in (READELF): Find it with AC_CHECK_TOOL.
87070         Update tests that use readelf to use $READELF instead.
87071         * configure: Regenerated.
87073 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
87075         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
87076         if the result is not used.
87078 2011-07-05  Andreas Jaeger  <aj@suse.de>
87080         [BZ #9696]
87081         * stdlib/tst-strtod.c: Add testcase.
87083 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
87085         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
87086         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
87087         The latter has a higher limit.  Take additional parameter to pass to
87088         the new function.
87089         (__pathconf): Pass file to __statfs_link_max.
87090         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
87091         __statfs_link_max.
87092         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
87093         __statfs_link_max.
87095         [BZ #12868]
87096         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
87097         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
87098         Handle Lustre.
87099         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
87100         (__statfs_filesize_max): Likewise.
87101         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
87103 2011-07-05  Andreas Jaeger  <aj@suse.de>
87105         * resolv/res_comp.c (dn_skipname): Remove unused variable.
87107 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
87109         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
87110         `status' variable.
87111         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
87112         Likewise.
87114 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
87116         * Makefile (strop-tests): Add strncat.
87117         * string/test-strncat.c: New file.
87119 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
87121         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
87123 2011-06-21  Andreas Jaeger  <aj@suse.de>
87125         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
87126         Copy rule from iconvdata/Makefile.
87128 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
87130         [BZ #12922]
87131         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
87132         but no long options are defined, just return 'W'.
87134 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
87136         [BZ #9696]
87137         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
87139 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
87141         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
87142         netgroups to read.
87143         (innetgr): Likewise.
87145 2011-07-05  Roland McGrath  <roland@hack.frob.com>
87147         * config.make.in (install_root): Default to $(DESTDIR).
87149 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
87151         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
87153 2011-07-02  Roland McGrath  <roland@hack.frob.com>
87155         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
87157         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
87158         containing directory rather than embedding absolute directory names.
87160         * scripts/check-local-headers.sh: Rewritten using awk.
87161         Match by word, not by line.  Print error messages for matches.
87162         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
87164         * Makerules [shlib-lds-flags empty]:
87165         ($(common-objpfx)libc_pic.opts): New target.
87166         ($(common-objpfx)libc_pic.os.clean): New target.
87167         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
87169         * config.make.in (OBJCOPY): New variable.
87170         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
87171         * configure: Regenerated.
87173         * config.make.in (use-default-link): New variable.
87174         * configure.in (use_default_link): Grok --with-default-link to set it.
87175         * configure: Regenerated.
87176         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
87177         (shlib-lds, shlib-lds-flags): Define to empty.
87179         * Makerules (shlib-lds): New variable.
87180         (shlib-lds-flags): New variable.
87181         (build-shlib, build-moduile, build-module-asneeded): Use it.
87182         ($(common-objpfx)libc.so): Use $(shlib-lds).
87183         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
87184         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
87186         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
87187         DT_FLAGS/DT_FLAGS_1 with zero flags.
87189         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
87190         linker script munging.
87192 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
87194         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
87195         as 128-bit value.
87196         * crypt/sha512.c (sha512_process_block): Perform total addition using
87197         128-bit if possible.
87198         (__sha512_finish_ctx): Likewise.
87199         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
87200         as 64-bit value.
87201         * crypt/sha256.c (SWAP64): Define.
87202         (sha256_process_block): Perform total addition using 64-bit if
87203         possible.
87204         (__sha256_finish_ctx): Likewise.
87206 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
87208         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
87209         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87210         * nscd/hstcache.c (cache_addhst): Likewise.
87211         * nscd/grpcache.c (cache_addgr): Likewise.
87212         * nscd/aicache.c (addhstaiX): Likewise.
87213         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
87215 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
87217         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
87218         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87219         * nscd/hstcache.c (cache_addhst): Likewise.
87220         * nscd/grpcache.c (cache_addgr): Likewise.
87221         * nscd/aicache.c (addhstaiX): Likewise.
87223 2011-07-01  Andreas Schwab  <schwab@redhat.com>
87225         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
87226         domain only when needed.
87228 2011-06-30  Andreas Schwab  <schwab@redhat.com>
87230         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
87231         is always restored.
87233 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
87235         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
87236         are re-adding the entry.
87237         * nscd/servicescache.c (cache_addserv): Likewise.
87239 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
87241         * sysdeps/generic/dl-irel.h: fix protection against multiple
87242         inclusions.
87243         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
87245 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
87247         [BZ #12935]
87248         * malloc/memusage.sh: Fix quoting in message.
87249         * debug/xtrace.sh: Likewise.
87251         * configure.in: Remove support for --experimental-malloc option, make
87252         it the default.
87253         * config.make.in: Likewise.
87254         * malloc/Makefile: Likewise.
87256 2011-06-27  Andreas Schwab  <schwab@redhat.com>
87258         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
87259         two-byte characters.
87261 2011-06-27  Roland McGrath  <roland@hack.frob.com>
87263         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
87264         AC_CACHE_CHECK invocation.
87265         * configure: Regenerated.
87267         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
87269 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
87271         [BZ #12350]
87272         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
87273         bit from old_res_options.
87275         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
87277         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
87278         value type for setfct.
87280 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
87282         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
87283         __gettimeofday instead of gettimeofday.
87285 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
87287         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
87289 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
87291         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
87293         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
87294         info.
87296 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
87298         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87299         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
87300         strcpy-sse2-unaligned strncpy-sse2-unaligned
87301         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
87302         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
87303         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
87304         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
87305         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
87306         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
87307         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
87308         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
87309         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
87310         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
87311         (STRCPY): Support SSE2 and SSSE3 versions.
87313 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
87315         [BZ #12874]
87316         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
87317         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
87318         kernels which artificially limit size of requests.
87320 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
87322         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87323         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
87324         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
87325         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
87326         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
87327         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
87328         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
87329         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
87330         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
87331         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
87332         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
87333         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
87334         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
87335         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
87336         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
87337         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87338         Enable unaligned load optimization for Intel Core i3, i5 and i7
87339         processors.
87340         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
87341         Define.
87342         (index_Fast_Unaligned_Load): Define.
87343         (HAS_FAST_UNALIGNED_LOAD): Define.
87345 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
87347         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
87349 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
87351         [BZ #12907]
87352         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
87353         until it is clear that the information is realy needed.
87354         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
87356 2011-06-22  Andreas Schwab  <schwab@redhat.com>
87358         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
87360 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
87362         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
87363         /sys/devices/system/cpu/online if it is usable.
87365         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
87366         reading the information from the /proc filesystem to once a second.
87368 2011-06-21  Andreas Jaeger  <aj@suse.de>
87370         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
87371         NULL after inclusion of kernel headers.
87373 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
87375         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
87376         calls to internal_setent.
87378         [BZ #12885]
87379         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
87380         addresses using gethostbyname4_r ignore IPv4 addresses.
87382         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
87383         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
87385         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
87387 2011-06-20  David S. Miller  <davem@davemloft.net>
87389         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
87390         inclusions.
87391         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
87393         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
87394         (elf_irel): Use it.
87395         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
87396         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
87397         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
87398         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
87399         * sysdeps/x86_64/dl-irel.h: Likewise.
87401         * elf/dl-runtime.c: Use elf_ifunc_invoke.
87402         * elf/dl-sym.c: Likewise.
87404 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
87406         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
87407         need to dereference resplen2.
87409 2011-06-14  Andreas Schwab  <schwab@redhat.com>
87411         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
87413 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
87415         * Makeconfig: Define vardbdir and inst_vardbdir.
87416         * nss/Makefile: Add rules to install db-Makefile.
87418         * nss/nss_db/db-XXX.c: Cleanup.
87420         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
87421         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
87422         GLIBC_PRIVATE.
87423         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
87424         * nss/makedb.c: Implement -g option to specify that value strings
87425         are generated and should not be added to table iterated over for
87426         get*ent calls.
87427         * nss/nss_db/db-initgroups.c: New file.
87429         * nss/getent.c: Add support for initgroups lookups through getgrouplist
87430         interface.
87432         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
87433         (internal_getgrouplist): Adjust to name change.
87434         Update use_initgroups_entry if this is not the first call.
87435         * nss/databases.def: Add initgroups entry.
87437         * nss/makedb.c (compute_tables): Check result of multiple hash table
87438         sizes to minimize maximum chain length.
87440 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
87442         * Versions.def: Add entry for libnss_db.
87443         * shlib-versions: Likewise.
87444         * nss/Makefile: Add rules to build libnss_db.
87445         * nss/Versions: Add libnss_db information.  Organize libnss_files
87446         entries better.
87447         * nss/db-Makefile: Add gshadow support.  Change rules for the new
87448         makedb progra.  Some minor improvements to generate smaller files.
87449         * nss/nss_db/nss_db.h: Move NSS database header data structures to
87450         here from...
87451         * nss/makedb.c: ...here.
87452         Improve database format to be smaller and require less memory at
87453         runtime.
87454         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
87455         db anymore.
87456         * nss/nss_db/db-netgrp.c: Likewise.
87457         * nss/nss_db/db-open.c: Likewise.
87458         * nss/nss_files/flies-XXX.x: Adjust comments.
87459         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
87460         * nss/nss_files/files-grp.c: Likewise.
87461         * nss/nss_files/files-hosts.c: Likewise.
87462         * nss/nss_files/files-network.c: Likewise.
87463         * nss/nss_files/files-proto.c: Likewise.
87464         * nss/nss_files/files-pwd.c: Likewise.
87465         * nss/nss_files/files-rpc.c: Likewise.
87466         * nss/nss_files/files-service.c: Likewise.
87467         * nss/nss_files/files-sgrp.c: Likewise.
87468         * nss/nss_files/files-spwd.c: Likewise.
87469         * nss/nss_db/db-alias.c: Removed.
87470         * nss/nss_db/dummy-db.h: Removed.
87472 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
87474         * nss/makedb.c: Rewritten to not use database library.
87475         * nss/Makefile: Update to build new makedb program.
87477 2011-06-14  Andreas Jaeger  <aj@suse.de>
87479         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
87480         memset declaration.
87482 2011-06-10  Andreas Schwab  <schwab@redhat.com>
87484         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
87485         tmpbuf.
87487 2011-06-10  Roland McGrath  <roland@hack.frob.com>
87489         * Makerules (shlib.lds): Fail if the linker script comes out empty.
87490         * elf/Makefile ($(objpfx)ld.so): Likewise.
87492         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
87493         Don't list ld.so twice in dependencies.
87495         * posix/bug-regex31.c: Include <stdlib.h>.
87497         * nscd/hstcache.c (cache_addhst): Remove unused variable.
87499         * nis/nss_compat/compat-spwd.c
87500         (getspent_next_nss_netgr): Remove unused variable.
87501         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
87503         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
87504         nonmembers" output to use the right array.
87506         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
87508         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
87510         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
87511         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
87512         * catgets/gencat.c (read_input_file): Likewise.
87513         * locale/programs/locarchive.c (enlarge_archive): Likewise.
87515         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
87516         variable definition inside #if's controlling its use.
87518         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
87520         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
87522         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
87524         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
87525         unreachable code.
87527         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
87529         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
87530         * configure: Regenerated.
87532         * Makerules: Revert last change.
87533         * elf/Makefile: Likewise.
87535 2011-06-09  Roland McGrath  <roland@hack.frob.com>
87537         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
87538         * elf/Makefile ($(objpfx)librtld.os): Likewise.
87539         (reloc-link): Likewise.
87541 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
87543         * elf/Makefile: Add rules to build pldd.
87544         * elf/pldd.c: New file.
87545         * elf/pldd-xx.c: New file.
87547 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
87549         * version.h: Update for 2.15 development version.
87551 2011-06-07  David S. Miller  <davem@davemloft.net>
87553         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
87554         ifuncs.
87555         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
87556         elf_machine_lazy_rel): Likewise.
87557         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
87558         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
87559         elf_machine_lazy_rel): Likewise.
87560         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
87561         dl_hwcap via passed in argument.
87562         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
87563         Likewise.
87565 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87567         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
87569 2011-06-06  Roland McGrath  <roland@hack.frob.com>
87571         [BZ #12849]
87572         * manual/fdl-1.1.texi: New file, verbatim from:
87573         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
87574         * manual/lgpl-2.1.texi: New file, verbatim from:
87575         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
87576         * manual/Makefile (licenses): New variable, list those new file names.
87577         (texis): Use it.
87578         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
87580         * manual/fdl.texi: File removed.
87581         * manual/lesser.texi: File removed.
87582         * manual/libc.texinfo (Copying, Documentation License):
87583         Use new @include file names, put @appendix directive before @include.
87585 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
87587         [BZ #12841]
87588         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
87589         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
87590         (mq_open): Add __NTH.
87592 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
87594         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87595         Assume Intel Core i3/i5/i7 processor if AVX is available.
87597 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
87599         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
87600         typo.
87602 2011-05-31  Andreas Schwab  <schwab@redhat.com>
87604         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
87605         memory.  Use alloca_account.  Fix memory leak when retrying.
87607 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
87609         * version.h (RELEASE): Bump for 2.14 release.
87610         * include/features.h (__GLIBC_MINOR__): Bump to 14.
87612         * config.make.in (RANLIB): Remove entry.
87614 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
87616         * po/Makefile (po-sed-cmd): Add ksh to extensions.
87617         (libc.pot): Work around missing support for .ksh extension in xgettext.
87619         [BZ #12684]
87620         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
87621         if both request failed.
87622         (send_dg): In case of server errors clear resplen or *resplen2.
87624         [BZ #12454]
87625         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
87626         when there are multiple maps.
87627         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
87628         (_dl_fini): Remove test here.
87630         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
87632 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
87634         [BZ #12350]
87635         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
87636         bit from old_res_options.
87637         (gaih_inet): Likewise.
87639         [BZ #11099]
87640         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
87641         as signed.
87643         * resolv/res_init.c (res_setoptions): Make the code more compact.
87645         [BZ #11558]
87646         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
87647         set RES_USEVC.
87649         [BZ #11634]
87650         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
87652         * malloc/malloc.h: Mark malloc hook variables as deprecated.
87654         [BZ #11781]
87655         * malloc/malloc.h: Declare malloc hook variables as volatile.
87657         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
87658         in last patch.
87660         [BZ #11799]
87661         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
87662         raise in the comment.
87663         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87664         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87665         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
87667 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
87669         [BZ #12811]
87670         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
87671         grow the buffers more if it already has to be sufficient.
87672         (build_wcs_upper_buffer): Likewise.
87673         * posix/regexec.c (check_matching): Likewise.
87674         (clean_state_log_if_needed): Likewise.
87675         (extend_buffers): Don't enlarge buffers beyond size of the input
87676         buffer.
87677         Patches mostly by Emil Wojak <emil@wojak.eu>.
87678         * posix/bug-regex32.c: New file.
87679         * posix/Makefile (tests): Add bug-regex32.
87681         * locale/findlocale.c (_nl_find_locale): Return right away if
87682         _nl_explode_name failed.
87683         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
87685         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
87687         * debug/xtrace.sh: Unify messages.
87688         * malloc/memusage.sh: Likewise.
87690         [BZ #12813]
87691         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
87692         time symbol from vDSO.  Substitute with vsyscall if not available.
87693         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
87694         __vdso_time.
87696         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
87697         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
87698         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
87699         Add sendmmsg and internal_sendmmsg.
87700         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
87701         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
87702         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
87704         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
87705         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
87706         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
87708 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
87710         [BZ #12813]
87711         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
87712         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
87713         available.
87714         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
87715         __vdso_getcpu.
87717         [BZ #12814]
87718         * iconvdata/Makefile (tests): Add bug-iconv9.
87719         * iconvdata/bug-iconv9.c: New file.
87721 2011-05-27  Andreas Schwab  <schwab@redhat.com>
87723         [BZ #12814]
87724         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
87726 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
87728         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
87729         (struct user_regs_struct): Change intcs field back to cs.
87731 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
87733         * po/ja.po: Update from translation team.
87735 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
87737         [BZ #12795]
87738         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
87739         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
87741 2011-05-20  Andreas Schwab  <schwab@redhat.com>
87743         * stdlib/longlong.h: Update from GCC.
87745 2011-05-23  Andreas Schwab  <schwab@redhat.com>
87747         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
87748         parameter name.
87749         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
87750         Add parameter name.
87751         (__sysconf): Pass it down.
87753 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
87755         [BZ #12671]
87756         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
87757         some situations.
87758         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
87759         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
87760         add in in __libc_use_alloca calls.  Adjust callers.
87761         (glob): Use malloc in some situations.
87763         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
87764         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
87765         pltexit.
87767 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
87769         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
87770         and CLOCK_BOOTTIME_ALARM.
87772         [BZ #12782]
87773         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
87774         is returned.
87776         * string/_strerror.c (__strerror_r): Print negative errors as signed
87777         numbers.
87779         [BZ #12777]
87780         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
87781         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
87782         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
87784         * configure.in: Fix typo in redirection and correct removal of test
87785         files in two cases.
87787         [BZ #12788]
87788         * locale/setlocale.c (new_composite_name): Fix test to check for
87789         identical name of all categories.
87791         [BZ #12792]
87792         * libio/filedoalloc.c (local_isatty): New function.
87793         (_IO_file_doallocate): Use local_isatty.
87794         * stdio-common/perror.c (perror): In case a new stream is used
87795         forward the stream error.
87796         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
87797         error flag.
87799 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
87801         [BZ #11884]
87802         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
87803         alloca.
87804         * include/alloca.h (extend_alloca_account): Define.
87806         [BZ #11857]
87807         * posix/regex.h: Fix comments with documentation of user-accessible
87808         fields after compilation and describe correct free'ing of pattern
87809         after re_compile_pattern.
87810         Patch by Reuben Thomas <rrt@sc3d.org>.
87812 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
87814         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
87815         and -mno-altivec to prevent the compiler from using Altivec and/or
87816         VSX instructions when the corresponding registers are not available.
87818 2011-05-19  Andreas Schwab  <schwab@redhat.com>
87820         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
87822 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
87824         * libio/freopen.c (freopen): Use __dup2, not dup2.
87825         * libio/freopen64.c (freopen64): Likewise.
87827 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
87829         [BZ #12775]
87830         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
87831         * math/Makefile (tests): Add test-powl.
87832         (CFLAGS-test-powl.c): Define.
87833         * math/test-powl.c: New file.
87835 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
87837         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
87839 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
87841         [BZ #11837]
87842         * iconvdata/gb18030.c: Update to GB18020-2005.
87844 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
87846         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
87847         RE_SYNTAX_POSIX_AWK): Update to match recent development.
87848         Patch by Aharon Robbins <arnold@skeeve.com>.
87850         [BZ #11892]
87851         * stdlib/putenv.c (putenv): Don't always create copy of the variable
87852         on the stack.
87854         [BZ #11895]
87855         * misc/pselect.c (__pselect): Handle timeout value errors hidden
87856         through underflows.
87858         [BZ #12766]
87859         * misc/error.c (error_at_line): Ensure file_name and old_file_name
87860         point to strings before performing equality test for error_one_per_line
87861         mode.
87863         [BZ #11697]
87864         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
87866         [BZ #11820]
87867         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
87868         (struct user_fpregs_struct): Avoid __uint*_t types.
87870         [BZ #6420]
87871         * malloc/mtrace.c (tr_where): Add additional parameter to point to
87872         symbol info.  Use it instead of calling _dl_addr locally.
87873         (lock_and_info): New function.
87874         (tr_freehook): Call lock_and_info and pass symbol info as additional
87875         parameter to tr_where.
87876         (tr_mallochook): Likewise.
87877         (tr_reallochook): Likewise.
87878         (tr_memalignhook): Likewise.
87880         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
87881         used and couldn't be at all thread-safe.
87883 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
87885         * libio/freopen.c (freopen): Don't close old file descriptor
87886         before the new one is opened.  Instead dup the new file descriptor
87887         to the old one after the new stream is created.
87888         * libio/freopen64.c (freopen64): Likewise.
87889         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
87890         * libio/fileops.c (_IO_new_file_close_it): Handle new
87891         _IO_FLAGS2_NOCLOSE flag.
87892         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
87893         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
87894         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
87895         _IO_FLAGS2_NOCLOSE flag.
87896         * include/unistd.h: Add hidden_proto for dup3.
87897         Define __have_dup3.
87898         * io/dup3.c: Define hidden symbol.
87899         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
87901         [BZ #7101]
87902         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
87903         when an incomplete long option is used.
87904         * posix/tst-getopt_long1.c: New file.
87905         * posix/Makefile (tests): Add tst-getopt_long1.
87907         [BZ #10138]
87908         * scripts/config.guess: Update from autoconf-2.68.
87909         * scripts/config.sub: Likewise.
87911         [BZ #10157]
87912         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
87913         tests into ...
87914         (has_cpuclock): ...this.  New function.
87915         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
87916         macro here based on has_cpuclock code.
87918         [BZ #10149]
87919         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
87920         First byte (not low byte) is now always NUL.
87921         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
87923         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
87924         Use non-cancelable interfaces.
87926         [BZ #9809]
87927         * locale/iso-639.def: Add entry for Sorani.
87929         [BZ #11901]
87930         * include/stdlib.h: Move include protection to the right place.
87931         Define abort_msg_s.  Declare __abort_msg with it.
87932         * stdlib/abort.c (__abort_msg): Adjust type.
87933         * assert/assert.c (__assert_fail_base): New function.  Majority
87934         of code from __assert_fail.  Allocate memory for __abort_msg with
87935         mmap.
87936         (__assert_fail): Now call __assert_fail_base.
87937         * assert/assert-perr.c: Remove bulk of implementation.  Use
87938         __assert_fail_base.
87939         * include/assert.hL Declare __assert_fail_base.
87940         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
87941         mmap.
87942         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
87944 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
87946         [BZ #11952]
87947         [BZ #12453]
87948         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
87949         until all modules are registered in the DTV.
87950         * elf/Makefile: Add rules to build and run tst-tls19.
87951         * elf/tst-tls19.c: New file.
87952         * elf/tst-tls19mod1.c: New file.
87953         * elf/tst-tls19mod2.c: New file.
87954         * elf/tst-tls19mod3.c: New file.
87955         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
87957         [BZ #12083]
87958         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
87959         correctly.
87961         [BZ #12601]
87962         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
87963         two-byte sequence errors.
87964         * iconvdata/Makefile (tests): Add bug-iconv8.
87965         * iconvdata/bug-iconv8.c: New file.
87967         [BZ #12626]
87968         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
87969         buf2 definition.
87971         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
87973         [BZ #12432]
87974         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
87975         (dummy_getcfa): New function.
87976         (init): Get _Unwind_GetCFA address, use dummy if not found.
87977         (backtrace_helper): In recursion check, also check whether CFA changes.
87978         (__backtrace): Completely initialize arg.
87980         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
87981         storing incomplete byte sequence in state object.  Avoid testing for
87982         guaranteed too small input if we know there is enough data available.
87984 2011-05-11  Andreas Schwab  <schwab@redhat.com>
87986         * Makeconfig (+link-pie): Indent.
87987         * Rules (binaries-pie): Define if $(have-fpie) and
87988         $(build-shared).
87989         (binaries-shared): Also filter out $(binaries-pie).
87990         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
87991         * nscd/Makefile (others-pie): Add nscd.
87992         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
87993         ($(objpfx)nscd): Remove command override.
87994         * login/Makefile (others-pie): Add pt_chown.
87995         ($(objpfx)pt_chown): Remove command override.
87996         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
87997         remove command overrides.
87999 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
88001         * libio/tst_putwc.c: Fix error messages.
88003         [BZ #12724]
88004         * libio/fileops.c (_IO_new_file_close_it): Always flush when
88005         currently writing and seek to current position when not.
88006         * libio/Makefile (tests): Add bug-fclose1.
88007         * libio/bug-fclose1.c: New file.
88009 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
88011         [BZ #12511]
88012         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
88013         don't set DF_1_NODELETE here.
88014         (do_lookup_x): When entering new entry test for copy relocation
88015         and if necessary set DF_1_NODELETE flag.
88016         * elf/tst-unique4.cc: New file.
88017         * elf/tst-unique4.h: New file.
88018         * elf/tst-unique4lib.cc: New file.
88019         * elf/Makefile: Add rules to build and run tst-unique4.
88020         Patch by Piotr Bury <pbury@goahead.com>.
88022 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
88024         [BZ #12052]
88025         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
88027         [BZ #12625]
88028         * misc/mntent_r.c (addmntent): Flush the stream after the output
88030         [BZ #12393]
88031         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
88032         (is_trusted_path_normalize): Skip initial colon.  Append slash
88033         to empty buffer.  Duplicate is_trusted_path code but allow
88034         constructed patch to be prefix.
88035         (is_dst): Allow $ORIGIN followed by /.
88036         (_dl_dst_substitute): Correct clearing of check_for_trusted.
88037         Correct testing of result of is_trusted_path_normalize
88038         (decompose_rpath): Fix warning.
88040 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
88042         [BZ #11257]
88043         * grp/initgroups.c (internal_getgrouplist): When we found the service
88044         list through the initgroups entry in nsswitch.conf do not always
88045         continue on a successful lookup.  Don't always use the
88046         __nss_group_database value if it is set.
88047         * nss/nsswitch.conf (initgroups): Change action for successful db
88048         lookup to continue for compatibility.
88050 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
88052         [BZ #11532]
88053         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
88054         and CP774 modules.
88055         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
88056         and CP774 modules.
88057         * iconvdata/tst-tables.sh: Likewise.
88058         * iconvdata/cp770.c: New file.
88059         * iconvdata/cp771.c: New file.
88060         * iconvdata/cp772.c: New file.
88061         * iconvdata/cp773.c: New file.
88062         * iconvdata/cp774.c: New file.
88063         * iconvdata/testdata/CP770: New file.
88064         * iconvdata/testdata/CP770..UTF8: New file.
88065         * iconvdata/testdata/CP771: New file.
88066         * iconvdata/testdata/CP771..UTF8: New file.
88067         * iconvdata/testdata/CP772: New file.
88068         * iconvdata/testdata/CP772..UTF8: New file.
88069         * iconvdata/testdata/CP773: New file.
88070         * iconvdata/testdata/CP773..UTF8: New file.
88071         * iconvdata/testdata/CP774: New file.
88072         * iconvdata/testdata/CP774..UTF8: New file.
88074         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
88075         END CHARMAP line.
88076         * iconvdata/gen-8bit-gap.sh: Likewise.
88077         * iconvdata/gen-8bit.sh: Likewise.
88079         * locale/iso-639.def: Add ary entry.
88081         [BZ #11258]
88082         * locale/C-translit.h.in: Add U20A1 transliteration.
88084         [BZ #12178]
88085         * locale/iso-639.def: Add wae entry.
88086         Patch by Kevin Bortis <bortis@translate-wae.ch>.
88088         [BZ #12545]
88089         * locale/programs/localedef.c (construct_output_path): Use ssize_t
88090         for n.
88092         [BZ #12711]
88093         * locale/C-translit.h.in: Add entry for U20B9.
88094         Patch by pravin.d.s@gmail.com.
88096 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
88098         [BZ #12713]
88099         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
88100         ENAMETOOLONG use generic getcwd.
88101         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
88102         in rtld.  Use *stat64.
88103         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
88104         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
88105         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
88106         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
88107         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
88108         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
88109         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
88110         __fstatat64 macros.
88111         * include/dirent.h: Add libc_hidden_proto for rewinddir.
88112         * dirent/rewinddir.c: Add libc_hidden_def.
88113         * sysdeps/mach/hurd/rewinddir.c: Likewise.
88114         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
88116         * include/dirent.h (__alloc_dir): Add flags parameter.
88117         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
88118         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
88119         __alloc_dir.
88120         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
88121         from fdopendir if O_CLOEXEC is already set.
88123 2011-03-15  Alan Modra  <amodra@gmail.com>
88125         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
88126         l_tls_firstbyte_offset non-zero.  Save padding offset in
88127         l_tls_firstbyte_offset for later use.
88128         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
88129         freeing static tls block.
88131 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
88133         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
88134         where #ifdef was intended.  The intent is to prevent ARG_MAX from
88135         being defined by the kernel headers.
88137 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
88139         [BZ #12734]
88140         * resolv/resolv.h: Define RES_NOTLDQUERY.
88141         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
88142         no-tld-query and set RES_NOTLDQUERY.
88143         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
88144         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
88145         modern BIND to search name as TLD unless forbidden.
88147 2011-05-07  Petr Baudis  <pasky@suse.cz>
88148             Ulrich Drepper  <drepper@gmail.com>
88150         [BZ #12393]
88151         * elf/dl-load.c (fillin_rpath): Move trusted path check...
88152         (is_trusted_path): ...to here.
88153         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
88154         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
88155         using is_trusted_path_normalize() in setuid scripts.
88157 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
88159         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
88160         __BEGIN/__END_DECLS.
88162 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
88164         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
88165         NSS_STATUS_NOTFOUND if no record was found.
88167 2011-05-05  Andreas Schwab  <schwab@redhat.com>
88169         * sunrpc/Makefile (headers): Add rpc/netdb.h.
88170         (headers-not-in-tirpc): Remove rpc/netdb.h
88171         * resolv/netdb.h: Revert last change.
88173 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
88175         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
88176         circular dependency between libgcc.a and libc.a.
88178 2011-05-05  Andreas Schwab  <schwab@redhat.com>
88180         * resolv/netdb.h: Don't include <rpc/netdb.h>.
88181         * nis/Makefile: Don't install rpcsvc/*.
88182         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
88183         instead of <rpc/types.h>.
88184         (MAXHOSTNAMELEN): Define.
88186 2011-05-03  Andreas Schwab  <schwab@redhat.com>
88188         * elf/ldconfig.c (add_dir): Don't crash on empty path.
88190 2011-04-28  Maciej Babinski  <mbabinski@google.com>
88192         [BZ #12714]
88193         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
88194         gethostbyname4_r when IPv6 results are possible.
88196 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
88198         [BZ #12723]
88199         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
88200         _PC_PIPE_BUF handling.
88202 2011-04-30  Bruno Haible  <bruno@clisp.org>
88204         [BZ #12717]
88205         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
88206         * resolv/netdb.h (getnameinfo): Change type of flags parameter
88207         to 'int'.
88208         * inet/getnameinfo.c (getnameinfo): Likewise.
88210 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
88212         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
88213         to groups setting in database lookup.
88214         * nss/nsswitch.conf: Add initgroups entry.
88216 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
88218         [BZ #12685]
88219         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
88220         mode string.
88221         Patch by Eric Blake <eblake@redhat.com>.
88223 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
88225         * sunrpc/Makefile (need-export-routines): Add svc_run.
88226         (routines): Remove svc_run.
88227         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
88228         * sunrpc/clnt_perr.c (clnt_perrno): Export.
88229         * sunrpc/svc_run.c (svc_run): Likewise.
88230         * sunrpc/svc_udp.c (svcudp_create): Likewise.
88232 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
88234         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
88235         problem in reallocation in last patch.
88237 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
88239         * sunrpc/Makefile: Move inclusion of Rules.
88241 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
88243         * nss/nss_files/files-initgroups.c: New file.
88244         * nss/Makefile (libnss_files-routines): Add files-initgroups.
88245         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
88246         _nss_files_initgroups_dyn.
88248 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
88250         * elf/elf.h (R_ARM_IRELATIVE): Define.
88252 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
88254         * po/ru.po: Update from translation team.
88256 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
88258         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
88259         dependencies.
88261 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
88263         [BZ #12653]
88264         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
88265         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
88266         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88267         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
88268         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
88270 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
88272         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
88273         differing bytes.
88274         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
88275         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
88276         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
88278 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
88280         [BZ #12420]
88281         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
88282         storing it.
88283         * stdlib/bug-getcontext.c: New file.
88284         * stdlib/Makefile: Add rules to build and run bug-getcontext.
88286 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88288         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
88289         instructions into .machine "z9-109".
88290         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
88291         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
88293 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88295         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
88296         between environment variables and auxiliary vector.
88298 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
88300         * Makefile: Add rules to build linkobj/libc.so.
88301         * include/libc-symbols.h: Define libc_hidden_nolink.
88302         * include/rpc/auth.h: Mark functions which are to be hidden.
88303         * include/rpc/auth_des.h: Likewise.
88304         * include/rpc/auth_unix.h: Likewise.
88305         * include/rpc/clnt.h: Likewise.
88306         * include/rpc/des_crypt.h: Likewise.
88307         * include/rpc/key_prot.h: Likewise.
88308         * include/rpc/pmap_clnt.h: Likewise.
88309         * include/rpc/pmap_prot.h: Likewise.
88310         * include/rpc/pmap_rmt.h: Likewise.
88311         * include/rpc/rpc_msg.h: Likewise.
88312         * include/rpc/svc.h: Likewise.
88313         * include/rpc/svc_auth.h: Likewise.
88314         * include/rpc/xdr.h: Likewise.
88315         * nis/Makefile: Link all DSOs against linkobj/libc.so.
88316         * nss/Makefile: Likewise.
88317         * sunrpc/Makefile: Don't install headers.  Build library with normal
88318         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
88319         * sunrpc/auth_des.c: Hide exported symbols by default, export some
88320         for the compat linking library.  Remove use of INTDEF/INTUSE.
88321         * sunrpc/auth_none.c: Likewise.
88322         * sunrpc/auth_unix.c: Likewise.
88323         * sunrpc/authdes_prot.c: Likewise.
88324         * sunrpc/authuxprot.c: Likewise.
88325         * sunrpc/clnt_gen.c: Likewise.
88326         * sunrpc/clnt_perr.c: Likewise.
88327         * sunrpc/clnt_raw.c: Likewise.
88328         * sunrpc/clnt_simp.c: Likewise.
88329         * sunrpc/clnt_tcp.c: Likewise.
88330         * sunrpc/clnt_udp.c: Likewise.
88331         * sunrpc/clnt_unix.c: Likewise.
88332         * sunrpc/des_crypt.c: Likewise.
88333         * sunrpc/des_soft.c: Likewise.
88334         * sunrpc/get_myaddr.c: Likewise.
88335         * sunrpc/key_call.c: Likewise.
88336         * sunrpc/key_prot.c: Likewise.
88337         * sunrpc/netname.c: Likewise.
88338         * sunrpc/pm_getmaps.c: Likewise.
88339         * sunrpc/pm_getport.c: Likewise.
88340         * sunrpc/pmap_clnt.c: Likewise.
88341         * sunrpc/pmap_prot.c: Likewise.
88342         * sunrpc/pmap_prot2.c: Likewise.
88343         * sunrpc/pmap_rmt.c: Likewise.
88344         * sunrpc/publickey.c: Likewise.
88345         * sunrpc/rpc_cmsg.c: Likewise.
88346         * sunrpc/rpc_common.c: Likewise.
88347         * sunrpc/rpc_dtable.c: Likewise.
88348         * sunrpc/rpc_prot.c: Likewise.
88349         * sunrpc/rpc_thread.c: Likewise.
88350         * sunrpc/rtime.c: Likewise.
88351         * sunrpc/svc.c: Likewise.
88352         * sunrpc/svc_auth.c: Likewise.
88353         * sunrpc/svc_authux.c: Likewise.
88354         * sunrpc/svc_raw.c: Likewise.
88355         * sunrpc/svc_run.c: Likewise.
88356         * sunrpc/svc_simple.c: Likewise.
88357         * sunrpc/svc_tcp.c: Likewise.
88358         * sunrpc/svc_udp.c: Likewise.
88359         * sunrpc/svc_unix.c: Likewise.
88360         * sunrpc/svcauth_des.c: Likewise.
88361         * sunrpc/xcrypt.c: Likewise.
88362         * sunrpc/xdr.c: Likewise.
88363         * sunrpc/xdr_array.c: Likewise.
88364         * sunrpc/xdr_float.c: Likewise.
88365         * sunrpc/xdr_intXX_t.c: Likewise.
88366         * sunrpc/xdr_mem.c: Likewise.
88367         * sunrpc/xdr_rec.c: Likewise.
88368         * sunrpc/xdr_ref.c: Likewise.
88369         * sunrpc/xdr_sizeof.c: Likewise.
88370         * sunrpc/xdr_stdio.c: Likewise.
88372 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
88374         [BZ #12650]
88375         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
88376         * sysdeps/ia64/dl-tls.h: Likewise.
88377         * sysdeps/powerpc/dl-tls.h: Likewise.
88378         * sysdeps/s390/dl-tls.h: Likewise.
88379         * sysdeps/sh/dl-tls.h: Likewise.
88380         * sysdeps/sparc/dl-tls.h: Likewise.
88381         * sysdeps/x86_64/dl-tls.h: Likewise.
88382         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
88384 2011-03-14  Andreas Schwab  <schwab@redhat.com>
88386         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
88387         rpath element also skip the following colon.
88388         (expand_dynamic_string_token): Add is_path parameter and pass
88389         down to DL_DST_REQUIRED and _dl_dst_substitute.
88390         (decompose_rpath): Call expand_dynamic_string_token with
88391         non-zero is_path.  Ignore empty rpaths.
88392         (_dl_map_object_from_fd): Call expand_dynamic_string_token
88393         with zero is_path.
88395 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
88397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
88398         Make cancelable.
88400 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
88402         [BZ #12655]
88403         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
88404         Patch by Filipe David Manana <fdmanana@apache.org>.
88406 2011-04-07  Andreas Schwab  <schwab@redhat.com>
88408         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
88409         Maintain aligned stack.
88410         (CHECK_RSP): Remove unused macro.
88412 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
88414         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
88415         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
88417 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
88419         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
88421         * include/features.h: Mention __USE_XOPEN2K8 in comment.
88423 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
88425         [BZ #12518]
88426         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
88427         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
88428         * sysdeps/x86_64/memmove.c: New file.
88429         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
88430         (memcpy): Renamed to ...
88431         (__new_memcpy): This.
88432         (memcpy): Provide GLIBC_2_14 memcpy.
88433         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
88434         (memcpy): Provide GLIBC_2_2_5 memcpy.
88436 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88438         [BZ #12631]
88439         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
88441 2011-03-30  Andreas Schwab  <schwab@redhat.com>
88443         * misc/syncfs.c: New file.
88444         * misc/Makefile (routines): Add syncfs.
88445         * posix/unistd.h: Declare syncfs.
88446         * sysdeps/unix/syscalls.list: Add syncfs.
88448 2011-04-01  Andreas Schwab  <schwab@redhat.com>
88450         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
88451         open_by_handle_at.
88452         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
88453         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88454         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88455         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88456         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88457         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
88458         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88460 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88462         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
88463         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88464         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
88465         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88466         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88467         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88468         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88470         * io/Makefile: Compile fallocate.c, fallocate64.c, and
88471         sync_file_range.c with -fexceptions.
88472         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
88473         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
88474         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
88475         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
88476         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
88477         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
88478         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
88479         sync_file_range as cancellation point
88480         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
88481         now a wrapper around __call_sync_file_range with cancellation handling.
88482         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
88483         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
88484         function name to __call_sync_file_range.
88485         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
88486         Add call_sync_file_range.
88488 2011-04-01  Andreas Schwab  <schwab@redhat.com>
88490         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88491         bits/timex.h.
88493 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88495         * iconv/iconv.h: Fix typo in comment.
88496         * io/fcntl.h: Likewise.
88497         * libio/stdio.h: Likewise.
88498         * posix/spawn.h: Likewise.
88499         * posix/unistd.h: Likewise.
88500         * stdlib/stdlib.h: Likewise.
88501         * time/time.h: Likewise.
88502         * wcsmbs/wchar.h: Likewise.
88504         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
88505         open_by_handle): Add.
88506         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
88507         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
88508         Augment a few comments.
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/x86_64/bits/fcntl.h: Likewise.
88514         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
88515         open_by_handle.
88517         * io/fcntl.h (AT_EMPTY_PATH): Define.
88519 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
88521         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
88522         * sysdeps/unix/sysv/linux/bits/time.h: New file.
88523         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
88524         to...
88525         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
88526         * Versions.def: Add GLIBC_2.14.
88527         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
88528         Export.
88530 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
88532         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
88533         round counter.
88534         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
88536 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
88538         [BZ #12597]
88539         * string/test-strncmp.c (do_page_test): New function.
88540         (check2): Likewise.
88541         (test_main): Call check2.
88542         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
88544 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
88546         [BZ #12587]
88547         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
88548         Handle cache information in CPU leaf 4.
88549         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
88551 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
88553         [BZ #12583]
88554         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
88555         character representation.
88556         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
88558 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
88560         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
88561         END(__isnan) to END(__isnanf) to match function entry point/label
88562         EALIGN(__isnanf,...).
88564 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
88566         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
88568 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
88570         [BZ #12510]
88571         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
88572         copy from the symbol referenced in the relocation to initialize the
88573         used variable.
88574         Patch by Piotr Bury <pbury@goahead.com>.
88575         * elf/Makefile: Add rules to build and tst-unique3.
88576         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
88577         * elf/tst-unique3.cc: New file.
88578         * elf/tst-unique3.h: New file.
88579         * elf/tst-unique3lib.cc: New file.
88580         * elf/tst-unique3lib2.cc: New file.
88582         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
88584 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
88586         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
88587         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
88588         to _start.
88590 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
88592         * elf/dl-load.c (_dl_map_object): If we are looking for the first
88593         to-be-loaded object along a path to loader is ld.so.
88595 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
88596             Ulrich Drepper  <drepper@gmail.com>
88598         * sysdeps/x86_64/memset.S: After aligning destination, code
88599         branches to different locations depending on the value of
88600         misalignment, when multiarch is enabled. Fix this.
88602 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
88604         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
88605         Set _x86_64_preferred_memory_instruction for AMD processsors.
88606         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88607         Set bit_Prefer_SSE_for_memop for AMD processors.
88609 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
88611         * libio/fmemopen.c (fmemopen): Optimize a bit.
88613 2011-03-03  Andreas Schwab  <schwab@redhat.com>
88615         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
88617 2011-03-03  Roland McGrath  <roland@redhat.com>
88619         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
88621 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
88623         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
88624         __bzero_ultra1 instead of __memset_ultra1.
88626 2011-02-23  Andreas Schwab  <schwab@redhat.com>
88627             Ulrich Drepper  <drepper@gmail.com>
88629         [BZ #12509]
88630         * include/link.h (struct link_map): Add l_orig_initfini.
88631         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
88632         returning unsuccessfully.
88633         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
88634         close of a file loaded at startup, restore the original l_initfini
88635         list.
88636         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
88637         list, store the pointer.
88638         * elf/Makefile ($(objpfx)noload-mem): New rule.
88639         (noload-ENV): Define.
88640         (tests): Add $(objpfx)noload-mem.
88641         * elf/noload.c: Include <memcheck.h>.
88642         (main): Call mtrace.  Close all opened handles.
88644 2011-02-17  Andreas Schwab  <schwab@redhat.com>
88646         [BZ #12454]
88647         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
88648         dependencies are missing.
88650 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88652         Fix __if_freereq crash: Unlike the generic version which uses free,
88653         Hurd needs munmap.
88654         * sysdeps/mach/hurd/ifreq.h: New file.
88656 2011-01-27  Petr Baudis  <pasky@suse.cz>
88657             Ulrich Drepper  <drepper@gmail.com>
88659         [BZ 12445]#
88660         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
88661         to extend_alloca().
88662         * stdio-common/bug23.c: New file.
88663         * stdio-common/Makefile (tests): Add bug23.
88665 2010-09-28  Andreas Schwab  <schwab@redhat.com>
88666             Ulrich Drepper  <drepper@gmail.com>
88668         [BZ #12489]
88669         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
88670         before performing relro protection.  At old place add assertion
88671         to make sure nothing changed.
88673 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
88674             Glauber de Oliveira Costa  <glommer@gmail.com>
88676         * elf/elf.h: Add new ARM TLS relocs.
88678 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
88680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
88681         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
88682         cast from r3.
88683         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
88684         'tests' variable.
88685         * sysdeps/wordsize-64/tst-writev.c: New file.
88687 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
88689         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
88690         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
88691         insns in _dl_start to prevent a TOC reference before relocs are
88692         resolved.
88694 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
88696         [BZ #12469]
88697         * Makeconfig: Remove RANLIB definition.
88698         * Makerules: Don't use RANLIB.
88699         * aclocal.m4: Remove ranlib test.
88700         * configure.in: No need to check for ranlib.
88701         * elf/rtld-Rules: Don't use RANLIB.
88703 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88705         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
88706         protection macro.
88707         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
88708         inclusion protection macro.
88710         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
88711         SIGRTMIN and SIGRTMAX and print information in that case only when
88712         SIGRTMIN is defined.
88714 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
88716         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
88717         arginfo fn returning -1.
88719         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
88720         and thousands string is zero terminated.
88722 2011-02-03  Andreas Schwab  <schwab@redhat.com>
88724         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
88725         sysdeps/unix/sysv/linux/bits/socket.h.
88727 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88729         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
88730         (__CPU_COUNT): Remove old macros.
88731         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
88732         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
88733         (__CPU_ALLOC, __CPU_FREE): Add macros.
88734         (__sched_cpualloc, __sched_cpufree): Add declarations.
88736 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
88738         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
88739         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
88740         * nscd/aicache.c (addhstaiX): Return timeout of added value.
88741         (readdhstai): Return value of addhstaiX call.
88742         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
88743         (addgrbyX): Return value returned by cache_addgr.
88744         (readdgrbyname): Return value returned by addgrbyX.
88745         (readdgrbygid): Likewise.
88746         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
88747         (addpwbyX): Return value returned by cache_addpw.
88748         (readdpwbyname): Return value returned by addhstbyX.
88749         (readdpwbyuid): Likewise.
88750         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
88751         (addservbyX): Return value returned by cache_addserv.
88752         (readdservbyname): Return value returned by addservbyX:
88753         (readdservbyport): Likewise.
88754         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
88755         (addhstbyX): Return value returned by cache_addhst.
88756         (readdhstbyname): Return value returned by addhstbyX.
88757         (readdhstbyaddr): Likewise.
88758         (readdhstbynamev6): Likewise.
88759         (readdhstbyaddrv6): Likewise.
88760         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
88761         (readdinitgroups): Return value returned by addinitgroupsX.
88762         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
88763         (prune_cache): Keep track of timeout value of re-added entries.
88764         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
88765         * nscd/nscd.h: Adjust prototypes of readd* functions.
88767 2011-02-04  Roland McGrath  <roland@redhat.com>
88769         * nis/nis_server.c (nis_servstate): Use the right name for 0.
88770         (nis_stats): Likewise.
88771         * nis/nis_modify.c (nis_modify): Likewise.
88772         * nis/nis_remove.c (nis_remove): Likewise.
88773         * nis/nis_add.c (nis_add): Likewise.
88775         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
88777         * posix/fnmatch_loop.c: Add some consts.
88779         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
88781 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
88783         [BZ #12460]
88784         * config.make.in (config-cflags-novzeroupper): Define.
88785         * configure.in: Substitute libc_cv_cc_novzeroupper.
88786         * elf/Makefile (AVX-CFLAGS): Define.
88787         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
88788         (CFLAGS-tst-auditmod4a.c): Likewise.
88789         (CFLAGS-tst-auditmod4b.c): Likewise.
88790         (CFLAGS-tst-auditmod6b.c): Likewise.
88791         (CFLAGS-tst-auditmod6c.c): Likewise.
88792         (CFLAGS-tst-auditmod7b.c): Likewise.
88793         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
88795 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
88797         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
88798         function to the callback.
88799         Patch partly by Jiri Olsa <jolsa@redhat.com>.
88801 2011-02-02  Andreas Schwab  <schwab@redhat.com>
88803         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
88804         of errno.
88806 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
88808         [BZ #11724]
88809         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
88810         of constructors.
88811         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
88812         of destructors.
88813         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
88815         [BZ #11724]
88816         * elf/Makefile: Add rules to build and run new test.
88817         * elf/tst-initorder.c: New file.
88818         * elf/tst-initorder.exp: New file.
88819         * elf/tst-initordera1.c: New file.
88820         * elf/tst-initordera2.c: New file.
88821         * elf/tst-initordera3.c: New file.
88822         * elf/tst-initordera4.c: New file.
88823         * elf/tst-initorderb1.c: New file.
88824         * elf/tst-initorderb2.c: New file.
88825         * elf/tst-order-a1.c: New file.
88826         * elf/tst-order-a2.c: New file.
88827         * elf/tst-order-a3.c: New file.
88828         * elf/tst-order-a4.c: New file.
88829         * elf/tst-order-b1.c: New file.
88830         * elf/tst-order-b2.c: New file.
88831         * elf/tst-order-main.c: New file.
88832         New test case by George Gensure <werkt0@gmail.com>.
88834 2010-10-01  Andreas Schwab  <schwab@redhat.com>
88836         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
88837         decoding ACE if AI_CANONIDN.
88839 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
88841         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
88843 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
88845         * version.h (RELEASE): Bump for 2.13 release.
88846         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
88848         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
88850         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
88851         MADV_NOHUGEPAGE.
88852         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
88853         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
88854         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
88855         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
88856         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
88857         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
88859         * posix/getconf.c: Update copyright year.
88860         * catgets/gencat.c: Likewise.
88861         * csu/version.c: Likewise.
88862         * debug/catchsegv.sh: Likewise.
88863         * debug/xtrace.sh: Likewise.
88864         * elf/ldconfig.c: Likewise.
88865         * elf/ldd.bash.in: Likewise.
88866         * elf/sprof.c (print_version): Likewise.
88867         * iconv/iconv_prog.c: Likewise.
88868         * iconv/iconvconfig.c: Likewise.
88869         * locale/programs/locale.c: Likewise.
88870         * locale/programs/localedef.c: Likewise.
88871         * malloc/memusage.sh: Likewise.
88872         * malloc/mtrace.pl: Likewise.
88873         * nscd/nscd.c (print_version): Likewise.
88874         * nss/getent.c: Likewise.
88876         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
88877         PF_CAIF, and PF_ALG.
88878         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88880 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
88882         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
88883         (modules-names): Use them.
88884         (ifunc-test-modules, ifunc-pie-tests): Define.
88885         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
88886         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
88887         (test-extras): Likewise.
88888         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
88889         $(compile-command.c).
88890         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
88891         (all-built-dso): Define.
88892         (check-textrel.out, check-execstack.out): Depend on it.
88894         * configure.in: Don't override --enable-multi-arch.
88896 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
88898         [BZ #6812]
88899         * nscd/hstcache.c (tryagain): Define.
88900         (cache_addhst): Return tryagain not notfound for temporary errors.
88901         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
88902         failed.
88904 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
88906         [BZ #10563]
88907         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
88908         to make the syscall.
88909         * sysdeps/unix/sysv/linux/setgroups.c: New file.
88911         [BZ #12378]
88912         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
88913         and fall back to matching as normal character if the string ends before
88914         the matching ']' is found.  This is what POSIX requires.
88915         * posix/testfnm.c: Adjust test result.
88916         * posix/globtest.sh: Adjust test result.  Add new test.
88917         * posix/tst-fnmatch.input: Likewise.
88918         * posix/tst-fnmatch2.c: Add new test.
88920 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
88922         * elf/Makefile (check-execstack): Revert last change.  Depend on
88923         check-execstack.h.
88924         (check-execstack.h): New target.
88925         (generated): Add check-execstack.h.
88926         * elf/check-execstack.c: Include "check-execstack.h".
88927         (main): Revert last change.
88928         (handle_file): Return zero if GNU_STACK is absent and
88929         DEFAULT_STACK_PERMS doesn't include PF_X.
88931 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
88933         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
88934         in child fails because the descriptor is already closed.
88935         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
88936         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
88937         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
88939         [BZ #12397]
88940         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
88941         syscall.
88943         [BZ #10484]
88944         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
88945         temporary buffer used to handle multi lookups locally.
88946         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
88948 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
88950         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
88951         loader is ld.so.
88953 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
88955         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
88956         alignment for SSE2.
88958 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
88960         [BZ #12394]
88961         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
88962         characters.  When rounding increased number of integer digits recompute
88963         number of groups.
88964         * stdio-common/tst-grouping.c: New file.
88965         * stdio-common/Makefile: Add rules to build and run tst-grouping.
88967 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
88969         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
88970         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
88972         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
88973         void.
88974         * bits/select.h: Likewise.
88976 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
88978         * po/ja.po: Update from translation team.
88980 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
88982         [BZ #11155]
88983         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
88984         implementation just like for lxstat, fxstatat, et al.
88986 2010-12-27  Jim Meyering  <meyering@redhat.com>
88988         [BZ #12348]
88989         * posix/regexec.c (build_trtable): Return failure indication upon
88990         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
88992 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
88994         [BZ #12201]
88995         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
88996         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
88997         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
88998         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
89000         [BZ #12207]
89001         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
89003         [BZ #12204]
89004         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
89005         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
89007 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
89009         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
89010         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
89011         script has SORT_BY_INIT_PRIORITY.
89012         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
89013         NO_CTORS_DTORS_SECTIONS is defined.
89014         * elf/soinit.c: Likewise.
89015         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
89016         NO_CTORS_DTORS_SECTIONS is defined.
89017         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
89018         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
89019         * sysdeps/sh/init-first.c: Likewise.
89020         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
89022 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
89024         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
89025         always use the slow path.
89027 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
89029         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
89030         similar rule which adds the sysdep directories to the header search in
89031         order to pick up the correct platform stackinfo.h.
89032         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
89033         perform test if it is, otherwise return successfully without testing.
89034         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
89035         DEFAULT_STACK_PERMS define in stackinfo.h.
89036         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
89037         defined in stackinfo.h.
89038         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
89039         DEFAULT_STACK_PERMS defined in stackinfo.h.
89040         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
89041         * sysdeps/ia64/stackinfo.h: Likewise.
89042         * sysdeps/s390/stackinfo.h: Likewise.
89043         * sysdeps/sh/stackinfo.h: Likewise.
89044         * sysdeps/sparc/stackinfo.h: Likewise.
89045         * sysdeps/x86_64/stackinfo.h: Likewise.
89046         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
89047         PF_X for powerpc64.  Retain PF_X for powerpc32.
89049 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
89051         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
89052         accurately.
89053         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
89054         GETDENTS_64BIT_ALIGNED.
89056 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
89058         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
89060 2010-12-10  Andreas Schwab  <schwab@redhat.com>
89062         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
89063         _GNU_SOURCE.
89065         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
89066         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
89067         Remove __restrict.
89068         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
89069         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
89071 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
89073         [BZ #11655]
89074         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
89075         are initialized.
89077 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
89079         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
89081 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
89083         * po/it.po: Update from translation team.
89085 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
89087         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
89088         unused codes.
89090 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
89092         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
89094 2010-11-24  Andreas Schwab  <schwab@redhat.com>
89096         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
89097         specially.
89098         (gaih_getanswer_slice): Likewise.
89100 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
89102         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
89104 2010-05-31  Petr Baudis  <pasky@suse.cz>
89106         [BZ #11149]
89107         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
89108         silently even in the chroot mode.
89110 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
89112         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
89113         last patch a bit.  Pretty printing
89115 2010-05-31  Petr Baudis <pasky@suse.cz>
89117         [BZ #10085]
89118         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
89119         initialization of skip_initgroups_dyn.
89121 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
89123         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
89124         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
89126 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
89128         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
89130 2010-11-11  Andreas Schwab  <schwab@redhat.com>
89132         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
89133         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
89134         (tst-fnmatch-ENV): Set MALLOC_TRACE.
89135         ($(objpfx)tst-fnmatch-mem): New rule.
89136         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
89137         * posix/tst-fnmatch.c (main): Call mtrace.
89139 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
89141         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89142         Support Intel processor model 6 and model 0x2c.
89144 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
89146         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
89147           signed comparison.
89149 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
89151         [BZ #12205]
89152         * string/test-strncasecmp.c (check_result): New function.
89153         (do_one_test): Use it.
89154         (check1): New function.
89155         (test_main): Use it.
89156         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
89157         Support strcasecmp and strncasecmp.
89159 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
89161         [BZ #12194]
89162         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
89163         * sysdeps/x86_64/bits/byteswap.h: Likewise.
89165 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
89167         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
89168         IFUNC support.
89169         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89170         memset-x86-64.
89171         * sysdeps/x86_64/multiarch/bzero.S: New file.
89172         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
89173         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
89174         * sysdeps/x86_64/multiarch/memset.S: New file.
89175         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
89176         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89177         Set bit_Prefer_SSE_for_memop for Intel processors.
89178         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
89179         Define.
89180         (index_Prefer_SSE_for_memop): Define.
89181         (HAS_PREFER_SSE_FOR_MEMOP): Define.
89183 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
89185         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
89186         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
89188 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
89190         [BZ #12191]
89191         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
89192         (__x86_64_raw_data_cache_size_half): Likewise.
89193         (__x86_64_raw_shared_cache_size): Likewise.
89194         (__x86_64_raw_shared_cache_size_half): Likewise.
89196         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
89197         (__x86_64_raw_data_cache_size_half): Likewise.
89198         (__x86_64_raw_shared_cache_size): Likewise.
89199         (__x86_64_raw_shared_cache_size_half): Likewise.
89200         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
89201         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
89202         and __x86_64_raw_shared_cache_size_half.  Round
89203         __x86_64_data_cache_size_half, __x86_64_data_cache_size
89204         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
89205         to multiple of 256 bytes.
89207 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
89209         [BZ #12167]
89210         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
89211         of inacessible symlinks.  Verify result of symlink before returning it.
89212         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
89213         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
89215 2010-10-28  Erich Ritz  <erichritz@gmail.com>
89217         * math/math.h (isinf): Fix typo in comment.
89219 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
89221         * po/da.po: Update from translation team.
89223 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
89225         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
89226         is added to the list.
89228 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89229             Ulrich Drepper  <drepper@gmail.com>
89231         * elf/dl-object.c (_dl_new_object): Don't append the new object to
89232         the global list here.  Move code to...
89233         (_dl_add_to_namespace_list): ...here.  New function.
89234         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
89235         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
89236         * elf/dl-load.c (lose): Don't remove the element from the list.
89237         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
89238         (_dl_map_object): Likewise.
89240 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
89242         [BZ #12159]
89243         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
89244         into all bytes of SSE register.
89245         Patch by Richard Li <richardpku@gmail.com>.
89247 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
89249         [BZ #12140]
89250         * malloc/malloc.c (_int_free): Fill correct number of bytes when
89251         perturbing.
89253 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
89255         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
89256         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
89257         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
89258         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
89259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
89260         submachine.
89261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
89263 2010-10-22  Andreas Schwab  <schwab@redhat.com>
89265         * include/dlfcn.h (__RTLD_SECURE): Define.
89266         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
89267         mode & __RTLD_SECURE instead.
89268         (open_path): Rename preloaded parameter to secure.
89269         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
89270         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
89271         * elf/dl-deps.c (openaux): Likewise.
89272         * elf/rtld.c (struct map_args): Remove is_preloaded.
89273         (map_doit): Don't use it.
89274         (dl_main): Likewise.
89275         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
89276         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
89278 2010-09-09  Andreas Schwab  <schwab@redhat.com>
89280         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
89281         (sysd-rules-targets): Remove duplicates.
89282         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
89283         rtld-%.$o dependency.
89285 2010-10-18  Andreas Schwab  <schwab@redhat.com>
89287         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
89288         _dl_map_object do it.
89290 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
89292         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
89293         fast fma builtins, define the macros in the C99 standard.
89294         (FP_FAST_FMAF): Likewise.
89295         (FP_FAST_FMAL): Likewise.
89296         * sysdeps/x86_64/bits/mathdef.h: Likewise.
89298         * bits/mathdef.h: Update copyright year.
89299         * sysdeps/powerpc/bits/mathdef.h: Likewise.
89301 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
89303         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
89304         builtins, define the macros in the C99 standard.
89305         (FP_FAST_FMAF): Likewise.
89306         (FP_FAST_FMAL): Likewise.
89307         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
89308         multiply/add.
89309         (FP_FAST_FMAF): Likewise.
89311 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
89313         [BZ #3268]
89314         * math/libm-test.inc (fma_test): Some new testcases.
89315         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
89316         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
89317         y and infinite z.  Do multiplication by C already in long double.
89318         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
89319         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
89320         y and infinite z.  Do bitwise or of inexact bit into u.d.
89321         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
89322         * sysdeps/i386/fpu/s_fmaf.S: Removed.
89323         * sysdeps/i386/fpu/s_fma.S: Removed.
89324         * sysdeps/i386/fpu/s_fmal.S: Removed.
89326 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
89328         [BZ #3268]
89329         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
89330         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
89331         computation is not scheduled after fetestexcept.  Fix value
89332         of minimum denormal long double.
89334 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
89336         [BZ #3268]
89337         * math/libm-test.inc (fma_test): Add some more tests.
89338         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
89339         correctly.
89341 2010-10-15  Andreas Schwab  <schwab@redhat.com>
89343         * scripts/data/localplt-s390-linux-gnu.data: New file.
89344         * scripts/data/localplt-s390x-linux-gnu.data: New file.
89346 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
89348         [BZ #3268]
89349         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
89350         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
89351         instead of dbl-64.
89352         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
89353         inlines.
89354         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
89355         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
89356         if one of x and y is very large and the other is subnormal.
89357         * sysdeps/s390/fpu/s_fmaf.c: New file.
89358         * sysdeps/s390/fpu/s_fma.c: New file.
89359         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
89360         * sysdeps/powerpc/fpu/s_fma.S: New file.
89361         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
89362         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
89363         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
89365 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
89367         [BZ #3268]
89368         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
89369         fma tests.
89370         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
89371         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
89372         * sysdeps/i386/i686/multiarch/s_fma.c: Include
89373         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
89374         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
89375         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
89376         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
89378 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
89380         [BZ #12078]
89381         * posix/regcomp.c (parse_branch): One more memory leak plugged.
89382         * posix/bug-regex31.input: Add test case.
89384 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
89386         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
89387         * posix/bug-regex31.input: New file.
89389         [BZ #12078]
89390         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
89391         (parse_sub_exp): Fix last change, use postorder.
89393         * posix/bug-regex31.c: New file.
89394         * posix/Makefile: Add rules to build and run bug-regex31.
89396         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
89398         [BZ #12078]
89399         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
89401         [BZ #12108]
89402         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
89403         to have entries in sys_siglist.
89405         [BZ #12093]
89406         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
89407         be NULL.
89409 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
89411         [BZ #3268]
89412         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
89413         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
89414         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
89415         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
89416         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
89417         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
89418         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
89419         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
89420         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
89421         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
89422         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
89423         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
89424         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
89425         * math/ftestexcept.c (fetestexcept): Likewise.
89426         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
89427         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
89428         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
89429         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
89430         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
89431         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
89432         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
89434 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
89436         [BZ #12107]
89437         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
89438         newline.
89440 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
89442         * string/bug-strstr1.c: New file.
89443         * string/Makefile: Add rules to build and run bug-strstr1.
89445 2010-10-05  Eric Blake  <eblake@redhat.com>
89447         [BZ #12092]
89448         * string/str-two-way.h (two_way_long_needle): Always clear memory
89449         when skipping input due to the shift table.
89451 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
89453         [BZ #12005]
89454         * malloc/mcheck.c: Handle large requests.
89456         [BZ #12077]
89457         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
89458         for strncmp and strncasecmp.
89459         * string/stratcliff.c: Add tests for strcmp and strncmp.
89460         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
89462 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
89464         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
89465         __set_fpscr.
89467 2010-09-30  Andreas Jaeger  <aj@suse.de>
89469         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
89470         (CGROUP_SUPER_MAGIC): Define.
89471         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89472         Handle btrfs and cgroup file systems.
89473         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
89474         Likewise.
89476 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
89478         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
89479         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
89481 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89483         [BZ #12067]
89484         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
89485         trying to locate the ELF header.
89487 2010-09-27  Andreas Schwab  <schwab@redhat.com>
89489         [BZ #11611]
89490         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
89491         Mask out sign-bit copies when constructing f_fsid.
89493 2010-09-24  Petr Baudis <pasky@suse.cz>
89495         * debug/stack_chk_fail_local.c: Add missing licence exception.
89496         * debug/warning-nop.c: Likewise.
89498 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
89500         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
89501         implementing getdents64 using getdents syscall, set d_type if
89502         __ASSUME_GETDENTS32_D_TYPE.
89504 2010-09-16  Andreas Schwab  <schwab@redhat.com>
89506         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
89507         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
89509 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
89511         [BZ #12037]
89512         * posix/unistd.h: Undo change of feature selection for ftruncate from
89513         2010-01-11.
89515 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
89517         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
89518         detection.
89520 2010-09-20  Andreas Schwab  <schwab@redhat.com>
89522         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
89523         fanotify_mark.
89524         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
89526 2010-09-14  Andreas Schwab  <schwab@redhat.com>
89528         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
89529         variables after CHECK_SP call.
89530         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
89532 2010-09-13  Andreas Schwab  <schwab@redhat.com>
89533             Ulrich Drepper  <drepper@redhat.com>
89535         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
89536         re-relocationg ld.so.
89537         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
89538         _dl_init_paths call.
89539         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
89540         here anymore.
89542 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
89544         * resolv/res_init.c (__res_vinit): Count the default server we added.
89546 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
89547             Ulrich Drepper  <drepper@redhat.com>
89549         [BZ #11968]
89550         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
89551         (____longjmp_chk): Use %ebx for saving value across system call.
89552         Add unwind info.
89554 2010-09-06  Andreas Schwab  <schwab@redhat.com>
89556         * manual/Makefile: Don't mix pattern rules with normal rules.
89558 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
89560         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
89561         operation.
89562         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
89563         * libio/iofopncook.c (_IO_cookie_init): Likewise.
89564         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
89565         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
89566         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
89567         Likewise.
89569 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
89571         [BZ #11979]
89572         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
89573         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
89575 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
89577         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
89578         * sysdeps/x86_64/addmul_1.S: Likewise.
89579         * sysdeps/x86_64/lshift.S: Likewise.
89580         * sysdeps/x86_64/mul_1.S: Likewise.
89581         * sysdeps/x86_64/rshift.S: Likewise.
89582         * sysdeps/x86_64/sub_n.S: Likewise.
89583         * sysdeps/x86_64/submul_1.S: Likewise.
89585 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89587         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
89588         Define __sched_param instead of SCHED_* and sched_param when
89589         <bits/sched.h> is included with __need_schedparam defined.
89590         * bits/sched.h [__need_schedparam]
89591         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
89592         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
89593         (__defined_schedparam): Define to 1.
89594         (__sched_param): New structure, identical to sched_param.
89595         (__need_schedparam): Undefine.
89597 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
89599         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
89600         (epoll_create1): Declare.
89602         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
89604 2010-08-31  Andreas Schwab  <schwab@redhat.com>
89606         [BZ #7066]
89607         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
89608         shifting retval into place.
89610 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
89612         * nis/rpcsvc/nis.h: Update copyright notice.
89613         * nis/rpcsvc/nis.x: Likewise.
89614         * nis/rpcsvc/nis_callback.h: Likewise.
89615         * nis/rpcsvc/nis_callback.x: Likewise.
89616         * nis/rpcsvc/nis_object.x: Likewise.
89617         * nis/rpcsvc/nis_tags.h: Likewise.
89618         * nis/rpcsvc/yp.h: Likewise.
89619         * nis/rpcsvc/yp.x: Likewise.
89620         * nis/rpcsvc/ypupd.h: Likewise.
89621         * nis/yp_xdr.c: Likewise.
89622         * nis/ypupdate_xdr.c: Likewise.
89624         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
89625         mainly the body of pmap_getport.  Add parameters to specify timeouts.
89626         (pmap_getport): Use __libc_rpc_getport.
89627         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
89628         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
89629         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
89631 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
89633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
89634         fanotify_mark.
89636 2010-08-27  Roland McGrath  <roland@redhat.com>
89638         * sysdeps/i386/i686/multiarch/Makefile
89639         (CFLAGS-varshift.c): New variable.
89641 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
89643         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
89644         * sysdeps/i386/i686/multiarch/varshift.c: New file.
89646         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
89648         * sysdeps/x86_64/strlen.S: Minimal code improvement.
89650 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
89652         * sysdeps/x86_64/strlen.S: Unroll the loop.
89653         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89654         strlen-sse2 strlen-sse2-bsf.
89655         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
89656         __strlen_no_bsf if bit_Slow_BSF is set.
89657         (__strlen_sse42): Removed.
89658         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
89659         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
89661 2010-08-25  Roland McGrath  <roland@redhat.com>
89663         * sysdeps/x86_64/multiarch/varshift.S: File removed.
89664         * sysdeps/x86_64/multiarch/varshift.c: New file.
89665         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
89666         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
89667         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
89668         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
89670 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
89672         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89673         strlen-sse2 strlen-sse2-bsf.
89674         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
89675         __strlen_sse2_bsf if bit_Slow_BSF is unset.
89676         (__strlen_sse2): Removed.
89677         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
89678         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
89679         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
89680         bit_Slow_BSF for Atom.
89681         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
89682         (index_Slow_BSF): Define.
89683         (HAS_SLOW_BSF): Define.
89685 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
89687         [BZ #10851]
89688         * resolv/res_init.c (__res_vinit): When no server address at all
89689         is given default to loopback.
89691 2010-08-24  Roland McGrath  <roland@redhat.com>
89693         * configure.in: Remove config-name.h generation.
89694         * configure: Regenerated.
89695         * config-name.in: File removed.
89696         * scripts/config-uname.sh: New file.
89697         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
89698         ($(objdir)config-name.h): New target.
89700         * sunrpc/rpc_parse.h: Avoid nested comment.
89702 2010-08-24  Richard Henderson  <rth@redhat.com>
89703             Ulrich Drepper  <drepper@redhat.com>
89704             H.J. Lu  <hongjiu.lu@intel.com>
89706         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
89707         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
89708         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
89709         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
89710         _mm_alignr_epi8 with _mm_loadu_si128.
89711         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
89712         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
89713         (__m128i_shift_right): Removed.
89714         * sysdeps/i386/i686/multiarch/varshift.h: New file.
89715         * sysdeps/i386/i686/multiarch/varshift.S: New file.
89716         * sysdeps/x86_64/multiarch/varshift.h: New file.
89717         * sysdeps/x86_64/multiarch/varshift.S: New file.
89719 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
89721         * configure.in: Move assembler checks to before sysdep dir checking.
89723 2010-08-20  Petr Baudis  <pasky@suse.cz>
89725         * LICENSES: Sync the sunrpc license.
89727 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
89729         * sunrpc/auth_des.c: Update copyright notice once again.
89730         * sunrpc/auth_none.c: Likewise.
89731         * sunrpc/auth_unix.c: Likewise.
89732         * sunrpc/authdes_prot.c: Likewise.
89733         * sunrpc/authuxprot.c: Likewise.
89734         * sunrpc/bindrsvprt.c: Likewise.
89735         * sunrpc/clnt_gen.c: Likewise.
89736         * sunrpc/clnt_perr.c: Likewise.
89737         * sunrpc/clnt_raw.c: Likewise.
89738         * sunrpc/clnt_simp.c: Likewise.
89739         * sunrpc/clnt_tcp.c: Likewise.
89740         * sunrpc/clnt_udp.c: Likewise.
89741         * sunrpc/clnt_unix.c: Likewise.
89742         * sunrpc/des_crypt.c: Likewise.
89743         * sunrpc/des_soft.c: Likewise.
89744         * sunrpc/get_myaddr.c: Likewise.
89745         * sunrpc/getrpcport.c: Likewise.
89746         * sunrpc/key_call.c: Likewise.
89747         * sunrpc/key_prot.c: Likewise.
89748         * sunrpc/openchild.c: Likewise.
89749         * sunrpc/pm_getmaps.c: Likewise.
89750         * sunrpc/pm_getport.c: Likewise.
89751         * sunrpc/pmap_clnt.c: Likewise.
89752         * sunrpc/pmap_prot.c: Likewise.
89753         * sunrpc/pmap_prot2.c: Likewise.
89754         * sunrpc/pmap_rmt.c: Likewise.
89755         * sunrpc/rpc/auth.h: Likewise.
89756         * sunrpc/rpc/auth_unix.h: Likewise.
89757         * sunrpc/rpc/clnt.h: Likewise.
89758         * sunrpc/rpc/des_crypt.h: Likewise.
89759         * sunrpc/rpc/key_prot.h: Likewise.
89760         * sunrpc/rpc/netdb.h: Likewise.
89761         * sunrpc/rpc/pmap_clnt.h: Likewise.
89762         * sunrpc/rpc/pmap_prot.h: Likewise.
89763         * sunrpc/rpc/pmap_rmt.h: Likewise.
89764         * sunrpc/rpc/rpc.h: Likewise.
89765         * sunrpc/rpc/rpc_des.h: Likewise.
89766         * sunrpc/rpc/rpc_msg.h: Likewise.
89767         * sunrpc/rpc/svc.h: Likewise.
89768         * sunrpc/rpc/svc_auth.h: Likewise.
89769         * sunrpc/rpc/types.h: Likewise.
89770         * sunrpc/rpc/xdr.h: Likewise.
89771         * sunrpc/rpc_clntout.c: Likewise.
89772         * sunrpc/rpc_cmsg.c: Likewise.
89773         * sunrpc/rpc_common.c: Likewise.
89774         * sunrpc/rpc_cout.c: Likewise.
89775         * sunrpc/rpc_dtable.c: Likewise.
89776         * sunrpc/rpc_hout.c: Likewise.
89777         * sunrpc/rpc_main.c: Likewise.
89778         * sunrpc/rpc_parse.c: Likewise.
89779         * sunrpc/rpc_parse.h: Likewise.
89780         * sunrpc/rpc_prot.c: Likewise.
89781         * sunrpc/rpc_sample.c: Likewise.
89782         * sunrpc/rpc_scan.c: Likewise.
89783         * sunrpc/rpc_scan.h: Likewise.
89784         * sunrpc/rpc_svcout.c: Likewise.
89785         * sunrpc/rpc_tblout.c: Likewise.
89786         * sunrpc/rpc_util.c: Likewise.
89787         * sunrpc/rpc_util.h: Likewise.
89788         * sunrpc/rpcinfo.c: Likewise.
89789         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
89790         * sunrpc/rpcsvc/key_prot.x: Likewise.
89791         * sunrpc/rpcsvc/klm_prot.x: Likewise.
89792         * sunrpc/rpcsvc/mount.x: Likewise.
89793         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
89794         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
89795         * sunrpc/rpcsvc/rex.x: Likewise.
89796         * sunrpc/rpcsvc/rstat.x: Likewise.
89797         * sunrpc/rpcsvc/rusers.x: Likewise.
89798         * sunrpc/rpcsvc/sm_inter.x: Likewise.
89799         * sunrpc/rpcsvc/spray.x: Likewise.
89800         * sunrpc/rpcsvc/yppasswd.x: Likewise.
89801         * sunrpc/rtime.c: Likewise.
89802         * sunrpc/svc.c: Likewise.
89803         * sunrpc/svc_auth.c: Likewise.
89804         * sunrpc/svc_authux.c: Likewise.
89805         * sunrpc/svc_raw.c: Likewise.
89806         * sunrpc/svc_run.c: Likewise.
89807         * sunrpc/svc_simple.c: Likewise.
89808         * sunrpc/svc_tcp.c: Likewise.
89809         * sunrpc/svc_udp.c: Likewise.
89810         * sunrpc/svc_unix.c: Likewise.
89811         * sunrpc/svcauth_des.c: Likewise.
89812         * sunrpc/xcrypt.c: Likewise.
89813         * sunrpc/xdr.c: Likewise.
89814         * sunrpc/xdr_array.c: Likewise.
89815         * sunrpc/xdr_float.c: Likewise.
89816         * sunrpc/xdr_mem.c: Likewise.
89817         * sunrpc/xdr_rec.c: Likewise.
89818         * sunrpc/xdr_ref.c: Likewise.
89819         * sunrpc/xdr_sizeof.c: Likewise.
89820         * sunrpc/xdr_stdio.c: Likewise.
89822         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
89823         handling.
89825 2010-08-19  Andreas Schwab  <schwab@redhat.com>
89827         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
89829 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
89831         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
89832         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
89833         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
89834         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
89835         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
89836         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
89837         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
89838         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
89839         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
89840         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
89841         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
89842         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
89843         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
89844         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
89846 2010-07-26  Anton Blanchard  <anton@samba.org>
89848         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
89849         * malloc/arena.c (heap_trim): Likewise.
89851 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
89853         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
89854         here.  Not...
89855         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
89856         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
89858 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
89860         * sysdeps/i386/elf/Makefile: New file.
89862 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
89864         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
89865         from fanotify_init.
89866         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
89867         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
89869 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
89871         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
89872         of strncasecmp_l.
89873         * sysdeps/multiarch/strcmp.S: Likewise.
89875 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
89877         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
89878         strncase_l-nonascii.
89879         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
89880         Add strncase_l-ssse3.
89881         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
89882         * sysdeps/x86_64/strcmp.S: Likewise.
89883         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
89884         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
89885         * sysdeps/x86_64/strncase.S: New file.
89886         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
89887         * sysdeps/x86_64/strncase_l.S: New file.
89888         * string/Makefile (strop-tests): Add strncasecmp.
89889         * string/test-strncasecmp.c: New file.
89891         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
89892         warning.
89894         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
89895         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
89897 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
89899         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
89901 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
89903         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
89904         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
89905         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
89907 2010-05-01  Alan Modra  <amodra@gmail.com>
89909         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
89910         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
89911         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
89912         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
89913         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
89914         tidying.  Don't tail-call __sigjmp_save for static lib.
89915         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
89916         save location.
89917         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
89918         (CALL_MCOUNT): Add eh info, and nop after bl.
89919         (TAIL_CALL_SYSCALL_ERROR): New macro.
89920         (PSEUDO_RET): Use it.
89921         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
89922         Correct save location of integer regs and cr.
89923         (_dl_profile_resolve): Correct cr save location.  Delete nops
89924         after bl when SHARED.  Reduce cfi size a little by better
89925         placement of cfi directives.
89926         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
89927         make a stack frame.  Instead use parm save area as a temp.
89928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
89929         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
89930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
89931         Don't make a stack frame for parent, use parm save area.
89932         Increase child stack frame to 112 bytes.  Don't save unused reg,
89933         and adjust reg usage.  Set up cfi on error recovery and
89934         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
89935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
89936         (__makecontext): Add dummy nop after jump to exit.
89937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
89938         Use correct parm save area and cr save, reduce stack frame.
89939         Correct cfi for possible PSEUDO_RET frame setup.
89940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
89941         Branch to local label emitted by PSEUDO_RET rather than
89942         __syscall_error.
89944 2010-08-12  Andreas Schwab  <schwab@redhat.com>
89946         [BZ #11904]
89947         * locale/programs/locale.c (print_assignment): New function.
89948         (show_locale_vars): Use it.
89950 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
89952         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
89953         field.
89954         (struct statfs64): Likewise.
89955         (_STATFS_F_FLAGS): Define.
89956         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
89957         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89958         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
89959         (ST_VALID): Define locally.
89960         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
89961         __statvfs_getflags, use the provided value.
89962         * sysdeps/unix/sysv/linux/kernel-features.h: Define
89963         __ASSUME_STATFS_F_FLAGS.
89965         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
89967         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
89968         Add sys/fanotify.h.
89969         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
89970         fanotify_mask for GLIBC_2.13.
89971         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
89972         fanotify_init and fanotify_mark.
89973         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
89974         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
89976         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
89977         Add prlimit.
89978         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
89979         prlimit64 for GLIBC_2.13.
89980         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
89981         prlimit64.
89982         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
89983         syscall.
89984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
89985         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
89986         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
89987         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
89988         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
89989         add prlimit alias.
89990         * sysdeps/unix/sysv/linux/prlimit.c: New file.
89992         [BZ #11903]
89993         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
89994         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
89996         * nss/Makefile: Add rules to build and run tst-nss-test1.
89997         * shlib-versions: Add entry for libnss_test1.
89998         * nss/nss_test1.c: New file.
89999         * nss/tst-nss-test1.c: New file.
90001         * nss/nsswitch.c (__nss_database_custom): Define new variable.
90002         (__nss_configure_lookup): Set appropriate entry in
90003         __nss_configure_lookup to true.
90004         * nss/nsswitch.h: Define enum with indeces of databases in
90005         databases and __nss_database_custom arrays.  Declare
90006         __nss_database_custom.
90007         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
90008         to avoid using nscd when custom rules are installed.
90009         * nss/getXXbyYY_r.c: Likewise.
90010         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
90012         * nss/nss_files/files-parse.c: Whitespace fixes.
90014 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
90016         [BZ #11883]
90017         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
90018         * posix/fnmatch_loop.c: Likewise.
90020 2010-07-17  Andi Kleen  <ak@linux.intel.com>
90022         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
90023         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
90024         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
90025         * Versions.def [GLIBC_2.13]: Add.
90027 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
90029         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
90030         Also fail if tpwd after pwuid call is NULL.
90032 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90034         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
90035         when converting to ms.
90037 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90039         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
90040         EOPNOTSUPP errors with ENOTTY.
90041         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
90042         EOPNOTSUPP errors with ENOTTY.
90044 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
90046         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
90047         Add strcasecmp_l-ssse3.
90048         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
90049         strcasecmp.
90050         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
90051         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
90052         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
90054 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
90056         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
90058         * string/Makefile (strop-tests): Add strcasecmp.
90059         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
90060         strcasecmp_l-nonascii.
90061         (gen-as-const-headers): Add locale-defines.sym.
90062         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
90063         * sysdeps/x86_64/strcasecmp.S: New file.
90064         * sysdeps/x86_64/strcasecmp_l.S: New file.
90065         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
90066         * sysdeps/x86_64/locale-defines.sym: New file.
90067         * string/test-strcasecmp.c: New file.
90069         * string/test-strcasestr.c: Test both ends of the range of characters.
90070         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
90072 2010-07-29  Roland McGrath  <roland@redhat.com>
90074         [BZ #11856]
90075         * manual/locale.texi (Yes-or-No Questions): Fix example code.
90077 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
90079         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
90080         for ld.so.
90082 2010-07-27  Andreas Schwab  <schwab@redhat.com>
90084         * manual/memory.texi (Malloc Tunable Parameters): Document
90085         M_PERTURB.
90087 2010-07-26  Roland McGrath  <roland@redhat.com>
90089         [BZ #11840]
90090         * configure.in (-fgnu89-inline check): Set and substitute
90091         gnu89_inline, not libc_cv_gnu89_inline.
90092         * configure: Regenerated.
90093         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
90095 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
90097         * string/test-strnlen.c: New file.
90098         * string/Makefile (strop-tests): Add strnlen.
90099         * string/tester.c (test_strnlen): Add a few more test cases.
90100         * string/tst-strlen.c: Better error reporting.
90102         * sysdeps/x86_64/strnlen.S: New file.
90104 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
90106         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
90107         lower-latency instructions.
90109 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
90111         * string/test-strcasestr.c: New file.
90112         * string/test-strstr.c: New file.
90113         * string/Makefile (strop-tests): Add strstr and strcasestr.
90114         * string/str-two-way.h: Don't undefine MAX.
90115         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
90117 2010-07-21  Andreas Schwab  <schwab@redhat.com>
90119         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90120         strcasestr-nonascii.
90121         (CFLAGS-strcasestr-nonascii.c): Define.
90122         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
90123         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
90124         Remove unused attribute.
90126 2010-07-20  Roland McGrath  <roland@redhat.com>
90128         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
90129         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
90130         ld.so.cache was broken.  With it, there is no way to disable dsocaps
90131         like LD_HWCAP_MASK can disable hwcaps.
90133 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
90135         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
90137 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
90139         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
90140         call in strcasestr.
90141         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
90142         __strcasestr_sse42_nonascii.
90143         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
90144         strcasestr-nonascii.c.
90145         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
90147 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
90149         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
90150         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
90151         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
90152         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
90154 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
90156         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
90157         fcntl.
90159 2010-07-06  Andreas Schwab  <schwab@redhat.com>
90161         [BZ #11577]
90162         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
90163         dl_signal_cerror.
90165 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
90167         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
90168         _PC_PIPE_BUF using F_GETPIPE_SZ.
90170 2010-07-05  Roland McGrath  <roland@redhat.com>
90172         * manual/arith.texi (Rounding Functions): Fix rint description
90173         implicit in round description.
90175 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
90177         * elf/Makefile: Fix linking for a few tests to make recent linker
90178         happy.
90180 2010-06-30  Andreas Schwab  <schwab@redhat.com>
90182         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
90183         $(common-objpfx)libc_nonshared.a.
90185 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
90187         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
90188         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
90189         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
90190         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
90191         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
90192         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
90193         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
90194         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
90195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
90196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
90197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
90198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
90199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
90200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
90201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
90202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
90203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
90204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
90205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
90206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
90207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
90208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
90209         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
90210         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
90211         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
90212         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
90213         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
90214         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
90215         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
90216         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
90217         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
90218         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
90219         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
90220         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
90221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
90222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
90223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
90224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
90225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
90226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
90227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
90228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
90229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
90230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
90231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
90232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
90233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
90234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
90236 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
90238         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
90239         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
90240         * string/memmove.c (memmove): Renamed to ...
90241         (MEMMOVE): ...this.  Default to memmove.
90242         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
90243         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
90244         (END_CHK): Define.
90245         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90246         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
90247         mempcpy-ssse3-back memmove-ssse3-back.
90248         * sysdeps/x86_64/multiarch/bcopy.S: New file .
90249         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
90250         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
90251         * sysdeps/x86_64/multiarch/memcpy.S: New file.
90252         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
90253         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
90254         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
90255         * sysdeps/x86_64/multiarch/memmove.c: New file.
90256         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
90257         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
90258         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
90259         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
90260         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
90261         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
90262         Define.
90263         (index_Fast_Copy_Backward): Define.
90264         (HAS_ARCH_FEATURE): Define.
90265         (HAS_FAST_REP_STRING): Define.
90266         (HAS_FAST_COPY_BACKWARD): Define.
90268 2010-06-21  Andreas Schwab  <schwab@redhat.com>
90270         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
90271         Restore proper fallback handling.
90273 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
90275         [BZ #11701]
90276         * posix/group_member.c (__group_member): Correct checking loop.
90278         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
90279         OOM in getpwuid_r correctly.  Return error number when the caller
90280         should return, otherwise -1.
90281         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
90282         call returning > 0 value.
90283         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
90285 2010-06-07  Andreas Schwab  <schwab@redhat.com>
90287         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
90288         libc_nonshared.a from targets in modules-names.
90290 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
90292         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
90293         requires it.
90295 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
90297         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
90298         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
90299         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
90300         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
90302 2010-06-02  Andreas Schwab  <schwab@redhat.com>
90304         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
90306 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
90308         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
90309         and F_GETPIPE_SZ.
90310         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
90311         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90312         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90313         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90314         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90315         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90317 2010-06-14  Roland McGrath  <roland@redhat.com>
90319         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
90321 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
90323         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
90324         __REDIRECT followed by __THROW.
90325         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
90326         * posix/getopt.h (getopt): Likewise.
90328 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
90330         * hurd/lookup-at.c (__file_name_lookup_at): Accept
90331         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
90332         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
90333         in AT_FLAGS.
90334         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
90335         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
90337 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
90339         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
90341 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
90343         [BZ #11640]
90344         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90345         Properly check family and model.
90347 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
90349         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
90351 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
90353         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
90355 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
90357         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
90358         symbol reference.
90360 2010-05-19  Andreas Schwab  <schwab@redhat.com>
90362         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
90363         symbol reference.
90365 2010-05-21  Andreas Schwab  <schwab@redhat.com>
90367         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
90368         and internal_recvmmsg.
90369         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
90370         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
90371         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
90372         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
90374         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
90375         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
90376         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
90378 2010-05-20  Andreas Schwab  <schwab@redhat.com>
90380         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
90382 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
90384         POWER7 optimizations.
90385         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
90386         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
90388 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
90390         * version.h: Update for 2.13 development version.
90392 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
90394         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
90395         exceptions.  Return 0.
90397 2010-05-07  Roland McGrath  <roland@redhat.com>
90399         * elf/ldconfig.c (main): Add a const.
90401 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
90403         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
90404         (args_options): Add no-idn option.
90405         (ahosts_keys_int): Add idn_flags to ai_flags.
90406         (parse_option): Handle 'i' option to clear idn_flags.
90408         * malloc/malloc.c (_int_free): Possible race in the most recently
90409         added check.  Only act on the data if no current modification
90410         happened.
90412 See ChangeLog.17 for earlier changes.